gherkin 2.4.18 → 2.4.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. data/Gemfile.lock +6 -7
  2. data/History.md +9 -0
  3. data/README.md +2 -2
  4. data/ext/gherkin_lexer_ar/extconf.rb +6 -0
  5. data/ext/gherkin_lexer_ar/gherkin_lexer_ar.c +1428 -0
  6. data/ext/gherkin_lexer_bg/extconf.rb +6 -0
  7. data/ext/gherkin_lexer_bg/gherkin_lexer_bg.c +1654 -0
  8. data/ext/gherkin_lexer_ca/extconf.rb +6 -0
  9. data/ext/gherkin_lexer_ca/gherkin_lexer_ca.c +1580 -0
  10. data/ext/gherkin_lexer_cs/extconf.rb +6 -0
  11. data/ext/gherkin_lexer_cs/gherkin_lexer_cs.c +1426 -0
  12. data/ext/gherkin_lexer_cy_gb/extconf.rb +6 -0
  13. data/ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.c +1281 -0
  14. data/ext/gherkin_lexer_da/extconf.rb +6 -0
  15. data/ext/gherkin_lexer_da/gherkin_lexer_da.c +1297 -0
  16. data/ext/gherkin_lexer_de/extconf.rb +6 -0
  17. data/ext/gherkin_lexer_de/gherkin_lexer_de.c +1414 -0
  18. data/ext/gherkin_lexer_en/extconf.rb +6 -0
  19. data/ext/gherkin_lexer_en/gherkin_lexer_en.c +1264 -0
  20. data/ext/gherkin_lexer_en_au/extconf.rb +6 -0
  21. data/ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c +1225 -0
  22. data/ext/gherkin_lexer_en_lol/extconf.rb +6 -0
  23. data/ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c +1174 -0
  24. data/ext/gherkin_lexer_en_pirate/extconf.rb +6 -0
  25. data/ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.c +1470 -0
  26. data/ext/gherkin_lexer_en_scouse/extconf.rb +6 -0
  27. data/ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.c +1631 -0
  28. data/ext/gherkin_lexer_en_tx/extconf.rb +6 -0
  29. data/ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.c +1264 -0
  30. data/ext/gherkin_lexer_eo/extconf.rb +6 -0
  31. data/ext/gherkin_lexer_eo/gherkin_lexer_eo.c +1240 -0
  32. data/ext/gherkin_lexer_es/extconf.rb +6 -0
  33. data/ext/gherkin_lexer_es/gherkin_lexer_es.c +1379 -0
  34. data/ext/gherkin_lexer_et/extconf.rb +6 -0
  35. data/ext/gherkin_lexer_et/gherkin_lexer_et.c +1235 -0
  36. data/ext/gherkin_lexer_fi/extconf.rb +6 -0
  37. data/ext/gherkin_lexer_fi/gherkin_lexer_fi.c +1214 -0
  38. data/ext/gherkin_lexer_fr/extconf.rb +6 -0
  39. data/ext/gherkin_lexer_fr/gherkin_lexer_fr.c +1450 -0
  40. data/ext/gherkin_lexer_he/extconf.rb +6 -0
  41. data/ext/gherkin_lexer_he/gherkin_lexer_he.c +1373 -0
  42. data/ext/gherkin_lexer_hr/extconf.rb +6 -0
  43. data/ext/gherkin_lexer_hr/gherkin_lexer_hr.c +1322 -0
  44. data/ext/gherkin_lexer_hu/extconf.rb +6 -0
  45. data/ext/gherkin_lexer_hu/gherkin_lexer_hu.c +1373 -0
  46. data/ext/gherkin_lexer_id/extconf.rb +6 -0
  47. data/ext/gherkin_lexer_id/gherkin_lexer_id.c +1207 -0
  48. data/ext/gherkin_lexer_is/extconf.rb +6 -0
  49. data/ext/gherkin_lexer_is/gherkin_lexer_is.c +1375 -0
  50. data/ext/gherkin_lexer_it/extconf.rb +6 -0
  51. data/ext/gherkin_lexer_it/gherkin_lexer_it.c +1331 -0
  52. data/ext/gherkin_lexer_ja/extconf.rb +6 -0
  53. data/ext/gherkin_lexer_ja/gherkin_lexer_ja.c +1698 -0
  54. data/ext/gherkin_lexer_ko/extconf.rb +6 -0
  55. data/ext/gherkin_lexer_ko/gherkin_lexer_ko.c +1359 -0
  56. data/ext/gherkin_lexer_lt/extconf.rb +6 -0
  57. data/ext/gherkin_lexer_lt/gherkin_lexer_lt.c +1294 -0
  58. data/ext/gherkin_lexer_lu/extconf.rb +6 -0
  59. data/ext/gherkin_lexer_lu/gherkin_lexer_lu.c +1388 -0
  60. data/ext/gherkin_lexer_lv/extconf.rb +6 -0
  61. data/ext/gherkin_lexer_lv/gherkin_lexer_lv.c +1424 -0
  62. data/ext/gherkin_lexer_nl/extconf.rb +6 -0
  63. data/ext/gherkin_lexer_nl/gherkin_lexer_nl.c +1367 -0
  64. data/ext/gherkin_lexer_no/extconf.rb +6 -0
  65. data/ext/gherkin_lexer_no/gherkin_lexer_no.c +1310 -0
  66. data/ext/gherkin_lexer_pl/extconf.rb +6 -0
  67. data/ext/gherkin_lexer_pl/gherkin_lexer_pl.c +1476 -0
  68. data/ext/gherkin_lexer_pt/extconf.rb +6 -0
  69. data/ext/gherkin_lexer_pt/gherkin_lexer_pt.c +1326 -0
  70. data/ext/gherkin_lexer_ro/extconf.rb +6 -0
  71. data/ext/gherkin_lexer_ro/gherkin_lexer_ro.c +1424 -0
  72. data/ext/gherkin_lexer_ru/extconf.rb +6 -0
  73. data/ext/gherkin_lexer_ru/gherkin_lexer_ru.c +2056 -0
  74. data/ext/gherkin_lexer_sk/extconf.rb +6 -0
  75. data/ext/gherkin_lexer_sk/gherkin_lexer_sk.c +1297 -0
  76. data/ext/gherkin_lexer_sr_cyrl/extconf.rb +6 -0
  77. data/ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c +2111 -0
  78. data/ext/gherkin_lexer_sr_latn/extconf.rb +6 -0
  79. data/ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c +1566 -0
  80. data/ext/gherkin_lexer_sv/extconf.rb +6 -0
  81. data/ext/gherkin_lexer_sv/gherkin_lexer_sv.c +1323 -0
  82. data/ext/gherkin_lexer_tr/extconf.rb +6 -0
  83. data/ext/gherkin_lexer_tr/gherkin_lexer_tr.c +1346 -0
  84. data/ext/gherkin_lexer_uk/extconf.rb +6 -0
  85. data/ext/gherkin_lexer_uk/gherkin_lexer_uk.c +1940 -0
  86. data/ext/gherkin_lexer_uz/extconf.rb +6 -0
  87. data/ext/gherkin_lexer_uz/gherkin_lexer_uz.c +1650 -0
  88. data/ext/gherkin_lexer_vi/extconf.rb +6 -0
  89. data/ext/gherkin_lexer_vi/gherkin_lexer_vi.c +1457 -0
  90. data/ext/gherkin_lexer_zh_cn/extconf.rb +6 -0
  91. data/ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c +1222 -0
  92. data/ext/gherkin_lexer_zh_tw/extconf.rb +6 -0
  93. data/ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c +1264 -0
  94. data/gherkin.gemspec +9 -3
  95. data/lib/gherkin/formatter/filter_formatter.rb +6 -1
  96. data/lib/gherkin/rb_lexer/ar.rb +1162 -0
  97. data/lib/gherkin/rb_lexer/bg.rb +1374 -0
  98. data/lib/gherkin/rb_lexer/ca.rb +1304 -0
  99. data/lib/gherkin/rb_lexer/cs.rb +1156 -0
  100. data/lib/gherkin/rb_lexer/cy_gb.rb +1026 -0
  101. data/lib/gherkin/rb_lexer/da.rb +1040 -0
  102. data/lib/gherkin/rb_lexer/de.rb +1150 -0
  103. data/lib/gherkin/rb_lexer/en.rb +1008 -0
  104. data/lib/gherkin/rb_lexer/en_au.rb +972 -0
  105. data/lib/gherkin/rb_lexer/en_lol.rb +927 -0
  106. data/lib/gherkin/rb_lexer/en_pirate.rb +1204 -0
  107. data/lib/gherkin/rb_lexer/en_scouse.rb +1355 -0
  108. data/lib/gherkin/rb_lexer/en_tx.rb +1010 -0
  109. data/lib/gherkin/rb_lexer/eo.rb +989 -0
  110. data/lib/gherkin/rb_lexer/es.rb +1116 -0
  111. data/lib/gherkin/rb_lexer/et.rb +982 -0
  112. data/lib/gherkin/rb_lexer/fi.rb +963 -0
  113. data/lib/gherkin/rb_lexer/fr.rb +1184 -0
  114. data/lib/gherkin/rb_lexer/he.rb +1110 -0
  115. data/lib/gherkin/rb_lexer/hr.rb +1060 -0
  116. data/lib/gherkin/rb_lexer/hu.rb +1111 -0
  117. data/lib/gherkin/rb_lexer/id.rb +957 -0
  118. data/lib/gherkin/rb_lexer/is.rb +1114 -0
  119. data/lib/gherkin/rb_lexer/it.rb +1075 -0
  120. data/lib/gherkin/rb_lexer/ja.rb +1412 -0
  121. data/lib/gherkin/rb_lexer/ko.rb +1096 -0
  122. data/lib/gherkin/rb_lexer/lt.rb +1038 -0
  123. data/lib/gherkin/rb_lexer/lu.rb +1126 -0
  124. data/lib/gherkin/rb_lexer/lv.rb +1158 -0
  125. data/lib/gherkin/rb_lexer/nl.rb +1109 -0
  126. data/lib/gherkin/rb_lexer/no.rb +1052 -0
  127. data/lib/gherkin/rb_lexer/pl.rb +1208 -0
  128. data/lib/gherkin/rb_lexer/pt.rb +1066 -0
  129. data/lib/gherkin/rb_lexer/ro.rb +1155 -0
  130. data/lib/gherkin/rb_lexer/ru.rb +1747 -0
  131. data/lib/gherkin/rb_lexer/sk.rb +1040 -0
  132. data/lib/gherkin/rb_lexer/sr_cyrl.rb +1797 -0
  133. data/lib/gherkin/rb_lexer/sr_latn.rb +1288 -0
  134. data/lib/gherkin/rb_lexer/sv.rb +1064 -0
  135. data/lib/gherkin/rb_lexer/tr.rb +1086 -0
  136. data/lib/gherkin/rb_lexer/uk.rb +1640 -0
  137. data/lib/gherkin/rb_lexer/uz.rb +1370 -0
  138. data/lib/gherkin/rb_lexer/vi.rb +1190 -0
  139. data/lib/gherkin/rb_lexer/zh_cn.rb +968 -0
  140. data/lib/gherkin/rb_lexer/zh_tw.rb +1006 -0
  141. data/spec/gherkin/fixtures/examples_with_only_header.feature +14 -0
  142. data/spec/gherkin/formatter/filter_formatter_spec.rb +21 -0
  143. data/tasks/gems.rake +9 -1
  144. metadata +30 -39
  145. data/.gitignore +0 -13
  146. data/ikvm/.gitignore +0 -3
  147. data/java/.gitignore +0 -5
  148. data/java/src/main/java/gherkin/lexer/i18n/.gitignore +0 -1
  149. data/java/src/main/resources/gherkin/.gitignore +0 -1
  150. data/js/.gitignore +0 -1
  151. data/js/lib/gherkin/lexer/.gitignore +0 -1
  152. data/lib/.gitignore +0 -4
  153. data/lib/gherkin/rb_lexer/.gitignore +0 -1
  154. data/ragel/i18n/.gitignore +0 -1
  155. data/tasks/bench/generated/.gitignore +0 -1
