Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use node groups in node patterns to replace unions of types
`rubocop-ast` defines some node groups (https://github.com/rubocop/rubocop-ast/blob/master/lib/rubocop/ast/node.rb#L89-L116) that can be used inside node pattern matchers in place of a union of node types.
- Loading branch information