diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.33.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.34.0.rbi similarity index 99% rename from Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.33.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.34.0.rbi index 4e3b2828dd25b..11b48eb7570b4 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.33.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.34.0.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 @@ -5674,22 +5698,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.