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.origin = origin q_loc = q.expression { body: body, quantifier: q_loc } end