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