@@ -0,0 +1,1040 @@
1
+
2
+ # line 1 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
3
+ require 'gherkin/lexer/i18n_lexer'
4
+
5
+ module Gherkin
6
+ module RbLexer
7
+ class Da #:nodoc:
8
+
9
+ # line 123 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
10
+
11
+
12
+ def initialize(listener)
13
+ @listener = listener
14
+
15
+ # line 16 "lib/gherkin/rb_lexer/da.rb"
16
+ class << self
17
+ attr_accessor :_lexer_actions
18
+ private :_lexer_actions, :_lexer_actions=
19
+ end
20
+ self._lexer_actions = [
21
+ 0, 1, 0, 1, 1, 1, 2, 1,
22
+ 3, 1, 4, 1, 5, 1, 6, 1,
23
+ 7, 1, 8, 1, 9, 1, 10, 1,
24
+ 11, 1, 12, 1, 13, 1, 16, 1,
25
+ 17, 1, 18, 1, 19, 1, 20, 1,
26
+ 21, 1, 22, 1, 23, 2, 2, 18,
27
+ 2, 3, 4, 2, 13, 0, 2, 14,
28
+ 15, 2, 17, 0, 2, 17, 1, 2,
29
+ 17, 16, 2, 17, 19, 2, 18, 6,
30
+ 2, 18, 7, 2, 18, 8, 2, 18,
31
+ 9, 2, 18, 10, 2, 18, 16, 2,
32
+ 20, 21, 2, 22, 0, 2, 22, 1,
33
+ 2, 22, 16, 2, 22, 19, 3, 4,
34
+ 14, 15, 3, 5, 14, 15, 3, 11,
35
+ 14, 15, 3, 12, 14, 15, 3, 13,
36
+ 14, 15, 3, 14, 15, 18, 3, 17,
37
+ 14, 15, 4, 2, 14, 15, 18, 4,
38
+ 3, 4, 14, 15, 4, 17, 0, 14,
39
+ 15
40
+ ]
41
+
42
+ class << self
43
+ attr_accessor :_lexer_key_offsets
44
+ private :_lexer_key_offsets, :_lexer_key_offsets=
45
+ end
46
+ self._lexer_key_offsets = [
47
+ 0, 0, 19, 20, 21, 39, 40, 41,
48
+ 43, 45, 50, 55, 60, 65, 69, 73,
49
+ 75, 76, 77, 78, 79, 80, 81, 82,
50
+ 83, 84, 85, 86, 87, 88, 89, 90,
51
+ 91, 92, 94, 99, 106, 111, 112, 113,
52
+ 114, 115, 116, 117, 118, 119, 120, 121,
53
+ 122, 123, 124, 125, 126, 127, 128, 129,
54
+ 130, 144, 146, 148, 150, 152, 154, 156,
55
+ 158, 160, 162, 164, 166, 168, 170, 172,
56
+ 174, 192, 193, 194, 195, 196, 197, 198,
57
+ 199, 200, 201, 202, 217, 219, 221, 223,
58
+ 225, 227, 229, 231, 233, 235, 237, 239,
59
+ 241, 243, 245, 247, 249, 251, 253, 255,
60
+ 257, 259, 261, 263, 265, 267, 269, 271,
61
+ 273, 275, 277, 279, 281, 283, 285, 287,
62
+ 289, 291, 293, 295, 297, 299, 301, 303,
63
+ 305, 307, 309, 311, 313, 315, 318, 320,
64
+ 322, 324, 326, 328, 330, 332, 334, 335,
65
+ 336, 337, 338, 339, 340, 341, 342, 343,
66
+ 354, 356, 358, 360, 362, 364, 366, 368,
67
+ 370, 372, 374, 376, 378, 380, 382, 384,
68
+ 386, 388, 390, 392, 394, 396, 398, 400,
69
+ 402, 404, 406, 408, 410, 412, 414, 416,
70
+ 418, 420, 422, 424, 426, 428, 430, 433,
71
+ 435, 437, 439, 441, 443, 445, 447, 449,
72
+ 451, 453, 455, 457, 459, 461, 463, 465,
73
+ 467, 469, 471, 473, 474, 475, 476, 477,
74
+ 478, 479, 480, 481, 482, 483, 490, 492,
75
+ 494, 496, 498, 500, 502, 504, 506, 507,
76
+ 508, 509, 510, 511, 512, 513, 514, 515,
77
+ 516, 518, 519, 520, 521, 522, 523, 524,
78
+ 525, 526, 527, 528, 544, 546, 548, 550,
79
+ 552, 554, 556, 558, 560, 562, 564, 566,
80
+ 568, 570, 572, 574, 576, 578, 580, 582,
81
+ 584, 586, 588, 590, 592, 594, 596, 598,
82
+ 600, 602, 604, 606, 608, 610, 612, 614,
83
+ 616, 618, 620, 622, 624, 626, 628, 630,
84
+ 632, 634, 636, 638, 640, 642, 644, 646,
85
+ 648, 650, 652, 654, 656, 659, 661, 663,
86
+ 665, 667, 669, 671, 673, 677, 683, 686,
87
+ 688, 694, 712, 714, 716, 718, 720, 722,
88
+ 724, 726, 728, 730, 732, 734, 736, 738,
89
+ 740, 742, 744, 746, 748, 751, 753, 755,
90
+ 757, 759, 761, 763, 765
91
+ ]
92
+
93
+ class << self
94
+ attr_accessor :_lexer_trans_keys
95
+ private :_lexer_trans_keys, :_lexer_trans_keys=
96
+ end
97
+ self._lexer_trans_keys = [
98
+ -17, 10, 32, 34, 35, 37, 42, 64,
99
+ 65, 66, 69, 71, 77, 78, 79, 83,
100
+ 124, 9, 13, -69, -65, 10, 32, 34,
101
+ 35, 37, 42, 64, 65, 66, 69, 71,
102
+ 77, 78, 79, 83, 124, 9, 13, 34,
103
+ 34, 10, 13, 10, 13, 10, 32, 34,
104
+ 9, 13, 10, 32, 34, 9, 13, 10,
105
+ 32, 34, 9, 13, 10, 32, 34, 9,
106
+ 13, 10, 32, 9, 13, 10, 32, 9,
107
+ 13, 10, 13, 10, 95, 70, 69, 65,
108
+ 84, 85, 82, 69, 95, 69, 78, 68,
109
+ 95, 37, 32, 10, 10, 13, 13, 32,
110
+ 64, 9, 10, 9, 10, 13, 32, 64,
111
+ 11, 12, 10, 32, 64, 9, 13, 98,
112
+ 115, 116, 114, 97, 107, 116, 32, 83,
113
+ 99, 101, 110, 97, 114, 105, 111, 58,
114
+ 10, 10, 10, 32, 35, 37, 42, 64,
115
+ 69, 71, 77, 78, 79, 83, 9, 13,
116
+ 10, 95, 10, 70, 10, 69, 10, 65,
117
+ 10, 84, 10, 85, 10, 82, 10, 69,
118
+ 10, 95, 10, 69, 10, 78, 10, 68,
119
+ 10, 95, 10, 37, 10, 32, 10, 32,
120
+ 34, 35, 37, 42, 64, 65, 66, 69,
121
+ 71, 77, 78, 79, 83, 124, 9, 13,
122
+ 97, 103, 103, 114, 117, 110, 100, 58,
123
+ 10, 10, 10, 32, 35, 37, 42, 64,
124
+ 65, 69, 71, 77, 78, 79, 83, 9,
125
+ 13, 10, 95, 10, 70, 10, 69, 10,
126
+ 65, 10, 84, 10, 85, 10, 82, 10,
127
+ 69, 10, 95, 10, 69, 10, 78, 10,
128
+ 68, 10, 95, 10, 37, 10, 32, 10,
129
+ 98, 10, 115, 10, 116, 10, 114, 10,
130
+ 97, 10, 107, 10, 116, 10, 32, 10,
131
+ 83, 10, 99, 10, 101, 10, 110, 10,
132
+ 97, 10, 114, 10, 105, 10, 111, 10,
133
+ 58, 10, 103, 10, 101, 10, 110, 10,
134
+ 115, 10, 107, 10, 97, 10, 98, 10,
135
+ 105, 10, 118, 10, 101, 10, 116, 10,
136
+ 101, 10, 110, -61, 10, -91, 10, 10,
137
+ 114, 10, 103, -61, 10, 99, -91, 10,
138
+ 10, 101, 10, 110, 10, 97, 10, 114,
139
+ 10, 105, 10, 101, 103, 107, 101, 110,
140
+ 115, 107, 97, 98, 58, 10, 10, 10,
141
+ 32, 35, 37, 64, 65, 66, 69, 83,
142
+ 9, 13, 10, 95, 10, 70, 10, 69,
143
+ 10, 65, 10, 84, 10, 85, 10, 82,
144
+ 10, 69, 10, 95, 10, 69, 10, 78,
145
+ 10, 68, 10, 95, 10, 37, 10, 98,
146
+ 10, 115, 10, 116, 10, 114, 10, 97,
147
+ 10, 107, 10, 116, 10, 32, 10, 83,
148
+ 10, 99, 10, 101, 10, 110, 10, 97,
149
+ 10, 114, 10, 105, 10, 111, 10, 58,
150
+ 10, 97, 10, 103, 10, 103, 10, 114,
151
+ 10, 117, 10, 110, 10, 100, 10, 103,
152
+ 107, 10, 101, 10, 110, 10, 115, 10,
153
+ 107, 10, 97, 10, 98, 10, 115, 10,
154
+ 101, 10, 109, 10, 112, 10, 108, 10,
155
+ 101, 10, 114, 10, 99, 10, 101, 10,
156
+ 110, 10, 97, 10, 114, 10, 105, 10,
157
+ 101, 115, 101, 109, 112, 108, 101, 114,
158
+ 58, 10, 10, 10, 32, 35, 69, 124,
159
+ 9, 13, 10, 103, 10, 101, 10, 110,
160
+ 10, 115, 10, 107, 10, 97, 10, 98,
161
+ 10, 58, 105, 118, 101, 116, 101, 110,
162
+ -61, -91, 114, 103, -61, 99, -91, 101,
163
+ 110, 97, 114, 105, 101, 58, 10, 10,
164
+ 10, 32, 35, 37, 42, 64, 65, 66,
165
+ 69, 71, 77, 78, 79, 83, 9, 13,
166
+ 10, 95, 10, 70, 10, 69, 10, 65,
167
+ 10, 84, 10, 85, 10, 82, 10, 69,
168
+ 10, 95, 10, 69, 10, 78, 10, 68,
169
+ 10, 95, 10, 37, 10, 32, 10, 98,
170
+ 10, 115, 10, 116, 10, 114, 10, 97,
171
+ 10, 107, 10, 116, 10, 32, 10, 83,
172
+ 10, 99, 10, 101, 10, 110, 10, 97,
173
+ 10, 114, 10, 105, 10, 111, 10, 58,
174
+ 10, 97, 10, 103, 10, 103, 10, 114,
175
+ 10, 117, 10, 110, 10, 100, 10, 103,
176
+ 10, 101, 10, 110, 10, 115, 10, 107,
177
+ 10, 97, 10, 98, 10, 105, 10, 118,
178
+ 10, 101, 10, 116, 10, 101, 10, 110,
179
+ -61, 10, -91, 10, 10, 114, 10, 103,
180
+ -61, 10, 99, -91, 10, 10, 101, 10,
181
+ 110, 10, 97, 10, 114, 10, 105, 10,
182
+ 101, 32, 124, 9, 13, 10, 32, 92,
183
+ 124, 9, 13, 10, 92, 124, 10, 92,
184
+ 10, 32, 92, 124, 9, 13, 10, 32,
185
+ 34, 35, 37, 42, 64, 65, 66, 69,
186
+ 71, 77, 78, 79, 83, 124, 9, 13,
187
+ 10, 103, 10, 101, 10, 110, 10, 115,
188
+ 10, 107, 10, 97, 10, 98, 10, 58,
189
+ 10, 105, 10, 118, 10, 101, 10, 116,
190
+ 10, 101, 10, 110, -61, 10, -91, 10,
191
+ 10, 114, 10, 103, -61, 10, 99, -91,
192
+ 10, 10, 101, 10, 110, 10, 97, 10,
193
+ 114, 10, 105, 10, 101, 0
194
+ ]
195
+
196
+ class << self
197
+ attr_accessor :_lexer_single_lengths
198
+ private :_lexer_single_lengths, :_lexer_single_lengths=
199
+ end
200
+ self._lexer_single_lengths = [
201
+ 0, 17, 1, 1, 16, 1, 1, 2,
202
+ 2, 3, 3, 3, 3, 2, 2, 2,
203
+ 1, 1, 1, 1, 1, 1, 1, 1,
204
+ 1, 1, 1, 1, 1, 1, 1, 1,
205
+ 1, 2, 3, 5, 3, 1, 1, 1,
206
+ 1, 1, 1, 1, 1, 1, 1, 1,
207
+ 1, 1, 1, 1, 1, 1, 1, 1,
208
+ 12, 2, 2, 2, 2, 2, 2, 2,
209
+ 2, 2, 2, 2, 2, 2, 2, 2,
210
+ 16, 1, 1, 1, 1, 1, 1, 1,
211
+ 1, 1, 1, 13, 2, 2, 2, 2,
212
+ 2, 2, 2, 2, 2, 2, 2, 2,
213
+ 2, 2, 2, 2, 2, 2, 2, 2,
214
+ 2, 2, 2, 2, 2, 2, 2, 2,
215
+ 2, 2, 2, 2, 2, 2, 2, 2,
216
+ 2, 2, 2, 2, 2, 2, 2, 2,
217
+ 2, 2, 2, 2, 2, 3, 2, 2,
218
+ 2, 2, 2, 2, 2, 2, 1, 1,
219
+ 1, 1, 1, 1, 1, 1, 1, 9,
220
+ 2, 2, 2, 2, 2, 2, 2, 2,
221
+ 2, 2, 2, 2, 2, 2, 2, 2,
222
+ 2, 2, 2, 2, 2, 2, 2, 2,
223
+ 2, 2, 2, 2, 2, 2, 2, 2,
224
+ 2, 2, 2, 2, 2, 2, 3, 2,
225
+ 2, 2, 2, 2, 2, 2, 2, 2,
226
+ 2, 2, 2, 2, 2, 2, 2, 2,
227
+ 2, 2, 2, 1, 1, 1, 1, 1,
228
+ 1, 1, 1, 1, 1, 5, 2, 2,
229
+ 2, 2, 2, 2, 2, 2, 1, 1,
230
+ 1, 1, 1, 1, 1, 1, 1, 1,
231
+ 2, 1, 1, 1, 1, 1, 1, 1,
232
+ 1, 1, 1, 14, 2, 2, 2, 2,
233
+ 2, 2, 2, 2, 2, 2, 2, 2,
234
+ 2, 2, 2, 2, 2, 2, 2, 2,
235
+ 2, 2, 2, 2, 2, 2, 2, 2,
236
+ 2, 2, 2, 2, 2, 2, 2, 2,
237
+ 2, 2, 2, 2, 2, 2, 2, 2,
238
+ 2, 2, 2, 2, 2, 2, 2, 2,
239
+ 2, 2, 2, 2, 3, 2, 2, 2,
240
+ 2, 2, 2, 2, 2, 4, 3, 2,
241
+ 4, 16, 2, 2, 2, 2, 2, 2,
242
+ 2, 2, 2, 2, 2, 2, 2, 2,
243
+ 2, 2, 2, 2, 3, 2, 2, 2,
244
+ 2, 2, 2, 2, 0
245
+ ]
246
+
247
+ class << self
248
+ attr_accessor :_lexer_range_lengths
249
+ private :_lexer_range_lengths, :_lexer_range_lengths=
250
+ end
251
+ self._lexer_range_lengths = [
252
+ 0, 1, 0, 0, 1, 0, 0, 0,
253
+ 0, 1, 1, 1, 1, 1, 1, 0,
254
+ 0, 0, 0, 0, 0, 0, 0, 0,
255
+ 0, 0, 0, 0, 0, 0, 0, 0,
256
+ 0, 0, 1, 1, 1, 0, 0, 0,
257
+ 0, 0, 0, 0, 0, 0, 0, 0,
258
+ 0, 0, 0, 0, 0, 0, 0, 0,
259
+ 1, 0, 0, 0, 0, 0, 0, 0,
260
+ 0, 0, 0, 0, 0, 0, 0, 0,
261
+ 1, 0, 0, 0, 0, 0, 0, 0,
262
+ 0, 0, 0, 1, 0, 0, 0, 0,
263
+ 0, 0, 0, 0, 0, 0, 0, 0,
264
+ 0, 0, 0, 0, 0, 0, 0, 0,
265
+ 0, 0, 0, 0, 0, 0, 0, 0,
266
+ 0, 0, 0, 0, 0, 0, 0, 0,
267
+ 0, 0, 0, 0, 0, 0, 0, 0,
268
+ 0, 0, 0, 0, 0, 0, 0, 0,
269
+ 0, 0, 0, 0, 0, 0, 0, 0,
270
+ 0, 0, 0, 0, 0, 0, 0, 1,
271
+ 0, 0, 0, 0, 0, 0, 0, 0,
272
+ 0, 0, 0, 0, 0, 0, 0, 0,
273
+ 0, 0, 0, 0, 0, 0, 0, 0,
274
+ 0, 0, 0, 0, 0, 0, 0, 0,
275
+ 0, 0, 0, 0, 0, 0, 0, 0,
276
+ 0, 0, 0, 0, 0, 0, 0, 0,
277
+ 0, 0, 0, 0, 0, 0, 0, 0,
278
+ 0, 0, 0, 0, 0, 0, 0, 0,
279
+ 0, 0, 0, 0, 0, 1, 0, 0,
280
+ 0, 0, 0, 0, 0, 0, 0, 0,
281
+ 0, 0, 0, 0, 0, 0, 0, 0,
282
+ 0, 0, 0, 0, 0, 0, 0, 0,
283
+ 0, 0, 0, 1, 0, 0, 0, 0,
284
+ 0, 0, 0, 0, 0, 0, 0, 0,
285
+ 0, 0, 0, 0, 0, 0, 0, 0,
286
+ 0, 0, 0, 0, 0, 0, 0, 0,
287
+ 0, 0, 0, 0, 0, 0, 0, 0,
288
+ 0, 0, 0, 0, 0, 0, 0, 0,
289
+ 0, 0, 0, 0, 0, 0, 0, 0,
290
+ 0, 0, 0, 0, 0, 0, 0, 0,
291
+ 0, 0, 0, 0, 1, 1, 0, 0,
292
+ 1, 1, 0, 0, 0, 0, 0, 0,
293
+ 0, 0, 0, 0, 0, 0, 0, 0,
294
+ 0, 0, 0, 0, 0, 0, 0, 0,
295
+ 0, 0, 0, 0, 0
296
+ ]
297
+
298
+ class << self
299
+ attr_accessor :_lexer_index_offsets
300
+ private :_lexer_index_offsets, :_lexer_index_offsets=
301
+ end
302
+ self._lexer_index_offsets = [
303
+ 0, 0, 19, 21, 23, 41, 43, 45,
304
+ 48, 51, 56, 61, 66, 71, 75, 79,
305
+ 82, 84, 86, 88, 90, 92, 94, 96,
306
+ 98, 100, 102, 104, 106, 108, 110, 112,
307
+ 114, 116, 119, 124, 131, 136, 138, 140,
308
+ 142, 144, 146, 148, 150, 152, 154, 156,
309
+ 158, 160, 162, 164, 166, 168, 170, 172,
310
+ 174, 188, 191, 194, 197, 200, 203, 206,
311
+ 209, 212, 215, 218, 221, 224, 227, 230,
312
+ 233, 251, 253, 255, 257, 259, 261, 263,
313
+ 265, 267, 269, 271, 286, 289, 292, 295,
314
+ 298, 301, 304, 307, 310, 313, 316, 319,
315
+ 322, 325, 328, 331, 334, 337, 340, 343,
316
+ 346, 349, 352, 355, 358, 361, 364, 367,
317
+ 370, 373, 376, 379, 382, 385, 388, 391,
318
+ 394, 397, 400, 403, 406, 409, 412, 415,
319
+ 418, 421, 424, 427, 430, 433, 437, 440,
320
+ 443, 446, 449, 452, 455, 458, 461, 463,
321
+ 465, 467, 469, 471, 473, 475, 477, 479,
322
+ 490, 493, 496, 499, 502, 505, 508, 511,
323
+ 514, 517, 520, 523, 526, 529, 532, 535,
324
+ 538, 541, 544, 547, 550, 553, 556, 559,
325
+ 562, 565, 568, 571, 574, 577, 580, 583,
326
+ 586, 589, 592, 595, 598, 601, 604, 608,
327
+ 611, 614, 617, 620, 623, 626, 629, 632,
328
+ 635, 638, 641, 644, 647, 650, 653, 656,
329
+ 659, 662, 665, 668, 670, 672, 674, 676,
330
+ 678, 680, 682, 684, 686, 688, 695, 698,
331
+ 701, 704, 707, 710, 713, 716, 719, 721,
332
+ 723, 725, 727, 729, 731, 733, 735, 737,
333
+ 739, 742, 744, 746, 748, 750, 752, 754,
334
+ 756, 758, 760, 762, 778, 781, 784, 787,
335
+ 790, 793, 796, 799, 802, 805, 808, 811,
336
+ 814, 817, 820, 823, 826, 829, 832, 835,
337
+ 838, 841, 844, 847, 850, 853, 856, 859,
338
+ 862, 865, 868, 871, 874, 877, 880, 883,
339
+ 886, 889, 892, 895, 898, 901, 904, 907,
340
+ 910, 913, 916, 919, 922, 925, 928, 931,
341
+ 934, 937, 940, 943, 946, 950, 953, 956,
342
+ 959, 962, 965, 968, 971, 975, 981, 985,
343
+ 988, 994, 1012, 1015, 1018, 1021, 1024, 1027,
344
+ 1030, 1033, 1036, 1039, 1042, 1045, 1048, 1051,
345
+ 1054, 1057, 1060, 1063, 1066, 1070, 1073, 1076,
346
+ 1079, 1082, 1085, 1088, 1091
347
+ ]
348
+
349
+ class << self
350
+ attr_accessor :_lexer_indicies
351
+ private :_lexer_indicies, :_lexer_indicies=
352
+ end
353
+ self._lexer_indicies = [
354
+ 1, 3, 2, 4, 5, 6, 7, 8,
355
+ 9, 10, 11, 12, 13, 14, 15, 16,
356
+ 17, 2, 0, 18, 0, 2, 0, 3,
357
+ 2, 4, 5, 6, 7, 8, 9, 10,
358
+ 11, 12, 13, 14, 15, 16, 17, 2,
359
+ 0, 19, 0, 20, 0, 22, 23, 21,
360
+ 25, 26, 24, 29, 28, 30, 28, 27,
361
+ 33, 32, 34, 32, 31, 33, 32, 35,
362
+ 32, 31, 33, 32, 36, 32, 31, 38,
363
+ 37, 37, 0, 3, 39, 39, 0, 41,
364
+ 42, 40, 3, 0, 43, 0, 44, 0,
365
+ 45, 0, 46, 0, 47, 0, 48, 0,
366
+ 49, 0, 50, 0, 51, 0, 52, 0,
367
+ 53, 0, 54, 0, 55, 0, 56, 0,
368
+ 57, 0, 0, 58, 60, 61, 59, 0,
369
+ 0, 0, 0, 62, 63, 64, 63, 63,
370
+ 66, 65, 62, 3, 67, 8, 67, 0,
371
+ 68, 0, 69, 0, 70, 0, 71, 0,
372
+ 72, 0, 73, 0, 74, 0, 75, 0,
373
+ 76, 0, 77, 0, 78, 0, 79, 0,
374
+ 80, 0, 81, 0, 82, 0, 83, 0,
375
+ 84, 0, 86, 85, 88, 87, 88, 89,
376
+ 90, 91, 92, 90, 93, 94, 95, 96,
377
+ 97, 98, 89, 87, 88, 99, 87, 88,
378
+ 100, 87, 88, 101, 87, 88, 102, 87,
379
+ 88, 103, 87, 88, 104, 87, 88, 105,
380
+ 87, 88, 106, 87, 88, 107, 87, 88,
381
+ 108, 87, 88, 109, 87, 88, 110, 87,
382
+ 88, 111, 87, 88, 112, 87, 88, 113,
383
+ 87, 115, 114, 116, 117, 118, 119, 120,
384
+ 121, 122, 123, 124, 125, 126, 127, 128,
385
+ 129, 114, 0, 130, 0, 131, 0, 132,
386
+ 0, 133, 0, 134, 0, 135, 0, 136,
387
+ 0, 137, 0, 139, 138, 141, 140, 141,
388
+ 142, 143, 144, 145, 143, 146, 147, 148,
389
+ 149, 150, 151, 152, 142, 140, 141, 153,
390
+ 140, 141, 154, 140, 141, 155, 140, 141,
391
+ 156, 140, 141, 157, 140, 141, 158, 140,
392
+ 141, 159, 140, 141, 160, 140, 141, 161,
393
+ 140, 141, 162, 140, 141, 163, 140, 141,
394
+ 164, 140, 141, 165, 140, 141, 166, 140,
395
+ 141, 167, 140, 141, 168, 140, 141, 169,
396
+ 140, 141, 170, 140, 141, 171, 140, 141,
397
+ 172, 140, 141, 173, 140, 141, 174, 140,
398
+ 141, 175, 140, 141, 176, 140, 141, 177,
399
+ 140, 141, 178, 140, 141, 179, 140, 141,
400
+ 180, 140, 141, 181, 140, 141, 182, 140,
401
+ 141, 183, 140, 141, 167, 140, 141, 184,
402
+ 140, 141, 185, 140, 141, 186, 140, 141,
403
+ 187, 140, 141, 188, 140, 141, 189, 140,
404
+ 141, 183, 140, 141, 190, 140, 141, 191,
405
+ 140, 141, 192, 140, 141, 193, 140, 141,
406
+ 194, 140, 141, 193, 140, 195, 141, 140,
407
+ 196, 141, 140, 141, 193, 140, 141, 193,
408
+ 140, 197, 141, 198, 140, 193, 141, 140,
409
+ 141, 199, 140, 141, 200, 140, 141, 201,
410
+ 140, 141, 202, 140, 141, 203, 140, 141,
411
+ 183, 140, 204, 205, 0, 206, 0, 207,
412
+ 0, 208, 0, 209, 0, 210, 0, 211,
413
+ 0, 212, 0, 214, 213, 216, 215, 216,
414
+ 217, 218, 219, 218, 220, 221, 222, 223,
415
+ 217, 215, 216, 224, 215, 216, 225, 215,
416
+ 216, 226, 215, 216, 227, 215, 216, 228,
417
+ 215, 216, 229, 215, 216, 230, 215, 216,
418
+ 231, 215, 216, 232, 215, 216, 233, 215,
419
+ 216, 234, 215, 216, 235, 215, 216, 236,
420
+ 215, 216, 237, 215, 216, 238, 215, 216,
421
+ 239, 215, 216, 240, 215, 216, 241, 215,
422
+ 216, 242, 215, 216, 243, 215, 216, 244,
423
+ 215, 216, 245, 215, 216, 246, 215, 216,
424
+ 247, 215, 216, 248, 215, 216, 249, 215,
425
+ 216, 250, 215, 216, 251, 215, 216, 252,
426
+ 215, 216, 253, 215, 216, 254, 215, 216,
427
+ 255, 215, 216, 256, 215, 216, 257, 215,
428
+ 216, 258, 215, 216, 259, 215, 216, 260,
429
+ 215, 216, 253, 215, 216, 261, 262, 215,
430
+ 216, 263, 215, 216, 264, 215, 216, 265,
431
+ 215, 216, 266, 215, 216, 267, 215, 216,
432
+ 253, 215, 216, 268, 215, 216, 269, 215,
433
+ 216, 270, 215, 216, 271, 215, 216, 272,
434
+ 215, 216, 273, 215, 216, 253, 215, 216,
435
+ 274, 215, 216, 275, 215, 216, 276, 215,
436
+ 216, 277, 215, 216, 278, 215, 216, 279,
437
+ 215, 216, 253, 215, 280, 0, 281, 0,
438
+ 282, 0, 283, 0, 284, 0, 285, 0,
439
+ 286, 0, 287, 0, 289, 288, 291, 290,
440
+ 291, 292, 293, 294, 293, 292, 290, 291,
441
+ 295, 290, 291, 296, 290, 291, 297, 290,
442
+ 291, 298, 290, 291, 299, 290, 291, 300,
443
+ 290, 291, 301, 290, 291, 302, 290, 303,
444
+ 0, 304, 0, 305, 0, 306, 0, 307,
445
+ 0, 306, 0, 308, 0, 309, 0, 306,
446
+ 0, 306, 0, 310, 311, 0, 306, 0,
447
+ 312, 0, 313, 0, 314, 0, 315, 0,
448
+ 316, 0, 317, 0, 318, 0, 320, 319,
449
+ 322, 321, 322, 323, 324, 325, 326, 324,
450
+ 327, 328, 329, 330, 331, 332, 333, 334,
451
+ 323, 321, 322, 335, 321, 322, 336, 321,
452
+ 322, 337, 321, 322, 338, 321, 322, 339,
453
+ 321, 322, 340, 321, 322, 341, 321, 322,
454
+ 342, 321, 322, 343, 321, 322, 344, 321,
455
+ 322, 345, 321, 322, 346, 321, 322, 347,
456
+ 321, 322, 348, 321, 322, 349, 321, 322,
457
+ 350, 321, 322, 351, 321, 322, 352, 321,
458
+ 322, 353, 321, 322, 354, 321, 322, 355,
459
+ 321, 322, 356, 321, 322, 357, 321, 322,
460
+ 358, 321, 322, 359, 321, 322, 360, 321,
461
+ 322, 361, 321, 322, 362, 321, 322, 363,
462
+ 321, 322, 364, 321, 322, 365, 321, 322,
463
+ 349, 321, 322, 366, 321, 322, 367, 321,
464
+ 322, 368, 321, 322, 369, 321, 322, 370,
465
+ 321, 322, 371, 321, 322, 365, 321, 322,
466
+ 372, 321, 322, 373, 321, 322, 374, 321,
467
+ 322, 375, 321, 322, 376, 321, 322, 377,
468
+ 321, 322, 365, 321, 322, 378, 321, 322,
469
+ 379, 321, 322, 380, 321, 322, 381, 321,
470
+ 322, 382, 321, 322, 381, 321, 383, 322,
471
+ 321, 384, 322, 321, 322, 381, 321, 322,
472
+ 381, 321, 385, 322, 386, 321, 381, 322,
473
+ 321, 322, 387, 321, 322, 388, 321, 322,
474
+ 389, 321, 322, 390, 321, 322, 391, 321,
475
+ 322, 365, 321, 392, 393, 392, 0, 396,
476
+ 395, 397, 398, 395, 394, 0, 400, 401,
477
+ 399, 0, 400, 399, 396, 402, 400, 401,
478
+ 402, 399, 396, 403, 404, 405, 406, 407,
479
+ 408, 409, 410, 411, 412, 413, 414, 415,
480
+ 416, 417, 403, 0, 88, 418, 87, 88,
481
+ 419, 87, 88, 420, 87, 88, 421, 87,
482
+ 88, 422, 87, 88, 423, 87, 88, 424,
483
+ 87, 88, 113, 87, 88, 425, 87, 88,
484
+ 426, 87, 88, 427, 87, 88, 428, 87,
485
+ 88, 429, 87, 88, 428, 87, 430, 88,
486
+ 87, 431, 88, 87, 88, 428, 87, 88,
487
+ 428, 87, 432, 88, 433, 87, 428, 88,
488
+ 87, 88, 434, 87, 88, 435, 87, 88,
489
+ 436, 87, 88, 437, 87, 88, 438, 87,
490
+ 88, 424, 87, 439, 0
491
+ ]
492
+
493
+ class << self
494
+ attr_accessor :_lexer_trans_targs
495
+ private :_lexer_trans_targs, :_lexer_trans_targs=
496
+ end
497
+ self._lexer_trans_targs = [
498
+ 0, 2, 4, 4, 5, 15, 17, 31,
499
+ 34, 37, 73, 141, 230, 234, 236, 239,
500
+ 240, 316, 3, 6, 7, 8, 9, 8,
501
+ 8, 9, 8, 10, 10, 10, 11, 10,
502
+ 10, 10, 11, 12, 13, 14, 4, 14,
503
+ 15, 4, 16, 18, 19, 20, 21, 22,
504
+ 23, 24, 25, 26, 27, 28, 29, 30,
505
+ 348, 32, 33, 33, 4, 16, 35, 36,
506
+ 4, 35, 34, 36, 38, 39, 40, 41,
507
+ 42, 43, 44, 45, 46, 47, 48, 49,
508
+ 50, 51, 52, 53, 54, 55, 56, 55,
509
+ 56, 56, 4, 57, 71, 322, 330, 334,
510
+ 336, 339, 340, 58, 59, 60, 61, 62,
511
+ 63, 64, 65, 66, 67, 68, 69, 70,
512
+ 4, 72, 4, 4, 5, 15, 17, 31,
513
+ 34, 37, 73, 141, 230, 234, 236, 239,
514
+ 240, 316, 74, 75, 76, 77, 78, 79,
515
+ 80, 81, 82, 83, 82, 83, 83, 4,
516
+ 84, 98, 99, 116, 123, 127, 129, 132,
517
+ 133, 85, 86, 87, 88, 89, 90, 91,
518
+ 92, 93, 94, 95, 96, 97, 4, 72,
519
+ 100, 101, 102, 103, 104, 105, 106, 107,
520
+ 108, 109, 110, 111, 112, 113, 114, 115,
521
+ 117, 118, 119, 120, 121, 122, 124, 125,
522
+ 126, 98, 128, 130, 131, 134, 135, 136,
523
+ 137, 138, 139, 140, 142, 211, 143, 144,
524
+ 145, 146, 147, 148, 149, 150, 151, 150,
525
+ 151, 151, 4, 152, 166, 183, 190, 204,
526
+ 153, 154, 155, 156, 157, 158, 159, 160,
527
+ 161, 162, 163, 164, 165, 4, 167, 168,
528
+ 169, 170, 171, 172, 173, 174, 175, 176,
529
+ 177, 178, 179, 180, 181, 182, 72, 184,
530
+ 185, 186, 187, 188, 189, 191, 197, 192,
531
+ 193, 194, 195, 196, 198, 199, 200, 201,
532
+ 202, 203, 205, 206, 207, 208, 209, 210,
533
+ 212, 213, 214, 215, 216, 217, 218, 219,
534
+ 220, 221, 220, 221, 221, 4, 222, 223,
535
+ 224, 225, 226, 227, 228, 229, 72, 231,
536
+ 232, 233, 31, 235, 237, 238, 241, 242,
537
+ 243, 244, 245, 246, 247, 248, 249, 250,
538
+ 251, 250, 251, 251, 4, 252, 266, 267,
539
+ 284, 291, 298, 302, 304, 307, 308, 253,
540
+ 254, 255, 256, 257, 258, 259, 260, 261,
541
+ 262, 263, 264, 265, 4, 72, 268, 269,
542
+ 270, 271, 272, 273, 274, 275, 276, 277,
543
+ 278, 279, 280, 281, 282, 283, 285, 286,
544
+ 287, 288, 289, 290, 292, 293, 294, 295,
545
+ 296, 297, 299, 300, 301, 266, 303, 305,
546
+ 306, 309, 310, 311, 312, 313, 314, 315,
547
+ 316, 317, 318, 320, 321, 319, 317, 318,
548
+ 319, 317, 320, 321, 5, 15, 17, 31,
549
+ 34, 37, 73, 141, 230, 234, 236, 239,
550
+ 240, 316, 323, 324, 325, 326, 327, 328,
551
+ 329, 331, 332, 333, 71, 335, 337, 338,
552
+ 341, 342, 343, 344, 345, 346, 347, 0
553
+ ]
554
+
555
+ class << self
556
+ attr_accessor :_lexer_trans_actions
557
+ private :_lexer_trans_actions, :_lexer_trans_actions=
558
+ end
559
+ self._lexer_trans_actions = [
560
+ 43, 0, 0, 54, 3, 1, 0, 29,
561
+ 1, 29, 29, 29, 29, 29, 29, 29,
562
+ 29, 35, 0, 0, 0, 7, 135, 48,
563
+ 0, 102, 9, 5, 45, 130, 45, 0,
564
+ 33, 122, 33, 33, 0, 11, 106, 0,
565
+ 0, 114, 25, 0, 0, 0, 0, 0,
566
+ 0, 0, 0, 0, 0, 0, 0, 0,
567
+ 0, 0, 57, 0, 110, 23, 0, 27,
568
+ 118, 27, 51, 0, 0, 0, 0, 0,
569
+ 0, 0, 0, 0, 0, 0, 0, 0,
570
+ 0, 0, 0, 0, 0, 57, 140, 0,
571
+ 54, 0, 78, 33, 84, 84, 84, 84,
572
+ 84, 84, 84, 0, 0, 0, 0, 0,
573
+ 0, 0, 0, 0, 0, 0, 0, 0,
574
+ 19, 19, 31, 126, 60, 57, 31, 63,
575
+ 57, 63, 63, 63, 63, 63, 63, 63,
576
+ 63, 66, 0, 0, 0, 0, 0, 0,
577
+ 0, 0, 57, 140, 0, 54, 0, 72,
578
+ 33, 84, 84, 84, 84, 84, 84, 84,
579
+ 84, 0, 0, 0, 0, 0, 0, 0,
580
+ 0, 0, 0, 0, 0, 0, 15, 15,
581
+ 0, 0, 0, 0, 0, 0, 0, 0,
582
+ 0, 0, 0, 0, 0, 0, 0, 0,
583
+ 0, 0, 0, 0, 0, 0, 0, 0,
584
+ 0, 0, 0, 0, 0, 0, 0, 0,
585
+ 0, 0, 0, 0, 0, 0, 0, 0,
586
+ 0, 0, 0, 0, 0, 57, 140, 0,
587
+ 54, 0, 69, 33, 84, 84, 84, 84,
588
+ 0, 0, 0, 0, 0, 0, 0, 0,
589
+ 0, 0, 0, 0, 0, 13, 0, 0,
590
+ 0, 0, 0, 0, 0, 0, 0, 0,
591
+ 0, 0, 0, 0, 0, 0, 13, 0,
592
+ 0, 0, 0, 0, 0, 0, 0, 0,
593
+ 0, 0, 0, 0, 0, 0, 0, 0,
594
+ 0, 0, 0, 0, 0, 0, 0, 0,
595
+ 0, 0, 0, 0, 0, 0, 0, 0,
596
+ 57, 140, 0, 54, 0, 81, 84, 0,
597
+ 0, 0, 0, 0, 0, 0, 21, 0,
598
+ 0, 0, 0, 0, 0, 0, 0, 0,
599
+ 0, 0, 0, 0, 0, 0, 0, 57,
600
+ 140, 0, 54, 0, 75, 33, 84, 84,
601
+ 84, 84, 84, 84, 84, 84, 84, 0,
602
+ 0, 0, 0, 0, 0, 0, 0, 0,
603
+ 0, 0, 0, 0, 17, 17, 0, 0,
604
+ 0, 0, 0, 0, 0, 0, 0, 0,
605
+ 0, 0, 0, 0, 0, 0, 0, 0,
606
+ 0, 0, 0, 0, 0, 0, 0, 0,
607
+ 0, 0, 0, 0, 0, 0, 0, 0,
608
+ 0, 0, 0, 0, 0, 0, 0, 0,
609
+ 0, 0, 37, 37, 54, 37, 87, 0,
610
+ 0, 39, 0, 0, 93, 90, 41, 96,
611
+ 90, 96, 96, 96, 96, 96, 96, 96,
612
+ 96, 99, 0, 0, 0, 0, 0, 0,
613
+ 0, 0, 0, 0, 0, 0, 0, 0,
614
+ 0, 0, 0, 0, 0, 0, 0, 0
615
+ ]
616
+
617
+ class << self
618
+ attr_accessor :_lexer_eof_actions
619
+ private :_lexer_eof_actions, :_lexer_eof_actions=
620
+ end
621
+ self._lexer_eof_actions = [
622
+ 0, 43, 43, 43, 43, 43, 43, 43,
623
+ 43, 43, 43, 43, 43, 43, 43, 43,
624
+ 43, 43, 43, 43, 43, 43, 43, 43,
625
+ 43, 43, 43, 43, 43, 43, 43, 43,
626
+ 43, 43, 43, 43, 43, 43, 43, 43,
627
+ 43, 43, 43, 43, 43, 43, 43, 43,
628
+ 43, 43, 43, 43, 43, 43, 43, 43,
629
+ 43, 43, 43, 43, 43, 43, 43, 43,
630
+ 43, 43, 43, 43, 43, 43, 43, 43,
631
+ 43, 43, 43, 43, 43, 43, 43, 43,
632
+ 43, 43, 43, 43, 43, 43, 43, 43,
633
+ 43, 43, 43, 43, 43, 43, 43, 43,
634
+ 43, 43, 43, 43, 43, 43, 43, 43,
635
+ 43, 43, 43, 43, 43, 43, 43, 43,
636
+ 43, 43, 43, 43, 43, 43, 43, 43,
637
+ 43, 43, 43, 43, 43, 43, 43, 43,
638
+ 43, 43, 43, 43, 43, 43, 43, 43,
639
+ 43, 43, 43, 43, 43, 43, 43, 43,
640
+ 43, 43, 43, 43, 43, 43, 43, 43,
641
+ 43, 43, 43, 43, 43, 43, 43, 43,
642
+ 43, 43, 43, 43, 43, 43, 43, 43,
643
+ 43, 43, 43, 43, 43, 43, 43, 43,
644
+ 43, 43, 43, 43, 43, 43, 43, 43,
645
+ 43, 43, 43, 43, 43, 43, 43, 43,
646
+ 43, 43, 43, 43, 43, 43, 43, 43,
647
+ 43, 43, 43, 43, 43, 43, 43, 43,
648
+ 43, 43, 43, 43, 43, 43, 43, 43,
649
+ 43, 43, 43, 43, 43, 43, 43, 43,
650
+ 43, 43, 43, 43, 43, 43, 43, 43,
651
+ 43, 43, 43, 43, 43, 43, 43, 43,
652
+ 43, 43, 43, 43, 43, 43, 43, 43,
653
+ 43, 43, 43, 43, 43, 43, 43, 43,
654
+ 43, 43, 43, 43, 43, 43, 43, 43,
655
+ 43, 43, 43, 43, 43, 43, 43, 43,
656
+ 43, 43, 43, 43, 43, 43, 43, 43,
657
+ 43, 43, 43, 43, 43, 43, 43, 43,
658
+ 43, 43, 43, 43, 43, 43, 43, 43,
659
+ 43, 43, 43, 43, 43, 43, 43, 43,
660
+ 43, 43, 43, 43, 43, 43, 43, 43,
661
+ 43, 43, 43, 43, 43, 43, 43, 43,
662
+ 43, 43, 43, 43, 43, 43, 43, 43,
663
+ 43, 43, 43, 43, 43, 43, 43, 43,
664
+ 43, 43, 43, 43, 43, 43, 43, 43,
665
+ 43, 43, 43, 43, 43
666
+ ]
667
+
668
+ class << self
669
+ attr_accessor :lexer_start
670
+ end
671
+ self.lexer_start = 1;
672
+ class << self
673
+ attr_accessor :lexer_first_final
674
+ end
675
+ self.lexer_first_final = 348;
676
+ class << self
677
+ attr_accessor :lexer_error
678
+ end
679
+ self.lexer_error = 0;
680
+
681
+ class << self
682
+ attr_accessor :lexer_en_main
683
+ end
684
+ self.lexer_en_main = 1;
685
+
686
+
687
+ # line 128 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
688
+ end
689
+
690
+ def scan(data)
691
+ data = (data + "\n%_FEATURE_END_%").unpack("c*") # Explicit EOF simplifies things considerably
692
+ eof = pe = data.length
693
+
694
+ @line_number = 1
695
+ @last_newline = 0
696
+
697
+
698
+ # line 699 "lib/gherkin/rb_lexer/da.rb"
699
+ begin
700
+ p ||= 0
701
+ pe ||= data.length
702
+ cs = lexer_start
703
+ end
704
+
705
+ # line 138 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
706
+
707
+ # line 708 "lib/gherkin/rb_lexer/da.rb"
708
+ begin
709
+ _klen, _trans, _keys, _acts, _nacts = nil
710
+ _goto_level = 0
711
+ _resume = 10
712
+ _eof_trans = 15
713
+ _again = 20
714
+ _test_eof = 30
715
+ _out = 40
716
+ while true
717
+ _trigger_goto = false
718
+ if _goto_level <= 0
719
+ if p == pe
720
+ _goto_level = _test_eof
721
+ next
722
+ end
723
+ if cs == 0
724
+ _goto_level = _out
725
+ next
726
+ end
727
+ end
728
+ if _goto_level <= _resume
729
+ _keys = _lexer_key_offsets[cs]
730
+ _trans = _lexer_index_offsets[cs]
731
+ _klen = _lexer_single_lengths[cs]
732
+ _break_match = false
733
+
734
+ begin
735
+ if _klen > 0
736
+ _lower = _keys
737
+ _upper = _keys + _klen - 1
738
+
739
+ loop do
740
+ break if _upper < _lower
741
+ _mid = _lower + ( (_upper - _lower) >> 1 )
742
+
743
+ if data[p] < _lexer_trans_keys[_mid]
744
+ _upper = _mid - 1
745
+ elsif data[p] > _lexer_trans_keys[_mid]
746
+ _lower = _mid + 1
747
+ else
748
+ _trans += (_mid - _keys)
749
+ _break_match = true
750
+ break
751
+ end
752
+ end # loop
753
+ break if _break_match
754
+ _keys += _klen
755
+ _trans += _klen
756
+ end
757
+ _klen = _lexer_range_lengths[cs]
758
+ if _klen > 0
759
+ _lower = _keys
760
+ _upper = _keys + (_klen << 1) - 2
761
+ loop do
762
+ break if _upper < _lower
763
+ _mid = _lower + (((_upper-_lower) >> 1) & ~1)
764
+ if data[p] < _lexer_trans_keys[_mid]
765
+ _upper = _mid - 2
766
+ elsif data[p] > _lexer_trans_keys[_mid+1]
767
+ _lower = _mid + 2
768
+ else
769
+ _trans += ((_mid - _keys) >> 1)
770
+ _break_match = true
771
+ break
772
+ end
773
+ end # loop
774
+ break if _break_match
775
+ _trans += _klen
776
+ end
777
+ end while false
778
+ _trans = _lexer_indicies[_trans]
779
+ cs = _lexer_trans_targs[_trans]
780
+ if _lexer_trans_actions[_trans] != 0
781
+ _acts = _lexer_trans_actions[_trans]
782
+ _nacts = _lexer_actions[_acts]
783
+ _acts += 1
784
+ while _nacts > 0
785
+ _nacts -= 1
786
+ _acts += 1
787
+ case _lexer_actions[_acts - 1]
788
+ when 0 then
789
+ # line 9 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
790
+ begin
791
+
792
+ @content_start = p
793
+ @current_line = @line_number
794
+ @start_col = p - @last_newline - "#{@keyword}:".length
795
+ end
796
+ when 1 then
797
+ # line 15 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
798
+ begin
799
+
800
+ @current_line = @line_number
801
+ @start_col = p - @last_newline
802
+ end
803
+ when 2 then
804
+ # line 20 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
805
+ begin
806
+
807
+ @content_start = p
808
+ end
809
+ when 3 then
810
+ # line 24 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
811
+ begin
812
+
813
+ @docstring_content_type_start = p
814
+ end
815
+ when 4 then
816
+ # line 27 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
817
+ begin
818
+
819
+ @docstring_content_type_end = p
820
+ end
821
+ when 5 then
822
+ # line 31 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
823
+ begin
824
+
825
+ con = unindent(@start_col, utf8_pack(data[@content_start...@next_keyword_start-1]).sub(/(\r?\n)?([\t ])*\Z/, '').gsub(/\\"\\"\\"/, '"""'))
826
+ con_type = utf8_pack(data[@docstring_content_type_start...@docstring_content_type_end]).strip
827
+ @listener.doc_string(con_type, con, @current_line)
828
+ end
829
+ when 6 then
830
+ # line 36 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
831
+ begin
832
+
833
+ p = store_keyword_content(:feature, data, p, eof)
834
+ end
835
+ when 7 then
836
+ # line 40 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
837
+ begin
838
+
839
+ p = store_keyword_content(:background, data, p, eof)
840
+ end
841
+ when 8 then
842
+ # line 44 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
843
+ begin
844
+
845
+ p = store_keyword_content(:scenario, data, p, eof)
846
+ end
847
+ when 9 then
848
+ # line 48 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
849
+ begin
850
+
851
+ p = store_keyword_content(:scenario_outline, data, p, eof)
852
+ end
853
+ when 10 then
854
+ # line 52 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
855
+ begin
856
+
857
+ p = store_keyword_content(:examples, data, p, eof)
858
+ end
859
+ when 11 then
860
+ # line 56 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
861
+ begin
862
+
863
+ con = utf8_pack(data[@content_start...p]).strip
864
+ @listener.step(@keyword, con, @current_line)
865
+ end
866
+ when 12 then
867
+ # line 61 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
868
+ begin
869
+
870
+ con = utf8_pack(data[@content_start...p]).strip
871
+ @listener.comment(con, @line_number)
872
+ @keyword_start = nil
873
+ end
874
+ when 13 then
875
+ # line 67 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
876
+ begin
877
+
878
+ con = utf8_pack(data[@content_start...p]).strip
879
+ @listener.tag(con, @current_line)
880
+ @keyword_start = nil
881
+ end
882
+ when 14 then
883
+ # line 73 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
884
+ begin
885
+
886
+ @line_number += 1
887
+ end
888
+ when 15 then
889
+ # line 77 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
890
+ begin
891
+
892
+ @last_newline = p + 1
893
+ end
894
+ when 16 then
895
+ # line 81 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
896
+ begin
897
+
898
+ @keyword_start ||= p
899
+ end
900
+ when 17 then
901
+ # line 85 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
902
+ begin
903
+
904
+ @keyword = utf8_pack(data[@keyword_start...p]).sub(/:$/,'')
905
+ @keyword_start = nil
906
+ end
907
+ when 18 then
908
+ # line 90 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
909
+ begin
910
+
911
+ @next_keyword_start = p
912
+ end
913
+ when 19 then
914
+ # line 94 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
915
+ begin
916
+
917
+ p = p - 1
918
+ current_row = []
919
+ @current_line = @line_number
920
+ end
921
+ when 20 then
922
+ # line 100 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
923
+ begin
924
+
925
+ @content_start = p
926
+ end
927
+ when 21 then
928
+ # line 104 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
929
+ begin
930
+
931
+ con = utf8_pack(data[@content_start...p]).strip
932
+ current_row << con.gsub(/\\\|/, "|").gsub(/\\n/, "\n").gsub(/\\\\/, "\\")
933
+ end
934
+ when 22 then
935
+ # line 109 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
936
+ begin
937
+
938
+ @listener.row(current_row, @current_line)
939
+ end
940
+ when 23 then
941
+ # line 113 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
942
+ begin
943
+
944
+ if cs < lexer_first_final
945
+ content = current_line_content(data, p)
946
+ raise Gherkin::Lexer::LexingError.new("Lexing error on line %d: '%s'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information." % [@line_number, content])
947
+ else
948
+ @listener.eof
949
+ end
950
+ end
951
+ # line 952 "lib/gherkin/rb_lexer/da.rb"
952
+ end # action switch
953
+ end
954
+ end
955
+ if _trigger_goto
956
+ next
957
+ end
958
+ end
959
+ if _goto_level <= _again
960
+ if cs == 0
961
+ _goto_level = _out
962
+ next
963
+ end
964
+ p += 1
965
+ if p != pe
966
+ _goto_level = _resume
967
+ next
968
+ end
969
+ end
970
+ if _goto_level <= _test_eof
971
+ if p == eof
972
+ __acts = _lexer_eof_actions[cs]
973
+ __nacts = _lexer_actions[__acts]
974
+ __acts += 1
975
+ while __nacts > 0
976
+ __nacts -= 1
977
+ __acts += 1
978
+ case _lexer_actions[__acts - 1]
979
+ when 23 then
980
+ # line 113 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
981
+ begin
982
+
983
+ if cs < lexer_first_final
984
+ content = current_line_content(data, p)
985
+ raise Gherkin::Lexer::LexingError.new("Lexing error on line %d: '%s'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information." % [@line_number, content])
986
+ else
987
+ @listener.eof
988
+ end
989
+ end
990
+ # line 991 "lib/gherkin/rb_lexer/da.rb"
991
+ end # eof action switch
992
+ end
993
+ if _trigger_goto
994
+ next
995
+ end
996
+ end
997
+ end
998
+ if _goto_level <= _out
999
+ break
1000
+ end
1001
+ end
1002
+ end
1003
+
1004
+ # line 139 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/da.rb.rl"
1005
+ end
1006
+
1007
+ def unindent(startcol, text)
1008
+ text.gsub(/^[\t ]{0,#{startcol}}/, "")
1009
+ end
1010
+
1011
+ def store_keyword_content(event, data, p, eof)
1012
+ end_point = (!@next_keyword_start or (p == eof)) ? p : @next_keyword_start
1013
+ content = unindent(@start_col + 2, utf8_pack(data[@content_start...end_point])).rstrip
1014
+ content_lines = content.split("\n")
1015
+ name = content_lines.shift || ""
1016
+ name.strip!
1017
+ description = content_lines.join("\n")
1018
+ @listener.__send__(event, @keyword, name, description, @current_line)
1019
+ @next_keyword_start ? @next_keyword_start - 1 : p
1020
+ ensure
1021
+ @next_keyword_start = nil
1022
+ end
1023
+
1024
+ def current_line_content(data, p)
1025
+ rest = data[@last_newline..-1]
1026
+ utf8_pack(rest[0..rest.index(10)||-1]).strip # 10 is \n
1027
+ end
1028
+
1029
+ if (RUBY_VERSION =~ /^1\.9/)
1030
+ def utf8_pack(array)
1031
+ array.pack("c*").force_encoding("UTF-8")
1032
+ end
1033
+ else
1034
+ def utf8_pack(array)
1035
+ array.pack("c*")
1036
+ end
1037
+ end
1038
+ end
1039
+ end
1040
+ end