From 8285568432faf38cc7d5c955f5d9cb2dfab3841d Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 7 Nov 2024 20:23:28 +0000 Subject: [PATCH] Update RBI files for rubocop-ast. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- ...-ast@1.33.0.rbi => rubocop-ast@1.34.1.rbi} | 662 ++++++++++-------- 1 file changed, 356 insertions(+), 306 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{rubocop-ast@1.33.0.rbi => rubocop-ast@1.34.1.rbi} (93%) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.33.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.34.1.rbi similarity index 93% rename from Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.33.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.34.1.rbi index 4e3b2828dd25b..92fb4f57dec12 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.33.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.34.1.rbi @@ -209,15 +209,29 @@ class RuboCop::AST::AsgnNode < ::RuboCop::AST::Node # # @return [Node] the expression being assigned. # - # source://rubocop-ast//lib/rubocop/ast/node/asgn_node.rb#19 + # source://rubocop-ast//lib/rubocop/ast/node/asgn_node.rb#20 def expression; end + # The name of the variable being assigned as a symbol. + # + # @return [Symbol] the name of the variable being assigned + # + # source://rubocop-ast//lib/rubocop/ast/node/asgn_node.rb#12 + def lhs; end + # The name of the variable being assigned as a symbol. # # @return [Symbol] the name of the variable being assigned # # source://rubocop-ast//lib/rubocop/ast/node/asgn_node.rb#12 def name; end + + # The expression being assigned to the variable. + # + # @return [Node] the expression being assigned. + # + # source://rubocop-ast//lib/rubocop/ast/node/asgn_node.rb#20 + def rhs; end end # Common functionality for primitive literal nodes: `sym`, `str`, @@ -580,11 +594,21 @@ class RuboCop::AST::CasgnNode < ::RuboCop::AST::Node # # @return [Node] the expression being assigned. # - # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#16 + # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#17 def expression; end + # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#14 + def lhs; end + # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#14 def name; end + + # The expression being assigned to the variable. + # + # @return [Node] the expression being assigned. + # + # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#17 + def rhs; end end # A node extension for `class` nodes. This will be used in place of a plain @@ -2628,19 +2652,19 @@ class RuboCop::AST::Node < ::Parser::AST::Node # @return [Node] a new instance of Node # @see https://www.rubydoc.info/gems/ast/AST/Node:initialize # - # source://rubocop-ast//lib/rubocop/ast/node.rb#113 + # source://rubocop-ast//lib/rubocop/ast/node.rb#141 def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def __ENCODING___type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def __FILE___type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def __LINE___type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def alias_type?; end # Returns an array of ancestor nodes. @@ -2648,173 +2672,173 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Array] an array of ancestor nodes # - # source://rubocop-ast//lib/rubocop/ast/node.rb#268 + # source://rubocop-ast//lib/rubocop/ast/node.rb#306 def ancestors; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def and_asgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def and_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def arg_expr_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def arg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def args_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#474 + # source://rubocop-ast//lib/rubocop/ast/node.rb#511 def argument?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#478 + # source://rubocop-ast//lib/rubocop/ast/node.rb#515 def argument_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def array_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def array_pattern_with_tail_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def array_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#426 + # source://rubocop-ast//lib/rubocop/ast/node.rb#463 def assignment?; end # Some cops treat the shovel operator as a kind of assignment. # - # source://rubocop-ast//lib/rubocop/ast/node.rb#376 + # source://rubocop-ast//lib/rubocop/ast/node.rb#413 def assignment_or_similar?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def back_ref_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#430 + # source://rubocop-ast//lib/rubocop/ast/node.rb#467 def basic_conditional?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#384 + # source://rubocop-ast//lib/rubocop/ast/node.rb#421 def basic_literal?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def begin_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def block_pass_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def block_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def blockarg_expr_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def blockarg_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#482 + # source://rubocop-ast//lib/rubocop/ast/node.rb#519 def boolean_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def break_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#466 + # source://rubocop-ast//lib/rubocop/ast/node.rb#503 def call_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def case_match_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def case_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def casgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def cbase_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#470 + # source://rubocop-ast//lib/rubocop/ast/node.rb#507 def chained?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#522 + # source://rubocop-ast//lib/rubocop/ast/node.rb#559 def class_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#540 + # source://rubocop-ast//lib/rubocop/ast/node.rb#577 def class_definition?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def class_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#165 + # source://rubocop-ast//lib/rubocop/ast/node.rb#203 def complete!; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#170 + # source://rubocop-ast//lib/rubocop/ast/node.rb#208 def complete?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def complex_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#434 + # source://rubocop-ast//lib/rubocop/ast/node.rb#471 def conditional?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#314 + # source://rubocop-ast//lib/rubocop/ast/node.rb#352 def const_name; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def const_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def const_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def csend_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def cvar_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def cvasgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def def_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#335 + # source://rubocop-ast//lib/rubocop/ast/node.rb#372 def defined_module; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#340 + # source://rubocop-ast//lib/rubocop/ast/node.rb#377 def defined_module_name; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def defined_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def defs_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def dstr_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def dsym_type?; end # Calls the given block for each ancestor node from parent to root. @@ -2827,163 +2851,163 @@ class RuboCop::AST::Node < ::Parser::AST::Node # @return [Enumerator] if no block is given # @yieldparam node [Node] each ancestor node # - # source://rubocop-ast//lib/rubocop/ast/node.rb#256 + # source://rubocop-ast//lib/rubocop/ast/node.rb#294 def each_ancestor(*types, &block); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def eflipflop_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def empty_else_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#370 + # source://rubocop-ast//lib/rubocop/ast/node.rb#407 def empty_source?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def ensure_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#418 + # source://rubocop-ast//lib/rubocop/ast/node.rb#455 def equals_asgn?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def erange_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def false_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#392 + # source://rubocop-ast//lib/rubocop/ast/node.rb#429 def falsey_literal?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def find_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#282 + # source://rubocop-ast//lib/rubocop/ast/node.rb#320 def first_line; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def float_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def for_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def forward_arg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def forward_args_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def forwarded_args_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def forwarded_kwrestarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def forwarded_restarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#519 + # source://rubocop-ast//lib/rubocop/ast/node.rb#556 def global_const?(param0 = T.unsafe(nil), param1); end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#494 + # source://rubocop-ast//lib/rubocop/ast/node.rb#531 def guard_clause?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def gvar_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def gvasgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def hash_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def hash_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def ident_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def if_guard_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def if_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def iflipflop_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#400 + # source://rubocop-ast//lib/rubocop/ast/node.rb#437 def immutable_literal?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def in_match_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def in_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def index_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def indexasgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def int_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def irange_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def ivar_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def ivasgn_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#447 + # source://rubocop-ast//lib/rubocop/ast/node.rb#484 def keyword?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def kwarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def kwargs_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def kwbegin_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def kwnilarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def kwoptarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def kwrestarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def kwsplat_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#513 + # source://rubocop-ast//lib/rubocop/ast/node.rb#550 def lambda?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#516 + # source://rubocop-ast//lib/rubocop/ast/node.rb#553 def lambda_or_proc?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def lambda_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#286 + # source://rubocop-ast//lib/rubocop/ast/node.rb#324 def last_line; end # Use is discouraged, this is a potentially slow method and can lead @@ -2991,7 +3015,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Node, nil] the left (aka previous) sibling # - # source://rubocop-ast//lib/rubocop/ast/node.rb#208 + # source://rubocop-ast//lib/rubocop/ast/node.rb#246 def left_sibling; end # Use is discouraged, this is a potentially slow method and can lead @@ -2999,94 +3023,94 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Array] the left (aka previous) siblings # - # source://rubocop-ast//lib/rubocop/ast/node.rb#218 + # source://rubocop-ast//lib/rubocop/ast/node.rb#256 def left_siblings; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#290 + # source://rubocop-ast//lib/rubocop/ast/node.rb#328 def line_count; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#380 + # source://rubocop-ast//lib/rubocop/ast/node.rb#417 def literal?; end # NOTE: `loop { }` is a normal method call and thus not a loop keyword. # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#443 + # source://rubocop-ast//lib/rubocop/ast/node.rb#480 def loop_keyword?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def lvar_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def lvasgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def masgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def match_alt_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def match_as_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def match_current_line_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#501 + # source://rubocop-ast//lib/rubocop/ast/node.rb#538 def match_guard_clause?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def match_nil_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def match_pattern_p_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def match_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def match_rest_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def match_var_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def match_with_lvasgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def match_with_trailing_comma_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def mlhs_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#547 + # source://rubocop-ast//lib/rubocop/ast/node.rb#584 def module_definition?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def module_type?; end # Predicates # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#362 + # source://rubocop-ast//lib/rubocop/ast/node.rb#399 def multiline?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#396 + # source://rubocop-ast//lib/rubocop/ast/node.rb#433 def mutable_literal?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#679 + # source://rubocop-ast//lib/rubocop/ast/node.rb#716 def new_class_or_module_block?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def next_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def nil_type?; end # Common destructuring method. This can be used to normalize @@ -3099,95 +3123,95 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://ast/2.4.2/lib/ast/node.rb#56 def node_parts; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#296 + # source://rubocop-ast//lib/rubocop/ast/node.rb#334 def nonempty_line_count; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def not_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def nth_ref_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def numargs_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def numblock_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#486 + # source://rubocop-ast//lib/rubocop/ast/node.rb#523 def numeric_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def objc_kwarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def objc_restarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def objc_varargs_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def op_asgn_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#458 + # source://rubocop-ast//lib/rubocop/ast/node.rb#495 def operator_keyword?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def optarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def or_asgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def or_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def pair_type?; end # Returns the parent node, or `nil` if the receiver is a root node. # # @return [Node, nil] the parent node or `nil` # - # source://rubocop-ast//lib/rubocop/ast/node.rb#147 + # source://rubocop-ast//lib/rubocop/ast/node.rb#185 def parent; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#156 + # source://rubocop-ast//lib/rubocop/ast/node.rb#194 def parent?; end # Searching the AST # - # source://rubocop-ast//lib/rubocop/ast/node.rb#346 + # source://rubocop-ast//lib/rubocop/ast/node.rb#383 def parent_module_name; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#462 + # source://rubocop-ast//lib/rubocop/ast/node.rb#499 def parenthesized_call?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def pin_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#438 + # source://rubocop-ast//lib/rubocop/ast/node.rb#475 def post_condition_loop?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def postexe_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def preexe_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#506 + # source://rubocop-ast//lib/rubocop/ast/node.rb#543 def proc?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def procarg0_type?; end # Some expressions are evaluated for their value, some for their side @@ -3200,60 +3224,60 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#590 + # source://rubocop-ast//lib/rubocop/ast/node.rb#627 def pure?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#490 + # source://rubocop-ast//lib/rubocop/ast/node.rb#527 def range_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def rational_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#307 + # source://rubocop-ast//lib/rubocop/ast/node.rb#345 def receiver(param0 = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#97 + # source://rubocop-ast//lib/rubocop/ast/node.rb#125 def recursive_basic_literal?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#97 + # source://rubocop-ast//lib/rubocop/ast/node.rb#125 def recursive_literal?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def redo_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#414 + # source://rubocop-ast//lib/rubocop/ast/node.rb#451 def reference?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def regexp_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def regopt_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def resbody_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def rescue_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def restarg_expr_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def restarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def retry_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def return_type?; end # Use is discouraged, this is a potentially slow method and can lead @@ -3261,7 +3285,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Node, nil] the right (aka next) sibling # - # source://rubocop-ast//lib/rubocop/ast/node.rb#199 + # source://rubocop-ast//lib/rubocop/ast/node.rb#237 def right_sibling; end # Use is discouraged, this is a potentially slow method and can lead @@ -3269,18 +3293,18 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Array] the right (aka next) siblings # - # source://rubocop-ast//lib/rubocop/ast/node.rb#227 + # source://rubocop-ast//lib/rubocop/ast/node.rb#265 def right_siblings; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#161 + # source://rubocop-ast//lib/rubocop/ast/node.rb#199 def root?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def sclass_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def self_type?; end # Most nodes are of 'send' type, so this method is defined @@ -3288,15 +3312,15 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#140 + # source://rubocop-ast//lib/rubocop/ast/node.rb#178 def send_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def shadowarg_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#422 + # source://rubocop-ast//lib/rubocop/ast/node.rb#459 def shorthand_asgn?; end # Returns the index of the receiver node in its siblings. (Sibling index @@ -3305,70 +3329,79 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Integer, nil] the index of the receiver node in its siblings # - # source://rubocop-ast//lib/rubocop/ast/node.rb#192 + # source://rubocop-ast//lib/rubocop/ast/node.rb#230 def sibling_index; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#366 + # source://rubocop-ast//lib/rubocop/ast/node.rb#403 def single_line?; end # NOTE: Some rare nodes may have no source, like `s(:args)` in `foo {}` # # @return [String, nil] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#274 + # source://rubocop-ast//lib/rubocop/ast/node.rb#312 def source; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#300 + # source://rubocop-ast//lib/rubocop/ast/node.rb#338 def source_length; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#278 + # source://rubocop-ast//lib/rubocop/ast/node.rb#316 def source_range; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#454 + # source://rubocop-ast//lib/rubocop/ast/node.rb#491 def special_keyword?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def splat_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#312 + # source://rubocop-ast//lib/rubocop/ast/node.rb#350 def str_content(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def str_type?; end # @deprecated Use `:class_constructor?` # - # source://rubocop-ast//lib/rubocop/ast/node.rb#535 + # source://rubocop-ast//lib/rubocop/ast/node.rb#572 def struct_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def super_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def sym_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def true_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#388 + # source://rubocop-ast//lib/rubocop/ast/node.rb#425 def truthy_literal?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # Determine if the node is one of several node types in a single query + # Allows specific single node types, as well as "grouped" types + # (e.g. `:boolean` for `:true` or `:false`) + # + # @return [Boolean] + # + # source://rubocop-ast//lib/rubocop/ast/node.rb#160 + def type?(*types); end + + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def undef_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def unless_guard_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def until_post_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def until_type?; end # Override `AST::Node#updated` so that `AST::Processor` does not try to @@ -3377,7 +3410,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # identical subtrees. Rather, the entire AST must be copied any time any # part of it is changed. # - # source://rubocop-ast//lib/rubocop/ast/node.rb#181 + # source://rubocop-ast//lib/rubocop/ast/node.rb#219 def updated(type = T.unsafe(nil), children = T.unsafe(nil), properties = T.unsafe(nil)); end # Some expressions are evaluated for their value, some for their side @@ -3390,78 +3423,78 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#560 + # source://rubocop-ast//lib/rubocop/ast/node.rb#597 def value_used?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#410 + # source://rubocop-ast//lib/rubocop/ast/node.rb#447 def variable?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def when_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def while_post_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def while_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def xstr_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def yield_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def zsuper_type?; end protected - # source://rubocop-ast//lib/rubocop/ast/node.rb#151 + # source://rubocop-ast//lib/rubocop/ast/node.rb#189 def parent=(node); end private # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#618 + # source://rubocop-ast//lib/rubocop/ast/node.rb#655 def begin_value_used?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#629 + # source://rubocop-ast//lib/rubocop/ast/node.rb#666 def case_if_value_used?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#326 + # source://rubocop-ast//lib/rubocop/ast/node.rb#363 def defined_module0(param0 = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#623 + # source://rubocop-ast//lib/rubocop/ast/node.rb#660 def for_value_used?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#665 + # source://rubocop-ast//lib/rubocop/ast/node.rb#702 def parent_module_name_for_block(ancestor); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#653 + # source://rubocop-ast//lib/rubocop/ast/node.rb#690 def parent_module_name_for_sclass(sclass_node); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#640 + # source://rubocop-ast//lib/rubocop/ast/node.rb#677 def parent_module_name_part(node); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#608 + # source://rubocop-ast//lib/rubocop/ast/node.rb#645 def visit_ancestors(types); end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#635 + # source://rubocop-ast//lib/rubocop/ast/node.rb#672 def while_until_value_used?; end class << self private - # source://rubocop-ast//lib/rubocop/ast/node.rb#92 + # source://rubocop-ast//lib/rubocop/ast/node.rb#120 def def_recursive_literal_predicate(kind); end end end @@ -3519,6 +3552,11 @@ RuboCop::AST::Node::EQUALS_ASSIGNMENTS = T.let(T.unsafe(nil), Set) # source://rubocop-ast//lib/rubocop/ast/node.rb#35 RuboCop::AST::Node::FALSEY_LITERALS = T.let(T.unsafe(nil), Set) +# @api private +# +# source://rubocop-ast//lib/rubocop/ast/node.rb#92 +RuboCop::AST::Node::GROUP_FOR_TYPE = T.let(T.unsafe(nil), Hash) + # @api private # # source://rubocop-ast//lib/rubocop/ast/node.rb#47 @@ -5674,22 +5712,34 @@ class RuboCop::AST::OpAsgnNode < ::RuboCop::AST::Node # # @return [Node] the expression being assigned. # - # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#31 + # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#32 def expression; end + # @return [AsgnNode] the assignment node + # + # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#10 + def lhs; end + # The name of the variable being assigned as a symbol. # # @return [Symbol] the name of the variable being assigned # - # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#17 + # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#18 def name; end # The operator being used for assignment as a symbol. # # @return [Symbol] the assignment operator # - # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#24 + # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#25 def operator; end + + # The expression being assigned to the variable. + # + # @return [Node] the expression being assigned. + # + # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#32 + def rhs; end end # A node extension for `op_asgn` nodes. @@ -7276,28 +7326,28 @@ class RuboCop::AST::YieldNode < ::RuboCop::AST::Node end class RuboCop::CommentConfig - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#34 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#34 def initialize(processed_source); end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#63 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#63 def comment_only_line?(line_number); end # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 def config(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#51 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#51 def cop_disabled_line_ranges; end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#39 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#39 def cop_enabled_at_line?(cop, line_number); end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#47 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#47 def cop_opted_in?(cop); end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#55 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#55 def extra_enabled_comments; end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#30 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#30 def processed_source; end # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 @@ -7305,51 +7355,51 @@ class RuboCop::CommentConfig private - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#96 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#96 def analyze; end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#124 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#124 def analyze_cop(analysis, directive); end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#144 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#144 def analyze_disabled(analysis, directive); end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#155 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#155 def analyze_rest(analysis, directive); end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#135 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#135 def analyze_single_line(analysis, directive); end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#164 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#164 def cop_line_ranges(analysis); end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#170 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#170 def each_directive; end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#69 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#69 def extra_enabled_comments_with_names(extras:, names:); end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#190 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#190 def handle_enable_all(directive, names, extras); end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#204 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#204 def handle_switch(directive, names, extras); end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#115 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#115 def inject_disabled_cops_directives(analyses); end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#183 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#183 def non_comment_token_line_numbers; end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#83 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#83 def opt_in_cops; end - # source://rubocop/1.67.0/lib/rubocop/comment_config.rb#179 + # source://rubocop/1.68.0/lib/rubocop/comment_config.rb#179 def qualified_cop_name(cop_name); end end class RuboCop::Config - # source://rubocop/1.67.0/lib/rubocop/config.rb#30 + # source://rubocop/1.68.0/lib/rubocop/config.rb#30 def initialize(hash = T.unsafe(nil), loaded_path = T.unsafe(nil)); end # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 @@ -7358,37 +7408,37 @@ class RuboCop::Config # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 def []=(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#170 + # source://rubocop/1.68.0/lib/rubocop/config.rb#170 def active_support_extensions_enabled?; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#96 + # source://rubocop/1.68.0/lib/rubocop/config.rb#96 def add_excludes_from_higher_level(highest_config); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#197 + # source://rubocop/1.68.0/lib/rubocop/config.rb#197 def allowed_camel_case_file?(file); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#241 + # source://rubocop/1.68.0/lib/rubocop/config.rb#241 def base_dir_for_path_parameters; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#271 + # source://rubocop/1.68.0/lib/rubocop/config.rb#271 def bundler_lock_file_path; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#51 + # source://rubocop/1.68.0/lib/rubocop/config.rb#51 def check; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#142 + # source://rubocop/1.68.0/lib/rubocop/config.rb#142 def clusivity_config_for_badge?(badge); end # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 def delete(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#108 + # source://rubocop/1.68.0/lib/rubocop/config.rb#108 def deprecation_check; end # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 def dig(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#162 + # source://rubocop/1.68.0/lib/rubocop/config.rb#162 def disabled_new_cops?; end # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 @@ -7397,37 +7447,37 @@ class RuboCop::Config # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 def each_key(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#166 + # source://rubocop/1.68.0/lib/rubocop/config.rb#166 def enabled_new_cops?; end # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 def fetch(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#219 + # source://rubocop/1.68.0/lib/rubocop/config.rb#219 def file_to_exclude?(file); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#178 + # source://rubocop/1.68.0/lib/rubocop/config.rb#178 def file_to_include?(file); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#158 + # source://rubocop/1.68.0/lib/rubocop/config.rb#158 def for_all_cops; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#128 + # source://rubocop/1.68.0/lib/rubocop/config.rb#128 def for_badge(badge); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#122 + # source://rubocop/1.68.0/lib/rubocop/config.rb#122 def for_cop(cop); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#153 + # source://rubocop/1.68.0/lib/rubocop/config.rb#153 def for_department(department_name); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#296 + # source://rubocop/1.68.0/lib/rubocop/config.rb#296 def gem_versions_in_target; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#300 + # source://rubocop/1.68.0/lib/rubocop/config.rb#300 def inspect; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#76 + # source://rubocop/1.68.0/lib/rubocop/config.rb#76 def internal?; end # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 @@ -7436,13 +7486,13 @@ class RuboCop::Config # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 def keys(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#47 + # source://rubocop/1.68.0/lib/rubocop/config.rb#47 def loaded_features; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#20 + # source://rubocop/1.68.0/lib/rubocop/config.rb#20 def loaded_path; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#81 + # source://rubocop/1.68.0/lib/rubocop/config.rb#81 def make_excludes_absolute; end # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 @@ -7451,37 +7501,37 @@ class RuboCop::Config # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 def merge(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#251 + # source://rubocop/1.68.0/lib/rubocop/config.rb#251 def parser_engine; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#232 + # source://rubocop/1.68.0/lib/rubocop/config.rb#232 def path_relative_to_config(path); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#228 + # source://rubocop/1.68.0/lib/rubocop/config.rb#228 def patterns_to_exclude; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#224 + # source://rubocop/1.68.0/lib/rubocop/config.rb#224 def patterns_to_include; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#282 + # source://rubocop/1.68.0/lib/rubocop/config.rb#282 def pending_cops; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#211 + # source://rubocop/1.68.0/lib/rubocop/config.rb#211 def possibly_include_hidden?; end # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 def replace(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#71 + # source://rubocop/1.68.0/lib/rubocop/config.rb#71 def signature; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#266 + # source://rubocop/1.68.0/lib/rubocop/config.rb#266 def smart_loaded_path; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#174 + # source://rubocop/1.68.0/lib/rubocop/config.rb#174 def string_literals_frozen_by_default?; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#255 + # source://rubocop/1.68.0/lib/rubocop/config.rb#255 def target_rails_version; end # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 @@ -7493,7 +7543,7 @@ class RuboCop::Config # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 def to_hash(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#67 + # source://rubocop/1.68.0/lib/rubocop/config.rb#67 def to_s; end # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 @@ -7502,37 +7552,37 @@ class RuboCop::Config # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 def validate(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#58 + # source://rubocop/1.68.0/lib/rubocop/config.rb#58 def validate_after_resolution; end private - # source://rubocop/1.67.0/lib/rubocop/config.rb#350 + # source://rubocop/1.68.0/lib/rubocop/config.rb#350 def department_of(qualified_cop_name); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#338 + # source://rubocop/1.68.0/lib/rubocop/config.rb#338 def enable_cop?(qualified_cop_name, cop_options); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#325 + # source://rubocop/1.68.0/lib/rubocop/config.rb#325 def gem_version_to_major_minor_float(gem_version); end - # source://rubocop/1.67.0/lib/rubocop/config.rb#331 + # source://rubocop/1.68.0/lib/rubocop/config.rb#331 def read_gem_versions_from_target_lockfile; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#312 + # source://rubocop/1.68.0/lib/rubocop/config.rb#312 def read_rails_version_from_bundler_lock_file; end - # source://rubocop/1.67.0/lib/rubocop/config.rb#307 + # source://rubocop/1.68.0/lib/rubocop/config.rb#307 def target_rails_version_from_bundler_lock_file; end class << self - # source://rubocop/1.67.0/lib/rubocop/config.rb#22 + # source://rubocop/1.68.0/lib/rubocop/config.rb#22 def create(hash, path, check: T.unsafe(nil)); end end end class RuboCop::ConfigValidator - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#27 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#27 def initialize(config); end # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 @@ -7541,66 +7591,66 @@ class RuboCop::ConfigValidator # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 def smart_loaded_path(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#63 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#63 def target_ruby_version; end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#33 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#33 def validate; end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#59 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#59 def validate_after_resolution; end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#67 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#67 def validate_section_presence(name); end private - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#104 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#104 def alert_about_unrecognized_cops(invalid_cop_names); end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#254 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#254 def check_cop_config_value(hash, parent = T.unsafe(nil)); end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#77 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#77 def check_obsoletions; end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#84 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#84 def check_target_ruby; end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#195 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#195 def each_invalid_parameter(cop_name); end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#120 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#120 def list_unknown_cops(invalid_cop_names); end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#274 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#274 def param_error_message(parent, key, value, supposed_values); end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#242 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#242 def reject_conflicting_safe_settings; end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#233 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#233 def reject_mutually_exclusive_defaults; end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#142 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#142 def suggestion(name); end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#75 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#75 def target_ruby; end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#207 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#207 def validate_enforced_styles(valid_cop_names); end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#169 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#169 def validate_new_cops_parameter; end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#180 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#180 def validate_parameter_names(valid_cop_names); end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#227 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#227 def validate_support_and_has_list(name, formats, valid); end - # source://rubocop/1.67.0/lib/rubocop/config_validator.rb#158 + # source://rubocop/1.68.0/lib/rubocop/config_validator.rb#158 def validate_syntax_cop; end end