rubocop / rubocop-ast

RuboCop's AST extensions and NodePattern functionality
https://docs.rubocop.org/rubocop-ast
MIT License
104 stars 52 forks source link

Remove non-existent nodes from document #303

Closed yui-knk closed 3 months ago

yui-knk commented 3 months ago

In parser gem endless method definition is mapped to def node or defs node. Then there is no def_e node nor defs_e node.

These nodes types were once introduced by https://github.com/whitequark/parser/pull/676 however emitted by https://github.com/whitequark/parser/pull/716.

yui-knk commented 3 months ago

Oh, this is duplicated with https://github.com/rubocop/rubocop-ast/pull/302 ...