class RuboCop::AST::NodePattern::Lexer

def emit_regexp

def emit_regexp
  body = ss[1]
  options = ss[2]
  flag = options.each_char.map { |c| REGEXP_OPTIONS[c] }.sum
  emit(:tREGEXP) { Regexp.new(body, flag) }
end