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