module RuboCop::Ext::RegexpParser::Expression::Base
def build_location
def build_location return { body: expression } unless (q = quantifier) body = expression.adjust(end_pos: -q.text.length) q_loc = expression.with(begin_pos: body.end_pos) { body: body, quantifier: q_loc } end