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