class Regexp::Scanner

def self.long_prop_map

def self.long_prop_map
  @long_prop_map ||= YAML.load_file("#{PROP_MAPS_DIR}/long.yml")
end

def self.scan(input_object, options: nil, &block)

--------------------------------------------------------------------------
This method may raise errors if a syntax error is encountered.

given, it gets called for each emitted token.
emitted token into an array that gets returned at the end. If a block is
Scans the given regular expression text, or Regexp object and collects the
def self.scan(input_object, options: nil, &block)
  new.scan(input_object, options: options, &block)
end

def self.short_prop_map

def self.short_prop_map
  @short_prop_map ||= YAML.load_file("#{PROP_MAPS_DIR}/short.yml")
end

def append_literal(data, ts, te)

by a call to emit_literal.
Appends one or more characters to the literal buffer, to be emitted later
def append_literal(data, ts, te)
  self.literal = literal || []
  literal << copy(data, ts, te)
end

def copy(data, ts, te)

Copy from ts to te from data as text
def copy(data, ts, te)
  data[ts...te].pack('c*').force_encoding('utf-8')
end

def emit(type, token, text)

Emits an array with the details of the scanned pattern
def emit(type, token, text)
  #puts "EMIT: type: #{type}, token: #{token}, text: #{text}, ts: #{ts}, te: #{te}"
  emit_literal if literal
  # Ragel runs with byte-based indices (ts, te). These are of little value to
  # end-users, so we keep track of char-based indices and emit those instead.
  ts_char_pos = char_pos
  te_char_pos = char_pos + text.length
  if block
    block.call type, token, text, ts_char_pos, te_char_pos
  end
  tokens << [type, token, text, ts_char_pos, te_char_pos]
  self.char_pos = te_char_pos
end

def emit_literal

Emits the literal run collected by calls to the append_literal method.
def emit_literal
  text = literal.join
  self.literal = nil
  emit(:literal, :literal, text)
end

def emit_meta_control_sequence(data, ts, te, token)

def emit_meta_control_sequence(data, ts, te, token)
  if data.last < 0x00 || data.last > 0x7F
    validation_error(:sequence, 'escape', token.to_s)
  end
  emit(:escape, token, copy(data, ts-1, te))
end

def emit_options(text)

