class RuboCop::Ext::RegexpParser::Map

Source map for RegexpParser nodes

Attributes

begin[R]
body[R]
end[R]
quantifier[R]

Public Class Methods

new(expression, body:, quantifier: nil, begin_l: nil, end_l: nil) click to toggle source
Calls superclass method
# File lib/rubocop/ext/regexp_parser.rb, line 11
def initialize(expression, body:, quantifier: nil, begin_l: nil, end_l: nil)
  @begin = begin_l
  @end = end_l
  @body = body
  @quantifier = quantifier
  super(expression)
end