Skip to content

Commit

Permalink
Remove :rasgn and :mrasgn types.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcandre committed Nov 12, 2020
1 parent 9eeefa4 commit 39da459
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions docs/modules/ROOT/pages/node_types.adoc
Expand Up @@ -176,8 +176,6 @@ The following fields are given when relevant to nodes in the source code:

|pair|One entry in a hash. |Two children, the key and value nodes.|1 => 2|https://rubydoc.info/github/rubocop-hq/rubocop-ast/RuboCop/AST/PairNode[PairNode]

|rasgn|Right-hand assignment|Two children, the node representing the value to assign and the assignment node.|1 => a |

|rational|Rational literal|One child, the Rational value|2.0r|N/A

|redo|Redo command|None|redo|N/A
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/ast/node.rb
Expand Up @@ -48,7 +48,7 @@ class Node < Parser::AST::Node # rubocop:disable Metrics/ClassLength

# @api private
EQUALS_ASSIGNMENTS = %i[lvasgn ivasgn cvasgn gvasgn
casgn masgn rasgn mrasgn].to_set.freeze
casgn masgn].to_set.freeze
# @api private
SHORTHAND_ASSIGNMENTS = %i[op_asgn or_asgn and_asgn].to_set.freeze
# @api private
Expand Down

0 comments on commit 39da459

Please sign in to comment.