class RuboCop::Cop::InternalAffairs::LocationExpression

Enforces the use of ‘node.source_range` instead of `node.location.expression`.

@example

# bad
node.location.expression
node.loc.expression

# good
node.source_range