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