diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 379309c94e..7c2be2ce67 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -77,7 +77,7 @@ jobs: path: results.sarif - name: Upload SARIF file - uses: github/codeql-action/upload-sarif@fc7e4a0fa01c3cca5fd6a1fddec5c0740c977aa2 # v3.28.14 + uses: github/codeql-action/upload-sarif@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15 with: sarif_file: results.sarif category: zizmor diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 5ab9f236aa..90d012cb34 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -28,7 +28,7 @@ jobs: persist-credentials: false - name: Initialize CodeQL - uses: github/codeql-action/init@fc7e4a0fa01c3cca5fd6a1fddec5c0740c977aa2 # v3.28.14 + uses: github/codeql-action/init@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15 with: languages: ruby config: | @@ -36,4 +36,4 @@ jobs: - Library/Homebrew/vendor - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@fc7e4a0fa01c3cca5fd6a1fddec5c0740c977aa2 # v3.28.14 + uses: github/codeql-action/analyze@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7ed1281baf..d911716a42 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -257,9 +257,6 @@ jobs: test-flags: --coverage runs-on: ubuntu-latest container: ghcr.io/homebrew/ubuntu20.04:latest - - name: tests (macOS 13 x86_64) - test-flags: --coverage - runs-on: macos-13 - name: tests (macOS 15 arm64) test-flags: --coverage runs-on: macos-15 diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 60314a7def..e01f78c189 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -47,7 +47,7 @@ GEM pycall (1.5.2) racc (1.8.1) rainbow (3.1.1) - rbi (0.3.1) + rbi (0.3.2) prism (~> 1.0) rbs (>= 3.4.4) sorbet-runtime (>= 0.5.9204) @@ -103,7 +103,7 @@ GEM rubocop (~> 1.72, >= 1.72.1) rubocop-sorbet (0.10.0) rubocop (>= 1) - ruby-lsp (0.23.13) + ruby-lsp (0.23.14) language_server-protocol (~> 3.17.0) prism (>= 1.2, < 2.0) rbs (>= 3, < 4) @@ -121,15 +121,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11993) - sorbet-static (= 0.5.11993) - sorbet-runtime (0.5.11993) - sorbet-static (0.5.11993-aarch64-linux) - sorbet-static (0.5.11993-universal-darwin) - sorbet-static (0.5.11993-x86_64-linux) - sorbet-static-and-runtime (0.5.11993) - sorbet (= 0.5.11993) - sorbet-runtime (= 0.5.11993) + sorbet (0.5.12003) + sorbet-static (= 0.5.12003) + sorbet-runtime (0.5.12003) + sorbet-static (0.5.12003-aarch64-linux) + sorbet-static (0.5.12003-universal-darwin) + sorbet-static (0.5.12003-x86_64-linux) + sorbet-static-and-runtime (0.5.12003) + sorbet (= 0.5.12003) + sorbet-runtime (= 0.5.12003) spoom (1.6.1) erubi (>= 1.10.0) prism (>= 0.28.0) diff --git a/Library/Homebrew/bundle/commands/exec.rb b/Library/Homebrew/bundle/commands/exec.rb index c411d1e316..b0c00a7a47 100644 --- a/Library/Homebrew/bundle/commands/exec.rb +++ b/Library/Homebrew/bundle/commands/exec.rb @@ -1,6 +1,7 @@ # typed: false # rubocop:todo Sorbet/TrueSigil # frozen_string_literal: true +require "English" require "exceptions" require "extend/ENV" require "utils" @@ -10,47 +11,9 @@ module Homebrew module Bundle module Commands module Exec - # Homebrew's global environment variables that we don't want to leak into - # the `brew bundle exec` environment. - HOMEBREW_ENV_CLEANUP = %w[ - HOMEBREW_HELP_MESSAGE - HOMEBREW_API_DEFAULT_DOMAIN - HOMEBREW_BOTTLE_DEFAULT_DOMAIN - HOMEBREW_BREW_DEFAULT_GIT_REMOTE - HOMEBREW_CORE_DEFAULT_GIT_REMOTE - HOMEBREW_DEFAULT_CACHE - HOMEBREW_DEFAULT_LOGS - HOMEBREW_DEFAULT_TEMP - HOMEBREW_REQUIRED_RUBY_VERSION - HOMEBREW_PRODUCT - HOMEBREW_SYSTEM - HOMEBREW_PROCESSOR - HOMEBREW_PHYSICAL_PROCESSOR - HOMEBREW_BREWED_CURL_PATH - HOMEBREW_USER_AGENT_CURL - HOMEBREW_USER_AGENT - HOMEBREW_GENERIC_DEFAULT_PREFIX - HOMEBREW_GENERIC_DEFAULT_REPOSITORY - HOMEBREW_DEFAULT_PREFIX - HOMEBREW_DEFAULT_REPOSITORY - HOMEBREW_AUTO_UPDATE_COMMAND - HOMEBREW_BREW_GIT_REMOTE - HOMEBREW_COMMAND_DEPTH - HOMEBREW_CORE_GIT_REMOTE - HOMEBREW_MACOS_VERSION_NUMERIC - HOMEBREW_MINIMUM_GIT_VERSION - HOMEBREW_MACOS_NEWEST_UNSUPPORTED - HOMEBREW_MACOS_OLDEST_SUPPORTED - HOMEBREW_MACOS_OLDEST_ALLOWED - HOMEBREW_GITHUB_PACKAGES_AUTH - ].freeze - PATH_LIKE_ENV_REGEX = /.+#{File::PATH_SEPARATOR}/ def self.run(*args, global: false, file: nil, subcommand: "", services: false) - # Cleanup Homebrew's global environment - HOMEBREW_ENV_CLEANUP.each { |key| ENV.delete(key) } - # Store the old environment so we can check if things were already set # before we start mutating it. old_env = ENV.to_h @@ -153,10 +116,31 @@ module Homebrew # No need to export empty values. next if value.blank? - # Skip exporting non-Homebrew things that were already set in the old environment. - next if !key.start_with?("HOMEBREW_") && old_env.key?(key) && old_env[key] == value + # Skip exporting Homebrew internal variables that won't be used by other tools. + # Those Homebrew needs have already been set to global constants and/or are exported again later. + # Setting these globally can interfere with nested Homebrew invocations/environments. + next if key.start_with?("HOMEBREW_", "PORTABLE_RUBY_") - puts "export #{key}=\"#{Utils::Shell.sh_quote(value)}\"" + # Skip exporting things that were the same in the old environment. + old_value = old_env[key] + next if old_value == value + + # Look for PATH-like environment variables + if key.include?("PATH") && value.match?(PATH_LIKE_ENV_REGEX) + old_values = old_value.to_s.split(File::PATH_SEPARATOR) + path = PATH.new(value) + .reject do |path_value| + # Exclude Homebrew shims from the PATH as they don't work + # without all Homebrew environment variables. + # Exclude existing/old values as they've already been exported. + path_value.include?("/Homebrew/shims/") || old_values.include?(path_value) + end + next if path.blank? + + puts "export #{key}=\"#{Utils::Shell.sh_quote(path.to_s)}:${#{key}:-}\"" + else + puts "export #{key}=\"#{Utils::Shell.sh_quote(value)}\"" + end end return end diff --git a/Library/Homebrew/dev-cmd/create.rb b/Library/Homebrew/dev-cmd/create.rb index 9d66200df0..f89b3287a1 100644 --- a/Library/Homebrew/dev-cmd/create.rb +++ b/Library/Homebrew/dev-cmd/create.rb @@ -240,8 +240,7 @@ module Homebrew sig { returns(T.nilable(String)) } def __gets - gots = $stdin.gets.chomp - gots.empty? ? nil : gots + $stdin.gets&.presence&.chomp end end end diff --git a/Library/Homebrew/dev-cmd/edit.rb b/Library/Homebrew/dev-cmd/edit.rb index 9164c553d7..d88d603735 100644 --- a/Library/Homebrew/dev-cmd/edit.rb +++ b/Library/Homebrew/dev-cmd/edit.rb @@ -63,16 +63,18 @@ module Homebrew exec_editor(*paths) - if paths.any? do |path| + is_formula = T.let(false, T::Boolean) + if !Homebrew::EnvConfig.no_env_hints? && paths.any? do |path| next if path == "--project" - !Homebrew::EnvConfig.no_install_from_api? && - !Homebrew::EnvConfig.no_env_hints? && - (core_formula_path?(path) || core_cask_path?(path) || core_formula_tap?(path) || core_cask_tap?(path)) + is_formula = core_formula_path?(path) + is_formula || core_cask_path?(path) || core_formula_tap?(path) || core_cask_tap?(path) end - opoo <<~EOS - `brew install` ignores locally edited casks and formulae if - HOMEBREW_NO_INSTALL_FROM_API is not set. + from_source = " --build-from-source" if is_formula + no_api = "HOMEBREW_NO_INSTALL_FROM_API=1 " unless Homebrew::EnvConfig.no_install_from_api? + puts <<~EOS + To test your local edits, run: + #{no_api}brew install#{from_source} --verbose --debug #{args.named.join(" ")} EOS end end diff --git a/Library/Homebrew/dev-cmd/vendor-gems.rb b/Library/Homebrew/dev-cmd/vendor-gems.rb index 3587ab3ba9..9bf556337d 100644 --- a/Library/Homebrew/dev-cmd/vendor-gems.rb +++ b/Library/Homebrew/dev-cmd/vendor-gems.rb @@ -28,6 +28,7 @@ module Homebrew Homebrew.install_bundler! ENV["BUNDLE_WITH"] = Homebrew.valid_gem_groups.join(":") + ENV["BUNDLER_VERSION"] = HOMEBREW_BUNDLER_VERSION ohai "cd #{HOMEBREW_LIBRARY_PATH}" HOMEBREW_LIBRARY_PATH.cd do diff --git a/Library/Homebrew/formula-analytics/requirements.txt b/Library/Homebrew/formula-analytics/requirements.txt index 5ce9e88c14..df032edba0 100644 --- a/Library/Homebrew/formula-analytics/requirements.txt +++ b/Library/Homebrew/formula-analytics/requirements.txt @@ -68,13 +68,13 @@ six==1.17.0 \ --hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 \ --hash=sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81 # via python-dateutil -typing-extensions==4.13.1 \ - --hash=sha256:4b6cf02909eb5495cfbc3f6e8fd49217e6cc7944e145cdda8caa3734777f9e69 \ - --hash=sha256:98795af00fb9640edec5b8e31fc647597b4691f099ad75f469a2616be1a76dff +typing-extensions==4.13.2 \ + --hash=sha256:a439e7c04b49fec3e5d3e2beaa21755cadbbdc391694e28ccdd36ca4a1408f8c \ + --hash=sha256:e6c81219bd689f51865d9e372991c540bda33a0379d5573cddb9a3a23f7caaef # via reactivex -urllib3==2.3.0 \ - --hash=sha256:1cee9ad369867bfdbbb48b7dd50374c0967a0bb7710050facf0dd6911440e3df \ - --hash=sha256:f8c5449b3cf0861679ce7e0503c7b44b5ec981bec0d1d3795a07f1ba96f0204d +urllib3==2.4.0 \ + --hash=sha256:414bc6535b787febd7567804cc015fee39daab8ad86268f1310a9250697de466 \ + --hash=sha256:4e16665048960a0900c702d4a66415956a584919c03361cac9f1df5c5dd7e813 # via influxdb3-python # The following packages are considered to be unsafe in a requirements file: diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index a8b2554b89..7265845e66 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -31,6 +31,7 @@ require "migrator" require "linkage_checker" require "extend/ENV" require "language/java" +require "language/php" require "language/python" require "tab" require "mktemp" diff --git a/Library/Homebrew/sorbet/rbi/gems/rbi@0.3.1.rbi b/Library/Homebrew/sorbet/rbi/gems/rbi@0.3.2.rbi similarity index 89% rename from Library/Homebrew/sorbet/rbi/gems/rbi@0.3.1.rbi rename to Library/Homebrew/sorbet/rbi/gems/rbi@0.3.2.rbi index ce61780099..d6e8f03f55 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rbi@0.3.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rbi@0.3.2.rbi @@ -14,31 +14,31 @@ # source://rbi//lib/rbi.rb#8 module RBI; end -# source://rbi//lib/rbi/model.rb#802 +# source://rbi//lib/rbi/model.rb#804 class RBI::Arg < ::RBI::Node # : (String value, ?loc: Loc?) -> void # # @return [Arg] a new instance of Arg # - # source://rbi//lib/rbi/model.rb#807 + # source://rbi//lib/rbi/model.rb#809 sig { params(value: ::String, loc: T.nilable(::RBI::Loc)).void } def initialize(value, loc: T.unsafe(nil)); end # : (Object? other) -> bool # - # source://rbi//lib/rbi/model.rb#813 + # source://rbi//lib/rbi/model.rb#815 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end # : -> String # - # source://rbi//lib/rbi/model.rb#818 + # source://rbi//lib/rbi/model.rb#820 sig { returns(::String) } def to_s; end # : String # - # source://rbi//lib/rbi/model.rb#804 + # source://rbi//lib/rbi/model.rb#806 sig { returns(::String) } def value; end end @@ -47,7 +47,7 @@ end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://rbi//lib/rbi/model.rb#298 +# source://rbi//lib/rbi/model.rb#300 class RBI::Attr < ::RBI::NodeWithComments include ::RBI::Indexable @@ -57,7 +57,7 @@ class RBI::Attr < ::RBI::NodeWithComments # # @return [Attr] a new instance of Attr # - # source://rbi//lib/rbi/model.rb#314 + # source://rbi//lib/rbi/model.rb#316 sig do params( name: ::Symbol, @@ -86,7 +86,7 @@ class RBI::Attr < ::RBI::NodeWithComments # @abstract # - # source://rbi//lib/rbi/model.rb#322 + # source://rbi//lib/rbi/model.rb#324 sig { abstract.returns(T::Array[::String]) } def fully_qualified_names; end @@ -104,25 +104,25 @@ class RBI::Attr < ::RBI::NodeWithComments # : Array[Symbol] # - # source://rbi//lib/rbi/model.rb#305 + # source://rbi//lib/rbi/model.rb#307 sig { returns(T::Array[::Symbol]) } def names; end # : Array[Sig] # - # source://rbi//lib/rbi/model.rb#311 + # source://rbi//lib/rbi/model.rb#313 sig { returns(T::Array[::RBI::Sig]) } def sigs; end # : Visibility # - # source://rbi//lib/rbi/model.rb#308 + # source://rbi//lib/rbi/model.rb#310 sig { returns(::RBI::Visibility) } def visibility; end # : Visibility # - # source://rbi//lib/rbi/model.rb#308 + # source://rbi//lib/rbi/model.rb#310 # @return [Visibility] def visibility=(_arg0); end @@ -166,13 +166,13 @@ class RBI::Attr < ::RBI::NodeWithComments def parse_sig; end end -# source://rbi//lib/rbi/model.rb#325 +# source://rbi//lib/rbi/model.rb#327 class RBI::AttrAccessor < ::RBI::Attr # : (Symbol name, *Symbol names, ?visibility: Visibility, ?sigs: Array[Sig], ?loc: Loc?, ?comments: Array[Comment]) ?{ (AttrAccessor node) -> void } -> void # # @return [AttrAccessor] a new instance of AttrAccessor # - # source://rbi//lib/rbi/model.rb#327 + # source://rbi//lib/rbi/model.rb#329 sig do params( name: ::Symbol, @@ -202,24 +202,24 @@ class RBI::AttrAccessor < ::RBI::Attr # : -> Array[String] # - # source://rbi//lib/rbi/model.rb#334 + # source://rbi//lib/rbi/model.rb#336 sig { override.returns(T::Array[::String]) } def fully_qualified_names; end # : -> String # - # source://rbi//lib/rbi/model.rb#341 + # source://rbi//lib/rbi/model.rb#343 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#347 +# source://rbi//lib/rbi/model.rb#349 class RBI::AttrReader < ::RBI::Attr # : (Symbol name, *Symbol names, ?visibility: Visibility, ?sigs: Array[Sig], ?loc: Loc?, ?comments: Array[Comment]) ?{ (AttrReader node) -> void } -> void # # @return [AttrReader] a new instance of AttrReader # - # source://rbi//lib/rbi/model.rb#349 + # source://rbi//lib/rbi/model.rb#351 sig do params( name: ::Symbol, @@ -249,24 +249,24 @@ class RBI::AttrReader < ::RBI::Attr # : -> Array[String] # - # source://rbi//lib/rbi/model.rb#356 + # source://rbi//lib/rbi/model.rb#358 sig { override.returns(T::Array[::String]) } def fully_qualified_names; end # : -> String # - # source://rbi//lib/rbi/model.rb#363 + # source://rbi//lib/rbi/model.rb#365 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#369 +# source://rbi//lib/rbi/model.rb#371 class RBI::AttrWriter < ::RBI::Attr # : (Symbol name, *Symbol names, ?visibility: Visibility, ?sigs: Array[Sig], ?loc: Loc?, ?comments: Array[Comment]) ?{ (AttrWriter node) -> void } -> void # # @return [AttrWriter] a new instance of AttrWriter # - # source://rbi//lib/rbi/model.rb#371 + # source://rbi//lib/rbi/model.rb#373 sig do params( name: ::Symbol, @@ -296,13 +296,13 @@ class RBI::AttrWriter < ::RBI::Attr # : -> Array[String] # - # source://rbi//lib/rbi/model.rb#378 + # source://rbi//lib/rbi/model.rb#380 sig { override.returns(T::Array[::String]) } def fully_qualified_names; end # : -> String # - # source://rbi//lib/rbi/model.rb#385 + # source://rbi//lib/rbi/model.rb#387 sig { override.returns(::String) } def to_s; end end @@ -320,13 +320,13 @@ class RBI::BlankLine < ::RBI::Comment def initialize(loc: T.unsafe(nil)); end end -# source://rbi//lib/rbi/model.rb#642 +# source://rbi//lib/rbi/model.rb#644 class RBI::BlockParam < ::RBI::Param # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (BlockParam node) -> void } -> void # # @return [BlockParam] a new instance of BlockParam # - # source://rbi//lib/rbi/model.rb#644 + # source://rbi//lib/rbi/model.rb#646 sig do params( name: ::String, @@ -339,24 +339,24 @@ class RBI::BlockParam < ::RBI::Param # : (Object? other) -> bool # - # source://rbi//lib/rbi/model.rb#656 + # source://rbi//lib/rbi/model.rb#658 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end # : -> String # - # source://rbi//lib/rbi/model.rb#651 + # source://rbi//lib/rbi/model.rb#653 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#202 +# source://rbi//lib/rbi/model.rb#204 class RBI::Class < ::RBI::Scope # : (String name, ?superclass_name: String?, ?loc: Loc?, ?comments: Array[Comment]) ?{ (Class node) -> void } -> void # # @return [Class] a new instance of Class # - # source://rbi//lib/rbi/model.rb#210 + # source://rbi//lib/rbi/model.rb#212 sig do params( name: ::String, @@ -378,31 +378,31 @@ class RBI::Class < ::RBI::Scope # : -> String # - # source://rbi//lib/rbi/model.rb#219 + # source://rbi//lib/rbi/model.rb#221 sig { override.returns(::String) } def fully_qualified_name; end # : String # - # source://rbi//lib/rbi/model.rb#204 + # source://rbi//lib/rbi/model.rb#206 sig { returns(::String) } def name; end # : String # - # source://rbi//lib/rbi/model.rb#204 + # source://rbi//lib/rbi/model.rb#206 # @return [String] def name=(_arg0); end # : String? # - # source://rbi//lib/rbi/model.rb#207 + # source://rbi//lib/rbi/model.rb#209 sig { returns(T.nilable(::String)) } def superclass_name; end # : String? # - # source://rbi//lib/rbi/model.rb#207 + # source://rbi//lib/rbi/model.rb#209 # @return [String, nil] def superclass_name=(_arg0); end end @@ -500,7 +500,7 @@ end # Consts # -# source://rbi//lib/rbi/model.rb#270 +# source://rbi//lib/rbi/model.rb#272 class RBI::Const < ::RBI::NodeWithComments include ::RBI::Indexable @@ -508,7 +508,7 @@ class RBI::Const < ::RBI::NodeWithComments # # @return [Const] a new instance of Const # - # source://rbi//lib/rbi/model.rb#275 + # source://rbi//lib/rbi/model.rb#277 sig do params( name: ::String, @@ -530,7 +530,7 @@ class RBI::Const < ::RBI::NodeWithComments # : -> String # - # source://rbi//lib/rbi/model.rb#283 + # source://rbi//lib/rbi/model.rb#285 sig { returns(::String) } def fully_qualified_name; end @@ -542,19 +542,19 @@ class RBI::Const < ::RBI::NodeWithComments # : String # - # source://rbi//lib/rbi/model.rb#272 + # source://rbi//lib/rbi/model.rb#274 sig { returns(::String) } def name; end # : -> String # - # source://rbi//lib/rbi/model.rb#291 + # source://rbi//lib/rbi/model.rb#293 sig { override.returns(::String) } def to_s; end # : String # - # source://rbi//lib/rbi/model.rb#272 + # source://rbi//lib/rbi/model.rb#274 # @return [String] def value; end end @@ -565,7 +565,7 @@ class RBI::DuplicateNodeError < ::RBI::Error; end # source://rbi//lib/rbi.rb#9 class RBI::Error < ::StandardError; end -# source://rbi//lib/rbi/model.rb#692 +# source://rbi//lib/rbi/model.rb#694 class RBI::Extend < ::RBI::Mixin include ::RBI::Indexable @@ -573,7 +573,7 @@ class RBI::Extend < ::RBI::Mixin # # @return [Extend] a new instance of Extend # - # source://rbi//lib/rbi/model.rb#694 + # source://rbi//lib/rbi/model.rb#696 sig do params( name: ::String, @@ -601,18 +601,18 @@ class RBI::Extend < ::RBI::Mixin # : -> String # - # source://rbi//lib/rbi/model.rb#701 + # source://rbi//lib/rbi/model.rb#703 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#135 +# source://rbi//lib/rbi/model.rb#137 class RBI::File # : (?strictness: String?, ?comments: Array[Comment]) ?{ (File file) -> void } -> void # # @return [File] a new instance of File # - # source://rbi//lib/rbi/model.rb#146 + # source://rbi//lib/rbi/model.rb#148 sig do params( strictness: T.nilable(::String), @@ -624,19 +624,19 @@ class RBI::File # : (Node node) -> void # - # source://rbi//lib/rbi/model.rb#154 + # source://rbi//lib/rbi/model.rb#156 sig { params(node: ::RBI::Node).void } def <<(node); end # : Array[Comment] # - # source://rbi//lib/rbi/model.rb#143 + # source://rbi//lib/rbi/model.rb#145 sig { returns(T::Array[::RBI::Comment]) } def comments; end # : Array[Comment] # - # source://rbi//lib/rbi/model.rb#143 + # source://rbi//lib/rbi/model.rb#145 # @return [Array] def comments=(_arg0); end @@ -644,13 +644,13 @@ class RBI::File # # @return [Boolean] # - # source://rbi//lib/rbi/model.rb#159 + # source://rbi//lib/rbi/model.rb#161 sig { returns(T::Boolean) } def empty?; end # : (?out: (IO | StringIO), ?indent: Integer, ?print_locs: bool, ?max_line_length: Integer?) -> void # - # source://rbi//lib/rbi/printer.rb#794 + # source://rbi//lib/rbi/printer.rb#813 sig do params( out: T.any(::IO, ::StringIO), @@ -663,50 +663,50 @@ class RBI::File # : (?out: (IO | StringIO), ?indent: Integer, ?print_locs: bool) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#1106 + # source://rbi//lib/rbi/rbs_printer.rb#1112 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 # : (?indent: Integer, ?print_locs: bool) -> String # - # source://rbi//lib/rbi/rbs_printer.rb#1112 + # source://rbi//lib/rbi/rbs_printer.rb#1118 sig { params(indent: ::Integer, print_locs: T::Boolean).returns(::String) } def rbs_string(indent: T.unsafe(nil), print_locs: T.unsafe(nil)); end # : Tree # - # source://rbi//lib/rbi/model.rb#137 + # source://rbi//lib/rbi/model.rb#139 sig { returns(::RBI::Tree) } def root; end # : Tree # - # source://rbi//lib/rbi/model.rb#137 + # source://rbi//lib/rbi/model.rb#139 # @return [Tree] def root=(_arg0); end # : String? # - # source://rbi//lib/rbi/model.rb#140 + # source://rbi//lib/rbi/model.rb#142 sig { returns(T.nilable(::String)) } def strictness; end # : String? # - # source://rbi//lib/rbi/model.rb#140 + # source://rbi//lib/rbi/model.rb#142 # @return [String, nil] def strictness=(_arg0); end # : (?indent: Integer, ?print_locs: bool, ?max_line_length: Integer?) -> String # - # source://rbi//lib/rbi/printer.rb#800 + # source://rbi//lib/rbi/printer.rb#819 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 class RBI::Formatter - # : (?add_sig_templates: bool, ?group_nodes: bool, ?max_line_length: Integer?, ?nest_singleton_methods: bool, ?nest_non_public_members: bool, ?sort_nodes: bool) -> void + # : (?add_sig_templates: bool, ?group_nodes: bool, ?max_line_length: Integer?, ?nest_singleton_methods: bool, ?nest_non_public_members: bool, ?sort_nodes: bool, ?replace_attributes_with_methods: bool) -> void # # @return [Formatter] a new instance of Formatter # @@ -718,20 +718,21 @@ class RBI::Formatter max_line_length: T.nilable(::Integer), nest_singleton_methods: T::Boolean, nest_non_public_members: T::Boolean, - sort_nodes: T::Boolean + sort_nodes: T::Boolean, + replace_attributes_with_methods: T::Boolean ).void 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)); 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 # : (RBI::File file) -> void # - # source://rbi//lib/rbi/formatter.rb#33 + # source://rbi//lib/rbi/formatter.rb#35 sig { params(file: ::RBI::File).void } def format_file(file); end # : (RBI::Tree tree) -> void # - # source://rbi//lib/rbi/formatter.rb#38 + # source://rbi//lib/rbi/formatter.rb#40 sig { params(tree: ::RBI::Tree).void } def format_tree(tree); end @@ -749,7 +750,7 @@ class RBI::Formatter # : (RBI::File file) -> String # - # source://rbi//lib/rbi/formatter.rb#27 + # source://rbi//lib/rbi/formatter.rb#29 sig { params(file: ::RBI::File).returns(::String) } def print_file(file); end end @@ -795,7 +796,7 @@ class RBI::GroupNodesError < ::RBI::Error; end # Sorbet's misc. # -# source://rbi//lib/rbi/model.rb#1042 +# source://rbi//lib/rbi/model.rb#1067 class RBI::Helper < ::RBI::NodeWithComments include ::RBI::Indexable @@ -803,7 +804,7 @@ class RBI::Helper < ::RBI::NodeWithComments # # @return [Helper] a new instance of Helper # - # source://rbi//lib/rbi/model.rb#1047 + # source://rbi//lib/rbi/model.rb#1072 sig do params( name: ::String, @@ -830,18 +831,18 @@ class RBI::Helper < ::RBI::NodeWithComments # : String # - # source://rbi//lib/rbi/model.rb#1044 + # source://rbi//lib/rbi/model.rb#1069 sig { returns(::String) } def name; end # : -> String # - # source://rbi//lib/rbi/model.rb#1055 + # source://rbi//lib/rbi/model.rb#1080 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#678 +# source://rbi//lib/rbi/model.rb#680 class RBI::Include < ::RBI::Mixin include ::RBI::Indexable @@ -849,7 +850,7 @@ class RBI::Include < ::RBI::Mixin # # @return [Include] a new instance of Include # - # source://rbi//lib/rbi/model.rb#680 + # source://rbi//lib/rbi/model.rb#682 sig do params( name: ::String, @@ -877,7 +878,7 @@ class RBI::Include < ::RBI::Mixin # : -> String # - # source://rbi//lib/rbi/model.rb#687 + # source://rbi//lib/rbi/model.rb#689 sig { override.returns(::String) } def to_s; end end @@ -955,42 +956,42 @@ module RBI::Indexable def index_ids; end end -# source://rbi//lib/rbi/model.rb#823 +# source://rbi//lib/rbi/model.rb#825 class RBI::KwArg < ::RBI::Arg # : (String keyword, String value, ?loc: Loc?) -> void # # @return [KwArg] a new instance of KwArg # - # source://rbi//lib/rbi/model.rb#828 + # source://rbi//lib/rbi/model.rb#830 sig { params(keyword: ::String, value: ::String, loc: T.nilable(::RBI::Loc)).void } def initialize(keyword, value, loc: T.unsafe(nil)); end # : (Object? other) -> bool # - # source://rbi//lib/rbi/model.rb#834 + # source://rbi//lib/rbi/model.rb#836 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end # : String # - # source://rbi//lib/rbi/model.rb#825 + # source://rbi//lib/rbi/model.rb#827 sig { returns(::String) } def keyword; end # : -> String # - # source://rbi//lib/rbi/model.rb#839 + # source://rbi//lib/rbi/model.rb#841 sig { returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#600 +# source://rbi//lib/rbi/model.rb#602 class RBI::KwOptParam < ::RBI::Param # : (String name, String value, ?loc: Loc?, ?comments: Array[Comment]) ?{ (KwOptParam node) -> void } -> void # # @return [KwOptParam] a new instance of KwOptParam # - # source://rbi//lib/rbi/model.rb#605 + # source://rbi//lib/rbi/model.rb#607 sig do params( name: ::String, @@ -1004,30 +1005,30 @@ class RBI::KwOptParam < ::RBI::Param # : (Object? other) -> bool # - # source://rbi//lib/rbi/model.rb#618 + # source://rbi//lib/rbi/model.rb#620 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end # : -> String # - # source://rbi//lib/rbi/model.rb#613 + # source://rbi//lib/rbi/model.rb#615 sig { override.returns(::String) } def to_s; end # : String # - # source://rbi//lib/rbi/model.rb#602 + # source://rbi//lib/rbi/model.rb#604 sig { returns(::String) } def value; end end -# source://rbi//lib/rbi/model.rb#581 +# source://rbi//lib/rbi/model.rb#583 class RBI::KwParam < ::RBI::Param # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (KwParam node) -> void } -> void # # @return [KwParam] a new instance of KwParam # - # source://rbi//lib/rbi/model.rb#583 + # source://rbi//lib/rbi/model.rb#585 sig do params( name: ::String, @@ -1040,24 +1041,24 @@ class RBI::KwParam < ::RBI::Param # : (Object? other) -> bool # - # source://rbi//lib/rbi/model.rb#595 + # source://rbi//lib/rbi/model.rb#597 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end # : -> String # - # source://rbi//lib/rbi/model.rb#590 + # source://rbi//lib/rbi/model.rb#592 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#623 +# source://rbi//lib/rbi/model.rb#625 class RBI::KwRestParam < ::RBI::Param # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (KwRestParam node) -> void } -> void # # @return [KwRestParam] a new instance of KwRestParam # - # source://rbi//lib/rbi/model.rb#625 + # source://rbi//lib/rbi/model.rb#627 sig do params( name: ::String, @@ -1070,13 +1071,13 @@ class RBI::KwRestParam < ::RBI::Param # : (Object? other) -> bool # - # source://rbi//lib/rbi/model.rb#637 + # source://rbi//lib/rbi/model.rb#639 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end # : -> String # - # source://rbi//lib/rbi/model.rb#632 + # source://rbi//lib/rbi/model.rb#634 sig { override.returns(::String) } def to_s; end end @@ -1178,7 +1179,7 @@ end # Methods and args # -# source://rbi//lib/rbi/model.rb#393 +# source://rbi//lib/rbi/model.rb#395 class RBI::Method < ::RBI::NodeWithComments include ::RBI::Indexable @@ -1186,7 +1187,7 @@ class RBI::Method < ::RBI::NodeWithComments # # @return [Method] a new instance of Method # - # source://rbi//lib/rbi/model.rb#410 + # source://rbi//lib/rbi/model.rb#412 sig do params( name: ::String, @@ -1203,55 +1204,55 @@ class RBI::Method < ::RBI::NodeWithComments # : (Param param) -> void # - # source://rbi//lib/rbi/model.rb#430 + # source://rbi//lib/rbi/model.rb#432 sig { params(param: ::RBI::Param).void } def <<(param); end # : (String name) -> void # - # source://rbi//lib/rbi/model.rb#465 + # source://rbi//lib/rbi/model.rb#467 sig { params(name: ::String).void } def add_block_param(name); end # : (String name, String default_value) -> void # - # source://rbi//lib/rbi/model.rb#455 + # source://rbi//lib/rbi/model.rb#457 sig { params(name: ::String, default_value: ::String).void } def add_kw_opt_param(name, default_value); end # : (String name) -> void # - # source://rbi//lib/rbi/model.rb#450 + # source://rbi//lib/rbi/model.rb#452 sig { params(name: ::String).void } def add_kw_param(name); end # : (String name) -> void # - # source://rbi//lib/rbi/model.rb#460 + # source://rbi//lib/rbi/model.rb#462 sig { params(name: ::String).void } def add_kw_rest_param(name); end # : (String name, String default_value) -> void # - # source://rbi//lib/rbi/model.rb#440 + # source://rbi//lib/rbi/model.rb#442 sig { params(name: ::String, default_value: ::String).void } def add_opt_param(name, default_value); end # : (String name) -> void # - # source://rbi//lib/rbi/model.rb#435 + # source://rbi//lib/rbi/model.rb#437 sig { params(name: ::String).void } def add_param(name); end # : (String name) -> void # - # source://rbi//lib/rbi/model.rb#445 + # source://rbi//lib/rbi/model.rb#447 sig { params(name: ::String).void } def add_rest_param(name); end # : (?params: Array[SigParam], ?return_type: (String | Type), ?is_abstract: bool, ?is_override: bool, ?is_overridable: bool, ?is_final: bool, ?type_params: Array[String], ?checked: Symbol?) ?{ (Sig node) -> void } -> void # - # source://rbi//lib/rbi/model.rb#470 + # source://rbi//lib/rbi/model.rb#472 sig do params( params: T::Array[::RBI::SigParam], @@ -1277,7 +1278,7 @@ class RBI::Method < ::RBI::NodeWithComments # : -> String # - # source://rbi//lib/rbi/model.rb#496 + # source://rbi//lib/rbi/model.rb#498 sig { returns(::String) } def fully_qualified_name; end @@ -1289,13 +1290,13 @@ class RBI::Method < ::RBI::NodeWithComments # : bool # - # source://rbi//lib/rbi/model.rb#401 + # source://rbi//lib/rbi/model.rb#403 sig { returns(T::Boolean) } def is_singleton; end # : bool # - # source://rbi//lib/rbi/model.rb#401 + # source://rbi//lib/rbi/model.rb#403 # @return [Boolean] def is_singleton=(_arg0); end @@ -1307,54 +1308,54 @@ class RBI::Method < ::RBI::NodeWithComments # : String # - # source://rbi//lib/rbi/model.rb#395 + # source://rbi//lib/rbi/model.rb#397 sig { returns(::String) } def name; end # : String # - # source://rbi//lib/rbi/model.rb#395 + # source://rbi//lib/rbi/model.rb#397 # @return [String] def name=(_arg0); end # : Array[Param] # - # source://rbi//lib/rbi/model.rb#398 + # source://rbi//lib/rbi/model.rb#400 sig { returns(T::Array[::RBI::Param]) } def params; end # : Array[Sig] # - # source://rbi//lib/rbi/model.rb#407 + # source://rbi//lib/rbi/model.rb#409 sig { returns(T::Array[::RBI::Sig]) } def sigs; end # : Array[Sig] # - # source://rbi//lib/rbi/model.rb#407 + # source://rbi//lib/rbi/model.rb#409 # @return [Array] def sigs=(_arg0); end # : -> String # - # source://rbi//lib/rbi/model.rb#506 + # source://rbi//lib/rbi/model.rb#508 sig { override.returns(::String) } def to_s; end # : Visibility # - # source://rbi//lib/rbi/model.rb#404 + # source://rbi//lib/rbi/model.rb#406 sig { returns(::RBI::Visibility) } def visibility; end # : Visibility # - # source://rbi//lib/rbi/model.rb#404 + # source://rbi//lib/rbi/model.rb#406 # @return [Visibility] def visibility=(_arg0); end end -# source://rbi//lib/rbi/model.rb#1086 +# source://rbi//lib/rbi/model.rb#1111 class RBI::MixesInClassMethods < ::RBI::Mixin include ::RBI::Indexable @@ -1362,7 +1363,7 @@ class RBI::MixesInClassMethods < ::RBI::Mixin # # @return [MixesInClassMethods] a new instance of MixesInClassMethods # - # source://rbi//lib/rbi/model.rb#1088 + # source://rbi//lib/rbi/model.rb#1113 sig do params( name: ::String, @@ -1390,7 +1391,7 @@ class RBI::MixesInClassMethods < ::RBI::Mixin # : -> String # - # source://rbi//lib/rbi/model.rb#1095 + # source://rbi//lib/rbi/model.rb#1120 sig { override.returns(::String) } def to_s; end end @@ -1399,7 +1400,7 @@ end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://rbi//lib/rbi/model.rb#663 +# source://rbi//lib/rbi/model.rb#665 class RBI::Mixin < ::RBI::NodeWithComments abstract! @@ -1407,7 +1408,7 @@ class RBI::Mixin < ::RBI::NodeWithComments # # @return [Mixin] a new instance of Mixin # - # source://rbi//lib/rbi/model.rb#672 + # source://rbi//lib/rbi/model.rb#674 sig do params( name: ::String, @@ -1428,18 +1429,18 @@ class RBI::Mixin < ::RBI::NodeWithComments # : Array[String] # - # source://rbi//lib/rbi/model.rb#669 + # source://rbi//lib/rbi/model.rb#671 sig { returns(T::Array[::String]) } def names; end end -# source://rbi//lib/rbi/model.rb#182 +# source://rbi//lib/rbi/model.rb#184 class RBI::Module < ::RBI::Scope # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (Module node) -> void } -> void # # @return [Module] a new instance of Module # - # source://rbi//lib/rbi/model.rb#187 + # source://rbi//lib/rbi/model.rb#189 sig do params( name: ::String, @@ -1460,19 +1461,19 @@ class RBI::Module < ::RBI::Scope # : -> String # - # source://rbi//lib/rbi/model.rb#195 + # source://rbi//lib/rbi/model.rb#197 sig { override.returns(::String) } def fully_qualified_name; end # : String # - # source://rbi//lib/rbi/model.rb#184 + # source://rbi//lib/rbi/model.rb#186 sig { returns(::String) } def name; end # : String # - # source://rbi//lib/rbi/model.rb#184 + # source://rbi//lib/rbi/model.rb#186 # @return [String] def name=(_arg0); end end @@ -1553,7 +1554,7 @@ class RBI::Node # : (?out: (IO | StringIO), ?indent: Integer, ?print_locs: bool, ?max_line_length: Integer?) -> void # - # source://rbi//lib/rbi/printer.rb#809 + # source://rbi//lib/rbi/printer.rb#828 sig do params( out: T.any(::IO, ::StringIO), @@ -1566,7 +1567,7 @@ class RBI::Node # : (?out: (IO | StringIO), ?indent: Integer, ?print_locs: bool, ?positional_names: bool) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#1121 + # source://rbi//lib/rbi/rbs_printer.rb#1127 sig do params( out: T.any(::IO, ::StringIO), @@ -1579,7 +1580,7 @@ class RBI::Node # : (?indent: Integer, ?print_locs: bool, ?positional_names: bool) -> String # - # source://rbi//lib/rbi/rbs_printer.rb#1127 + # source://rbi//lib/rbi/rbs_printer.rb#1133 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 @@ -1601,7 +1602,7 @@ class RBI::Node # : (?indent: Integer, ?print_locs: bool, ?max_line_length: Integer?) -> String # - # source://rbi//lib/rbi/printer.rb#815 + # source://rbi//lib/rbi/printer.rb#834 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 @@ -1651,13 +1652,13 @@ class RBI::NodeWithComments < ::RBI::Node def version_requirements; end end -# source://rbi//lib/rbi/model.rb#545 +# source://rbi//lib/rbi/model.rb#547 class RBI::OptParam < ::RBI::Param # : (String name, String value, ?loc: Loc?, ?comments: Array[Comment]) ?{ (OptParam node) -> void } -> void # # @return [OptParam] a new instance of OptParam # - # source://rbi//lib/rbi/model.rb#550 + # source://rbi//lib/rbi/model.rb#552 sig do params( name: ::String, @@ -1671,20 +1672,20 @@ class RBI::OptParam < ::RBI::Param # : (Object? other) -> bool # - # source://rbi//lib/rbi/model.rb#557 + # source://rbi//lib/rbi/model.rb#559 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end # : String # - # source://rbi//lib/rbi/model.rb#547 + # source://rbi//lib/rbi/model.rb#549 sig { returns(::String) } def value; end end # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://rbi//lib/rbi/model.rb#511 +# source://rbi//lib/rbi/model.rb#513 class RBI::Param < ::RBI::NodeWithComments abstract! @@ -1692,19 +1693,19 @@ class RBI::Param < ::RBI::NodeWithComments # # @return [Param] a new instance of Param # - # source://rbi//lib/rbi/model.rb#520 + # source://rbi//lib/rbi/model.rb#522 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 # : String # - # source://rbi//lib/rbi/model.rb#517 + # source://rbi//lib/rbi/model.rb#519 sig { returns(::String) } def name; end # : -> String # - # source://rbi//lib/rbi/model.rb#527 + # source://rbi//lib/rbi/model.rb#529 sig { override.returns(::String) } def to_s; end end @@ -1775,108 +1776,145 @@ class RBI::Parser end end -# source://rbi//lib/rbi/parser.rb#824 +# source://rbi//lib/rbi/parser.rb#954 +class RBI::Parser::HeredocLocationVisitor < ::Prism::Visitor + # : (Prism::Source source, Integer begin_offset, Integer end_offset) -> void + # + # @return [HeredocLocationVisitor] a new instance of HeredocLocationVisitor + # + # source://rbi//lib/rbi/parser.rb#956 + sig { params(source: ::Prism::Source, begin_offset: ::Integer, end_offset: ::Integer).void } + def initialize(source, begin_offset, end_offset); end + + # : -> Prism::Location + # + # source://rbi//lib/rbi/parser.rb#985 + sig { returns(::Prism::Location) } + def location; end + + # : (Prism::InterpolatedStringNode node) -> void + # + # source://rbi//lib/rbi/parser.rb#975 + sig { params(node: ::Prism::InterpolatedStringNode).void } + def visit_interpolated_string_node(node); end + + # : (Prism::StringNode node) -> void + # + # source://rbi//lib/rbi/parser.rb#965 + sig { params(node: ::Prism::StringNode).void } + def visit_string_node(node); end + + private + + # : (Prism::StringNode | Prism::InterpolatedStringNode node) -> void + # + # source://rbi//lib/rbi/parser.rb#996 + sig { params(node: T.any(::Prism::InterpolatedStringNode, ::Prism::StringNode)).void } + def handle_string_node(node); end +end + +# source://rbi//lib/rbi/parser.rb#871 class RBI::Parser::SigBuilder < ::RBI::Parser::Visitor # : (String content, file: String) -> void # # @return [SigBuilder] a new instance of SigBuilder # - # source://rbi//lib/rbi/parser.rb#829 + # source://rbi//lib/rbi/parser.rb#876 sig { params(content: ::String, file: ::String).void } def initialize(content, file:); end # : Sig # - # source://rbi//lib/rbi/parser.rb#826 + # source://rbi//lib/rbi/parser.rb#873 sig { returns(::RBI::Sig) } def current; end # : (Prism::AssocNode node) -> void # - # source://rbi//lib/rbi/parser.rb#899 + # source://rbi//lib/rbi/parser.rb#946 sig { override.params(node: ::Prism::AssocNode).void } def visit_assoc_node(node); end # : (Prism::CallNode node) -> void # - # source://rbi//lib/rbi/parser.rb#837 + # source://rbi//lib/rbi/parser.rb#884 sig { override.params(node: ::Prism::CallNode).void } def visit_call_node(node); end end -# source://rbi//lib/rbi/parser.rb#143 +# source://rbi//lib/rbi/parser.rb#154 class RBI::Parser::TreeBuilder < ::RBI::Parser::Visitor # : (String source, comments: Array[Prism::Comment], file: String) -> void # # @return [TreeBuilder] a new instance of TreeBuilder # - # source://rbi//lib/rbi/parser.rb#151 + # source://rbi//lib/rbi/parser.rb#162 sig { params(source: ::String, comments: T::Array[::Prism::Comment], file: ::String).void } def initialize(source, comments:, file:); end # : Prism::Node? # - # source://rbi//lib/rbi/parser.rb#148 + # source://rbi//lib/rbi/parser.rb#159 sig { returns(T.nilable(::Prism::Node)) } def last_node; end # : Tree # - # source://rbi//lib/rbi/parser.rb#145 + # source://rbi//lib/rbi/parser.rb#156 sig { returns(::RBI::Tree) } def tree; end # : (Prism::CallNode node) -> void # - # source://rbi//lib/rbi/parser.rb#319 + # source://rbi//lib/rbi/parser.rb#351 sig { params(node: ::Prism::CallNode).void } def visit_call_node(node); end # : (Prism::ClassNode node) -> void # - # source://rbi//lib/rbi/parser.rb#164 + # source://rbi//lib/rbi/parser.rb#175 sig { override.params(node: ::Prism::ClassNode).void } def visit_class_node(node); end # : ((Prism::ConstantWriteNode | Prism::ConstantPathWriteNode) node) -> void # - # source://rbi//lib/rbi/parser.rb#215 + # source://rbi//lib/rbi/parser.rb#226 sig { params(node: T.any(::Prism::ConstantPathWriteNode, ::Prism::ConstantWriteNode)).void } def visit_constant_assign(node); end # : (Prism::ConstantPathWriteNode node) -> void # - # source://rbi//lib/rbi/parser.rb#208 + # source://rbi//lib/rbi/parser.rb#219 sig { override.params(node: ::Prism::ConstantPathWriteNode).void } def visit_constant_path_write_node(node); end # : (Prism::ConstantWriteNode node) -> void # - # source://rbi//lib/rbi/parser.rb#200 + # source://rbi//lib/rbi/parser.rb#211 sig { override.params(node: ::Prism::ConstantWriteNode).void } def visit_constant_write_node(node); end # : (Prism::DefNode node) -> void # - # source://rbi//lib/rbi/parser.rb#249 + # source://rbi//lib/rbi/parser.rb#281 sig { override.params(node: ::Prism::DefNode).void } def visit_def_node(node); end # : (Prism::ModuleNode node) -> void # - # source://rbi//lib/rbi/parser.rb#271 + # source://rbi//lib/rbi/parser.rb#303 sig { override.params(node: ::Prism::ModuleNode).void } def visit_module_node(node); end # : (Prism::ProgramNode node) -> void # - # source://rbi//lib/rbi/parser.rb#290 + # source://rbi//lib/rbi/parser.rb#322 sig { override.params(node: ::Prism::ProgramNode).void } def visit_program_node(node); end # : (Prism::SingletonClassNode node) -> void # - # source://rbi//lib/rbi/parser.rb#302 + # source://rbi//lib/rbi/parser.rb#334 sig { override.params(node: ::Prism::SingletonClassNode).void } def visit_singleton_class_node(node); end @@ -1885,7 +1923,7 @@ class RBI::Parser::TreeBuilder < ::RBI::Parser::Visitor # Collect all the remaining comments within a node # : (Prism::Node node) -> void # - # source://rbi//lib/rbi/parser.rb#493 + # source://rbi//lib/rbi/parser.rb#525 # Collect all the remaining comments within a node sig { params(node: ::Prism::Node).void } def collect_dangling_comments(node); end @@ -1893,62 +1931,62 @@ class RBI::Parser::TreeBuilder < ::RBI::Parser::Visitor # Collect all the remaining comments after visiting the tree # : -> void # - # source://rbi//lib/rbi/parser.rb#511 + # source://rbi//lib/rbi/parser.rb#543 # Collect all the remaining comments after visiting the tree sig { void } def collect_orphan_comments; end # : -> Tree # - # source://rbi//lib/rbi/parser.rb#534 + # source://rbi//lib/rbi/parser.rb#566 sig { returns(::RBI::Tree) } def current_scope; end # : -> Array[Sig] # - # source://rbi//lib/rbi/parser.rb#539 + # source://rbi//lib/rbi/parser.rb#571 sig { returns(T::Array[::RBI::Sig]) } def current_sigs; end # : (Array[Sig] sigs) -> Array[Comment] # - # source://rbi//lib/rbi/parser.rb#546 + # source://rbi//lib/rbi/parser.rb#578 sig { params(sigs: T::Array[::RBI::Sig]).returns(T::Array[::RBI::Comment]) } def detach_comments_from_sigs(sigs); end # : (Prism::Node node) -> Array[Comment] # - # source://rbi//lib/rbi/parser.rb#558 + # source://rbi//lib/rbi/parser.rb#590 sig { params(node: ::Prism::Node).returns(T::Array[::RBI::Comment]) } def node_comments(node); end # : (Prism::Comment node) -> Comment # - # source://rbi//lib/rbi/parser.rb#576 + # source://rbi//lib/rbi/parser.rb#608 sig { params(node: ::Prism::Comment).returns(::RBI::Comment) } def parse_comment(node); end # : (Prism::Node? node) -> Array[Param] # - # source://rbi//lib/rbi/parser.rb#613 + # source://rbi//lib/rbi/parser.rb#647 sig { params(node: T.nilable(::Prism::Node)).returns(T::Array[::RBI::Param]) } def parse_params(node); end # : (Prism::Node? node) -> Array[Arg] # - # source://rbi//lib/rbi/parser.rb#589 + # source://rbi//lib/rbi/parser.rb#621 sig { params(node: T.nilable(::Prism::Node)).returns(T::Array[::RBI::Arg]) } def parse_send_args(node); end # : (Prism::CallNode node) -> Sig # - # source://rbi//lib/rbi/parser.rb#687 + # source://rbi//lib/rbi/parser.rb#721 sig { params(node: ::Prism::CallNode).returns(::RBI::Sig) } def parse_sig(node); end # : ((Prism::ConstantWriteNode | Prism::ConstantPathWriteNode) node) -> Struct? # - # source://rbi//lib/rbi/parser.rb#696 + # source://rbi//lib/rbi/parser.rb#730 sig do params( node: T.any(::Prism::ConstantPathWriteNode, ::Prism::ConstantWriteNode) @@ -1958,25 +1996,25 @@ class RBI::Parser::TreeBuilder < ::RBI::Parser::Visitor # : (Prism::CallNode send) -> void # - # source://rbi//lib/rbi/parser.rb#744 + # source://rbi//lib/rbi/parser.rb#778 sig { params(send: ::Prism::CallNode).void } def parse_tstruct_field(send); end # : (String name, Prism::Node node) -> Visibility # - # source://rbi//lib/rbi/parser.rb#781 + # source://rbi//lib/rbi/parser.rb#815 sig { params(name: ::String, node: ::Prism::Node).returns(::RBI::Visibility) } def parse_visibility(name, node); end # : -> void # - # source://rbi//lib/rbi/parser.rb#795 + # source://rbi//lib/rbi/parser.rb#829 sig { void } def separate_header_comments; end # : -> void # - # source://rbi//lib/rbi/parser.rb#805 + # source://rbi//lib/rbi/parser.rb#839 sig { void } def set_root_tree_loc; end @@ -1984,7 +2022,15 @@ class RBI::Parser::TreeBuilder < ::RBI::Parser::Visitor # # @return [Boolean] # - # source://rbi//lib/rbi/parser.rb#819 + # source://rbi//lib/rbi/parser.rb#858 + sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } + def t_enum_value?(node); end + + # : (Prism::Node? node) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/parser.rb#853 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def type_variable_definition?(node); end end @@ -2001,6 +2047,12 @@ class RBI::Parser::Visitor < ::Prism::Visitor private + # : (Prism::Node node) -> Prism::Location + # + # source://rbi//lib/rbi/parser.rb#143 + sig { params(node: ::Prism::Node).returns(::Prism::Location) } + def adjust_prism_location_for_heredoc(node); end + # : (Prism::Node node) -> Loc # # source://rbi//lib/rbi/parser.rb#126 @@ -2142,49 +2194,49 @@ class RBI::Printer < ::RBI::Visitor # # @return [Boolean] # - # source://rbi//lib/rbi/printer.rb#670 + # source://rbi//lib/rbi/printer.rb#680 sig { params(node: ::RBI::Node).returns(T::Boolean) } def oneline?(node); end # : (Node node) -> void # - # source://rbi//lib/rbi/printer.rb#628 + # source://rbi//lib/rbi/printer.rb#638 sig { params(node: ::RBI::Node).void } def print_blank_line_before(node); end # : (Node node) -> void # - # source://rbi//lib/rbi/printer.rb#638 + # source://rbi//lib/rbi/printer.rb#648 sig { params(node: ::RBI::Node).void } def print_loc(node); end # : (Param node, last: bool) -> void # - # source://rbi//lib/rbi/printer.rb#644 + # source://rbi//lib/rbi/printer.rb#654 sig { params(node: ::RBI::Param, last: T::Boolean).void } def print_param_comment_leading_space(node, last:); end # : (Sig node) -> void # - # source://rbi//lib/rbi/printer.rb#717 + # source://rbi//lib/rbi/printer.rb#734 sig { params(node: ::RBI::Sig).void } def print_sig_as_block(node); end # : (Sig node) -> void # - # source://rbi//lib/rbi/printer.rb#692 + # source://rbi//lib/rbi/printer.rb#709 sig { params(node: ::RBI::Sig).void } def print_sig_as_line(node); end # : (SigParam node, last: bool) -> void # - # source://rbi//lib/rbi/printer.rb#662 + # source://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 # : (Sig node) -> Array[String] # - # source://rbi//lib/rbi/printer.rb#773 + # source://rbi//lib/rbi/printer.rb#792 sig { params(node: ::RBI::Sig).returns(T::Array[::String]) } def sig_modifiers(node); end @@ -2244,7 +2296,7 @@ class RBI::Printer < ::RBI::Visitor # : (ConflictTree node) -> void # - # source://rbi//lib/rbi/printer.rb#604 + # source://rbi//lib/rbi/printer.rb#614 sig { override.params(node: ::RBI::ConflictTree).void } def visit_conflict_tree(node); end @@ -2262,13 +2314,13 @@ class RBI::Printer < ::RBI::Visitor # : (Group node) -> void # - # source://rbi//lib/rbi/printer.rb#573 + # source://rbi//lib/rbi/printer.rb#583 sig { override.params(node: ::RBI::Group).void } def visit_group(node); end # : (Helper node) -> void # - # source://rbi//lib/rbi/printer.rb#557 + # source://rbi//lib/rbi/printer.rb#567 sig { override.params(node: ::RBI::Helper).void } def visit_helper(node); end @@ -2310,7 +2362,7 @@ class RBI::Printer < ::RBI::Visitor # : (MixesInClassMethods node) -> void # - # source://rbi//lib/rbi/printer.rb#567 + # source://rbi//lib/rbi/printer.rb#577 sig { override.params(node: ::RBI::MixesInClassMethods).void } def visit_mixes_in_class_methods(node); end @@ -2364,7 +2416,7 @@ class RBI::Printer < ::RBI::Visitor # : (RequiresAncestor node) -> void # - # source://rbi//lib/rbi/printer.rb#594 + # source://rbi//lib/rbi/printer.rb#604 sig { override.params(node: ::RBI::RequiresAncestor).void } def visit_requires_ancestor(node); end @@ -2388,7 +2440,7 @@ class RBI::Printer < ::RBI::Visitor # : (ScopeConflict node) -> void # - # source://rbi//lib/rbi/printer.rb#614 + # source://rbi//lib/rbi/printer.rb#624 sig { override.params(node: ::RBI::ScopeConflict).void } def visit_scope_conflict(node); end @@ -2446,6 +2498,12 @@ class RBI::Printer < ::RBI::Visitor sig { override.params(node: ::RBI::TEnumBlock).void } def visit_tenum_block(node); end + # : (TEnumValue node) -> void + # + # source://rbi//lib/rbi/printer.rb#547 + sig { override.params(node: ::RBI::TEnumValue).void } + def visit_tenum_value(node); end + # : (Tree node) -> void # # source://rbi//lib/rbi/printer.rb#144 @@ -2472,7 +2530,7 @@ class RBI::Printer < ::RBI::Visitor # : (TypeMember node) -> void # - # source://rbi//lib/rbi/printer.rb#547 + # source://rbi//lib/rbi/printer.rb#557 sig { override.params(node: ::RBI::TypeMember).void } def visit_type_member(node); end @@ -2484,7 +2542,7 @@ class RBI::Printer < ::RBI::Visitor # : (VisibilityGroup node) -> void # - # source://rbi//lib/rbi/printer.rb#580 + # source://rbi//lib/rbi/printer.rb#590 sig { override.params(node: ::RBI::VisibilityGroup).void } def visit_visibility_group(node); end end @@ -2492,13 +2550,13 @@ end # source://rbi//lib/rbi/printer.rb#5 class RBI::PrinterError < ::RBI::Error; end -# source://rbi//lib/rbi/model.rb#761 +# source://rbi//lib/rbi/model.rb#763 class RBI::Private < ::RBI::Visibility # : (?loc: Loc?, ?comments: Array[Comment]) ?{ (Private node) -> void } -> void # # @return [Private] a new instance of Private # - # source://rbi//lib/rbi/model.rb#763 + # source://rbi//lib/rbi/model.rb#765 sig do params( loc: T.nilable(::RBI::Loc), @@ -2509,13 +2567,13 @@ class RBI::Private < ::RBI::Visibility def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end end -# source://rbi//lib/rbi/model.rb#753 +# source://rbi//lib/rbi/model.rb#755 class RBI::Protected < ::RBI::Visibility # : (?loc: Loc?, ?comments: Array[Comment]) ?{ (Protected node) -> void } -> void # # @return [Protected] a new instance of Protected # - # source://rbi//lib/rbi/model.rb#755 + # source://rbi//lib/rbi/model.rb#757 sig do params( loc: T.nilable(::RBI::Loc), @@ -2526,13 +2584,13 @@ class RBI::Protected < ::RBI::Visibility def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end end -# source://rbi//lib/rbi/model.rb#745 +# source://rbi//lib/rbi/model.rb#747 class RBI::Public < ::RBI::Visibility # : (?loc: Loc?, ?comments: Array[Comment]) ?{ (Public node) -> void } -> void # # @return [Public] a new instance of Public # - # source://rbi//lib/rbi/model.rb#747 + # source://rbi//lib/rbi/model.rb#749 sig do params( loc: T.nilable(::RBI::Loc), @@ -2748,7 +2806,7 @@ class RBI::RBSPrinter < ::RBI::Visitor # : (RBI::Method node, Sig sig) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#381 + # source://rbi//lib/rbi/rbs_printer.rb#384 sig { params(node: ::RBI::Method, sig: ::RBI::Sig).void } def print_method_sig(node, sig); end @@ -2784,7 +2842,7 @@ class RBI::RBSPrinter < ::RBI::Visitor # : (Arg node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#578 + # source://rbi//lib/rbi/rbs_printer.rb#581 sig { override.params(node: ::RBI::Arg).void } def visit_arg(node); end @@ -2820,7 +2878,7 @@ class RBI::RBSPrinter < ::RBI::Visitor # : (BlockParam node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#510 + # source://rbi//lib/rbi/rbs_printer.rb#513 sig { override.params(node: ::RBI::BlockParam).void } def visit_block_param(node); end @@ -2838,7 +2896,7 @@ class RBI::RBSPrinter < ::RBI::Visitor # : (ConflictTree node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#711 + # source://rbi//lib/rbi/rbs_printer.rb#717 sig { override.params(node: ::RBI::ConflictTree).void } def visit_conflict_tree(node); end @@ -2850,7 +2908,7 @@ class RBI::RBSPrinter < ::RBI::Visitor # : (Extend node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#522 + # source://rbi//lib/rbi/rbs_printer.rb#525 sig { override.params(node: ::RBI::Extend).void } def visit_extend(node); end @@ -2862,43 +2920,43 @@ class RBI::RBSPrinter < ::RBI::Visitor # : (Group node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#684 + # source://rbi//lib/rbi/rbs_printer.rb#690 sig { override.params(node: ::RBI::Group).void } def visit_group(node); end # : (Helper node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#672 + # source://rbi//lib/rbi/rbs_printer.rb#678 sig { override.params(node: ::RBI::Helper).void } def visit_helper(node); end # : (Include node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#516 + # source://rbi//lib/rbi/rbs_printer.rb#519 sig { override.params(node: ::RBI::Include).void } def visit_include(node); end # : (KwArg node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#584 + # source://rbi//lib/rbi/rbs_printer.rb#587 sig { override.params(node: ::RBI::KwArg).void } def visit_kw_arg(node); end # : (KwOptParam node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#498 + # source://rbi//lib/rbi/rbs_printer.rb#501 sig { override.params(node: ::RBI::KwOptParam).void } def visit_kw_opt_param(node); end # : (KwParam node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#492 + # source://rbi//lib/rbi/rbs_printer.rb#495 sig { override.params(node: ::RBI::KwParam).void } def visit_kw_param(node); end # : (KwRestParam node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#504 + # source://rbi//lib/rbi/rbs_printer.rb#507 sig { override.params(node: ::RBI::KwRestParam).void } def visit_kw_rest_param(node); end @@ -2910,13 +2968,13 @@ class RBI::RBSPrinter < ::RBI::Visitor # : (MixesInClassMethods node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#678 + # source://rbi//lib/rbi/rbs_printer.rb#684 sig { override.params(node: ::RBI::MixesInClassMethods).void } def visit_mixes_in_class_methods(node); end # : (Mixin node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#527 + # source://rbi//lib/rbi/rbs_printer.rb#530 sig { params(node: ::RBI::Mixin).void } def visit_mixin(node); end @@ -2928,43 +2986,43 @@ class RBI::RBSPrinter < ::RBI::Visitor # : (OptParam node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#472 + # source://rbi//lib/rbi/rbs_printer.rb#475 sig { override.params(node: ::RBI::OptParam).void } def visit_opt_param(node); end # : (Private node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#557 + # source://rbi//lib/rbi/rbs_printer.rb#560 sig { override.params(node: ::RBI::Private).void } def visit_private(node); end # : (Protected node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#551 + # source://rbi//lib/rbi/rbs_printer.rb#554 sig { override.params(node: ::RBI::Protected).void } def visit_protected(node); end # : (Public node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#545 + # source://rbi//lib/rbi/rbs_printer.rb#548 sig { override.params(node: ::RBI::Public).void } def visit_public(node); end # : (ReqParam node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#462 + # source://rbi//lib/rbi/rbs_printer.rb#465 sig { override.params(node: ::RBI::ReqParam).void } def visit_req_param(node); end # : (RequiresAncestor node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#705 + # source://rbi//lib/rbi/rbs_printer.rb#711 sig { override.params(node: ::RBI::RequiresAncestor).void } def visit_requires_ancestor(node); end # : (RestParam node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#482 + # source://rbi//lib/rbi/rbs_printer.rb#485 sig { override.params(node: ::RBI::RestParam).void } def visit_rest_param(node); end @@ -2982,7 +3040,7 @@ class RBI::RBSPrinter < ::RBI::Visitor # : (ScopeConflict node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#721 + # source://rbi//lib/rbi/rbs_printer.rb#727 sig { override.params(node: ::RBI::ScopeConflict).void } def visit_scope_conflict(node); end @@ -2994,19 +3052,19 @@ class RBI::RBSPrinter < ::RBI::Visitor # : (Send node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#572 + # source://rbi//lib/rbi/rbs_printer.rb#575 sig { override.params(node: ::RBI::Send).void } def visit_send(node); end # : (Sig node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#443 + # source://rbi//lib/rbi/rbs_printer.rb#446 sig { params(node: ::RBI::Sig).void } def visit_sig(node); end # : (SigParam node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#456 + # source://rbi//lib/rbi/rbs_printer.rb#459 sig { params(node: ::RBI::SigParam).void } def visit_sig_param(node); end @@ -3024,16 +3082,22 @@ class RBI::RBSPrinter < ::RBI::Visitor # : (TEnum node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#641 + # source://rbi//lib/rbi/rbs_printer.rb#644 sig { override.params(node: ::RBI::TEnum).void } def visit_tenum(node); end # : (TEnumBlock node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#647 + # source://rbi//lib/rbi/rbs_printer.rb#650 sig { override.params(node: ::RBI::TEnumBlock).void } def visit_tenum_block(node); end + # : (TEnumValue node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#656 + sig { override.params(node: ::RBI::TEnumValue).void } + def visit_tenum_value(node); end + # : (Tree node) -> void # # source://rbi//lib/rbi/rbs_printer.rb#120 @@ -3042,37 +3106,37 @@ class RBI::RBSPrinter < ::RBI::Visitor # : (TStruct node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#590 + # source://rbi//lib/rbi/rbs_printer.rb#593 sig { override.params(node: ::RBI::TStruct).void } def visit_tstruct(node); end # : (TStructConst node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#625 + # source://rbi//lib/rbi/rbs_printer.rb#628 sig { override.params(node: ::RBI::TStructConst).void } def visit_tstruct_const(node); end # : (TStructProp node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#633 + # source://rbi//lib/rbi/rbs_printer.rb#636 sig { override.params(node: ::RBI::TStructProp).void } def visit_tstruct_prop(node); end # : (TypeMember node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#666 + # source://rbi//lib/rbi/rbs_printer.rb#672 sig { override.params(node: ::RBI::TypeMember).void } def visit_type_member(node); end # : (Visibility node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#562 + # source://rbi//lib/rbi/rbs_printer.rb#565 sig { params(node: ::RBI::Visibility).void } def visit_visibility(node); end # : (VisibilityGroup node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#691 + # source://rbi//lib/rbi/rbs_printer.rb#697 sig { override.params(node: ::RBI::VisibilityGroup).void } def visit_visibility_group(node); end @@ -3082,7 +3146,7 @@ class RBI::RBSPrinter < ::RBI::Visitor # # @return [Boolean] # - # source://rbi//lib/rbi/rbs_printer.rb#824 + # source://rbi//lib/rbi/rbs_printer.rb#830 sig { params(node: ::RBI::Node).returns(T::Boolean) } def oneline?(node); end @@ -3091,7 +3155,7 @@ class RBI::RBSPrinter < ::RBI::Visitor # Returns `nil` is the string is not a `T.let`. # : (String? code) -> String? # - # source://rbi//lib/rbi/rbs_printer.rb#858 + # source://rbi//lib/rbi/rbs_printer.rb#864 # Parse a string containing a `T.let(x, X)` and extract the type # Returns `nil` is the string is not a `T.let`. sig { params(code: T.nilable(::String)).returns(T.nilable(::String)) } @@ -3099,37 +3163,37 @@ class RBI::RBSPrinter < ::RBI::Visitor # : ((Type | String) type) -> Type # - # source://rbi//lib/rbi/rbs_printer.rb#846 + # source://rbi//lib/rbi/rbs_printer.rb#852 sig { params(type: T.any(::RBI::Type, ::String)).returns(::RBI::Type) } def parse_type(type); end # : (Node node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#737 + # source://rbi//lib/rbi/rbs_printer.rb#743 sig { params(node: ::RBI::Node).void } def print_blank_line_before(node); end # : (Node node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#756 + # source://rbi//lib/rbi/rbs_printer.rb#762 sig { params(node: ::RBI::Node).void } def print_loc(node); end # : (Param node, last: bool) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#798 + # source://rbi//lib/rbi/rbs_printer.rb#804 sig { params(node: ::RBI::Param, last: T::Boolean).void } def print_param_comment_leading_space(node, last:); end # : (Method node, SigParam param) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#762 + # source://rbi//lib/rbi/rbs_printer.rb#768 sig { params(node: ::RBI::Method, param: ::RBI::SigParam).void } def print_sig_param(node, param); end # : (SigParam node, last: bool) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#816 + # source://rbi//lib/rbi/rbs_printer.rb#822 sig { params(node: ::RBI::SigParam, last: T::Boolean).void } def print_sig_param_comment_leading_space(node, last:); end end @@ -3140,13 +3204,13 @@ class RBI::RBSPrinter::Error < ::RBI::Error; end # source://rbi//lib/rbi/model.rb#5 class RBI::ReplaceNodeError < ::RBI::Error; end -# source://rbi//lib/rbi/model.rb#532 +# source://rbi//lib/rbi/model.rb#534 class RBI::ReqParam < ::RBI::Param # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (ReqParam node) -> void } -> void # # @return [ReqParam] a new instance of ReqParam # - # source://rbi//lib/rbi/model.rb#534 + # source://rbi//lib/rbi/model.rb#536 sig do params( name: ::String, @@ -3159,12 +3223,12 @@ class RBI::ReqParam < ::RBI::Param # : (Object? other) -> bool # - # source://rbi//lib/rbi/model.rb#540 + # source://rbi//lib/rbi/model.rb#542 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end end -# source://rbi//lib/rbi/model.rb#1100 +# source://rbi//lib/rbi/model.rb#1125 class RBI::RequiresAncestor < ::RBI::NodeWithComments include ::RBI::Indexable @@ -3172,7 +3236,7 @@ class RBI::RequiresAncestor < ::RBI::NodeWithComments # # @return [RequiresAncestor] a new instance of RequiresAncestor # - # source://rbi//lib/rbi/model.rb#1105 + # source://rbi//lib/rbi/model.rb#1130 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 @@ -3184,24 +3248,24 @@ class RBI::RequiresAncestor < ::RBI::NodeWithComments # : String # - # source://rbi//lib/rbi/model.rb#1102 + # source://rbi//lib/rbi/model.rb#1127 sig { returns(::String) } def name; end # : -> String # - # source://rbi//lib/rbi/model.rb#1112 + # source://rbi//lib/rbi/model.rb#1137 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#562 +# source://rbi//lib/rbi/model.rb#564 class RBI::RestParam < ::RBI::Param # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (RestParam node) -> void } -> void # # @return [RestParam] a new instance of RestParam # - # source://rbi//lib/rbi/model.rb#564 + # source://rbi//lib/rbi/model.rb#566 sig do params( name: ::String, @@ -3214,13 +3278,13 @@ class RBI::RestParam < ::RBI::Param # : (Object? other) -> bool # - # source://rbi//lib/rbi/model.rb#576 + # source://rbi//lib/rbi/model.rb#578 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end # : -> String # - # source://rbi//lib/rbi/model.rb#571 + # source://rbi//lib/rbi/model.rb#573 sig { override.returns(::String) } def to_s; end end @@ -3677,7 +3741,7 @@ class RBI::Rewriters::Merge::Conflict < ::T::Struct def to_s; end class << self - # source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11998/lib/types/struct.rb#13 def inherited(s); end end end @@ -4022,7 +4086,7 @@ class RBI::Rewriters::RemoveKnownDefinitions::Operation < ::T::Struct def to_s; end class << self - # source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11998/lib/types/struct.rb#13 def inherited(s); end end end @@ -4039,25 +4103,25 @@ class RBI::Rewriters::SortNodes < ::RBI::Visitor # : (Group::Kind kind) -> Integer # - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#72 + # source://rbi//lib/rbi/rewriters/sort_nodes.rb#74 sig { params(kind: ::RBI::Group::Kind).returns(::Integer) } def group_rank(kind); end # : (Node node) -> String? # - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#93 + # source://rbi//lib/rbi/rewriters/sort_nodes.rb#95 sig { params(node: ::RBI::Node).returns(T.nilable(::String)) } def node_name(node); end # : (Node node) -> Integer # - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#44 + # source://rbi//lib/rbi/rewriters/sort_nodes.rb#46 sig { params(node: ::RBI::Node).returns(::Integer) } def node_rank(node); end # : (Node node) -> void # - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#105 + # source://rbi//lib/rbi/rewriters/sort_nodes.rb#107 sig { params(node: ::RBI::Node).void } def sort_node_names!(node); end end @@ -4100,7 +4164,7 @@ class RBI::Rewriters::TranslateRBSSigs::Error < ::RBI::Error; end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://rbi//lib/rbi/model.rb#166 +# source://rbi//lib/rbi/model.rb#168 class RBI::Scope < ::RBI::Tree include ::RBI::Indexable @@ -4116,7 +4180,7 @@ class RBI::Scope < ::RBI::Tree # @abstract # - # source://rbi//lib/rbi/model.rb#173 + # source://rbi//lib/rbi/model.rb#175 sig { abstract.returns(::String) } def fully_qualified_name; end @@ -4128,7 +4192,7 @@ class RBI::Scope < ::RBI::Tree # : -> String # - # source://rbi//lib/rbi/model.rb#177 + # source://rbi//lib/rbi/model.rb#179 sig { override.returns(::String) } def to_s; end end @@ -4193,7 +4257,7 @@ end # Sends # -# source://rbi//lib/rbi/model.rb#771 +# source://rbi//lib/rbi/model.rb#773 class RBI::Send < ::RBI::NodeWithComments include ::RBI::Indexable @@ -4201,7 +4265,7 @@ class RBI::Send < ::RBI::NodeWithComments # # @return [Send] a new instance of Send # - # source://rbi//lib/rbi/model.rb#779 + # source://rbi//lib/rbi/model.rb#781 sig do params( method: ::String, @@ -4215,19 +4279,19 @@ class RBI::Send < ::RBI::NodeWithComments # : (Arg arg) -> void # - # source://rbi//lib/rbi/model.rb#787 + # source://rbi//lib/rbi/model.rb#789 sig { params(arg: ::RBI::Arg).void } def <<(arg); end # : (Object? other) -> bool # - # source://rbi//lib/rbi/model.rb#792 + # source://rbi//lib/rbi/model.rb#794 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end # : Array[Arg] # - # source://rbi//lib/rbi/model.rb#776 + # source://rbi//lib/rbi/model.rb#778 sig { returns(T::Array[::RBI::Arg]) } def args; end @@ -4247,26 +4311,26 @@ class RBI::Send < ::RBI::NodeWithComments # : String # - # source://rbi//lib/rbi/model.rb#773 + # source://rbi//lib/rbi/model.rb#775 sig { returns(::String) } def method; end # : -> String # - # source://rbi//lib/rbi/model.rb#797 + # source://rbi//lib/rbi/model.rb#799 sig { returns(::String) } def to_s; end end # Sorbet's sigs # -# source://rbi//lib/rbi/model.rb#846 +# source://rbi//lib/rbi/model.rb#848 class RBI::Sig < ::RBI::NodeWithComments # : (?params: Array[SigParam], ?return_type: (Type | String), ?is_abstract: bool, ?is_override: bool, ?is_overridable: bool, ?is_final: bool, ?allow_incompatible_override: bool, ?type_params: Array[String], ?checked: Symbol?, ?loc: Loc?, ?comments: Array[Comment]) ?{ (Sig node) -> void } -> void # # @return [Sig] a new instance of Sig # - # source://rbi//lib/rbi/model.rb#863 + # source://rbi//lib/rbi/model.rb#865 sig do params( params: T::Array[::RBI::SigParam], @@ -4287,126 +4351,126 @@ class RBI::Sig < ::RBI::NodeWithComments # : (SigParam param) -> void # - # source://rbi//lib/rbi/model.rb#891 + # source://rbi//lib/rbi/model.rb#893 sig { params(param: ::RBI::SigParam).void } def <<(param); end # : (Object other) -> bool # - # source://rbi//lib/rbi/model.rb#901 + # source://rbi//lib/rbi/model.rb#903 sig { params(other: ::Object).returns(T::Boolean) } def ==(other); end # : (String name, (Type | String) type) -> void # - # source://rbi//lib/rbi/model.rb#896 + # source://rbi//lib/rbi/model.rb#898 sig { params(name: ::String, type: T.any(::RBI::Type, ::String)).void } def add_param(name, type); end # : bool # - # source://rbi//lib/rbi/model.rb#854 + # source://rbi//lib/rbi/model.rb#856 # @return [Boolean] def allow_incompatible_override; end # : bool # - # source://rbi//lib/rbi/model.rb#854 + # source://rbi//lib/rbi/model.rb#856 # @return [Boolean] def allow_incompatible_override=(_arg0); end # : Symbol? # - # source://rbi//lib/rbi/model.rb#860 + # source://rbi//lib/rbi/model.rb#862 sig { returns(T.nilable(::Symbol)) } def checked; end # : Symbol? # - # source://rbi//lib/rbi/model.rb#860 + # source://rbi//lib/rbi/model.rb#862 # @return [Symbol, nil] def checked=(_arg0); end # : bool # - # source://rbi//lib/rbi/model.rb#854 + # source://rbi//lib/rbi/model.rb#856 sig { returns(T::Boolean) } def is_abstract; end # : bool # - # source://rbi//lib/rbi/model.rb#854 + # source://rbi//lib/rbi/model.rb#856 # @return [Boolean] def is_abstract=(_arg0); end # : bool # - # source://rbi//lib/rbi/model.rb#854 + # source://rbi//lib/rbi/model.rb#856 # @return [Boolean] def is_final; end # : bool # - # source://rbi//lib/rbi/model.rb#854 + # source://rbi//lib/rbi/model.rb#856 # @return [Boolean] def is_final=(_arg0); end # : bool # - # source://rbi//lib/rbi/model.rb#854 + # source://rbi//lib/rbi/model.rb#856 # @return [Boolean] def is_overridable; end # : bool # - # source://rbi//lib/rbi/model.rb#854 + # source://rbi//lib/rbi/model.rb#856 # @return [Boolean] def is_overridable=(_arg0); end # : bool # - # source://rbi//lib/rbi/model.rb#854 + # source://rbi//lib/rbi/model.rb#856 # @return [Boolean] def is_override; end # : bool # - # source://rbi//lib/rbi/model.rb#854 + # source://rbi//lib/rbi/model.rb#856 # @return [Boolean] def is_override=(_arg0); end # : Array[SigParam] # - # source://rbi//lib/rbi/model.rb#848 + # source://rbi//lib/rbi/model.rb#850 sig { returns(T::Array[::RBI::SigParam]) } def params; end # : (Type | String) # - # source://rbi//lib/rbi/model.rb#851 + # source://rbi//lib/rbi/model.rb#853 sig { returns(T.any(::RBI::Type, ::String)) } def return_type; end # : (Type | String) # - # source://rbi//lib/rbi/model.rb#851 + # source://rbi//lib/rbi/model.rb#853 # @return [Type, String] def return_type=(_arg0); end # : Array[String] # - # source://rbi//lib/rbi/model.rb#857 + # source://rbi//lib/rbi/model.rb#859 sig { returns(T::Array[::String]) } def type_params; end end -# source://rbi//lib/rbi/model.rb#910 +# source://rbi//lib/rbi/model.rb#912 class RBI::SigParam < ::RBI::NodeWithComments # : (String name, (Type | String) type, ?loc: Loc?, ?comments: Array[Comment]) ?{ (SigParam node) -> void } -> void # # @return [SigParam] a new instance of SigParam # - # source://rbi//lib/rbi/model.rb#918 + # source://rbi//lib/rbi/model.rb#920 sig do params( name: ::String, @@ -4420,30 +4484,30 @@ class RBI::SigParam < ::RBI::NodeWithComments # : (Object other) -> bool # - # source://rbi//lib/rbi/model.rb#926 + # source://rbi//lib/rbi/model.rb#928 sig { params(other: ::Object).returns(T::Boolean) } def ==(other); end # : String # - # source://rbi//lib/rbi/model.rb#912 + # source://rbi//lib/rbi/model.rb#914 sig { returns(::String) } def name; end # : (Type | String) # - # source://rbi//lib/rbi/model.rb#915 + # source://rbi//lib/rbi/model.rb#917 sig { returns(T.any(::RBI::Type, ::String)) } def type; end end -# source://rbi//lib/rbi/model.rb#226 +# source://rbi//lib/rbi/model.rb#228 class RBI::SingletonClass < ::RBI::Scope # : (?loc: Loc?, ?comments: Array[Comment]) ?{ (SingletonClass node) -> void } -> void # # @return [SingletonClass] a new instance of SingletonClass # - # source://rbi//lib/rbi/model.rb#228 + # source://rbi//lib/rbi/model.rb#230 sig do params( loc: T.nilable(::RBI::Loc), @@ -4455,18 +4519,18 @@ class RBI::SingletonClass < ::RBI::Scope # : -> String # - # source://rbi//lib/rbi/model.rb#235 + # source://rbi//lib/rbi/model.rb#237 sig { override.returns(::String) } def fully_qualified_name; end end -# source://rbi//lib/rbi/model.rb#240 +# source://rbi//lib/rbi/model.rb#242 class RBI::Struct < ::RBI::Scope # : (String name, ?members: Array[Symbol], ?keyword_init: bool, ?loc: Loc?, ?comments: Array[Comment]) ?{ (Struct struct) -> void } -> void # # @return [Struct] a new instance of Struct # - # source://rbi//lib/rbi/model.rb#251 + # source://rbi//lib/rbi/model.rb#253 sig do params( name: ::String, @@ -4489,56 +4553,56 @@ class RBI::Struct < ::RBI::Scope # : -> String # - # source://rbi//lib/rbi/model.rb#261 + # source://rbi//lib/rbi/model.rb#263 sig { override.returns(::String) } def fully_qualified_name; end # : bool # - # source://rbi//lib/rbi/model.rb#248 + # source://rbi//lib/rbi/model.rb#250 sig { returns(T::Boolean) } def keyword_init; end # : bool # - # source://rbi//lib/rbi/model.rb#248 + # source://rbi//lib/rbi/model.rb#250 # @return [Boolean] def keyword_init=(_arg0); end # : Array[Symbol] # - # source://rbi//lib/rbi/model.rb#245 + # source://rbi//lib/rbi/model.rb#247 sig { returns(T::Array[::Symbol]) } def members; end # : Array[Symbol] # - # source://rbi//lib/rbi/model.rb#245 + # source://rbi//lib/rbi/model.rb#247 # @return [Array] def members=(_arg0); end # : String # - # source://rbi//lib/rbi/model.rb#242 + # source://rbi//lib/rbi/model.rb#244 sig { returns(::String) } def name; end # : String # - # source://rbi//lib/rbi/model.rb#242 + # source://rbi//lib/rbi/model.rb#244 # @return [String] def name=(_arg0); end end # Sorbet's T::Enum # -# source://rbi//lib/rbi/model.rb#1012 +# source://rbi//lib/rbi/model.rb#1014 class RBI::TEnum < ::RBI::Class # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (TEnum klass) -> void } -> void # # @return [TEnum] a new instance of TEnum # - # source://rbi//lib/rbi/model.rb#1014 + # source://rbi//lib/rbi/model.rb#1016 sig do params( name: ::String, @@ -4550,13 +4614,13 @@ 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#1020 +# source://rbi//lib/rbi/model.rb#1022 class RBI::TEnumBlock < ::RBI::Scope # : (?loc: Loc?, ?comments: Array[Comment]) ?{ (TEnumBlock node) -> void } -> void # # @return [TEnumBlock] a new instance of TEnumBlock # - # source://rbi//lib/rbi/model.rb#1022 + # source://rbi//lib/rbi/model.rb#1024 sig do params( loc: T.nilable(::RBI::Loc), @@ -4568,7 +4632,7 @@ class RBI::TEnumBlock < ::RBI::Scope # : -> String # - # source://rbi//lib/rbi/model.rb#1029 + # source://rbi//lib/rbi/model.rb#1031 sig { override.returns(::String) } def fully_qualified_name; end @@ -4580,20 +4644,64 @@ class RBI::TEnumBlock < ::RBI::Scope # : -> String # - # source://rbi//lib/rbi/model.rb#1035 + # source://rbi//lib/rbi/model.rb#1037 + sig { override.returns(::String) } + def to_s; end +end + +# source://rbi//lib/rbi/model.rb#1042 +class RBI::TEnumValue < ::RBI::NodeWithComments + include ::RBI::Indexable + + # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (TEnumValue node) -> void } -> void + # + # @return [TEnumValue] a new instance of TEnumValue + # + # source://rbi//lib/rbi/model.rb#1047 + sig do + params( + name: ::String, + loc: T.nilable(::RBI::Loc), + comments: T::Array[::RBI::Comment], + block: T.nilable(T.proc.params(node: ::RBI::TEnumValue).void) + ).void + end + def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end + + # : -> String + # + # source://rbi//lib/rbi/model.rb#1054 + sig { returns(::String) } + def fully_qualified_name; end + + # : -> Array[String] + # + # source://rbi//lib/rbi/index.rb#229 + sig { override.returns(T::Array[::String]) } + def index_ids; end + + # : String + # + # source://rbi//lib/rbi/model.rb#1044 + sig { returns(::String) } + def name; end + + # : -> String + # + # source://rbi//lib/rbi/model.rb#1060 sig { override.returns(::String) } def to_s; end end # Sorbet's T::Struct # -# source://rbi//lib/rbi/model.rb#933 +# source://rbi//lib/rbi/model.rb#935 class RBI::TStruct < ::RBI::Class # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (TStruct klass) -> void } -> void # # @return [TStruct] a new instance of TStruct # - # source://rbi//lib/rbi/model.rb#935 + # source://rbi//lib/rbi/model.rb#937 sig do params( name: ::String, @@ -4605,7 +4713,7 @@ 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#968 +# source://rbi//lib/rbi/model.rb#970 class RBI::TStructConst < ::RBI::TStructField include ::RBI::Indexable @@ -4613,7 +4721,7 @@ class RBI::TStructConst < ::RBI::TStructField # # @return [TStructConst] a new instance of TStructConst # - # source://rbi//lib/rbi/model.rb#970 + # source://rbi//lib/rbi/model.rb#972 sig do params( name: ::String, @@ -4636,7 +4744,7 @@ class RBI::TStructConst < ::RBI::TStructField # : -> Array[String] # - # source://rbi//lib/rbi/model.rb#977 + # source://rbi//lib/rbi/model.rb#979 sig { override.returns(T::Array[::String]) } def fully_qualified_names; end @@ -4648,14 +4756,14 @@ class RBI::TStructConst < ::RBI::TStructField # : -> String # - # source://rbi//lib/rbi/model.rb#984 + # source://rbi//lib/rbi/model.rb#986 sig { override.returns(::String) } def to_s; end end # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://rbi//lib/rbi/model.rb#941 +# source://rbi//lib/rbi/model.rb#943 class RBI::TStructField < ::RBI::NodeWithComments abstract! @@ -4663,7 +4771,7 @@ class RBI::TStructField < ::RBI::NodeWithComments # # @return [TStructField] a new instance of TStructField # - # source://rbi//lib/rbi/model.rb#957 + # source://rbi//lib/rbi/model.rb#959 sig do params( name: ::String, @@ -4685,48 +4793,48 @@ class RBI::TStructField < ::RBI::NodeWithComments # : String? # - # source://rbi//lib/rbi/model.rb#954 + # source://rbi//lib/rbi/model.rb#956 sig { returns(T.nilable(::String)) } def default; end # : String? # - # source://rbi//lib/rbi/model.rb#954 + # source://rbi//lib/rbi/model.rb#956 # @return [String, nil] def default=(_arg0); end # @abstract # - # source://rbi//lib/rbi/model.rb#965 + # source://rbi//lib/rbi/model.rb#967 sig { abstract.returns(T::Array[::String]) } def fully_qualified_names; end # : String # - # source://rbi//lib/rbi/model.rb#948 + # source://rbi//lib/rbi/model.rb#950 sig { returns(::String) } def name; end # : String # - # source://rbi//lib/rbi/model.rb#948 + # source://rbi//lib/rbi/model.rb#950 # @return [String] def name=(_arg0); end # : (Type | String) # - # source://rbi//lib/rbi/model.rb#951 + # source://rbi//lib/rbi/model.rb#953 sig { returns(T.any(::RBI::Type, ::String)) } def type; end # : (Type | String) # - # source://rbi//lib/rbi/model.rb#951 + # source://rbi//lib/rbi/model.rb#953 # @return [Type, String] def type=(_arg0); end end -# source://rbi//lib/rbi/model.rb#989 +# source://rbi//lib/rbi/model.rb#991 class RBI::TStructProp < ::RBI::TStructField include ::RBI::Indexable @@ -4734,7 +4842,7 @@ class RBI::TStructProp < ::RBI::TStructField # # @return [TStructProp] a new instance of TStructProp # - # source://rbi//lib/rbi/model.rb#991 + # source://rbi//lib/rbi/model.rb#993 sig do params( name: ::String, @@ -4757,7 +4865,7 @@ class RBI::TStructProp < ::RBI::TStructField # : -> Array[String] # - # source://rbi//lib/rbi/model.rb#998 + # source://rbi//lib/rbi/model.rb#1000 sig { override.returns(T::Array[::String]) } def fully_qualified_names; end @@ -4769,18 +4877,18 @@ class RBI::TStructProp < ::RBI::TStructField # : -> String # - # source://rbi//lib/rbi/model.rb#1005 + # source://rbi//lib/rbi/model.rb#1007 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#112 +# source://rbi//lib/rbi/model.rb#114 class RBI::Tree < ::RBI::NodeWithComments # : (?loc: Loc?, ?comments: Array[Comment]) ?{ (Tree node) -> void } -> void # # @return [Tree] a new instance of Tree # - # source://rbi//lib/rbi/model.rb#117 + # source://rbi//lib/rbi/model.rb#119 sig do params( loc: T.nilable(::RBI::Loc), @@ -4792,7 +4900,7 @@ class RBI::Tree < ::RBI::NodeWithComments # : (Node node) -> void # - # source://rbi//lib/rbi/model.rb#124 + # source://rbi//lib/rbi/model.rb#126 sig { params(node: ::RBI::Node).void } def <<(node); end @@ -4879,7 +4987,7 @@ class RBI::Tree < ::RBI::NodeWithComments # # @return [Boolean] # - # source://rbi//lib/rbi/model.rb#130 + # source://rbi//lib/rbi/model.rb#132 sig { returns(T::Boolean) } def empty?; end @@ -4891,7 +4999,7 @@ class RBI::Tree < ::RBI::NodeWithComments # : -> void # - # source://rbi//lib/rbi/rewriters/flatten_singleton_methods.rb#57 + # source://rbi//lib/rbi/rewriters/flatten_singleton_methods.rb#58 sig { void } def flatten_singleton_methods!; end @@ -4946,7 +5054,7 @@ class RBI::Tree < ::RBI::NodeWithComments # : Array[Node] # - # source://rbi//lib/rbi/model.rb#114 + # source://rbi//lib/rbi/model.rb#116 sig { returns(T::Array[::RBI::Node]) } def nodes; end @@ -4958,7 +5066,7 @@ class RBI::Tree < ::RBI::NodeWithComments # : -> void # - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#116 + # source://rbi//lib/rbi/rewriters/sort_nodes.rb#118 sig { void } def sort_nodes!; end @@ -5075,7 +5183,7 @@ class RBI::Type # : -> String # - # source://rbi//lib/rbi/rbs_printer.rb#1136 + # source://rbi//lib/rbi/rbs_printer.rb#1142 sig { returns(::String) } def rbs_string; end @@ -5274,19 +5382,19 @@ class RBI::Type # : (Prism::CallNode node) -> Array[Prism::Node] # - # source://rbi//lib/rbi/type_parser.rb#263 + # source://rbi//lib/rbi/type_parser.rb#287 sig { params(node: ::Prism::CallNode).returns(T::Array[::Prism::Node]) } def call_chain(node); end # : (Prism::CallNode node, Integer count) -> Array[Prism::Node] # - # source://rbi//lib/rbi/type_parser.rb#250 + # source://rbi//lib/rbi/type_parser.rb#274 sig { params(node: ::Prism::CallNode, count: ::Integer).returns(T::Array[::Prism::Node]) } def check_arguments_at_least!(node, count); end # : (Prism::CallNode node, Integer count) -> Array[Prism::Node] # - # source://rbi//lib/rbi/type_parser.rb#235 + # source://rbi//lib/rbi/type_parser.rb#259 sig { params(node: ::Prism::CallNode, count: ::Integer).returns(T::Array[::Prism::Node]) } def check_arguments_exactly!(node, count); end @@ -5294,13 +5402,13 @@ class RBI::Type # # @raise [Error] # - # source://rbi//lib/rbi/type_parser.rb#69 + # source://rbi//lib/rbi/type_parser.rb#71 sig { params(node: ::Prism::CallNode).returns(::RBI::Type) } def parse_call(node); end # : ((Prism::ConstantReadNode | Prism::ConstantPathNode) node) -> Type # - # source://rbi//lib/rbi/type_parser.rb#52 + # source://rbi//lib/rbi/type_parser.rb#54 sig { params(node: T.any(::Prism::ConstantPathNode, ::Prism::ConstantReadNode)).returns(::RBI::Type) } def parse_constant(node); end @@ -5308,19 +5416,19 @@ class RBI::Type # # @raise [Error] # - # source://rbi//lib/rbi/type_parser.rb#195 + # source://rbi//lib/rbi/type_parser.rb#211 sig { params(node: ::Prism::CallNode).returns(::RBI::Type) } def parse_proc(node); end # : ((Prism::HashNode | Prism::KeywordHashNode) node) -> Type # - # source://rbi//lib/rbi/type_parser.rb#176 + # source://rbi//lib/rbi/type_parser.rb#190 sig { params(node: T.any(::Prism::HashNode, ::Prism::KeywordHashNode)).returns(::RBI::Type) } def parse_shape(node); end # : (Prism::ArrayNode node) -> Type # - # source://rbi//lib/rbi/type_parser.rb#171 + # source://rbi//lib/rbi/type_parser.rb#185 sig { params(node: ::Prism::ArrayNode).returns(::RBI::Type) } def parse_tuple(node); end @@ -5328,7 +5436,7 @@ class RBI::Type # # @return [Boolean] # - # source://rbi//lib/rbi/type_parser.rb#276 + # source://rbi//lib/rbi/type_parser.rb#300 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def t?(node); end @@ -5336,7 +5444,7 @@ class RBI::Type # # @return [Boolean] # - # source://rbi//lib/rbi/type_parser.rb#288 + # source://rbi//lib/rbi/type_parser.rb#312 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def t_boolean?(node); end @@ -5344,7 +5452,7 @@ class RBI::Type # # @return [Boolean] # - # source://rbi//lib/rbi/type_parser.rb#295 + # source://rbi//lib/rbi/type_parser.rb#319 sig { params(node: ::Prism::ConstantPathNode).returns(T::Boolean) } def t_class?(node); end @@ -5352,7 +5460,7 @@ class RBI::Type # # @return [Boolean] # - # source://rbi//lib/rbi/type_parser.rb#300 + # source://rbi//lib/rbi/type_parser.rb#324 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def t_class_of?(node); end @@ -5360,7 +5468,7 @@ class RBI::Type # # @return [Boolean] # - # source://rbi//lib/rbi/type_parser.rb#307 + # source://rbi//lib/rbi/type_parser.rb#331 sig { params(node: ::Prism::CallNode).returns(T::Boolean) } def t_proc?(node); end @@ -6007,7 +6115,7 @@ class RBI::Type::Void < ::RBI::Type def to_rbi; end end -# source://rbi//lib/rbi/model.rb#1060 +# source://rbi//lib/rbi/model.rb#1085 class RBI::TypeMember < ::RBI::NodeWithComments include ::RBI::Indexable @@ -6015,7 +6123,7 @@ class RBI::TypeMember < ::RBI::NodeWithComments # # @return [TypeMember] a new instance of TypeMember # - # source://rbi//lib/rbi/model.rb#1065 + # source://rbi//lib/rbi/model.rb#1090 sig do params( name: ::String, @@ -6029,7 +6137,7 @@ class RBI::TypeMember < ::RBI::NodeWithComments # : -> String # - # source://rbi//lib/rbi/model.rb#1073 + # source://rbi//lib/rbi/model.rb#1098 sig { returns(::String) } def fully_qualified_name; end @@ -6041,150 +6149,150 @@ class RBI::TypeMember < ::RBI::NodeWithComments # : String # - # source://rbi//lib/rbi/model.rb#1062 + # source://rbi//lib/rbi/model.rb#1087 sig { returns(::String) } def name; end # : -> String # - # source://rbi//lib/rbi/model.rb#1081 + # source://rbi//lib/rbi/model.rb#1106 sig { override.returns(::String) } def to_s; end # : String # - # source://rbi//lib/rbi/model.rb#1062 + # source://rbi//lib/rbi/model.rb#1087 # @return [String] def value; end end -# source://rbi//lib/rbi/rbs_printer.rb#879 +# source://rbi//lib/rbi/rbs_printer.rb#885 class RBI::TypePrinter # : -> void # # @return [TypePrinter] a new instance of TypePrinter # - # source://rbi//lib/rbi/rbs_printer.rb#884 + # source://rbi//lib/rbi/rbs_printer.rb#890 sig { void } def initialize; end # : String # - # source://rbi//lib/rbi/rbs_printer.rb#881 + # source://rbi//lib/rbi/rbs_printer.rb#887 sig { returns(::String) } def string; end # : (Type node) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#889 + # source://rbi//lib/rbi/rbs_printer.rb#895 sig { params(node: ::RBI::Type).void } def visit(node); end # : (Type::All type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#1004 + # source://rbi//lib/rbi/rbs_printer.rb#1010 sig { params(type: ::RBI::Type::All).void } def visit_all(type); end # : (Type::Any type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#1014 + # source://rbi//lib/rbi/rbs_printer.rb#1020 sig { params(type: ::RBI::Type::Any).void } def visit_any(type); end # : (Type::Anything type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#954 + # source://rbi//lib/rbi/rbs_printer.rb#960 sig { params(type: ::RBI::Type::Anything).void } def visit_anything(type); end # : (Type::AttachedClass type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#979 + # source://rbi//lib/rbi/rbs_printer.rb#985 sig { params(type: ::RBI::Type::AttachedClass).void } def visit_attached_class(type); end # : (Type::Boolean type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#938 + # source://rbi//lib/rbi/rbs_printer.rb#944 sig { params(type: ::RBI::Type::Boolean).void } def visit_boolean(type); end # : (Type::Class type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#1081 + # source://rbi//lib/rbi/rbs_printer.rb#1087 sig { params(type: ::RBI::Type::Class).void } def visit_class(type); end # : (Type::ClassOf type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#997 + # source://rbi//lib/rbi/rbs_printer.rb#1003 sig { params(type: ::RBI::Type::ClassOf).void } def visit_class_of(type); end # : (Type::Generic type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#943 + # source://rbi//lib/rbi/rbs_printer.rb#949 sig { params(type: ::RBI::Type::Generic).void } def visit_generic(type); end # : (Type::Nilable type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#984 + # source://rbi//lib/rbi/rbs_printer.rb#990 sig { params(type: ::RBI::Type::Nilable).void } def visit_nilable(type); end # : (Type::NoReturn type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#964 + # source://rbi//lib/rbi/rbs_printer.rb#970 sig { params(type: ::RBI::Type::NoReturn).void } def visit_no_return(type); end # : (Type::Proc type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#1054 + # source://rbi//lib/rbi/rbs_printer.rb#1060 sig { params(type: ::RBI::Type::Proc).void } def visit_proc(type); end # : (Type::SelfType type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#974 + # source://rbi//lib/rbi/rbs_printer.rb#980 sig { params(type: ::RBI::Type::SelfType).void } def visit_self_type(type); end # : (Type::Shape type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#1034 + # source://rbi//lib/rbi/rbs_printer.rb#1040 sig { params(type: ::RBI::Type::Shape).void } def visit_shape(type); end # : (Type::Simple type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#933 + # source://rbi//lib/rbi/rbs_printer.rb#939 sig { params(type: ::RBI::Type::Simple).void } def visit_simple(type); end # : (Type::Tuple type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#1024 + # source://rbi//lib/rbi/rbs_printer.rb#1030 sig { params(type: ::RBI::Type::Tuple).void } def visit_tuple(type); end # : (Type::TypeParameter type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#1076 + # source://rbi//lib/rbi/rbs_printer.rb#1082 sig { params(type: ::RBI::Type::TypeParameter).void } def visit_type_parameter(type); end # : (Type::Untyped type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#969 + # source://rbi//lib/rbi/rbs_printer.rb#975 sig { params(type: ::RBI::Type::Untyped).void } def visit_untyped(type); end # : (Type::Void type) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#959 + # source://rbi//lib/rbi/rbs_printer.rb#965 sig { params(type: ::RBI::Type::Void).void } def visit_void(type); end @@ -6192,7 +6300,7 @@ class RBI::TypePrinter # : (String type_name) -> String # - # source://rbi//lib/rbi/rbs_printer.rb#1090 + # source://rbi//lib/rbi/rbs_printer.rb#1096 sig { params(type_name: ::String).returns(::String) } def translate_t_type(type_name); end end @@ -6244,7 +6352,7 @@ RBI::VERSION = T.let(T.unsafe(nil), String) # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://rbi//lib/rbi/model.rb#708 +# source://rbi//lib/rbi/model.rb#710 class RBI::Visibility < ::RBI::NodeWithComments abstract! @@ -6252,13 +6360,13 @@ class RBI::Visibility < ::RBI::NodeWithComments # # @return [Visibility] a new instance of Visibility # - # source://rbi//lib/rbi/model.rb#717 + # source://rbi//lib/rbi/model.rb#719 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 # : (Object? other) -> bool # - # source://rbi//lib/rbi/model.rb#723 + # source://rbi//lib/rbi/model.rb#725 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end @@ -6266,7 +6374,7 @@ class RBI::Visibility < ::RBI::NodeWithComments # # @return [Boolean] # - # source://rbi//lib/rbi/model.rb#740 + # source://rbi//lib/rbi/model.rb#742 sig { returns(T::Boolean) } def private?; end @@ -6274,7 +6382,7 @@ class RBI::Visibility < ::RBI::NodeWithComments # # @return [Boolean] # - # source://rbi//lib/rbi/model.rb#735 + # source://rbi//lib/rbi/model.rb#737 sig { returns(T::Boolean) } def protected?; end @@ -6282,13 +6390,13 @@ class RBI::Visibility < ::RBI::NodeWithComments # # @return [Boolean] # - # source://rbi//lib/rbi/model.rb#730 + # source://rbi//lib/rbi/model.rb#732 sig { returns(T::Boolean) } def public?; end # : Symbol # - # source://rbi//lib/rbi/model.rb#714 + # source://rbi//lib/rbi/model.rb#716 sig { returns(::Symbol) } def visibility; end end @@ -6324,13 +6432,13 @@ class RBI::Visitor # : (Array[Node] nodes) -> void # - # source://rbi//lib/rbi/visitor.rb#109 + # source://rbi//lib/rbi/visitor.rb#111 sig { params(nodes: T::Array[::RBI::Node]).void } def visit_all(nodes); end # : (File file) -> void # - # source://rbi//lib/rbi/visitor.rb#114 + # source://rbi//lib/rbi/visitor.rb#116 sig { params(file: ::RBI::File).void } def visit_file(file); end @@ -6338,259 +6446,265 @@ class RBI::Visitor # : (Arg node) -> void # - # source://rbi//lib/rbi/visitor.rb#199 + # source://rbi//lib/rbi/visitor.rb#201 sig { params(node: ::RBI::Arg).void } def visit_arg(node); end # : (AttrAccessor node) -> void # - # source://rbi//lib/rbi/visitor.rb#148 + # source://rbi//lib/rbi/visitor.rb#150 sig { params(node: ::RBI::AttrAccessor).void } def visit_attr_accessor(node); end # : (AttrReader node) -> void # - # source://rbi//lib/rbi/visitor.rb#151 + # source://rbi//lib/rbi/visitor.rb#153 sig { params(node: ::RBI::AttrReader).void } def visit_attr_reader(node); end # : (AttrWriter node) -> void # - # source://rbi//lib/rbi/visitor.rb#154 + # source://rbi//lib/rbi/visitor.rb#156 sig { params(node: ::RBI::AttrWriter).void } def visit_attr_writer(node); end # : (BlankLine node) -> void # - # source://rbi//lib/rbi/visitor.rb#127 + # source://rbi//lib/rbi/visitor.rb#129 sig { params(node: ::RBI::BlankLine).void } def visit_blank_line(node); end # : (BlockParam node) -> void # - # source://rbi//lib/rbi/visitor.rb#178 + # source://rbi//lib/rbi/visitor.rb#180 sig { params(node: ::RBI::BlockParam).void } def visit_block_param(node); end # : (Class node) -> void # - # source://rbi//lib/rbi/visitor.rb#133 + # source://rbi//lib/rbi/visitor.rb#135 sig { params(node: ::RBI::Class).void } def visit_class(node); end # : (Comment node) -> void # - # source://rbi//lib/rbi/visitor.rb#121 + # source://rbi//lib/rbi/visitor.rb#123 sig { params(node: ::RBI::Comment).void } def visit_comment(node); end # : (ConflictTree node) -> void # - # source://rbi//lib/rbi/visitor.rb#244 + # source://rbi//lib/rbi/visitor.rb#249 sig { params(node: ::RBI::ConflictTree).void } def visit_conflict_tree(node); end # : (Const node) -> void # - # source://rbi//lib/rbi/visitor.rb#145 + # source://rbi//lib/rbi/visitor.rb#147 sig { params(node: ::RBI::Const).void } def visit_const(node); end # : (Extend node) -> void # - # source://rbi//lib/rbi/visitor.rb#184 + # source://rbi//lib/rbi/visitor.rb#186 sig { params(node: ::RBI::Extend).void } def visit_extend(node); end # : (Group node) -> void # - # source://rbi//lib/rbi/visitor.rb#238 + # source://rbi//lib/rbi/visitor.rb#243 sig { params(node: ::RBI::Group).void } def visit_group(node); end # : (Helper node) -> void # - # source://rbi//lib/rbi/visitor.rb#226 + # source://rbi//lib/rbi/visitor.rb#231 sig { params(node: ::RBI::Helper).void } def visit_helper(node); end # : (Include node) -> void # - # source://rbi//lib/rbi/visitor.rb#181 + # source://rbi//lib/rbi/visitor.rb#183 sig { params(node: ::RBI::Include).void } def visit_include(node); end # : (KwArg node) -> void # - # source://rbi//lib/rbi/visitor.rb#202 + # source://rbi//lib/rbi/visitor.rb#204 sig { params(node: ::RBI::KwArg).void } def visit_kw_arg(node); end # : (KwOptParam node) -> void # - # source://rbi//lib/rbi/visitor.rb#172 + # source://rbi//lib/rbi/visitor.rb#174 sig { params(node: ::RBI::KwOptParam).void } def visit_kw_opt_param(node); end # : (KwParam node) -> void # - # source://rbi//lib/rbi/visitor.rb#169 + # source://rbi//lib/rbi/visitor.rb#171 sig { params(node: ::RBI::KwParam).void } def visit_kw_param(node); end # : (KwRestParam node) -> void # - # source://rbi//lib/rbi/visitor.rb#175 + # source://rbi//lib/rbi/visitor.rb#177 sig { params(node: ::RBI::KwRestParam).void } def visit_kw_rest_param(node); end # : (Method node) -> void # - # source://rbi//lib/rbi/visitor.rb#157 + # source://rbi//lib/rbi/visitor.rb#159 sig { params(node: ::RBI::Method).void } def visit_method(node); end # : (MixesInClassMethods node) -> void # - # source://rbi//lib/rbi/visitor.rb#232 + # source://rbi//lib/rbi/visitor.rb#237 sig { params(node: ::RBI::MixesInClassMethods).void } def visit_mixes_in_class_methods(node); end # : (Module node) -> void # - # source://rbi//lib/rbi/visitor.rb#130 + # source://rbi//lib/rbi/visitor.rb#132 sig { params(node: ::RBI::Module).void } def visit_module(node); end # : (OptParam node) -> void # - # source://rbi//lib/rbi/visitor.rb#163 + # source://rbi//lib/rbi/visitor.rb#165 sig { params(node: ::RBI::OptParam).void } def visit_opt_param(node); end # : (Private node) -> void # - # source://rbi//lib/rbi/visitor.rb#193 + # source://rbi//lib/rbi/visitor.rb#195 sig { params(node: ::RBI::Private).void } def visit_private(node); end # : (Protected node) -> void # - # source://rbi//lib/rbi/visitor.rb#190 + # source://rbi//lib/rbi/visitor.rb#192 sig { params(node: ::RBI::Protected).void } def visit_protected(node); end # : (Public node) -> void # - # source://rbi//lib/rbi/visitor.rb#187 + # source://rbi//lib/rbi/visitor.rb#189 sig { params(node: ::RBI::Public).void } def visit_public(node); end # : (RBSComment node) -> void # - # source://rbi//lib/rbi/visitor.rb#124 + # source://rbi//lib/rbi/visitor.rb#126 sig { params(node: ::RBI::RBSComment).void } def visit_rbs_comment(node); end # : (ReqParam node) -> void # - # source://rbi//lib/rbi/visitor.rb#160 + # source://rbi//lib/rbi/visitor.rb#162 sig { params(node: ::RBI::ReqParam).void } def visit_req_param(node); end # : (RequiresAncestor node) -> void # - # source://rbi//lib/rbi/visitor.rb#235 + # source://rbi//lib/rbi/visitor.rb#240 sig { params(node: ::RBI::RequiresAncestor).void } def visit_requires_ancestor(node); end # : (RestParam node) -> void # - # source://rbi//lib/rbi/visitor.rb#166 + # source://rbi//lib/rbi/visitor.rb#168 sig { params(node: ::RBI::RestParam).void } def visit_rest_param(node); end # : (ScopeConflict node) -> void # - # source://rbi//lib/rbi/visitor.rb#247 + # source://rbi//lib/rbi/visitor.rb#252 sig { params(node: ::RBI::ScopeConflict).void } def visit_scope_conflict(node); end # : (Send node) -> void # - # source://rbi//lib/rbi/visitor.rb#196 + # source://rbi//lib/rbi/visitor.rb#198 sig { params(node: ::RBI::Send).void } def visit_send(node); end # : (Sig node) -> void # - # source://rbi//lib/rbi/visitor.rb#205 + # source://rbi//lib/rbi/visitor.rb#207 sig { params(node: ::RBI::Sig).void } def visit_sig(node); end # : (SigParam node) -> void # - # source://rbi//lib/rbi/visitor.rb#208 + # source://rbi//lib/rbi/visitor.rb#210 sig { params(node: ::RBI::SigParam).void } def visit_sig_param(node); end # : (SingletonClass node) -> void # - # source://rbi//lib/rbi/visitor.rb#136 + # source://rbi//lib/rbi/visitor.rb#138 sig { params(node: ::RBI::SingletonClass).void } def visit_singleton_class(node); end # : (Struct node) -> void # - # source://rbi//lib/rbi/visitor.rb#139 + # source://rbi//lib/rbi/visitor.rb#141 sig { params(node: ::RBI::Struct).void } def visit_struct(node); end # : (TEnum node) -> void # - # source://rbi//lib/rbi/visitor.rb#220 + # source://rbi//lib/rbi/visitor.rb#222 sig { params(node: ::RBI::TEnum).void } def visit_tenum(node); end # : (TEnumBlock node) -> void # - # source://rbi//lib/rbi/visitor.rb#223 + # source://rbi//lib/rbi/visitor.rb#225 sig { params(node: ::RBI::TEnumBlock).void } def visit_tenum_block(node); end + # : (TEnumValue node) -> void + # + # source://rbi//lib/rbi/visitor.rb#228 + sig { params(node: ::RBI::TEnumValue).void } + def visit_tenum_value(node); end + # : (Tree node) -> void # - # source://rbi//lib/rbi/visitor.rb#142 + # source://rbi//lib/rbi/visitor.rb#144 sig { params(node: ::RBI::Tree).void } def visit_tree(node); end # : (TStruct node) -> void # - # source://rbi//lib/rbi/visitor.rb#211 + # source://rbi//lib/rbi/visitor.rb#213 sig { params(node: ::RBI::TStruct).void } def visit_tstruct(node); end # : (TStructConst node) -> void # - # source://rbi//lib/rbi/visitor.rb#214 + # source://rbi//lib/rbi/visitor.rb#216 sig { params(node: ::RBI::TStructConst).void } def visit_tstruct_const(node); end # : (TStructProp node) -> void # - # source://rbi//lib/rbi/visitor.rb#217 + # source://rbi//lib/rbi/visitor.rb#219 sig { params(node: ::RBI::TStructProp).void } def visit_tstruct_prop(node); end # : (TypeMember node) -> void # - # source://rbi//lib/rbi/visitor.rb#229 + # source://rbi//lib/rbi/visitor.rb#234 sig { params(node: ::RBI::TypeMember).void } def visit_type_member(node); end # : (VisibilityGroup node) -> void # - # source://rbi//lib/rbi/visitor.rb#241 + # source://rbi//lib/rbi/visitor.rb#246 sig { params(node: ::RBI::VisibilityGroup).void } def visit_visibility_group(node); end end diff --git a/Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.23.13.rbi b/Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.23.14.rbi similarity index 100% rename from Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.23.13.rbi rename to Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.23.14.rbi diff --git a/Library/Homebrew/test/bundle/commands/exec_spec.rb b/Library/Homebrew/test/bundle/commands/exec_spec.rb index a6cc0114de..101ab72f05 100644 --- a/Library/Homebrew/test/bundle/commands/exec_spec.rb +++ b/Library/Homebrew/test/bundle/commands/exec_spec.rb @@ -65,12 +65,10 @@ RSpec.describe Homebrew::Bundle::Commands::Exec do context "with env command" do it "outputs the environment variables" do - ENV["HOMEBREW_PREFIX"] = "/opt/homebrew" - ENV["HOMEBREW_PATH"] = "/usr/bin" allow(OS).to receive(:linux?).and_return(true) expect { described_class.run("env", subcommand: "env") }.to \ - output(/HOMEBREW_PREFIX="#{ENV.fetch("HOMEBREW_PREFIX")}"/).to_stdout + output(/export PATH=".+:\${PATH:-}"/).to_stdout end end diff --git a/Library/Homebrew/test/cmd/upgrade_spec.rb b/Library/Homebrew/test/cmd/upgrade_spec.rb index 27b9fc7891..59918aaf02 100644 --- a/Library/Homebrew/test/cmd/upgrade_spec.rb +++ b/Library/Homebrew/test/cmd/upgrade_spec.rb @@ -54,19 +54,11 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do regex = / Formulae\s*\(3\):\s* - ( - testball|testball5|testball4 - ) + (testball|testball5|testball4) \s*,\s* - (?!\1) - ( - testball|testball5|testball4 - ) + ((?!\1)testball|testball5|testball4) \s*,\s* - (?!\1|\2) - ( - testball|testball5|testball4 - ) + ((?!\1|\2)testball|testball5|testball4) /x expect do brew "upgrade", "--ask" diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 2af6f55666..964bac8ebc 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -77,8 +77,8 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.9.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.9.2/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11993/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.3.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.12003/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/redcarpet-3.6.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/redcarpet-3.6.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-support-3.13.2/lib") @@ -99,7 +99,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.25.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.5.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.10.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.23.13/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.23.14/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/ruby-prof-1.7.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-prof-1.7.1/lib") @@ -107,9 +107,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11993-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11993/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11993/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.12003-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.12003/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.12003/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.6.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11993/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.12003/lib/types/utils.rb diff --git a/docs/Formula-Cookbook.md b/docs/Formula-Cookbook.md index 1e92a49938..94d1285545 100644 --- a/docs/Formula-Cookbook.md +++ b/docs/Formula-Cookbook.md @@ -95,7 +95,7 @@ Check out the [License Guidelines](License-Guidelines.md) for examples of comple ### Check the build system ```sh -HOMEBREW_NO_INSTALL_FROM_API=1 brew install --interactive foo +HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source --interactive foo ``` You’re now at a new prompt with the tarball extracted to a temporary sandbox.