def emit_options(text)
  token = nil
  # Ruby allows things like '(?-xxxx)' or '(?xx-xx--xx-:abc)'.
  text =~ /\(\?([mixdau]*)(-(?:[mix]*))*(:)?/
  positive, negative, group_local = $1, $2, $3
  if positive.include?('x')
    self.free_spacing = true
  end
  # If the x appears in both, treat it like ruby does, the second cancels
  # the first.
  if negative && negative.include?('x')
    self.free_spacing = false
  end
  if group_local
    spacing_stack << {:free_spacing => free_spacing, :depth => group_depth}
    token = :options
  else
    # switch for parent group level
    spacing_stack.last[:free_spacing] = free_spacing
    token = :options_switch
  end
  emit(:group, token, text)
end

def free_spacing?(input_object, options)

def free_spacing?(input_object, options)
  if options && !input_object.is_a?(String)
    raise ArgumentError, 'options cannot be supplied unless scanning a String'
  end
  options = input_object.options if input_object.is_a?(::Regexp)
  return false unless options
  options & Regexp::EXTENDED != 0
end

def in_group?

def in_group?
  group_depth > 0
end

def in_set?

def in_set?
  set_depth > 0
end

def scan(input_object, options: nil, &block)

def scan(input_object, options: nil, &block)
  self.literal = nil
  stack = []
  input = input_object.is_a?(Regexp) ? input_object.source : input_object
  self.free_spacing = free_spacing?(input_object, options)
  self.spacing_stack = [{:free_spacing => free_spacing, :depth => 0}]
  data  = input.unpack("c*") if input.is_a?(String)
  eof   = data.length
  self.tokens = []
  self.block  = block_given? ? block : nil
  self.set_depth = 0
  self.group_depth = 0
  self.conditional_stack = []
  self.char_pos = 0
  
line 94 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner.rb"
ass << self
ttr_accessor :_re_scanner_trans_keys
rivate :_re_scanner_trans_keys, :_re_scanner_trans_keys=
d
lf._re_scanner_trans_keys = [
, 0, -128, -65, -128, -65, 
128, -65, 41, 41, 39, 
7, 39, 39, 33, 62, 
2, 62, 39, 60, 39, 57, 
9, 39, 48, 57, 39, 
7, 39, 57, 48, 57, 
5, 62, 62, 62, 48, 57, 
8, 62, 43, 62, 48, 
7, 48, 57, 48, 125, 
4, 125, 123, 123, 9, 122, 
, 125, 9, 122, -128, 
65, -128, -65, 38, 38, 
5, 122, 45, 122, 93, 93, 
4, 120, 97, 120, 108, 
15, 110, 112, 117, 117, 
09, 109, 58, 58, 93, 93, 
04, 104, 97, 97, 99, 
9, 105, 105, 105, 105, 
08, 108, 97, 97, 110, 110, 
07, 107, 110, 110, 116, 
16, 114, 114, 108, 108, 
05, 105, 103, 103, 105, 105, 
16, 116, 114, 114, 97, 
7, 112, 112, 104, 104, 
11, 111, 119, 119, 101, 101, 
14, 114, 114, 117, 105, 
05, 110, 110, 110, 110, 
9, 99, 112, 112, 97, 97, 
9, 99, 101, 101, 112, 
12, 112, 112, 111, 111, 
14, 114, 100, 100, 100, 100, 
5, 122, 61, 61, 93, 
3, -128, -65, -128, -65, 
5, 45, 92, 92, 92, 92, 
5, 45, 92, 92, 92, 
2, 48, 123, 48, 102, 
8, 102, 48, 102, 48, 102, 
, 125, 9, 125, 9, 
25, 9, 125, 9, 125, 
, 125, 48, 123, 39, 39, 
1, 41, 41, 57, 62, 
2, -128, 127, -62, -12, 
, 127, 1, 127, 9, 32, 
3, 126, 10, 10, 63, 
3, 33, 126, 33, 126, 
2, 62, 43, 63, 43, 63, 
3, 63, 65, 122, 44, 
7, 43, 63, 68, 119, 
0, 112, -62, 125, -128, -65, 
128, -65, -128, -65, 38, 
8, 38, 93, 46, 61, 
8, 122, -62, 125, -128, -65, 
128, -65, -128, -65, 48, 
5, 48, 55, 77, 77, 
5, 45, 0, 0, 67, 99, 
5, 45, 0, 0, 92, 
2, 48, 102, 39, 60, 
9, 57, 49, 57, 41, 57, 
5, 62, 0
ass << self
ttr_accessor :_re_scanner_key_spans
rivate :_re_scanner_key_spans, :_re_scanner_key_spans=
d
lf._re_scanner_key_spans = [
, 64, 64, 64, 1, 19, 1, 30, 
, 22, 19, 1, 10, 19, 19, 10, 
8, 1, 10, 15, 20, 10, 10, 78, 
2, 1, 114, 117, 114, 64, 64, 1, 
8, 78, 1, 27, 24, 8, 3, 1, 
, 1, 1, 1, 1, 1, 1, 1, 
, 1, 1, 1, 1, 1, 1, 1, 
, 1, 1, 1, 1, 1, 1, 1, 
, 1, 1, 1, 4, 1, 1, 1, 
, 1, 1, 1, 1, 1, 1, 1, 
, 1, 1, 58, 1, 1, 64, 64, 
, 1, 1, 1, 1, 1, 76, 55, 
5, 55, 55, 117, 117, 117, 117, 117, 
17, 76, 1, 1, 17, 1, 256, 51, 
27, 127, 24, 94, 1, 1, 94, 94, 
, 21, 21, 21, 58, 14, 21, 52, 
3, 188, 64, 64, 64, 1, 56, 16, 
5, 188, 64, 64, 64, 8, 8, 1, 
, 0, 33, 1, 0, 1, 55, 22, 
9, 9, 17, 18
ass << self
ttr_accessor :_re_scanner_index_offsets
rivate :_re_scanner_index_offsets, :_re_scanner_index_offsets=
d
lf._re_scanner_index_offsets = [
, 0, 65, 130, 195, 197, 217, 219, 
50, 252, 275, 295, 297, 308, 328, 348, 
59, 378, 380, 391, 407, 428, 439, 450, 
29, 612, 614, 729, 847, 962, 1027, 1092, 
094, 1173, 1252, 1254, 1282, 1307, 1316, 1320, 
322, 1324, 1326, 1328, 1330, 1332, 1334, 1336, 
338, 1340, 1342, 1344, 1346, 1348, 1350, 1352, 
354, 1356, 1358, 1360, 1362, 1364, 1366, 1368, 
370, 1372, 1374, 1376, 1378, 1383, 1385, 1387, 
389, 1391, 1393, 1395, 1397, 1399, 1401, 1403, 
405, 1407, 1409, 1411, 1470, 1472, 1474, 1539, 
604, 1606, 1608, 1610, 1612, 1614, 1616, 1693, 
749, 1805, 1861, 1917, 2035, 2153, 2271, 2389, 
507, 2625, 2702, 2704, 2706, 2724, 2726, 2983, 
035, 3163, 3291, 3316, 3411, 3413, 3415, 3510, 
605, 3607, 3629, 3651, 3673, 3732, 3747, 3769, 
822, 3856, 4045, 4110, 4175, 4240, 4242, 4299, 
316, 4392, 4581, 4646, 4711, 4776, 4785, 4794, 
796, 4798, 4799, 4833, 4835, 4836, 4838, 4894, 
917, 4937, 4947, 4965
ass << self
ttr_accessor :_re_scanner_indicies
rivate :_re_scanner_indicies, :_re_scanner_indicies=
d
lf._re_scanner_indicies = [
, 1, 1, 1, 1, 1, 1, 1, 
, 1, 1, 1, 1, 1, 1, 1, 
, 1, 1, 1, 1, 1, 1, 1, 
, 1, 1, 1, 1, 1, 1, 1, 
, 1, 1, 1, 1, 1, 1, 1, 
, 1, 1, 1, 1, 1, 1, 1, 
, 1, 1, 1, 1, 1, 1, 1, 
, 1, 1, 1, 1, 1, 1, 1, 
, 2, 2, 2, 2, 2, 2, 2, 
, 2, 2, 2, 2, 2, 2, 2, 
, 2, 2, 2, 2, 2, 2, 2, 
, 2, 2, 2, 2, 2, 2, 2, 
, 2, 2, 2, 2, 2, 2, 2, 
, 2, 2, 2, 2, 2, 2, 2, 
, 2, 2, 2, 2, 2, 2, 2, 
, 2, 2, 2, 2, 2, 2, 2, 
, 0, 3, 3, 3, 3, 3, 3, 
, 3, 3, 3, 3, 3, 3, 3, 
, 3, 3, 3, 3, 3, 3, 3, 
, 3, 3, 3, 3, 3, 3, 3, 
, 3, 3, 3, 3, 3, 3, 3, 
, 3, 3, 3, 3, 3, 3, 3, 
, 3, 3, 3, 3, 3, 3, 3, 
, 3, 3, 3, 3, 3, 3, 3, 
, 3, 0, 6, 5, 8, 7, 7, 
, 7, 7, 4, 7, 7, 4, 4, 
, 4, 4, 4, 4, 4, 4, 4, 
, 8, 7, 10, 9, 9, 9, 9, 
, 9, 9, 9, 9, 9, 9, 4, 
, 9, 4, 4, 4, 4, 4, 4, 
, 4, 4, 4, 9, 9, 9, 10, 
, 9, 8, 9, 12, 11, 11, 11, 
1, 11, 11, 11, 11, 11, 11, 11, 
1, 11, 11, 11, 11, 11, 11, 11, 
1, 13, 11, 15, 14, 14, 14, 14, 
4, 16, 14, 14, 11, 17, 17, 17, 
7, 17, 17, 17, 17, 17, 14, 15, 
4, 18, 17, 17, 17, 17, 17, 17, 
7, 17, 17, 11, 15, 11, 11, 11, 
1, 11, 11, 11, 11, 18, 18, 18, 
8, 18, 18, 18, 18, 18, 18, 11, 
5, 11, 11, 11, 19, 11, 19, 11, 
1, 17, 17, 17, 17, 17, 17, 17, 
7, 17, 17, 11, 18, 18, 18, 18, 
8, 18, 18, 18, 18, 18, 11, 21, 
0, 20, 11, 22, 22, 22, 22, 22, 
2, 22, 22, 22, 20, 20, 20, 20, 
5, 20, 15, 20, 23, 22, 22, 22, 
2, 22, 22, 22, 22, 22, 11, 23, 
3, 23, 23, 23, 23, 23, 23, 23, 
3, 11, 11, 11, 11, 15, 11, 24, 
1, 24, 11, 11, 22, 22, 22, 22, 
2, 22, 22, 22, 22, 22, 11, 11, 
1, 11, 15, 11, 23, 23, 23, 23, 
3, 23, 23, 23, 23, 23, 11, 26, 
6, 26, 26, 26, 26, 26, 26, 26, 
6, 25, 26, 26, 26, 26, 26, 26, 
6, 26, 26, 26, 25, 25, 25, 25, 
5, 25, 25, 25, 25, 25, 25, 25, 
5, 25, 25, 25, 25, 25, 25, 25, 
5, 25, 25, 25, 25, 25, 25, 25, 
5, 25, 25, 25, 25, 25, 25, 25, 
5, 25, 25, 25, 25, 25, 25, 25, 
5, 25, 25, 25, 25, 25, 25, 25, 
5, 25, 25, 25, 25, 25, 25, 25, 
5, 25, 25, 25, 25, 25, 25, 27, 
5, 26, 25, 25, 25, 28, 28, 28, 
8, 28, 28, 28, 28, 28, 28, 25, 
5, 25, 25, 25, 25, 25, 25, 25, 
5, 25, 25, 25, 25, 25, 25, 25, 
5, 25, 25, 25, 25, 25, 25, 25, 
5, 25, 25, 25, 25, 25, 25, 25, 
5, 25, 25, 25, 25, 25, 25, 25, 
5, 25, 25, 25, 25, 25, 25, 25, 
5, 25, 25, 25, 25, 25, 25, 25, 
5, 25, 25, 25, 25, 25, 25, 25, 
5, 25, 27, 25, 29, 30, 31, 31, 
1, 31, 31, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 31, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 31, 31, 30, 31, 31, 31, 
1, 31, 31, 31, 31, 31, 31, 30, 
0, 30, 31, 30, 30, 30, 31, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
0, 30, 30, 32, 31, 30, 31, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
0, 31, 31, 31, 31, 31, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
1, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 31, 31, 30, 
1, 31, 31, 31, 31, 31, 31, 31, 
1, 31, 30, 30, 30, 31, 30, 30, 
0, 31, 31, 31, 31, 31, 31, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
1, 31, 31, 30, 30, 30, 30, 31, 
0, 31, 31, 31, 31, 31, 31, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
1, 31, 31, 30, 30, 33, 30, 31, 
1, 31, 31, 31, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 31, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 31, 31, 30, 31, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
0, 30, 30, 31, 30, 30, 30, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
1, 30, 30, 30, 30, 31, 30, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
1, 31, 31, 31, 31, 31, 31, 31, 
1, 30, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 34, 36, 36, 36, 36, 36, 
6, 36, 36, 36, 36, 36, 36, 36, 
6, 36, 36, 36, 36, 36, 36, 36, 
6, 36, 36, 36, 36, 36, 36, 36, 
6, 36, 36, 36, 36, 36, 36, 36, 
6, 36, 36, 36, 36, 36, 36, 36, 
6, 36, 36, 36, 36, 36, 36, 36, 
6, 36, 36, 36, 36, 36, 36, 36, 
6, 36, 36, 34, 38, 37, 41, 40, 
0, 40, 40, 40, 40, 40, 40, 40, 
0, 40, 40, 40, 40, 40, 40, 40, 
0, 40, 41, 41, 41, 41, 41, 41, 
1, 41, 41, 41, 41, 41, 41, 41, 
1, 41, 41, 41, 41, 41, 41, 41, 
1, 41, 41, 41, 40, 40, 40, 40, 
0, 40, 41, 41, 41, 41, 41, 41, 
1, 41, 41, 41, 41, 41, 41, 41, 
1, 41, 41, 41, 41, 41, 41, 41, 
1, 41, 41, 41, 40, 41, 42, 40, 
0, 40, 40, 40, 40, 40, 40, 40, 
0, 40, 40, 40, 40, 40, 40, 40, 
0, 41, 41, 41, 41, 41, 41, 41, 
1, 41, 41, 41, 41, 41, 41, 41, 
1, 41, 41, 41, 41, 41, 41, 41, 
1, 41, 41, 40, 40, 40, 40, 40, 
0, 41, 41, 41, 41, 41, 41, 41, 
1, 41, 41, 41, 41, 41, 41, 41, 
1, 41, 41, 41, 41, 41, 41, 41, 
1, 41, 41, 40, 43, 40, 44, 40, 
0, 45, 46, 47, 48, 40, 40, 49, 
0, 40, 40, 40, 50, 40, 40, 40, 
1, 40, 40, 52, 40, 53, 40, 54, 
5, 40, 45, 46, 47, 48, 40, 40, 
9, 40, 40, 40, 40, 50, 40, 40, 
0, 51, 40, 40, 52, 40, 53, 40, 
4, 55, 40, 56, 40, 40, 40, 40, 
0, 40, 57, 40, 58, 40, 59, 40, 
0, 40, 61, 40, 62, 40, 63, 40, 
4, 40, 61, 40, 65, 40, 66, 40, 
1, 40, 67, 40, 68, 40, 69, 40, 
1, 40, 70, 40, 71, 40, 72, 40, 
1, 40, 73, 40, 74, 40, 75, 40, 
1, 40, 76, 40, 77, 40, 78, 40, 
1, 40, 79, 40, 80, 40, 81, 40, 
1, 40, 82, 40, 40, 83, 40, 84, 
0, 75, 40, 85, 40, 75, 40, 86, 
0, 87, 40, 88, 40, 61, 40, 89, 
0, 80, 40, 90, 40, 91, 40, 61, 
0, 48, 40, 92, 92, 92, 92, 92, 
2, 92, 92, 92, 92, 92, 92, 92, 
2, 92, 92, 92, 92, 92, 92, 92, 
2, 92, 92, 92, 92, 40, 40, 40, 
0, 40, 40, 92, 92, 92, 92, 92, 
2, 92, 92, 92, 92, 92, 92, 92, 
2, 92, 92, 92, 92, 92, 92, 92, 
2, 92, 92, 92, 92, 40, 93, 40, 
4, 40, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 95, 97, 97, 97, 97, 97, 
7, 97, 97, 97, 97, 97, 97, 97, 
7, 97, 97, 97, 97, 97, 97, 97, 
7, 97, 97, 97, 97, 97, 97, 97, 
7, 97, 97, 97, 97, 97, 97, 97, 
7, 97, 97, 97, 97, 97, 97, 97, 
7, 97, 97, 97, 97, 97, 97, 97, 
7, 97, 97, 97, 97, 97, 97, 97, 
7, 97, 97, 95, 98, 30, 100, 99, 
02, 99, 103, 30, 105, 104, 107, 104, 
08, 108, 108, 108, 108, 108, 108, 108, 
08, 108, 30, 30, 30, 30, 30, 30, 
0, 108, 108, 108, 108, 108, 108, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 108, 108, 108, 108, 108, 108, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 109, 30, 110, 110, 110, 
10, 110, 110, 110, 110, 110, 110, 30, 
0, 30, 30, 30, 30, 30, 110, 110, 
10, 110, 110, 110, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 110, 110, 
10, 110, 110, 110, 30, 111, 111, 111, 
11, 111, 111, 111, 111, 111, 111, 30, 
0, 30, 30, 30, 30, 30, 111, 111, 
11, 111, 111, 111, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 111, 111, 
11, 111, 111, 111, 30, 112, 112, 112, 
12, 112, 112, 112, 112, 112, 112, 30, 
0, 30, 30, 30, 30, 30, 112, 112, 
12, 112, 112, 112, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 112, 112, 
12, 112, 112, 112, 30, 113, 113, 113, 
13, 113, 113, 113, 113, 113, 113, 30, 
0, 30, 30, 30, 30, 30, 113, 113, 
13, 113, 113, 113, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 113, 113, 
13, 113, 113, 113, 30, 109, 109, 109, 
09, 109, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 109, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 114, 114, 114, 114, 
14, 114, 114, 114, 114, 114, 30, 30, 
0, 30, 30, 30, 30, 114, 114, 114, 
14, 114, 114, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 114, 114, 114, 
14, 114, 114, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 112, 30, 109, 109, 109, 109, 109, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 109, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 115, 115, 115, 115, 115, 115, 
15, 115, 115, 115, 30, 30, 30, 30, 
0, 30, 30, 115, 115, 115, 115, 115, 
15, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 115, 115, 115, 115, 115, 
15, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 112, 
0, 109, 109, 109, 109, 109, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
09, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
16, 116, 116, 116, 116, 116, 116, 116, 
16, 116, 30, 30, 30, 30, 30, 30, 
0, 116, 116, 116, 116, 116, 116, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 116, 116, 116, 116, 116, 116, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 112, 30, 109, 
09, 109, 109, 109, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 109, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 117, 117, 
17, 117, 117, 117, 117, 117, 117, 117, 
0, 30, 30, 30, 30, 30, 30, 117, 
17, 117, 117, 117, 117, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 117, 
17, 117, 117, 117, 117, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 112, 30, 109, 109, 109, 
09, 109, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 109, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 118, 118, 118, 118, 
18, 118, 118, 118, 118, 118, 30, 30, 
0, 30, 30, 30, 30, 118, 118, 118, 
18, 118, 118, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 118, 118, 118, 
18, 118, 118, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 112, 30, 109, 109, 109, 109, 109, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 109, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 112, 
0, 120, 120, 120, 120, 120, 120, 120, 
20, 120, 120, 119, 119, 119, 119, 119, 
19, 119, 120, 120, 120, 120, 120, 120, 
19, 119, 119, 119, 119, 119, 119, 119, 
19, 119, 119, 119, 119, 119, 119, 119, 
19, 119, 119, 119, 119, 119, 119, 119, 
19, 119, 120, 120, 120, 120, 120, 120, 
19, 119, 119, 119, 119, 119, 119, 119, 
19, 119, 119, 119, 119, 119, 119, 119, 
19, 119, 119, 119, 30, 119, 123, 122, 
24, 121, 124, 121, 121, 121, 121, 121, 
21, 125, 125, 125, 125, 125, 125, 125, 
25, 125, 125, 121, 123, 126, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
, 2, 2, 2, 2, 2, 2, 2, 
, 2, 2, 2, 2, 2, 2, 2, 
, 2, 2, 2, 2, 2, 2, 2, 
, 2, 2, 2, 2, 2, 3, 3, 
, 3, 3, 3, 3, 3, 3, 3, 
, 3, 3, 3, 3, 3, 127, 127, 
27, 127, 127, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 128, 
28, 128, 128, 128, 128, 128, 128, 129, 
29, 129, 129, 129, 128, 128, 128, 128, 
28, 128, 128, 128, 128, 128, 128, 128, 
28, 128, 128, 128, 128, 128, 130, 131, 
31, 132, 133, 131, 131, 131, 134, 135, 
36, 137, 131, 131, 138, 131, 131, 131, 
31, 131, 131, 131, 131, 131, 131, 131, 
31, 131, 131, 131, 131, 139, 131, 131, 
31, 131, 131, 131, 131, 131, 131, 131, 
31, 131, 131, 131, 131, 131, 131, 131, 
31, 131, 131, 131, 131, 131, 131, 131, 
31, 140, 141, 142, 143, 131, 131, 131, 
31, 131, 131, 131, 131, 131, 131, 131, 
31, 131, 131, 131, 131, 131, 131, 131, 
31, 131, 131, 131, 131, 131, 131, 131, 
31, 144, 145, 142, 131, 128, 131, 2, 
, 2, 2, 2, 2, 2, 2, 2, 
, 2, 2, 2, 2, 2, 2, 2, 
, 2, 2, 2, 2, 2, 2, 2, 
, 2, 2, 2, 2, 3, 3, 3, 
, 3, 3, 3, 3, 3, 3, 3, 
, 3, 3, 3, 3, 127, 127, 127, 
27, 127, 146, 128, 128, 128, 128, 128, 
28, 128, 128, 128, 128, 128, 128, 128, 
28, 128, 128, 128, 128, 128, 128, 128, 
28, 128, 128, 128, 128, 128, 128, 128, 
28, 128, 146, 146, 146, 146, 146, 146, 
46, 146, 146, 146, 146, 146, 146, 146, 
46, 146, 146, 146, 146, 146, 146, 146, 
46, 146, 146, 146, 146, 146, 146, 146, 
46, 146, 146, 146, 146, 146, 146, 146, 
46, 146, 146, 146, 146, 146, 146, 146, 
46, 146, 146, 146, 146, 146, 146, 146, 
46, 146, 146, 146, 146, 146, 146, 146, 
46, 146, 146, 146, 146, 146, 146, 146, 
46, 146, 146, 146, 146, 146, 146, 146, 
46, 146, 146, 146, 146, 146, 146, 146, 
46, 146, 146, 146, 146, 146, 146, 146, 
46, 128, 146, 128, 128, 128, 128, 128, 
28, 128, 128, 129, 129, 129, 129, 129, 
28, 128, 128, 128, 128, 128, 128, 128, 
28, 128, 128, 128, 128, 128, 128, 128, 
28, 128, 130, 147, 147, 147, 147, 147, 
47, 147, 147, 147, 147, 147, 147, 147, 
47, 147, 147, 147, 147, 147, 147, 147, 
47, 147, 147, 147, 147, 147, 147, 147, 
47, 147, 147, 147, 147, 147, 147, 147, 
47, 147, 147, 147, 147, 147, 147, 147, 
47, 147, 147, 147, 147, 147, 147, 147, 
47, 147, 147, 147, 147, 147, 147, 147, 
47, 147, 147, 147, 147, 147, 147, 147, 
47, 147, 147, 147, 147, 147, 147, 147, 
47, 147, 147, 147, 147, 147, 147, 147, 
47, 147, 147, 147, 147, 147, 147, 147, 
47, 128, 147, 130, 130, 130, 130, 130, 
47, 147, 147, 147, 147, 147, 147, 147, 
47, 147, 147, 147, 147, 147, 147, 147, 
47, 147, 130, 147, 131, 131, 146, 146, 
31, 131, 131, 146, 146, 146, 146, 131, 
31, 146, 131, 131, 131, 131, 131, 131, 
31, 131, 131, 131, 131, 131, 131, 131, 
31, 131, 146, 131, 131, 131, 131, 131, 
31, 131, 131, 131, 131, 131, 131, 131, 
31, 131, 131, 131, 131, 131, 131, 131, 
31, 131, 131, 131, 131, 131, 146, 146, 
46, 146, 131, 131, 131, 131, 131, 131, 
31, 131, 131, 131, 131, 131, 131, 131, 
31, 131, 131, 131, 131, 131, 131, 131, 
31, 131, 131, 131, 131, 131, 146, 146, 
46, 131, 146, 149, 132, 151, 150, 154, 
53, 5, 153, 153, 153, 155, 156, 152, 
53, 153, 153, 153, 153, 153, 153, 153, 
53, 153, 153, 153, 153, 153, 153, 153, 
, 153, 157, 154, 8, 153, 153, 153, 
53, 153, 153, 153, 153, 153, 153, 153, 
53, 153, 153, 153, 153, 153, 153, 153, 
53, 153, 153, 153, 153, 153, 153, 153, 
53, 153, 153, 153, 153, 153, 153, 153, 
53, 153, 153, 153, 153, 153, 153, 153, 
53, 153, 153, 153, 153, 153, 153, 153, 
53, 153, 153, 153, 153, 153, 153, 153, 
53, 153, 153, 153, 8, 153, 152, 153, 
52, 153, 153, 153, 152, 152, 152, 153, 
53, 153, 153, 153, 153, 153, 153, 153, 
53, 153, 153, 153, 153, 153, 153, 158, 
53, 152, 152, 152, 153, 153, 153, 153, 
53, 153, 153, 153, 153, 153, 153, 153, 
53, 153, 153, 153, 153, 153, 153, 153, 
53, 153, 153, 153, 153, 153, 153, 153, 
53, 153, 153, 153, 153, 153, 153, 153, 
53, 153, 153, 153, 153, 153, 153, 153, 
53, 153, 153, 153, 153, 153, 153, 153, 
53, 153, 153, 153, 153, 153, 153, 153, 
53, 153, 153, 152, 153, 8, 9, 161, 
60, 160, 160, 160, 160, 160, 160, 160, 
60, 160, 160, 160, 160, 160, 160, 160, 
60, 160, 160, 161, 160, 163, 162, 162, 
62, 162, 162, 162, 162, 162, 162, 162, 
62, 162, 162, 162, 162, 162, 162, 162, 
62, 163, 162, 165, 164, 164, 164, 164, 
64, 164, 164, 164, 164, 164, 164, 164, 
64, 164, 164, 164, 164, 164, 164, 165, 
64, 167, 167, 166, 166, 166, 166, 167, 
66, 166, 166, 168, 166, 166, 166, 166, 
66, 166, 166, 166, 166, 166, 166, 166, 
66, 166, 167, 166, 166, 166, 166, 166, 
66, 166, 167, 166, 166, 166, 166, 169, 
66, 166, 166, 169, 166, 166, 166, 166, 
66, 166, 166, 166, 166, 166, 166, 166, 
66, 166, 167, 166, 171, 170, 170, 170, 
8, 28, 28, 28, 28, 28, 28, 28, 
8, 28, 170, 173, 172, 172, 172, 172, 
72, 172, 172, 172, 172, 172, 172, 172, 
72, 172, 172, 172, 172, 172, 172, 173, 
72, 174, 30, 30, 30, 174, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 174, 
74, 30, 30, 30, 174, 174, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 174, 30, 30, 30, 174, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
74, 30, 30, 30, 174, 30, 175, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 30, 30, 
0, 30, 30, 30, 30, 30, 175, 30, 
76, 176, 176, 176, 176, 176, 176, 176, 
76, 176, 176, 176, 176, 176, 176, 176, 
76, 176, 176, 176, 176, 176, 176, 176, 
76, 176, 176, 176, 176, 176, 177, 177, 
77, 177, 177, 177, 177, 177, 177, 177, 
77, 177, 177, 177, 177, 177, 178, 178, 
78, 178, 178, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 179, 35, 180, 35, 179, 179, 
79, 179, 35, 181, 179, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 179, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 182, 183, 184, 185, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 179, 179, 179, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 35, 35, 35, 
5, 35, 35, 35, 35, 186, 36, 36, 
6, 36, 36, 36, 36, 36, 36, 36, 
6, 36, 36, 36, 36, 36, 36, 36, 
6, 36, 36, 36, 36, 36, 36, 36, 
6, 36, 36, 36, 36, 36, 36, 36, 
6, 36, 36, 36, 36, 36, 36, 36, 
6, 36, 36, 36, 36, 36, 36, 36, 
6, 36, 36, 36, 36, 36, 36, 36, 
6, 36, 36, 36, 36, 36, 186, 187, 
87, 187, 187, 187, 187, 187, 187, 187, 
87, 187, 187, 187, 187, 187, 187, 187, 
87, 187, 187, 187, 187, 187, 187, 187, 
87, 187, 187, 187, 187, 187, 187, 187, 
87, 187, 187, 187, 187, 187, 187, 187, 
87, 187, 187, 187, 187, 187, 187, 187, 
87, 187, 187, 187, 187, 187, 187, 187, 
87, 187, 187, 187, 187, 187, 187, 186, 
88, 186, 190, 189, 189, 189, 189, 189, 
89, 189, 189, 189, 189, 189, 189, 189, 
89, 189, 189, 189, 189, 189, 189, 189, 
89, 189, 189, 189, 189, 189, 189, 189, 
89, 189, 189, 189, 189, 189, 189, 189, 
89, 189, 189, 189, 189, 189, 189, 189, 
89, 189, 189, 189, 189, 189, 189, 189, 
89, 191, 189, 194, 193, 193, 193, 193, 
93, 193, 193, 193, 193, 193, 193, 195, 
93, 193, 196, 193, 198, 198, 198, 198, 
98, 198, 198, 198, 198, 198, 197, 197, 
97, 197, 197, 197, 197, 198, 198, 198, 
97, 197, 197, 198, 197, 197, 197, 198, 
97, 198, 197, 197, 197, 197, 198, 197, 
97, 197, 197, 197, 198, 197, 198, 197, 
97, 197, 197, 197, 197, 197, 197, 198, 
97, 197, 197, 198, 197, 197, 197, 198, 
97, 197, 197, 197, 197, 197, 197, 197, 
97, 197, 197, 197, 197, 197, 198, 197, 
99, 199, 199, 199, 199, 199, 199, 199, 
99, 199, 199, 199, 199, 199, 199, 199, 
99, 199, 199, 199, 199, 199, 199, 199, 
99, 199, 199, 199, 199, 199, 200, 200, 
00, 200, 200, 200, 200, 200, 200, 200, 
00, 200, 200, 200, 200, 200, 201, 201, 
01, 201, 201, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 202, 96, 96, 96, 202, 202, 
02, 202, 96, 96, 202, 96, 203, 204, 
04, 204, 204, 204, 204, 204, 205, 205, 
6, 96, 96, 96, 96, 202, 96, 30, 
0, 206, 207, 96, 96, 30, 207, 96, 
6, 30, 96, 208, 96, 96, 209, 96, 
07, 207, 96, 96, 96, 207, 207, 96, 
0, 202, 202, 202, 202, 96, 96, 210, 
10, 98, 207, 210, 210, 96, 207, 96, 
6, 96, 96, 96, 210, 96, 209, 96, 
10, 207, 210, 211, 210, 207, 212, 96, 
0, 202, 202, 202, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 96, 96, 96, 
6, 96, 96, 96, 96, 213, 97, 97, 
7, 97, 97, 97, 97, 97, 97, 97, 
7, 97, 97, 97, 97, 97, 97, 97, 
7, 97, 97, 97, 97, 97, 97, 97, 
7, 97, 97, 97, 97, 97, 97, 97, 
7, 97, 97, 97, 97, 97, 97, 97, 
7, 97, 97, 97, 97, 97, 97, 97, 
7, 97, 97, 97, 97, 97, 97, 97, 
7, 97, 97, 97, 97, 97, 213, 214, 
14, 214, 214, 214, 214, 214, 214, 214, 
14, 214, 214, 214, 214, 214, 214, 214, 
14, 214, 214, 214, 214, 214, 214, 214, 
14, 214, 214, 214, 214, 214, 214, 214, 
14, 214, 214, 214, 214, 214, 214, 214, 
14, 214, 214, 214, 214, 214, 214, 214, 
14, 214, 214, 214, 214, 214, 214, 214, 
14, 214, 214, 214, 214, 214, 214, 213, 
16, 216, 216, 216, 216, 216, 216, 216, 
15, 218, 218, 218, 218, 218, 218, 218, 
18, 217, 220, 99, 222, 221, 99, 224, 
04, 104, 104, 104, 104, 104, 104, 104, 
04, 104, 104, 104, 104, 104, 104, 104, 
04, 104, 104, 104, 104, 104, 104, 104, 
04, 104, 104, 104, 104, 104, 104, 225, 
04, 227, 226, 104, 107, 104, 229, 229, 
29, 229, 229, 229, 229, 229, 229, 229, 
28, 228, 228, 228, 228, 228, 228, 229, 
29, 229, 229, 229, 229, 228, 228, 228, 
28, 228, 228, 228, 228, 228, 228, 228, 
28, 228, 228, 228, 228, 228, 228, 228, 
28, 228, 228, 228, 228, 228, 228, 229, 
29, 229, 229, 229, 229, 228, 231, 230, 
30, 230, 230, 230, 232, 230, 230, 230, 
33, 233, 233, 233, 233, 233, 233, 233, 
33, 230, 230, 234, 230, 123, 122, 122, 
22, 122, 122, 235, 122, 122, 235, 235, 
35, 235, 235, 235, 235, 235, 235, 235, 
22, 125, 125, 125, 125, 125, 125, 125, 
25, 125, 235, 124, 235, 235, 235, 235, 
35, 235, 125, 125, 125, 125, 125, 125, 
25, 125, 125, 125, 235, 235, 126, 126, 
35, 235, 235, 235, 235, 235, 235, 235, 
35, 235, 126, 126, 126, 126, 123, 126, 

ass << self
ttr_accessor :_re_scanner_trans_targs
rivate :_re_scanner_trans_targs, :_re_scanner_trans_targs=
d
lf._re_scanner_trans_targs = [
10, 111, 1, 2, 110, 4, 110, 6, 
10, 8, 120, 110, 10, 16, 11, 110, 
2, 14, 13, 15, 17, 18, 20, 19, 
1, 110, 23, 126, 24, 26, 0, 27, 
8, 128, 129, 129, 29, 129, 129, 129, 
29, 33, 34, 129, 36, 37, 48, 52, 
6, 60, 64, 68, 73, 77, 79, 82, 
8, 45, 39, 43, 40, 41, 42, 129, 
4, 46, 47, 49, 50, 51, 53, 54, 
5, 57, 58, 59, 61, 62, 63, 65, 
6, 67, 69, 71, 70, 72, 74, 75, 
6, 78, 80, 81, 84, 85, 129, 137, 
37, 86, 89, 137, 143, 137, 145, 92, 
37, 146, 137, 148, 95, 98, 96, 97, 
37, 99, 100, 101, 102, 103, 104, 137, 
50, 151, 106, 107, 151, 108, 109, 3, 
12, 113, 114, 115, 116, 110, 117, 110, 
21, 122, 110, 123, 110, 124, 110, 110, 
25, 110, 110, 110, 110, 110, 110, 118, 
10, 119, 110, 5, 110, 7, 110, 110, 
10, 110, 110, 110, 110, 110, 110, 110, 
10, 9, 110, 22, 110, 110, 127, 25, 
30, 131, 132, 129, 133, 134, 135, 129, 
29, 129, 129, 30, 129, 129, 31, 129, 
29, 129, 32, 35, 83, 136, 136, 138, 
39, 140, 137, 141, 141, 137, 88, 137, 
1, 137, 137, 94, 105, 137, 87, 137, 
42, 137, 137, 137, 144, 137, 90, 137, 
47, 149, 137, 93, 137, 137, 151, 152, 
53, 154, 155, 151
ass << self
ttr_accessor :_re_scanner_trans_actions
rivate :_re_scanner_trans_actions, :_re_scanner_trans_actions=
d
lf._re_scanner_trans_actions = [
, 2, 0, 0, 3, 4, 5, 0, 
, 0, 7, 8, 0, 0, 0, 9, 
, 0, 0, 0, 0, 0, 0, 0, 
, 10, 0, 0, 0, 0, 0, 0, 
, 12, 13, 14, 0, 15, 16, 17, 
8, 0, 0, 19, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 20, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 21, 22, 
3, 0, 0, 25, 0, 26, 0, 0, 
7, 0, 28, 0, 0, 0, 0, 0, 
9, 0, 0, 0, 0, 0, 0, 30, 
, 31, 0, 0, 32, 0, 0, 0, 
, 0, 0, 0, 0, 35, 36, 37, 
, 0, 38, 0, 39, 40, 41, 42, 
0, 43, 44, 45, 46, 47, 48, 49, 
0, 0, 51, 0, 52, 0, 53, 54, 
5, 56, 57, 58, 59, 60, 61, 62, 
3, 0, 64, 0, 65, 66, 68, 0, 
, 40, 40, 69, 0, 40, 70, 71, 
2, 73, 74, 0, 75, 76, 0, 77, 
8, 79, 0, 0, 0, 80, 81, 0, 
0, 40, 82, 83, 84, 85, 0, 86, 
, 87, 88, 0, 0, 89, 0, 90, 
, 91, 92, 93, 40, 94, 0, 95, 
0, 0, 96, 0, 97, 98, 99, 40, 
0, 40, 40, 100
ass << self
ttr_accessor :_re_scanner_to_state_actions
rivate :_re_scanner_to_state_actions, :_re_scanner_to_state_actions=
d
lf._re_scanner_to_state_actions = [
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 33, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 67, 
7, 67, 0, 0, 0, 0, 0, 0, 
7, 67, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 67, 
, 0, 0, 0
ass << self
ttr_accessor :_re_scanner_from_state_actions
rivate :_re_scanner_from_state_actions, :_re_scanner_from_state_actions=
d
lf._re_scanner_from_state_actions = [
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 34, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 34, 
4, 34, 0, 0, 0, 0, 0, 0, 
4, 34, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 34, 
, 0, 0, 0
ass << self
ttr_accessor :_re_scanner_eof_actions
rivate :_re_scanner_eof_actions, :_re_scanner_eof_actions=
d
lf._re_scanner_eof_actions = [
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 11, 11, 11, 11, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
4, 24, 0, 24, 24, 0, 24, 24, 
4, 24, 24, 24, 24, 24, 24, 24, 
4, 24, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 24, 0, 0, 0, 0, 0, 0, 
, 24, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 0, 0
ass << self
ttr_accessor :_re_scanner_eof_trans
rivate :_re_scanner_eof_trans, :_re_scanner_eof_trans=
d
lf._re_scanner_eof_trans = [
, 1, 1, 1, 5, 5, 5, 5, 
, 12, 12, 12, 12, 12, 12, 12, 
2, 12, 12, 12, 12, 12, 26, 26, 
6, 0, 0, 0, 0, 35, 35, 38, 
0, 40, 40, 40, 40, 40, 40, 40, 
0, 40, 40, 40, 40, 40, 40, 40, 
0, 40, 40, 40, 40, 40, 40, 40, 
0, 40, 40, 40, 40, 40, 40, 40, 
0, 40, 40, 40, 40, 40, 40, 40, 
0, 40, 40, 40, 40, 40, 40, 40, 
0, 40, 40, 40, 40, 40, 96, 96, 
, 0, 102, 0, 0, 107, 0, 0, 
, 0, 0, 0, 0, 0, 0, 0, 
, 0, 122, 122, 122, 122, 0, 147, 
47, 148, 148, 147, 149, 151, 153, 153, 
60, 161, 163, 165, 167, 171, 173, 0, 
, 0, 187, 187, 187, 187, 190, 193, 
, 0, 214, 214, 214, 216, 218, 220, 
20, 220, 224, 224, 224, 224, 229, 0, 
36, 236, 236, 236
ass << self
ttr_accessor :re_scanner_start
d
lf.re_scanner_start = 110;
ass << self
ttr_accessor :re_scanner_first_final
d
lf.re_scanner_first_final = 110;
ass << self
ttr_accessor :re_scanner_error
d
lf.re_scanner_error = 0;
ass << self
ttr_accessor :re_scanner_en_char_type
d
lf.re_scanner_en_char_type = 127;
ass << self
ttr_accessor :re_scanner_en_unicode_property
d
lf.re_scanner_en_unicode_property = 128;
ass << self
ttr_accessor :re_scanner_en_character_set
d
lf.re_scanner_en_character_set = 129;
ass << self
ttr_accessor :re_scanner_en_set_escape_sequence
d
lf.re_scanner_en_set_escape_sequence = 136;
ass << self
ttr_accessor :re_scanner_en_escape_sequence
d
lf.re_scanner_en_escape_sequence = 137;
ass << self
ttr_accessor :re_scanner_en_conditional_expression
d
lf.re_scanner_en_conditional_expression = 151;
ass << self
ttr_accessor :re_scanner_en_main
d
lf.re_scanner_en_main = 110;
line 761 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
  
line 1073 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner.rb"
gin
 ||= 0
e ||= data.length
s = re_scanner_start
op = 0
s = nil
e = nil
ct = 0
d
line 762 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
  
line 1086 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner.rb"
gin
estEof = false
slen, _trans, _keys, _inds, _acts, _nacts = nil
goto_level = 0
resume = 10
eof_trans = 15
again = 20
test_eof = 30
out = 40
hile true
f _goto_level <= 0
f p == pe
_goto_level = _test_eof
next
nd
f cs == 0
_goto_level = _out
next
nd
nd
f _goto_level <= _resume
ase _re_scanner_from_state_actions[cs] 
hen 34 then
line 1 "NONE"
begin
 = p
end
line 1114 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner.rb"
nd
keys = cs << 1
inds = _re_scanner_index_offsets[cs]
slen = _re_scanner_key_spans[cs]
wide = data[p].ord
trans = if (   _slen > 0 && 
	_re_scanner_trans_keys[_keys] <= _wide && 
	_wide <= _re_scanner_trans_keys[_keys + 1] 
    ) then
	_re_scanner_indicies[ _inds + _wide - _re_scanner_trans_keys[_keys] ] 
 else 
	_re_scanner_indicies[ _inds + _slen ]
 end
nd
f _goto_level <= _eof_trans
s = _re_scanner_trans_targs[_trans]
f _re_scanner_trans_actions[_trans] != 0
ase _re_scanner_trans_actions[_trans]
hen 36 then
line 151 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
elf.group_depth = group_depth + 1 		end
hen 4 then
line 152 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
elf.group_depth = group_depth - 1 		end
hen 40 then
line 1 "NONE"
begin
 = p+1
end
hen 68 then
line 12 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/char_type.rl"
begin
 = p+1
egin 
    case text = copy(data, ts-1, te)
    when '\d'; emit(:type, :digit,      text)
    when '\D'; emit(:type, :nondigit,   text)
    when '\h'; emit(:type, :hex,        text)
    when '\H'; emit(:type, :nonhex,     text)
    when '\s'; emit(:type, :space,      text)
    when '\S'; emit(:type, :nonspace,   text)
    when '\w'; emit(:type, :word,       text)
    when '\W'; emit(:type, :nonword,    text)
    when '\R'; emit(:type, :linebreak,  text)
    when '\X'; emit(:type, :xgrapheme,  text)
    end
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 12 then
line 16 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/property.rl"
begin
 = p+1
egin 
    text = copy(data, ts-1, te)
    type = (text[1] == 'P') ^ (text[3] == '^') ? :nonproperty : :property
    name = data[ts+2..te-2].pack('c*').gsub(/[\^\s_\-]/, '').downcase
    token = self.class.short_prop_map[name] || self.class.long_prop_map[name]
    raise UnknownUnicodePropertyError.new(name) unless token
    self.emit(type, token.to_sym, text)
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 16 then
line 179 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin  # special case, emits two tokens
    emit(:literal, :literal, '-')
    emit(:set, :intersection, '&&')
   end
end
hen 73 then
line 184 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    text = copy(data, ts, te)
    if tokens.last[1] == :open
      emit(:set, :negate, text)
    else
      emit(:literal, :literal, text)
    end
   end
end
hen 75 then
line 205 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit(:set, :intersection, copy(data, ts, te))
   end
end
hen 71 then
line 209 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    	begin
stack[top] = cs
top+= 1
cs = 136
_goto_level = _again
next
nd
   end
end
hen 69 then
line 239 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit(:literal, :literal, copy(data, ts, te))
   end
end
hen 14 then
line 243 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    text = copy(data, ts, te)
    emit(:literal, :literal, text)
   end
end
hen 76 then
line 193 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    text = copy(data, ts, te)
    # ranges cant start with a subset or intersection/negation/range operator
    if tokens.last[0] == :set
      emit(:literal, :literal, text)
    else
      emit(:set, :range, text)
    end
   end
end
hen 79 then
line 213 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    emit(:set, :open, copy(data, ts, te))
    	begin
stack[top] = cs
top+= 1
cs = 129
_goto_level = _again
next
nd
   end
end
hen 74 then
line 243 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    text = copy(data, ts, te)
    emit(:literal, :literal, text)
   end
end
hen 15 then
line 193 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
egin p = ((te))-1; end
egin 
    text = copy(data, ts, te)
    # ranges cant start with a subset or intersection/negation/range operator
    if tokens.last[0] == :set
      emit(:literal, :literal, text)
    else
      emit(:set, :range, text)
    end
   end
end
hen 18 then
line 213 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
egin p = ((te))-1; end
egin 
    emit(:set, :open, copy(data, ts, te))
    	begin
stack[top] = cs
top+= 1
cs = 129
_goto_level = _again
next
nd
   end
end
hen 13 then
line 243 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
egin p = ((te))-1; end
egin 
    text = copy(data, ts, te)
    emit(:literal, :literal, text)
   end
end
hen 81 then
line 252 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit(:escape, :literal, copy(data, ts-1, te))
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 80 then
line 257 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    p = p - 1;
    cs = 129;
    	begin
stack[top] = cs
top+= 1
cs = 137
_goto_level = _again
next
nd
   end
end
hen 85 then
line 268 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    text = copy(data, ts-1, te)
    emit(:backref, :number, text)
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 92 then
line 274 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit(:escape, :octal, copy(data, ts-1, te))
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 82 then
line 279 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    case text = copy(data, ts-1, te)
    when '\.';  emit(:escape, :dot,               text)
    when '\|';  emit(:escape, :alternation,       text)
    when '\^';  emit(:escape, :bol,               text)
    when '\$';  emit(:escape, :eol,               text)
    when '\?';  emit(:escape, :zero_or_one,       text)
    when '\*';  emit(:escape, :zero_or_more,      text)
    when '\+';  emit(:escape, :one_or_more,       text)
    when '\(';  emit(:escape, :group_open,        text)
    when '\)';  emit(:escape, :group_close,       text)
    when '\{';  emit(:escape, :interval_open,     text)
    when '\}';  emit(:escape, :interval_close,    text)
    when '\[';  emit(:escape, :set_open,          text)
    when '\]';  emit(:escape, :set_close,         text)
    when "\\\\";
      emit(:escape, :backslash, text)
    end
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 88 then
line 300 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    # \b is emitted as backspace only when inside a character set, otherwise
    # it is a word boundary anchor. A syntax might "normalize" it if needed.
    case text = copy(data, ts-1, te)
    when '\a'; emit(:escape, :bell,           text)
    when '\b'; emit(:escape, :backspace,      text)
    when '\e'; emit(:escape, :escape,         text)
    when '\f'; emit(:escape, :form_feed,      text)
    when '\n'; emit(:escape, :newline,        text)
    when '\r'; emit(:escape, :carriage,       text)
    when '\t'; emit(:escape, :tab,            text)
    when '\v'; emit(:escape, :vertical_tab,   text)
    end
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 29 then
line 316 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    text = copy(data, ts-1, te)
    if text[2].chr == '{'
      emit(:escape, :codepoint_list, text)
    else
      emit(:escape, :codepoint,      text)
    end
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 98 then
line 326 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit(:escape, :hex, copy(data, ts-1, te))
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 25 then
line 335 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit_meta_control_sequence(data, ts, te, :control)
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 27 then
line 340 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit_meta_control_sequence(data, ts, te, :meta_sequence)
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 86 then
line 345 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    p = p - 1;
    cs = ((in_set? ? 129 : 110));
    	begin
stack[top] = cs
top+= 1
cs = 127
_goto_level = _again
next
nd
   end
end
hen 87 then
line 351 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    p = p - 1;
    cs = ((in_set? ? 129 : 110));
    	begin
stack[top] = cs
top+= 1
cs = 128
_goto_level = _again
next
nd
   end
end
hen 23 then
line 357 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit(:escape, :literal, copy(data, ts-1, te))
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 91 then
line 274 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    emit(:escape, :octal, copy(data, ts-1, te))
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 97 then
line 326 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    emit(:escape, :hex, copy(data, ts-1, te))
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 94 then
line 335 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    emit_meta_control_sequence(data, ts, te, :control)
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 96 then
line 340 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    emit_meta_control_sequence(data, ts, te, :meta_sequence)
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 89 then
line 357 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    emit(:escape, :literal, copy(data, ts-1, te))
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 22 then
line 357 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
egin p = ((te))-1; end
egin 
    emit(:escape, :literal, copy(data, ts-1, te))
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 90 then
line 1 "NONE"
begin
ase act
hen 18 then
egin begin p = ((te))-1; end
    text = copy(data, ts-1, te)
    emit(:backref, :number, text)
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
  end
hen 19 then
egin begin p = ((te))-1; end
    emit(:escape, :octal, copy(data, ts-1, te))
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
  end
d 
	end
hen 32 then
line 367 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    text = copy(data, ts, te-1)
    emit(:conditional, :condition, text)
    emit(:conditional, :condition_close, ')')
   end
end
hen 99 then
line 373 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    p = p - 1;
    	begin
stack[top] = cs
top+= 1
cs = 110
_goto_level = _again
next
nd
   end
end
hen 100 then
line 373 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    p = p - 1;
    	begin
stack[top] = cs
top+= 1
cs = 110
_goto_level = _again
next
nd
   end
end
hen 31 then
line 373 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
egin p = ((te))-1; end
egin 
    p = p - 1;
    	begin
stack[top] = cs
top+= 1
cs = 110
_goto_level = _again
next
nd
   end
end
hen 38 then
line 386 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit(:meta, :dot, copy(data, ts, te))
   end
end
hen 43 then
line 390 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    if conditional_stack.last == group_depth
      emit(:conditional, :separator, copy(data, ts, te))
    else
      emit(:meta, :alternation, copy(data, ts, te))
    end
   end
end
hen 42 then
line 400 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit(:anchor, :bol, copy(data, ts, te))
   end
end
hen 35 then
line 404 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit(:anchor, :eol, copy(data, ts, te))
   end
end
hen 63 then
line 408 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit(:keep, :mark, copy(data, ts, te))
   end
end
hen 62 then
line 412 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    case text = copy(data, ts, te)
    when '\\A'; emit(:anchor, :bos,                text)
    when '\\z'; emit(:anchor, :eos,                text)
    when '\\Z'; emit(:anchor, :eos_ob_eol,         text)
    when '\\b'; emit(:anchor, :word_boundary,      text)
    when '\\B'; emit(:anchor, :nonword_boundary,   text)
    when '\\G'; emit(:anchor, :match_start,        text)
    end
   end
end
hen 41 then
line 423 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    append_literal(data, ts, te)
   end
end
hen 52 then
line 438 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    text = copy(data, ts, te)
    conditional_stack << group_depth
    emit(:conditional, :open, text[0..-2])
    emit(:conditional, :condition_open, '(')
    	begin
stack[top] = cs
top+= 1
cs = 151
_goto_level = _again
next
nd
   end
end
hen 53 then
line 469 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    text = copy(data, ts, te)
    if text[2..-1] =~ /([^\-mixdau:]|^$)|-.*([dau])/
      raise InvalidGroupOption.new($1 || "-#{$2}", text)
    end
    emit_options(text)
   end
end
hen 51 then
line 483 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    case text = copy(data, ts, te)
    when '(?=';  emit(:assertion, :lookahead,    text)
    when '(?!';  emit(:assertion, :nlookahead,   text)
    when '(?<='; emit(:assertion, :lookbehind,   text)
    when '(?<!'; emit(:assertion, :nlookbehind,  text)
    end
   end
end
hen 6 then
line 500 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    case text = copy(data, ts, te)
    when '(?:';  emit(:group, :passive,      text)
    when '(?>';  emit(:group, :atomic,       text)
    when '(?~';  emit(:group, :absence,      text)
    when /^\(\?(?:<>|'')/
      validation_error(:group, 'named group', 'name is empty')
    when /^\(\?<[^>]+>/
      emit(:group, :named_ab,  text)
    when /^\(\?'[^']+'/
      emit(:group, :named_sq,  text)
    end
   end
end
hen 9 then
line 541 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    case text = copy(data, ts, te)
    when /^\\([gk])(<>|'')/ # angle brackets
      validation_error(:backref, 'ref/call', 'ref ID is empty')
    # TODO: finer quirks of choosing recursive or non-recursive refs/calls.
    # e.g.: `a-1` is a valid group id: 'aa'[/(?<a-1>a)\g<a-1>/] # => 'aa'
    when /^\\([gk])<[^\p{digit}+\->][^>+\-]*>/ # angle-brackets
      if $1 == 'k'
        emit(:backref, :name_ref_ab, text)
      else
        emit(:backref, :name_call_ab, text)
      end
    when /^\\([gk])'[^\p{digit}+\-'][^'+\-]*'/ # single quotes
      if $1 == 'k'
        emit(:backref, :name_ref_sq, text)
      else
        emit(:backref, :name_call_sq, text)
      end
    when /^\\([gk])<\d+>/ # angle-brackets
      if $1 == 'k'
        emit(:backref, :number_ref_ab, text)
      else
        emit(:backref, :number_call_ab, text)
      end
    when /^\\([gk])'\d+'/ # single quotes
      if $1 == 'k'
        emit(:backref, :number_ref_sq, text)
      else
        emit(:backref, :number_call_sq, text)
      end
    when /^\\(?:g<\+|g<-|(k)<-)\d+>/ # angle-brackets
      if $1 == 'k'
        emit(:backref, :number_rel_ref_ab, text)
      else
        emit(:backref, :number_rel_call_ab, text)
      end
    when /^\\(?:g'\+|g'-|(k)'-)\d+'/ # single quotes
      if $1 == 'k'
        emit(:backref, :number_rel_ref_sq, text)
      else
        emit(:backref, :number_rel_call_sq, text)
      end
    when /^\\k<[^\p{digit}+\->][^>]*[+\-]\d+>/ # angle-brackets
      emit(:backref, :name_recursion_ref_ab, text)
    when /^\\k'[^\p{digit}+\-'][^']*[+\-]\d+'/ # single-quotes
      emit(:backref, :name_recursion_ref_sq, text)
    when /^\\([gk])<[+\-]?\d+[+\-]\d+>/ # angle-brackets
      emit(:backref, :number_recursion_ref_ab, text)
    when /^\\([gk])'[+\-]?\d+[+\-]\d+'/ # single-quotes
      emit(:backref, :number_recursion_ref_sq, text)
    end
   end
end
hen 60 then
line 608 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    case text = copy(data, ts, te)
    when '?' ;  emit(:quantifier, :zero_or_one,            text)
    when '??';  emit(:quantifier, :zero_or_one_reluctant,  text)
    when '?+';  emit(:quantifier, :zero_or_one_possessive, text)
    end
   end
end
hen 56 then
line 616 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    case text = copy(data, ts, te)
    when '*' ;  emit(:quantifier, :zero_or_more,            text)
    when '*?';  emit(:quantifier, :zero_or_more_reluctant,  text)
    when '*+';  emit(:quantifier, :zero_or_more_possessive, text)
    end
   end
end
hen 58 then
line 624 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    case text = copy(data, ts, te)
    when '+' ;  emit(:quantifier, :one_or_more,            text)
    when '+?';  emit(:quantifier, :one_or_more_reluctant,  text)
    when '++';  emit(:quantifier, :one_or_more_possessive, text)
    end
   end
end
hen 66 then
line 632 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit(:quantifier, :interval, copy(data, ts, te))
   end
end
hen 47 then
line 647 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    if free_spacing
      emit(:free_space, :comment, copy(data, ts, te))
    else
      # consume only the pound sign (#) and backtrack to do regular scanning
      append_literal(data, ts, ts + 1)
       begin p = (( ts + 1))-1; end
    end
   end
end
hen 50 then
line 469 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    text = copy(data, ts, te)
    if text[2..-1] =~ /([^\-mixdau:]|^$)|-.*([dau])/
      raise InvalidGroupOption.new($1 || "-#{$2}", text)
    end
    emit_options(text)
   end
end
hen 54 then
line 483 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    case text = copy(data, ts, te)
    when '(?=';  emit(:assertion, :lookahead,    text)
    when '(?!';  emit(:assertion, :nlookahead,   text)
    when '(?<='; emit(:assertion, :lookbehind,   text)
    when '(?<!'; emit(:assertion, :nlookbehind,  text)
    end
   end
end
hen 48 then
line 518 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    text = copy(data, ts, te)
    emit(:group, :capture, text)
   end
end
hen 59 then
line 608 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    case text = copy(data, ts, te)
    when '?' ;  emit(:quantifier, :zero_or_one,            text)
    when '??';  emit(:quantifier, :zero_or_one_reluctant,  text)
    when '?+';  emit(:quantifier, :zero_or_one_possessive, text)
    end
   end
end
hen 55 then
line 616 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    case text = copy(data, ts, te)
    when '*' ;  emit(:quantifier, :zero_or_more,            text)
    when '*?';  emit(:quantifier, :zero_or_more_reluctant,  text)
    when '*+';  emit(:quantifier, :zero_or_more_possessive, text)
    end
   end
end
hen 57 then
line 624 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    case text = copy(data, ts, te)
    when '+' ;  emit(:quantifier, :one_or_more,            text)
    when '+?';  emit(:quantifier, :one_or_more_reluctant,  text)
    when '++';  emit(:quantifier, :one_or_more_possessive, text)
    end
   end
end
hen 65 then
line 632 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    emit(:quantifier, :interval, copy(data, ts, te))
   end
end
hen 64 then
line 637 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    append_literal(data, ts, te)
   end
end
hen 61 then
line 643 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    	begin
stack[top] = cs
top+= 1
cs = 137
_goto_level = _again
next
nd
   end
end
hen 46 then
line 647 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    if free_spacing
      emit(:free_space, :comment, copy(data, ts, te))
    else
      # consume only the pound sign (#) and backtrack to do regular scanning
      append_literal(data, ts, ts + 1)
       begin p = (( ts + 1))-1; end
    end
   end
end
hen 45 then
line 657 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    if free_spacing
      emit(:free_space, :whitespace, copy(data, ts, te))
    else
      append_literal(data, ts, te)
    end
   end
end
hen 44 then
line 668 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    append_literal(data, ts, te)
   end
end
hen 3 then
line 469 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
egin p = ((te))-1; end
egin 
    text = copy(data, ts, te)
    if text[2..-1] =~ /([^\-mixdau:]|^$)|-.*([dau])/
      raise InvalidGroupOption.new($1 || "-#{$2}", text)
    end
    emit_options(text)
   end
end
hen 10 then
line 637 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
egin p = ((te))-1; end
egin 
    append_literal(data, ts, te)
   end
end
hen 8 then
line 643 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
egin p = ((te))-1; end
egin 
    	begin
stack[top] = cs
top+= 1
cs = 137
_goto_level = _again
next
nd
   end
end
hen 1 then
line 1 "NONE"
begin
ase act
hen 0 then
egin	begin
cs = 0
_goto_level = _again
next
nd
d
hen 42 then
egin begin p = ((te))-1; end
    text = copy(data, ts, te)
    if text[2..-1] =~ /([^\-mixdau:]|^$)|-.*([dau])/
      raise InvalidGroupOption.new($1 || "-#{$2}", text)
    end
    emit_options(text)
  end
hen 43 then
egin begin p = ((te))-1; end
    case text = copy(data, ts, te)
    when '(?=';  emit(:assertion, :lookahead,    text)
    when '(?!';  emit(:assertion, :nlookahead,   text)
    when '(?<='; emit(:assertion, :lookbehind,   text)
    when '(?<!'; emit(:assertion, :nlookbehind,  text)
    end
  end
hen 56 then
egin begin p = ((te))-1; end
    append_literal(data, ts, te)
  end
d 
	end
hen 78 then
line 139 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
  text = copy(data, ts ? ts-1 : 0, -1)
  raise PrematureEndError.new( text )
		end
line 213 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    emit(:set, :open, copy(data, ts, te))
    	begin
stack[top] = cs
top+= 1
cs = 129
_goto_level = _again
next
nd
   end
end
hen 17 then
line 139 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
  text = copy(data, ts ? ts-1 : 0, -1)
  raise PrematureEndError.new( text )
		end
line 213 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
egin p = ((te))-1; end
egin 
    emit(:set, :open, copy(data, ts, te))
    	begin
stack[top] = cs
top+= 1
cs = 129
_goto_level = _again
next
nd
   end
end
hen 93 then
line 139 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
  text = copy(data, ts ? ts-1 : 0, -1)
  raise PrematureEndError.new( text )
		end
line 335 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    emit_meta_control_sequence(data, ts, te, :control)
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 95 then
line 139 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
  text = copy(data, ts ? ts-1 : 0, -1)
  raise PrematureEndError.new( text )
		end
line 340 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p
= p - 1; begin 
    emit_meta_control_sequence(data, ts, te, :meta_sequence)
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 26 then
line 139 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
  text = copy(data, ts ? ts-1 : 0, -1)
  raise PrematureEndError.new( text )
		end
line 335 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
egin p = ((te))-1; end
egin 
    emit_meta_control_sequence(data, ts, te, :control)
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 28 then
line 139 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
  text = copy(data, ts ? ts-1 : 0, -1)
  raise PrematureEndError.new( text )
		end
line 340 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
egin p = ((te))-1; end
egin 
    emit_meta_control_sequence(data, ts, te, :meta_sequence)
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 30 then
line 145 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
  text = copy(data, ts ? ts-1 : 0, -1)
  validation_error(:sequence, 'sequence', text)
		end
line 331 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
   end
end
hen 5 then
line 152 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
elf.group_depth = group_depth - 1 		end
line 454 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit(:group, :comment, copy(data, ts, te))
   end
end
hen 37 then
line 152 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
elf.group_depth = group_depth - 1 		end
line 523 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    if conditional_stack.last == group_depth + 1
      conditional_stack.pop
      emit(:conditional, :close, copy(data, ts, te))
    else
      if spacing_stack.length > 1 &&
         spacing_stack.last[:depth] == group_depth + 1
        spacing_stack.pop
        self.free_spacing = spacing_stack.last[:free_spacing]
      end
      emit(:group, :close, copy(data, ts, te))
    end
   end
end
hen 39 then
line 153 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
elf.set_depth   = set_depth   + 1 		end
line 429 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit(:set, :open, copy(data, ts, te))
    	begin
stack[top] = cs
top+= 1
cs = 129
_goto_level = _again
next
nd
   end
end
hen 72 then
line 154 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
elf.set_depth   = set_depth   - 1 		end
line 160 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit(:set, :close, copy(data, ts, te))
    if in_set?
      	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
    else
      	begin
cs = 110
_goto_level = _again
next
nd
    end
   end
end
hen 77 then
line 154 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
elf.set_depth   = set_depth   - 1 		end
line 169 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin  # special case, emits two tokens
    emit(:literal, :literal, copy(data, ts, te-1))
    emit(:set, :close, copy(data, ts+1, te))
    if in_set?
      	begin
top -= 1
cs = stack[top]
_goto_level = _again
next
nd
    else
      	begin
cs = 110
_goto_level = _again
next
nd
    end
   end
end
hen 20 then
line 154 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
elf.set_depth   = set_depth   - 1 		end
line 218 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    text = copy(data, ts, te)
    type = :posixclass
    class_name = text[2..-3]
    if class_name[0].chr == '^'
      class_name = class_name[1..-1]
      type = :nonposixclass
    end
    emit(type, class_name.to_sym, text)
   end
end
hen 19 then
line 154 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
elf.set_depth   = set_depth   - 1 		end
line 231 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit(:set, :collation, copy(data, ts, te))
   end
end
hen 21 then
line 154 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
elf.set_depth   = set_depth   - 1 		end
line 235 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
 = p+1
egin 
    emit(:set, :equivalent, copy(data, ts, te))
   end
end
hen 70 then
line 1 "NONE"
begin
 = p+1
end
line 153 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
elf.set_depth   = set_depth   + 1 		end
hen 84 then
line 1 "NONE"
begin
 = p+1
end
line 268 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
t = 18;		end
hen 83 then
line 1 "NONE"
begin
 = p+1
end
line 274 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
t = 19;		end
hen 7 then
line 1 "NONE"
begin
 = p+1
end
line 483 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
t = 43;		end
hen 2 then
line 1 "NONE"
begin
 = p+1
end
line 668 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
t = 56;		end
hen 49 then
line 1 "NONE"
begin
 = p+1
end
line 152 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
elf.group_depth = group_depth - 1 		end
line 151 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
elf.group_depth = group_depth + 1 		end
line 469 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
t = 42;		end
line 2570 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner.rb"
nd
nd
nd
f _goto_level <= _again
ase _re_scanner_to_state_actions[cs] 
hen 67 then
line 1 "NONE"
begin
 = nil;		end
hen 33 then
line 1 "NONE"
begin
 = nil;		end
line 1 "NONE"
begin
t = 0
end
line 2588 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner.rb"
nd
f cs == 0
_goto_level = _out
next
nd
 += 1
f p != pe
_goto_level = _resume
next
nd
nd
f _goto_level <= _test_eof
f p == eof
f _re_scanner_eof_trans[cs] > 0
_trans = _re_scanner_eof_trans[cs] - 1;
_goto_level = _eof_trans
next;
nd
 case _re_scanner_eof_actions[cs]
hen 11 then
line 8 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/property.rl"
begin
  raise PrematureEndError.new('unicode property')
		end
hen 24 then
line 139 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
begin
  text = copy(data, ts ? ts-1 : 0, -1)
  raise PrematureEndError.new( text )
		end
line 2622 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner.rb"
 end
nd
nd
f _goto_level <= _out
break
nd
d
nd
line 763 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
  # to avoid "warning: assigned but unused variable - testEof"
  testEof = testEof
  if cs == re_scanner_error
    text = copy(data, ts ? ts-1 : 0, -1)
    raise ScannerError.new("Scan error at '#{text}'")
  end
  raise PrematureEndError.new("(missing group closing paranthesis) "+
        "[#{group_depth}]") if in_group?
  raise PrematureEndError.new("(missing set closing bracket) "+
        "[#{set_depth}]") if in_set?
  # when the entire expression is a literal run
  emit_literal if literal
  tokens
end

def validation_error(type, what, reason)

errors.
Centralizes and unifies the handling of validation related
def validation_error(type, what, reason)
  case type
  when :group
    error = InvalidGroupError.new(what, reason)
  when :backref
    error = InvalidBackrefError.new(what, reason)
  when :sequence
    error = InvalidSequenceError.new(what, reason)
  end
  raise error # unless @@config.validation_ignore
end