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