gherkin 2.12.0 → 2.12.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +6 -14
  2. data/.ruby-version +1 -1
  3. data/.travis.yml +1 -3
  4. data/History.md +18 -0
  5. data/LICENSE +1 -1
  6. data/README.md +22 -28
  7. data/ext/gherkin_lexer_ar/gherkin_lexer_ar.c +466 -466
  8. data/ext/gherkin_lexer_bg/gherkin_lexer_bg.c +2 -2
  9. data/ext/gherkin_lexer_bm/gherkin_lexer_bm.c +535 -395
  10. data/ext/gherkin_lexer_ca/gherkin_lexer_ca.c +2 -2
  11. data/ext/gherkin_lexer_cs/gherkin_lexer_cs.c +2 -2
  12. data/ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.c +2 -2
  13. data/ext/gherkin_lexer_da/gherkin_lexer_da.c +2 -2
  14. data/ext/gherkin_lexer_de/gherkin_lexer_de.c +296 -286
  15. data/ext/gherkin_lexer_el/gherkin_lexer_el.c +2 -2
  16. data/ext/gherkin_lexer_en/gherkin_lexer_en.c +2 -2
  17. data/ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c +2 -2
  18. data/ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c +2 -2
  19. data/ext/gherkin_lexer_en_old/gherkin_lexer_en_old.c +2 -2
  20. data/ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.c +2 -2
  21. data/ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.c +2 -2
  22. data/ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.c +2 -2
  23. data/ext/gherkin_lexer_eo/gherkin_lexer_eo.c +2 -2
  24. data/ext/gherkin_lexer_es/gherkin_lexer_es.c +2 -2
  25. data/ext/gherkin_lexer_et/gherkin_lexer_et.c +2 -2
  26. data/ext/gherkin_lexer_fa/gherkin_lexer_fa.c +2 -2
  27. data/ext/gherkin_lexer_fi/gherkin_lexer_fi.c +2 -2
  28. data/ext/gherkin_lexer_fr/gherkin_lexer_fr.c +2 -2
  29. data/ext/gherkin_lexer_gl/gherkin_lexer_gl.c +2 -2
  30. data/ext/gherkin_lexer_he/gherkin_lexer_he.c +2 -2
  31. data/ext/gherkin_lexer_hi/gherkin_lexer_hi.c +784 -685
  32. data/ext/gherkin_lexer_hr/gherkin_lexer_hr.c +2 -2
  33. data/ext/gherkin_lexer_hu/gherkin_lexer_hu.c +2 -2
  34. data/ext/gherkin_lexer_id/gherkin_lexer_id.c +2 -2
  35. data/ext/gherkin_lexer_is/gherkin_lexer_is.c +2 -2
  36. data/ext/gherkin_lexer_it/gherkin_lexer_it.c +2 -2
  37. data/ext/gherkin_lexer_ja/gherkin_lexer_ja.c +2 -2
  38. data/ext/gherkin_lexer_ko/gherkin_lexer_ko.c +2 -2
  39. data/ext/gherkin_lexer_lt/gherkin_lexer_lt.c +2 -2
  40. data/ext/gherkin_lexer_lu/gherkin_lexer_lu.c +2 -2
  41. data/ext/gherkin_lexer_lv/gherkin_lexer_lv.c +2 -2
  42. data/ext/gherkin_lexer_nl/gherkin_lexer_nl.c +2 -2
  43. data/ext/gherkin_lexer_no/gherkin_lexer_no.c +2 -2
  44. data/ext/gherkin_lexer_pa/extconf.rb +6 -0
  45. data/ext/gherkin_lexer_pa/gherkin_lexer_pa.c +2160 -0
  46. data/ext/gherkin_lexer_pl/gherkin_lexer_pl.c +2 -2
  47. data/ext/gherkin_lexer_pt/gherkin_lexer_pt.c +2 -2
  48. data/ext/gherkin_lexer_ro/gherkin_lexer_ro.c +2 -2
  49. data/ext/gherkin_lexer_ru/gherkin_lexer_ru.c +2 -2
  50. data/ext/gherkin_lexer_sk/gherkin_lexer_sk.c +2 -2
  51. data/ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c +2 -2
  52. data/ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c +586 -589
  53. data/ext/gherkin_lexer_sv/gherkin_lexer_sv.c +2 -2
  54. data/ext/gherkin_lexer_th/extconf.rb +6 -0
  55. data/ext/gherkin_lexer_th/gherkin_lexer_th.c +2840 -0
  56. data/ext/gherkin_lexer_tl/gherkin_lexer_tl.c +2 -2
  57. data/ext/gherkin_lexer_tr/gherkin_lexer_tr.c +2 -2
  58. data/ext/gherkin_lexer_tt/gherkin_lexer_tt.c +2 -2
  59. data/ext/gherkin_lexer_uk/gherkin_lexer_uk.c +2 -2
  60. data/ext/gherkin_lexer_uz/gherkin_lexer_uz.c +586 -594
  61. data/ext/gherkin_lexer_vi/gherkin_lexer_vi.c +2 -2
  62. data/ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c +2 -2
  63. data/ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c +2 -2
  64. data/features/.cucumber/stepdefs.json +66 -66
  65. data/gherkin.gemspec +12 -11
  66. data/lib/gherkin/formatter/filter_formatter.rb +1 -1
  67. data/lib/gherkin/i18n.json +38 -10
  68. data/lib/gherkin/i18n.rb +1 -1
  69. data/lib/gherkin/lexer/ar.rb +1167 -0
  70. data/lib/gherkin/lexer/bg.rb +1379 -0
  71. data/lib/gherkin/lexer/bm.rb +1247 -0
  72. data/lib/gherkin/lexer/ca.rb +1307 -0
  73. data/lib/gherkin/lexer/cs.rb +1243 -0
  74. data/lib/gherkin/lexer/cy_gb.rb +1029 -0
  75. data/lib/gherkin/lexer/da.rb +1045 -0
  76. data/lib/gherkin/lexer/de.rb +1163 -0
  77. data/lib/gherkin/lexer/el.rb +1677 -0
  78. data/lib/gherkin/lexer/en.rb +1153 -0
  79. data/lib/gherkin/lexer/en_au.rb +1483 -0
  80. data/lib/gherkin/lexer/en_lol.rb +931 -0
  81. data/lib/gherkin/lexer/en_old.rb +1034 -0
  82. data/lib/gherkin/lexer/en_pirate.rb +1207 -0
  83. data/lib/gherkin/lexer/en_scouse.rb +1359 -0
  84. data/lib/gherkin/lexer/en_tx.rb +1013 -0
  85. data/lib/gherkin/lexer/eo.rb +992 -0
  86. data/lib/gherkin/lexer/es.rb +1137 -0
  87. data/lib/gherkin/lexer/et.rb +987 -0
  88. data/lib/gherkin/lexer/fa.rb +1211 -0
  89. data/lib/gherkin/lexer/fi.rb +966 -0
  90. data/lib/gherkin/lexer/fr.rb +1225 -0
  91. data/lib/gherkin/lexer/gl.rb +1114 -0
  92. data/lib/gherkin/lexer/he.rb +1115 -0
  93. data/lib/gherkin/lexer/hi.rb +1556 -0
  94. data/lib/gherkin/lexer/hr.rb +1063 -0
  95. data/lib/gherkin/lexer/hu.rb +1115 -0
  96. data/lib/gherkin/lexer/id.rb +960 -0
  97. data/lib/gherkin/lexer/is.rb +1117 -0
  98. data/lib/gherkin/lexer/it.rb +1083 -0
  99. data/lib/gherkin/lexer/ja.rb +1415 -0
  100. data/lib/gherkin/lexer/ko.rb +1099 -0
  101. data/lib/gherkin/lexer/lt.rb +1042 -0
  102. data/lib/gherkin/lexer/lu.rb +1129 -0
  103. data/lib/gherkin/lexer/lv.rb +1163 -0
  104. data/lib/gherkin/lexer/nl.rb +1112 -0
  105. data/lib/gherkin/lexer/no.rb +1057 -0
  106. data/lib/gherkin/lexer/pa.rb +1849 -0
  107. data/lib/gherkin/lexer/pl.rb +1454 -0
  108. data/lib/gherkin/lexer/pt.rb +1427 -0
  109. data/lib/gherkin/lexer/ro.rb +1161 -0
  110. data/lib/gherkin/lexer/ru.rb +1763 -0
  111. data/lib/gherkin/lexer/sk.rb +1449 -0
  112. data/lib/gherkin/lexer/sr_cyrl.rb +1800 -0
  113. data/lib/gherkin/lexer/sr_latn.rb +1291 -0
  114. data/lib/gherkin/lexer/sv.rb +1067 -0
  115. data/lib/gherkin/lexer/th.rb +2489 -0
  116. data/lib/gherkin/lexer/tl.rb +1723 -0
  117. data/lib/gherkin/lexer/tr.rb +1089 -0
  118. data/lib/gherkin/lexer/tt.rb +1640 -0
  119. data/lib/gherkin/lexer/uk.rb +1643 -0
  120. data/lib/gherkin/lexer/uz.rb +1373 -0
  121. data/lib/gherkin/lexer/vi.rb +1195 -0
  122. data/lib/gherkin/lexer/zh_cn.rb +1055 -0
  123. data/lib/gherkin/lexer/zh_tw.rb +1049 -0
  124. data/lib/gherkin/platform.rb +2 -2
  125. data/spec/gherkin/formatter/json_formatter_spec.rb +4 -0
  126. data/spec/gherkin/formatter/pretty_formatter_spec.rb +25 -18
  127. data/spec/gherkin/i18n_spec.rb +2 -0
  128. data/tasks/gems.rake +19 -4
  129. data/tasks/ikvm.rake +10 -8
  130. data/tasks/ragel_task.rb +3 -2
  131. data/tasks/rspec.rake +2 -6
  132. metadata +295 -169
@@ -0,0 +1,1307 @@
1
+
2
+ # line 1 "ragel/i18n/ca.rb.rl"
3
+ require 'gherkin/native'
4
+
5
+ module Gherkin
6
+ module Lexer
7
+ class Ca #:nodoc:
8
+ native_impl('gherkin')
9
+
10
+
11
+ # line 125 "ragel/i18n/ca.rb.rl"
12
+
13
+
14
+ def initialize(listener)
15
+ @listener = listener
16
+
17
+ # line 18 "lib/gherkin/lexer/ca.rb"
18
+ class << self
19
+ attr_accessor :_lexer_actions
20
+ private :_lexer_actions, :_lexer_actions=
21
+ end
22
+ self._lexer_actions = [
23
+ 0, 1, 0, 1, 1, 1, 2, 1,
24
+ 3, 1, 4, 1, 5, 1, 6, 1,
25
+ 7, 1, 8, 1, 9, 1, 10, 1,
26
+ 11, 1, 12, 1, 13, 1, 16, 1,
27
+ 17, 1, 18, 1, 19, 1, 20, 1,
28
+ 21, 1, 22, 1, 23, 2, 2, 18,
29
+ 2, 3, 4, 2, 13, 0, 2, 14,
30
+ 15, 2, 17, 0, 2, 17, 1, 2,
31
+ 17, 16, 2, 17, 19, 2, 18, 6,
32
+ 2, 18, 7, 2, 18, 8, 2, 18,
33
+ 9, 2, 18, 10, 2, 18, 16, 2,
34
+ 20, 21, 2, 22, 0, 2, 22, 1,
35
+ 2, 22, 16, 2, 22, 19, 3, 4,
36
+ 14, 15, 3, 5, 14, 15, 3, 11,
37
+ 14, 15, 3, 12, 14, 15, 3, 13,
38
+ 14, 15, 3, 14, 15, 18, 3, 17,
39
+ 0, 11, 3, 17, 14, 15, 4, 2,
40
+ 14, 15, 18, 4, 3, 4, 14, 15,
41
+ 4, 17, 0, 14, 15, 5, 17, 0,
42
+ 11, 14, 15
43
+ ]
44
+
45
+ class << self
46
+ attr_accessor :_lexer_key_offsets
47
+ private :_lexer_key_offsets, :_lexer_key_offsets=
48
+ end
49
+ self._lexer_key_offsets = [
50
+ 0, 0, 20, 21, 22, 41, 42, 43,
51
+ 45, 47, 52, 57, 62, 67, 71, 75,
52
+ 77, 78, 79, 80, 81, 82, 83, 84,
53
+ 85, 86, 87, 88, 89, 90, 91, 92,
54
+ 93, 95, 97, 102, 109, 114, 117, 118,
55
+ 119, 120, 121, 122, 123, 124, 125, 126,
56
+ 127, 128, 129, 130, 131, 132, 133, 134,
57
+ 135, 136, 152, 154, 156, 158, 160, 162,
58
+ 164, 166, 168, 170, 172, 174, 176, 178,
59
+ 180, 182, 201, 202, 204, 205, 206, 207,
60
+ 208, 209, 210, 211, 212, 213, 214, 215,
61
+ 216, 217, 218, 219, 231, 233, 235, 237,
62
+ 239, 241, 243, 245, 247, 249, 251, 253,
63
+ 255, 257, 259, 261, 263, 265, 267, 269,
64
+ 271, 273, 275, 277, 279, 281, 283, 285,
65
+ 287, 289, 291, 293, 295, 297, 299, 301,
66
+ 303, 305, 307, 309, 312, 315, 317, 319,
67
+ 321, 323, 325, 327, 329, 331, 333, 335,
68
+ 337, 339, 341, 343, 345, 347, 349, 351,
69
+ 353, 355, 357, 359, 361, 363, 365, 367,
70
+ 369, 371, 373, 375, 377, 379, 381, 383,
71
+ 385, 387, 389, 391, 393, 395, 397, 398,
72
+ 399, 400, 402, 403, 405, 407, 408, 409,
73
+ 410, 411, 412, 413, 414, 415, 432, 434,
74
+ 436, 438, 440, 442, 444, 446, 448, 450,
75
+ 452, 454, 456, 458, 460, 462, 466, 468,
76
+ 470, 472, 474, 476, 478, 480, 482, 484,
77
+ 486, 488, 490, 492, 494, 496, 498, 500,
78
+ 503, 505, 507, 509, 511, 514, 516, 518,
79
+ 520, 522, 524, 526, 528, 530, 532, 534,
80
+ 536, 538, 540, 542, 544, 547, 549, 552,
81
+ 554, 556, 558, 560, 562, 564, 566, 568,
82
+ 570, 572, 574, 576, 578, 580, 582, 584,
83
+ 586, 588, 590, 592, 594, 596, 598, 600,
84
+ 602, 604, 606, 608, 610, 612, 614, 616,
85
+ 618, 620, 622, 624, 626, 628, 630, 632,
86
+ 634, 636, 638, 639, 640, 641, 642, 643,
87
+ 644, 645, 646, 647, 648, 649, 650, 651,
88
+ 652, 653, 654, 655, 656, 657, 658, 659,
89
+ 675, 677, 679, 681, 683, 685, 687, 689,
90
+ 691, 693, 695, 697, 699, 701, 703, 705,
91
+ 708, 710, 712, 714, 716, 718, 720, 722,
92
+ 725, 727, 729, 731, 733, 736, 738, 740,
93
+ 742, 744, 746, 748, 750, 752, 754, 756,
94
+ 758, 760, 762, 764, 766, 768, 771, 773,
95
+ 775, 777, 779, 781, 783, 785, 787, 789,
96
+ 791, 793, 795, 797, 799, 801, 803, 805,
97
+ 807, 809, 811, 813, 815, 817, 819, 821,
98
+ 823, 824, 825, 826, 827, 828, 829, 830,
99
+ 831, 832, 840, 842, 844, 846, 848, 850,
100
+ 852, 854, 856, 858, 860, 862, 864, 866,
101
+ 868, 870, 872, 874, 876, 878, 880, 882,
102
+ 884, 886, 888, 890, 892, 894, 895, 896,
103
+ 897, 898, 899, 900, 901, 902, 903, 904,
104
+ 905, 906, 907, 908, 909, 910, 911, 912,
105
+ 913, 914, 915, 916, 917, 918, 919, 923,
106
+ 929, 932, 934, 940, 959, 962, 964, 966,
107
+ 968, 970, 972, 974, 976, 979, 981, 983,
108
+ 985, 987, 990, 992, 994, 996, 998, 1000,
109
+ 1002, 1004, 1006, 1008, 1010, 1012, 1014, 1016,
110
+ 1018, 1020, 1022, 1025, 1027, 1030, 1032, 1034,
111
+ 1036, 1038, 1040, 1042, 1044, 1046, 1048, 1050,
112
+ 1052, 1054, 1056, 1058, 1060, 1062, 1064, 1066,
113
+ 1068, 1070, 1072, 1074, 1076, 1078, 1080, 1082,
114
+ 1084, 1086, 1088, 1090, 1092, 1094, 1096, 1098,
115
+ 1100, 1102, 1104, 1106, 1107, 1108
116
+ ]
117
+
118
+ class << self
119
+ attr_accessor :_lexer_trans_keys
120
+ private :_lexer_trans_keys, :_lexer_trans_keys=
121
+ end
122
+ self._lexer_trans_keys = [
123
+ -17, 10, 32, 34, 35, 37, 42, 64,
124
+ 65, 67, 68, 69, 70, 73, 80, 81,
125
+ 82, 124, 9, 13, -69, -65, 10, 32,
126
+ 34, 35, 37, 42, 64, 65, 67, 68,
127
+ 69, 70, 73, 80, 81, 82, 124, 9,
128
+ 13, 34, 34, 10, 13, 10, 13, 10,
129
+ 32, 34, 9, 13, 10, 32, 34, 9,
130
+ 13, 10, 32, 34, 9, 13, 10, 32,
131
+ 34, 9, 13, 10, 32, 9, 13, 10,
132
+ 32, 9, 13, 10, 13, 10, 95, 70,
133
+ 69, 65, 84, 85, 82, 69, 95, 69,
134
+ 78, 68, 95, 37, 32, 10, 13, 10,
135
+ 13, 13, 32, 64, 9, 10, 9, 10,
136
+ 13, 32, 64, 11, 12, 10, 32, 64,
137
+ 9, 13, 108, 110, 116, 101, 115, 104,
138
+ 111, 114, 101, 115, 116, 101, 99, 101,
139
+ 100, 101, 110, 116, 115, 58, 10, 10,
140
+ 10, 32, 35, 37, 42, 64, 65, 67,
141
+ 68, 69, 70, 73, 80, 81, 9, 13,
142
+ 10, 95, 10, 70, 10, 69, 10, 65,
143
+ 10, 84, 10, 85, 10, 82, 10, 69,
144
+ 10, 95, 10, 69, 10, 78, 10, 68,
145
+ 10, 95, 10, 37, 10, 32, 10, 32,
146
+ 34, 35, 37, 42, 64, 65, 67, 68,
147
+ 69, 70, 73, 80, 81, 82, 124, 9,
148
+ 13, 97, 108, 114, 97, 99, 116, 101,
149
+ 114, -61, -83, 115, 116, 105, 99, 97,
150
+ 58, 10, 10, 10, 32, 35, 37, 64,
151
+ 65, 67, 69, 70, 82, 9, 13, 10,
152
+ 95, 10, 70, 10, 69, 10, 65, 10,
153
+ 84, 10, 85, 10, 82, 10, 69, 10,
154
+ 95, 10, 69, 10, 78, 10, 68, 10,
155
+ 95, 10, 37, 10, 110, 10, 116, 10,
156
+ 101, 10, 99, 10, 101, 10, 100, 10,
157
+ 101, 10, 110, 10, 116, 10, 115, 10,
158
+ 58, 10, 97, 10, 114, 10, 97, 10,
159
+ 99, 10, 116, 10, 101, 10, 114, -61,
160
+ 10, -83, 10, 10, 115, 10, 116, 10,
161
+ 105, 10, 99, 10, 97, 10, 115, 120,
162
+ 10, 99, 113, 10, 101, 10, 110, 10,
163
+ 97, 10, 114, 10, 105, 10, 117, 10,
164
+ 101, 10, 109, 10, 97, 10, 32, 10,
165
+ 100, 10, 101, 10, 32, 10, 108, 10,
166
+ 39, 10, 101, 10, 115, 10, 99, 10,
167
+ 101, 10, 109, 10, 112, 10, 108, 10,
168
+ 101, 10, 117, 10, 110, 10, 99, 10,
169
+ 105, 10, 111, 10, 110, 10, 97, 10,
170
+ 108, 10, 105, 10, 116, 10, 97, 10,
171
+ 116, 10, 101, 10, 114, 10, 101, 10,
172
+ 102, 10, 111, 10, 110, 111, 110, 97,
173
+ 100, 116, 97, 115, 120, 99, 113, 101,
174
+ 110, 97, 114, 105, 58, 10, 10, 10,
175
+ 32, 35, 37, 42, 64, 65, 67, 68,
176
+ 69, 70, 73, 80, 81, 82, 9, 13,
177
+ 10, 95, 10, 70, 10, 69, 10, 65,
178
+ 10, 84, 10, 85, 10, 82, 10, 69,
179
+ 10, 95, 10, 69, 10, 78, 10, 68,
180
+ 10, 95, 10, 37, 10, 32, 10, 108,
181
+ 110, 116, 10, 101, 10, 115, 10, 104,
182
+ 10, 111, 10, 114, 10, 101, 10, 115,
183
+ 10, 116, 10, 101, 10, 99, 10, 101,
184
+ 10, 100, 10, 101, 10, 110, 10, 116,
185
+ 10, 115, 10, 58, -61, 10, 101, -88,
186
+ 10, 10, 115, 10, 97, 10, 97, 10,
187
+ 108, 114, 10, 97, 10, 99, 10, 116,
188
+ 10, 101, 10, 114, -61, 10, -83, 10,
189
+ 10, 115, 10, 116, 10, 105, 10, 99,
190
+ 10, 97, 10, 111, 10, 110, 10, 97,
191
+ 10, 100, 116, 10, 115, 10, 99, 113,
192
+ 10, 101, 10, 110, 10, 97, 10, 114,
193
+ 10, 105, 10, 117, 10, 101, 10, 109,
194
+ 10, 97, 10, 32, 10, 100, 10, 101,
195
+ 10, 32, 10, 108, 10, 39, 10, 101,
196
+ 10, 115, 10, 99, 10, 117, 10, 110,
197
+ 10, 99, 10, 105, 10, 111, 10, 110,
198
+ 10, 97, 10, 108, 10, 105, 10, 116,
199
+ 10, 97, 10, 116, 10, 101, 10, 114,
200
+ -61, 10, -78, 10, 10, 117, 10, 97,
201
+ 10, 110, 10, 101, 10, 114, 10, 101,
202
+ 10, 102, 10, 111, 10, 110, 117, 101,
203
+ 109, 97, 32, 100, 101, 32, 108, 39,
204
+ 101, 115, 99, 101, 110, 97, 114, 105,
205
+ 58, 10, 10, 10, 32, 35, 37, 42,
206
+ 64, 65, 67, 68, 69, 70, 73, 80,
207
+ 81, 9, 13, 10, 95, 10, 70, 10,
208
+ 69, 10, 65, 10, 84, 10, 85, 10,
209
+ 82, 10, 69, 10, 95, 10, 69, 10,
210
+ 78, 10, 68, 10, 95, 10, 37, 10,
211
+ 32, 10, 108, 116, 10, 101, 10, 115,
212
+ 10, 104, 10, 111, 10, 114, 10, 101,
213
+ 10, 115, -61, 10, 101, -88, 10, 10,
214
+ 115, 10, 97, 10, 97, 10, 108, 114,
215
+ 10, 97, 10, 99, 10, 116, 10, 101,
216
+ 10, 114, -61, 10, -83, 10, 10, 115,
217
+ 10, 116, 10, 105, 10, 99, 10, 97,
218
+ 10, 58, 10, 111, 10, 110, 10, 97,
219
+ 10, 100, 116, 10, 115, 10, 99, 10,
220
+ 101, 10, 110, 10, 97, 10, 114, 10,
221
+ 105, 10, 117, 10, 110, 10, 99, 10,
222
+ 105, 10, 111, 10, 110, 10, 97, 10,
223
+ 108, 10, 105, 10, 116, 10, 97, 10,
224
+ 116, 10, 101, 10, 114, -61, 10, -78,
225
+ 10, 10, 117, 10, 97, 10, 110, 101,
226
+ 109, 112, 108, 101, 115, 58, 10, 10,
227
+ 10, 32, 35, 67, 70, 124, 9, 13,
228
+ 10, 97, 10, 114, 10, 97, 10, 99,
229
+ 10, 116, 10, 101, 10, 114, -61, 10,
230
+ -83, 10, 10, 115, 10, 116, 10, 105,
231
+ 10, 99, 10, 97, 10, 58, 10, 117,
232
+ 10, 110, 10, 99, 10, 105, 10, 111,
233
+ 10, 110, 10, 97, 10, 108, 10, 105,
234
+ 10, 116, 10, 97, 10, 116, 117, 110,
235
+ 99, 105, 111, 110, 97, 108, 105, 116,
236
+ 97, 116, 101, 114, -61, -78, 117, 97,
237
+ 110, 101, 114, 101, 102, 111, 110, 32,
238
+ 124, 9, 13, 10, 32, 92, 124, 9,
239
+ 13, 10, 92, 124, 10, 92, 10, 32,
240
+ 92, 124, 9, 13, 10, 32, 34, 35,
241
+ 37, 42, 64, 65, 67, 68, 69, 70,
242
+ 73, 80, 81, 82, 124, 9, 13, 10,
243
+ 108, 116, 10, 101, 10, 115, 10, 104,
244
+ 10, 111, 10, 114, 10, 101, 10, 115,
245
+ -61, 10, 101, -88, 10, 10, 115, 10,
246
+ 97, 10, 97, 10, 108, 114, 10, 97,
247
+ 10, 99, 10, 116, 10, 101, 10, 114,
248
+ -61, 10, -83, 10, 10, 115, 10, 116,
249
+ 10, 105, 10, 99, 10, 97, 10, 58,
250
+ 10, 111, 10, 110, 10, 97, 10, 100,
251
+ 116, 10, 115, 10, 99, 113, 10, 101,
252
+ 10, 110, 10, 97, 10, 114, 10, 105,
253
+ 10, 117, 10, 101, 10, 109, 10, 97,
254
+ 10, 32, 10, 100, 10, 101, 10, 32,
255
+ 10, 108, 10, 39, 10, 101, 10, 115,
256
+ 10, 99, 10, 117, 10, 110, 10, 99,
257
+ 10, 105, 10, 111, 10, 110, 10, 97,
258
+ 10, 108, 10, 105, 10, 116, 10, 97,
259
+ 10, 116, 10, 101, 10, 114, -61, 10,
260
+ -78, 10, 10, 117, 10, 97, 10, 110,
261
+ -61, 101, -88, 115, 0
262
+ ]
263
+
264
+ class << self
265
+ attr_accessor :_lexer_single_lengths
266
+ private :_lexer_single_lengths, :_lexer_single_lengths=
267
+ end
268
+ self._lexer_single_lengths = [
269
+ 0, 18, 1, 1, 17, 1, 1, 2,
270
+ 2, 3, 3, 3, 3, 2, 2, 2,
271
+ 1, 1, 1, 1, 1, 1, 1, 1,
272
+ 1, 1, 1, 1, 1, 1, 1, 1,
273
+ 2, 2, 3, 5, 3, 3, 1, 1,
274
+ 1, 1, 1, 1, 1, 1, 1, 1,
275
+ 1, 1, 1, 1, 1, 1, 1, 1,
276
+ 1, 14, 2, 2, 2, 2, 2, 2,
277
+ 2, 2, 2, 2, 2, 2, 2, 2,
278
+ 2, 17, 1, 2, 1, 1, 1, 1,
279
+ 1, 1, 1, 1, 1, 1, 1, 1,
280
+ 1, 1, 1, 10, 2, 2, 2, 2,
281
+ 2, 2, 2, 2, 2, 2, 2, 2,
282
+ 2, 2, 2, 2, 2, 2, 2, 2,
283
+ 2, 2, 2, 2, 2, 2, 2, 2,
284
+ 2, 2, 2, 2, 2, 2, 2, 2,
285
+ 2, 2, 2, 3, 3, 2, 2, 2,
286
+ 2, 2, 2, 2, 2, 2, 2, 2,
287
+ 2, 2, 2, 2, 2, 2, 2, 2,
288
+ 2, 2, 2, 2, 2, 2, 2, 2,
289
+ 2, 2, 2, 2, 2, 2, 2, 2,
290
+ 2, 2, 2, 2, 2, 2, 1, 1,
291
+ 1, 2, 1, 2, 2, 1, 1, 1,
292
+ 1, 1, 1, 1, 1, 15, 2, 2,
293
+ 2, 2, 2, 2, 2, 2, 2, 2,
294
+ 2, 2, 2, 2, 2, 4, 2, 2,
295
+ 2, 2, 2, 2, 2, 2, 2, 2,
296
+ 2, 2, 2, 2, 2, 2, 2, 3,
297
+ 2, 2, 2, 2, 3, 2, 2, 2,
298
+ 2, 2, 2, 2, 2, 2, 2, 2,
299
+ 2, 2, 2, 2, 3, 2, 3, 2,
300
+ 2, 2, 2, 2, 2, 2, 2, 2,
301
+ 2, 2, 2, 2, 2, 2, 2, 2,
302
+ 2, 2, 2, 2, 2, 2, 2, 2,
303
+ 2, 2, 2, 2, 2, 2, 2, 2,
304
+ 2, 2, 2, 2, 2, 2, 2, 2,
305
+ 2, 2, 1, 1, 1, 1, 1, 1,
306
+ 1, 1, 1, 1, 1, 1, 1, 1,
307
+ 1, 1, 1, 1, 1, 1, 1, 14,
308
+ 2, 2, 2, 2, 2, 2, 2, 2,
309
+ 2, 2, 2, 2, 2, 2, 2, 3,
310
+ 2, 2, 2, 2, 2, 2, 2, 3,
311
+ 2, 2, 2, 2, 3, 2, 2, 2,
312
+ 2, 2, 2, 2, 2, 2, 2, 2,
313
+ 2, 2, 2, 2, 2, 3, 2, 2,
314
+ 2, 2, 2, 2, 2, 2, 2, 2,
315
+ 2, 2, 2, 2, 2, 2, 2, 2,
316
+ 2, 2, 2, 2, 2, 2, 2, 2,
317
+ 1, 1, 1, 1, 1, 1, 1, 1,
318
+ 1, 6, 2, 2, 2, 2, 2, 2,
319
+ 2, 2, 2, 2, 2, 2, 2, 2,
320
+ 2, 2, 2, 2, 2, 2, 2, 2,
321
+ 2, 2, 2, 2, 2, 1, 1, 1,
322
+ 1, 1, 1, 1, 1, 1, 1, 1,
323
+ 1, 1, 1, 1, 1, 1, 1, 1,
324
+ 1, 1, 1, 1, 1, 1, 2, 4,
325
+ 3, 2, 4, 17, 3, 2, 2, 2,
326
+ 2, 2, 2, 2, 3, 2, 2, 2,
327
+ 2, 3, 2, 2, 2, 2, 2, 2,
328
+ 2, 2, 2, 2, 2, 2, 2, 2,
329
+ 2, 2, 3, 2, 3, 2, 2, 2,
330
+ 2, 2, 2, 2, 2, 2, 2, 2,
331
+ 2, 2, 2, 2, 2, 2, 2, 2,
332
+ 2, 2, 2, 2, 2, 2, 2, 2,
333
+ 2, 2, 2, 2, 2, 2, 2, 2,
334
+ 2, 2, 2, 1, 1, 0
335
+ ]
336
+
337
+ class << self
338
+ attr_accessor :_lexer_range_lengths
339
+ private :_lexer_range_lengths, :_lexer_range_lengths=
340
+ end
341
+ self._lexer_range_lengths = [
342
+ 0, 1, 0, 0, 1, 0, 0, 0,
343
+ 0, 1, 1, 1, 1, 1, 1, 0,
344
+ 0, 0, 0, 0, 0, 0, 0, 0,
345
+ 0, 0, 0, 0, 0, 0, 0, 0,
346
+ 0, 0, 1, 1, 1, 0, 0, 0,
347
+ 0, 0, 0, 0, 0, 0, 0, 0,
348
+ 0, 0, 0, 0, 0, 0, 0, 0,
349
+ 0, 1, 0, 0, 0, 0, 0, 0,
350
+ 0, 0, 0, 0, 0, 0, 0, 0,
351
+ 0, 1, 0, 0, 0, 0, 0, 0,
352
+ 0, 0, 0, 0, 0, 0, 0, 0,
353
+ 0, 0, 0, 1, 0, 0, 0, 0,
354
+ 0, 0, 0, 0, 0, 0, 0, 0,
355
+ 0, 0, 0, 0, 0, 0, 0, 0,
356
+ 0, 0, 0, 0, 0, 0, 0, 0,
357
+ 0, 0, 0, 0, 0, 0, 0, 0,
358
+ 0, 0, 0, 0, 0, 0, 0, 0,
359
+ 0, 0, 0, 0, 0, 0, 0, 0,
360
+ 0, 0, 0, 0, 0, 0, 0, 0,
361
+ 0, 0, 0, 0, 0, 0, 0, 0,
362
+ 0, 0, 0, 0, 0, 0, 0, 0,
363
+ 0, 0, 0, 0, 0, 0, 0, 0,
364
+ 0, 0, 0, 0, 0, 0, 0, 0,
365
+ 0, 0, 0, 0, 0, 1, 0, 0,
366
+ 0, 0, 0, 0, 0, 0, 0, 0,
367
+ 0, 0, 0, 0, 0, 0, 0, 0,
368
+ 0, 0, 0, 0, 0, 0, 0, 0,
369
+ 0, 0, 0, 0, 0, 0, 0, 0,
370
+ 0, 0, 0, 0, 0, 0, 0, 0,
371
+ 0, 0, 0, 0, 0, 0, 0, 0,
372
+ 0, 0, 0, 0, 0, 0, 0, 0,
373
+ 0, 0, 0, 0, 0, 0, 0, 0,
374
+ 0, 0, 0, 0, 0, 0, 0, 0,
375
+ 0, 0, 0, 0, 0, 0, 0, 0,
376
+ 0, 0, 0, 0, 0, 0, 0, 0,
377
+ 0, 0, 0, 0, 0, 0, 0, 0,
378
+ 0, 0, 0, 0, 0, 0, 0, 0,
379
+ 0, 0, 0, 0, 0, 0, 0, 0,
380
+ 0, 0, 0, 0, 0, 0, 0, 1,
381
+ 0, 0, 0, 0, 0, 0, 0, 0,
382
+ 0, 0, 0, 0, 0, 0, 0, 0,
383
+ 0, 0, 0, 0, 0, 0, 0, 0,
384
+ 0, 0, 0, 0, 0, 0, 0, 0,
385
+ 0, 0, 0, 0, 0, 0, 0, 0,
386
+ 0, 0, 0, 0, 0, 0, 0, 0,
387
+ 0, 0, 0, 0, 0, 0, 0, 0,
388
+ 0, 0, 0, 0, 0, 0, 0, 0,
389
+ 0, 0, 0, 0, 0, 0, 0, 0,
390
+ 0, 0, 0, 0, 0, 0, 0, 0,
391
+ 0, 1, 0, 0, 0, 0, 0, 0,
392
+ 0, 0, 0, 0, 0, 0, 0, 0,
393
+ 0, 0, 0, 0, 0, 0, 0, 0,
394
+ 0, 0, 0, 0, 0, 0, 0, 0,
395
+ 0, 0, 0, 0, 0, 0, 0, 0,
396
+ 0, 0, 0, 0, 0, 0, 0, 0,
397
+ 0, 0, 0, 0, 0, 0, 1, 1,
398
+ 0, 0, 1, 1, 0, 0, 0, 0,
399
+ 0, 0, 0, 0, 0, 0, 0, 0,
400
+ 0, 0, 0, 0, 0, 0, 0, 0,
401
+ 0, 0, 0, 0, 0, 0, 0, 0,
402
+ 0, 0, 0, 0, 0, 0, 0, 0,
403
+ 0, 0, 0, 0, 0, 0, 0, 0,
404
+ 0, 0, 0, 0, 0, 0, 0, 0,
405
+ 0, 0, 0, 0, 0, 0, 0, 0,
406
+ 0, 0, 0, 0, 0, 0, 0, 0,
407
+ 0, 0, 0, 0, 0, 0
408
+ ]
409
+
410
+ class << self
411
+ attr_accessor :_lexer_index_offsets
412
+ private :_lexer_index_offsets, :_lexer_index_offsets=
413
+ end
414
+ self._lexer_index_offsets = [
415
+ 0, 0, 20, 22, 24, 43, 45, 47,
416
+ 50, 53, 58, 63, 68, 73, 77, 81,
417
+ 84, 86, 88, 90, 92, 94, 96, 98,
418
+ 100, 102, 104, 106, 108, 110, 112, 114,
419
+ 116, 119, 122, 127, 134, 139, 143, 145,
420
+ 147, 149, 151, 153, 155, 157, 159, 161,
421
+ 163, 165, 167, 169, 171, 173, 175, 177,
422
+ 179, 181, 197, 200, 203, 206, 209, 212,
423
+ 215, 218, 221, 224, 227, 230, 233, 236,
424
+ 239, 242, 261, 263, 266, 268, 270, 272,
425
+ 274, 276, 278, 280, 282, 284, 286, 288,
426
+ 290, 292, 294, 296, 308, 311, 314, 317,
427
+ 320, 323, 326, 329, 332, 335, 338, 341,
428
+ 344, 347, 350, 353, 356, 359, 362, 365,
429
+ 368, 371, 374, 377, 380, 383, 386, 389,
430
+ 392, 395, 398, 401, 404, 407, 410, 413,
431
+ 416, 419, 422, 425, 429, 433, 436, 439,
432
+ 442, 445, 448, 451, 454, 457, 460, 463,
433
+ 466, 469, 472, 475, 478, 481, 484, 487,
434
+ 490, 493, 496, 499, 502, 505, 508, 511,
435
+ 514, 517, 520, 523, 526, 529, 532, 535,
436
+ 538, 541, 544, 547, 550, 553, 556, 558,
437
+ 560, 562, 565, 567, 570, 573, 575, 577,
438
+ 579, 581, 583, 585, 587, 589, 606, 609,
439
+ 612, 615, 618, 621, 624, 627, 630, 633,
440
+ 636, 639, 642, 645, 648, 651, 656, 659,
441
+ 662, 665, 668, 671, 674, 677, 680, 683,
442
+ 686, 689, 692, 695, 698, 701, 704, 707,
443
+ 711, 714, 717, 720, 723, 727, 730, 733,
444
+ 736, 739, 742, 745, 748, 751, 754, 757,
445
+ 760, 763, 766, 769, 772, 776, 779, 783,
446
+ 786, 789, 792, 795, 798, 801, 804, 807,
447
+ 810, 813, 816, 819, 822, 825, 828, 831,
448
+ 834, 837, 840, 843, 846, 849, 852, 855,
449
+ 858, 861, 864, 867, 870, 873, 876, 879,
450
+ 882, 885, 888, 891, 894, 897, 900, 903,
451
+ 906, 909, 912, 914, 916, 918, 920, 922,
452
+ 924, 926, 928, 930, 932, 934, 936, 938,
453
+ 940, 942, 944, 946, 948, 950, 952, 954,
454
+ 970, 973, 976, 979, 982, 985, 988, 991,
455
+ 994, 997, 1000, 1003, 1006, 1009, 1012, 1015,
456
+ 1019, 1022, 1025, 1028, 1031, 1034, 1037, 1040,
457
+ 1044, 1047, 1050, 1053, 1056, 1060, 1063, 1066,
458
+ 1069, 1072, 1075, 1078, 1081, 1084, 1087, 1090,
459
+ 1093, 1096, 1099, 1102, 1105, 1108, 1112, 1115,
460
+ 1118, 1121, 1124, 1127, 1130, 1133, 1136, 1139,
461
+ 1142, 1145, 1148, 1151, 1154, 1157, 1160, 1163,
462
+ 1166, 1169, 1172, 1175, 1178, 1181, 1184, 1187,
463
+ 1190, 1192, 1194, 1196, 1198, 1200, 1202, 1204,
464
+ 1206, 1208, 1216, 1219, 1222, 1225, 1228, 1231,
465
+ 1234, 1237, 1240, 1243, 1246, 1249, 1252, 1255,
466
+ 1258, 1261, 1264, 1267, 1270, 1273, 1276, 1279,
467
+ 1282, 1285, 1288, 1291, 1294, 1297, 1299, 1301,
468
+ 1303, 1305, 1307, 1309, 1311, 1313, 1315, 1317,
469
+ 1319, 1321, 1323, 1325, 1327, 1329, 1331, 1333,
470
+ 1335, 1337, 1339, 1341, 1343, 1345, 1347, 1351,
471
+ 1357, 1361, 1364, 1370, 1389, 1393, 1396, 1399,
472
+ 1402, 1405, 1408, 1411, 1414, 1418, 1421, 1424,
473
+ 1427, 1430, 1434, 1437, 1440, 1443, 1446, 1449,
474
+ 1452, 1455, 1458, 1461, 1464, 1467, 1470, 1473,
475
+ 1476, 1479, 1482, 1486, 1489, 1493, 1496, 1499,
476
+ 1502, 1505, 1508, 1511, 1514, 1517, 1520, 1523,
477
+ 1526, 1529, 1532, 1535, 1538, 1541, 1544, 1547,
478
+ 1550, 1553, 1556, 1559, 1562, 1565, 1568, 1571,
479
+ 1574, 1577, 1580, 1583, 1586, 1589, 1592, 1595,
480
+ 1598, 1601, 1604, 1607, 1609, 1611
481
+ ]
482
+
483
+ class << self
484
+ attr_accessor :_lexer_indicies
485
+ private :_lexer_indicies, :_lexer_indicies=
486
+ end
487
+ self._lexer_indicies = [
488
+ 1, 3, 2, 4, 5, 6, 7, 8,
489
+ 9, 10, 11, 12, 13, 7, 14, 15,
490
+ 16, 17, 2, 0, 18, 0, 2, 0,
491
+ 3, 2, 4, 5, 6, 7, 8, 9,
492
+ 10, 11, 12, 13, 7, 14, 15, 16,
493
+ 17, 2, 0, 19, 0, 20, 0, 22,
494
+ 23, 21, 25, 26, 24, 29, 28, 30,
495
+ 28, 27, 33, 32, 34, 32, 31, 33,
496
+ 32, 35, 32, 31, 33, 32, 36, 32,
497
+ 31, 38, 37, 37, 0, 3, 39, 39,
498
+ 0, 41, 42, 40, 3, 0, 43, 0,
499
+ 44, 0, 45, 0, 46, 0, 47, 0,
500
+ 48, 0, 49, 0, 50, 0, 51, 0,
501
+ 52, 0, 53, 0, 54, 0, 55, 0,
502
+ 56, 0, 57, 0, 59, 60, 58, 62,
503
+ 63, 61, 0, 0, 0, 0, 64, 65,
504
+ 66, 65, 65, 68, 67, 64, 3, 69,
505
+ 8, 69, 0, 70, 71, 72, 0, 73,
506
+ 0, 74, 0, 75, 0, 76, 0, 77,
507
+ 0, 78, 0, 79, 0, 80, 0, 81,
508
+ 0, 82, 0, 83, 0, 84, 0, 85,
509
+ 0, 86, 0, 87, 0, 88, 0, 89,
510
+ 0, 91, 90, 93, 92, 93, 94, 95,
511
+ 96, 97, 95, 98, 99, 100, 101, 102,
512
+ 97, 103, 104, 94, 92, 93, 105, 92,
513
+ 93, 106, 92, 93, 107, 92, 93, 108,
514
+ 92, 93, 109, 92, 93, 110, 92, 93,
515
+ 111, 92, 93, 112, 92, 93, 113, 92,
516
+ 93, 114, 92, 93, 115, 92, 93, 116,
517
+ 92, 93, 117, 92, 93, 118, 92, 93,
518
+ 119, 92, 121, 120, 122, 123, 124, 125,
519
+ 126, 127, 128, 129, 130, 131, 125, 132,
520
+ 133, 134, 135, 120, 0, 136, 0, 79,
521
+ 137, 0, 138, 0, 139, 0, 140, 0,
522
+ 141, 0, 142, 0, 143, 0, 144, 0,
523
+ 145, 0, 146, 0, 147, 0, 148, 0,
524
+ 149, 0, 150, 0, 152, 151, 154, 153,
525
+ 154, 155, 156, 157, 156, 158, 159, 160,
526
+ 161, 162, 155, 153, 154, 163, 153, 154,
527
+ 164, 153, 154, 165, 153, 154, 166, 153,
528
+ 154, 167, 153, 154, 168, 153, 154, 169,
529
+ 153, 154, 170, 153, 154, 171, 153, 154,
530
+ 172, 153, 154, 173, 153, 154, 174, 153,
531
+ 154, 175, 153, 154, 176, 153, 154, 177,
532
+ 153, 154, 178, 153, 154, 179, 153, 154,
533
+ 180, 153, 154, 181, 153, 154, 182, 153,
534
+ 154, 183, 153, 154, 184, 153, 154, 185,
535
+ 153, 154, 186, 153, 154, 187, 153, 154,
536
+ 188, 153, 154, 189, 153, 154, 190, 153,
537
+ 154, 191, 153, 154, 192, 153, 154, 193,
538
+ 153, 154, 194, 153, 195, 154, 153, 196,
539
+ 154, 153, 154, 197, 153, 154, 198, 153,
540
+ 154, 199, 153, 154, 200, 153, 154, 186,
541
+ 153, 154, 201, 202, 153, 154, 203, 204,
542
+ 153, 154, 205, 153, 154, 206, 153, 154,
543
+ 207, 153, 154, 208, 153, 154, 186, 153,
544
+ 154, 209, 153, 154, 210, 153, 154, 211,
545
+ 153, 154, 212, 153, 154, 213, 153, 154,
546
+ 214, 153, 154, 215, 153, 154, 216, 153,
547
+ 154, 217, 153, 154, 218, 153, 154, 219,
548
+ 153, 154, 220, 153, 154, 203, 153, 154,
549
+ 221, 153, 154, 222, 153, 154, 223, 153,
550
+ 154, 224, 153, 154, 185, 153, 154, 225,
551
+ 153, 154, 226, 153, 154, 227, 153, 154,
552
+ 228, 153, 154, 229, 153, 154, 230, 153,
553
+ 154, 231, 153, 154, 232, 153, 154, 233,
554
+ 153, 154, 234, 153, 154, 235, 153, 154,
555
+ 186, 153, 154, 236, 153, 154, 237, 153,
556
+ 154, 238, 153, 154, 239, 153, 154, 240,
557
+ 153, 154, 185, 153, 241, 0, 242, 0,
558
+ 243, 0, 244, 79, 0, 79, 0, 245,
559
+ 246, 0, 247, 248, 0, 249, 0, 250,
560
+ 0, 251, 0, 252, 0, 253, 0, 254,
561
+ 0, 256, 255, 258, 257, 258, 259, 260,
562
+ 261, 262, 260, 263, 264, 265, 266, 267,
563
+ 262, 268, 269, 270, 259, 257, 258, 271,
564
+ 257, 258, 272, 257, 258, 273, 257, 258,
565
+ 274, 257, 258, 275, 257, 258, 276, 257,
566
+ 258, 277, 257, 258, 278, 257, 258, 279,
567
+ 257, 258, 280, 257, 258, 281, 257, 258,
568
+ 282, 257, 258, 283, 257, 258, 284, 257,
569
+ 258, 285, 257, 258, 286, 287, 288, 257,
570
+ 258, 289, 257, 258, 290, 257, 258, 291,
571
+ 257, 258, 292, 257, 258, 293, 257, 258,
572
+ 294, 257, 258, 295, 257, 258, 296, 257,
573
+ 258, 297, 257, 258, 298, 257, 258, 299,
574
+ 257, 258, 300, 257, 258, 301, 257, 258,
575
+ 302, 257, 258, 303, 257, 258, 304, 257,
576
+ 258, 285, 257, 305, 258, 306, 257, 294,
577
+ 258, 257, 258, 307, 257, 258, 295, 257,
578
+ 258, 308, 257, 258, 295, 309, 257, 258,
579
+ 310, 257, 258, 311, 257, 258, 312, 257,
580
+ 258, 313, 257, 258, 314, 257, 315, 258,
581
+ 257, 316, 258, 257, 258, 317, 257, 258,
582
+ 318, 257, 258, 319, 257, 258, 320, 257,
583
+ 258, 304, 257, 258, 321, 257, 258, 322,
584
+ 257, 258, 323, 257, 258, 307, 295, 257,
585
+ 258, 324, 257, 258, 325, 326, 257, 258,
586
+ 327, 257, 258, 328, 257, 258, 329, 257,
587
+ 258, 330, 257, 258, 304, 257, 258, 331,
588
+ 257, 258, 332, 257, 258, 333, 257, 258,
589
+ 334, 257, 258, 335, 257, 258, 336, 257,
590
+ 258, 337, 257, 258, 338, 257, 258, 339,
591
+ 257, 258, 340, 257, 258, 341, 257, 258,
592
+ 342, 257, 258, 325, 257, 258, 343, 257,
593
+ 258, 344, 257, 258, 345, 257, 258, 346,
594
+ 257, 258, 347, 257, 258, 348, 257, 258,
595
+ 349, 257, 258, 350, 257, 258, 351, 257,
596
+ 258, 352, 257, 258, 353, 257, 258, 304,
597
+ 257, 258, 354, 257, 258, 355, 257, 356,
598
+ 258, 257, 295, 258, 257, 258, 357, 257,
599
+ 258, 358, 257, 258, 295, 257, 258, 359,
600
+ 257, 258, 360, 257, 258, 361, 257, 258,
601
+ 362, 257, 258, 363, 257, 258, 303, 257,
602
+ 364, 0, 365, 0, 366, 0, 367, 0,
603
+ 368, 0, 369, 0, 370, 0, 371, 0,
604
+ 372, 0, 373, 0, 374, 0, 375, 0,
605
+ 376, 0, 377, 0, 378, 0, 379, 0,
606
+ 380, 0, 381, 0, 382, 0, 384, 383,
607
+ 386, 385, 386, 387, 388, 389, 390, 388,
608
+ 391, 392, 393, 394, 395, 390, 396, 397,
609
+ 387, 385, 386, 398, 385, 386, 399, 385,
610
+ 386, 400, 385, 386, 401, 385, 386, 402,
611
+ 385, 386, 403, 385, 386, 404, 385, 386,
612
+ 405, 385, 386, 406, 385, 386, 407, 385,
613
+ 386, 408, 385, 386, 409, 385, 386, 410,
614
+ 385, 386, 411, 385, 386, 412, 385, 386,
615
+ 413, 414, 385, 386, 415, 385, 386, 416,
616
+ 385, 386, 417, 385, 386, 418, 385, 386,
617
+ 419, 385, 386, 420, 385, 386, 421, 385,
618
+ 422, 386, 423, 385, 420, 386, 385, 386,
619
+ 424, 385, 386, 421, 385, 386, 425, 385,
620
+ 386, 421, 426, 385, 386, 427, 385, 386,
621
+ 428, 385, 386, 429, 385, 386, 430, 385,
622
+ 386, 431, 385, 432, 386, 385, 433, 386,
623
+ 385, 386, 434, 385, 386, 435, 385, 386,
624
+ 436, 385, 386, 437, 385, 386, 438, 385,
625
+ 386, 412, 385, 386, 439, 385, 386, 440,
626
+ 385, 386, 441, 385, 386, 424, 421, 385,
627
+ 386, 442, 385, 386, 443, 385, 386, 444,
628
+ 385, 386, 445, 385, 386, 446, 385, 386,
629
+ 447, 385, 386, 438, 385, 386, 448, 385,
630
+ 386, 449, 385, 386, 450, 385, 386, 451,
631
+ 385, 386, 452, 385, 386, 453, 385, 386,
632
+ 454, 385, 386, 455, 385, 386, 456, 385,
633
+ 386, 457, 385, 386, 458, 385, 386, 438,
634
+ 385, 386, 459, 385, 386, 460, 385, 461,
635
+ 386, 385, 421, 386, 385, 386, 462, 385,
636
+ 386, 463, 385, 386, 421, 385, 464, 0,
637
+ 465, 0, 466, 0, 467, 0, 468, 0,
638
+ 469, 0, 470, 0, 472, 471, 474, 473,
639
+ 474, 475, 476, 477, 478, 476, 475, 473,
640
+ 474, 479, 473, 474, 480, 473, 474, 481,
641
+ 473, 474, 482, 473, 474, 483, 473, 474,
642
+ 484, 473, 474, 485, 473, 486, 474, 473,
643
+ 487, 474, 473, 474, 488, 473, 474, 489,
644
+ 473, 474, 490, 473, 474, 491, 473, 474,
645
+ 492, 473, 474, 493, 473, 474, 494, 473,
646
+ 474, 495, 473, 474, 496, 473, 474, 497,
647
+ 473, 474, 498, 473, 474, 499, 473, 474,
648
+ 500, 473, 474, 501, 473, 474, 502, 473,
649
+ 474, 503, 473, 474, 504, 473, 474, 492,
650
+ 473, 505, 0, 506, 0, 507, 0, 508,
651
+ 0, 509, 0, 510, 0, 511, 0, 512,
652
+ 0, 513, 0, 514, 0, 515, 0, 149,
653
+ 0, 516, 0, 517, 0, 518, 0, 79,
654
+ 0, 519, 0, 520, 0, 79, 0, 521,
655
+ 0, 522, 0, 523, 0, 524, 0, 525,
656
+ 0, 87, 0, 526, 527, 526, 0, 530,
657
+ 529, 531, 532, 529, 528, 0, 534, 535,
658
+ 533, 0, 534, 533, 530, 536, 534, 535,
659
+ 536, 533, 530, 537, 538, 539, 540, 541,
660
+ 542, 543, 544, 545, 546, 547, 541, 548,
661
+ 549, 550, 551, 537, 0, 93, 552, 553,
662
+ 92, 93, 554, 92, 93, 555, 92, 93,
663
+ 556, 92, 93, 557, 92, 93, 558, 92,
664
+ 93, 559, 92, 93, 560, 92, 561, 93,
665
+ 562, 92, 559, 93, 92, 93, 563, 92,
666
+ 93, 560, 92, 93, 564, 92, 93, 560,
667
+ 565, 92, 93, 566, 92, 93, 567, 92,
668
+ 93, 568, 92, 93, 569, 92, 93, 570,
669
+ 92, 571, 93, 92, 572, 93, 92, 93,
670
+ 573, 92, 93, 574, 92, 93, 575, 92,
671
+ 93, 576, 92, 93, 577, 92, 93, 119,
672
+ 92, 93, 578, 92, 93, 579, 92, 93,
673
+ 580, 92, 93, 563, 560, 92, 93, 581,
674
+ 92, 93, 582, 583, 92, 93, 584, 92,
675
+ 93, 585, 92, 93, 586, 92, 93, 587,
676
+ 92, 93, 577, 92, 93, 588, 92, 93,
677
+ 589, 92, 93, 590, 92, 93, 591, 92,
678
+ 93, 592, 92, 93, 593, 92, 93, 594,
679
+ 92, 93, 595, 92, 93, 596, 92, 93,
680
+ 597, 92, 93, 598, 92, 93, 599, 92,
681
+ 93, 582, 92, 93, 600, 92, 93, 601,
682
+ 92, 93, 602, 92, 93, 603, 92, 93,
683
+ 604, 92, 93, 605, 92, 93, 606, 92,
684
+ 93, 607, 92, 93, 608, 92, 93, 609,
685
+ 92, 93, 610, 92, 93, 577, 92, 93,
686
+ 611, 92, 93, 612, 92, 613, 93, 92,
687
+ 560, 93, 92, 93, 614, 92, 93, 615,
688
+ 92, 93, 560, 92, 616, 617, 0, 78,
689
+ 0, 244, 0, 618, 0
690
+ ]
691
+
692
+ class << self
693
+ attr_accessor :_lexer_trans_targs
694
+ private :_lexer_trans_targs, :_lexer_trans_targs=
695
+ end
696
+ self._lexer_trans_targs = [
697
+ 0, 2, 4, 4, 5, 15, 17, 31,
698
+ 34, 37, 74, 174, 179, 421, 433, 437,
699
+ 440, 446, 3, 6, 7, 8, 9, 8,
700
+ 8, 9, 8, 10, 10, 10, 11, 10,
701
+ 10, 10, 11, 12, 13, 14, 4, 14,
702
+ 15, 4, 16, 18, 19, 20, 21, 22,
703
+ 23, 24, 25, 26, 27, 28, 29, 30,
704
+ 525, 32, 33, 4, 16, 33, 4, 16,
705
+ 35, 36, 4, 35, 34, 36, 38, 45,
706
+ 522, 39, 40, 41, 42, 43, 44, 31,
707
+ 46, 47, 48, 49, 50, 51, 52, 53,
708
+ 54, 55, 56, 57, 56, 57, 57, 4,
709
+ 58, 72, 452, 464, 479, 483, 503, 515,
710
+ 519, 59, 60, 61, 62, 63, 64, 65,
711
+ 66, 67, 68, 69, 70, 71, 4, 73,
712
+ 4, 4, 5, 15, 17, 31, 34, 37,
713
+ 74, 174, 179, 421, 433, 437, 440, 446,
714
+ 75, 76, 77, 78, 79, 80, 81, 82,
715
+ 83, 84, 85, 86, 87, 88, 89, 90,
716
+ 91, 90, 91, 91, 4, 92, 106, 117,
717
+ 131, 156, 168, 93, 94, 95, 96, 97,
718
+ 98, 99, 100, 101, 102, 103, 104, 105,
719
+ 4, 107, 108, 109, 110, 111, 112, 113,
720
+ 114, 115, 116, 73, 118, 119, 120, 121,
721
+ 122, 123, 124, 125, 126, 127, 128, 129,
722
+ 130, 132, 151, 133, 138, 134, 135, 136,
723
+ 137, 139, 140, 141, 142, 143, 144, 145,
724
+ 146, 147, 148, 149, 150, 152, 153, 154,
725
+ 155, 157, 158, 159, 160, 161, 162, 163,
726
+ 164, 165, 166, 167, 169, 170, 171, 172,
727
+ 173, 175, 176, 177, 178, 180, 384, 181,
728
+ 290, 182, 183, 184, 185, 186, 187, 188,
729
+ 189, 188, 189, 189, 4, 190, 204, 205,
730
+ 227, 241, 245, 265, 277, 281, 284, 191,
731
+ 192, 193, 194, 195, 196, 197, 198, 199,
732
+ 200, 201, 202, 203, 4, 73, 206, 213,
733
+ 223, 207, 208, 209, 210, 211, 212, 204,
734
+ 214, 215, 216, 217, 218, 219, 220, 221,
735
+ 222, 224, 225, 226, 228, 229, 230, 231,
736
+ 232, 233, 234, 235, 236, 237, 238, 239,
737
+ 240, 242, 243, 244, 246, 247, 252, 248,
738
+ 249, 250, 251, 253, 254, 255, 256, 257,
739
+ 258, 259, 260, 261, 262, 263, 264, 266,
740
+ 267, 268, 269, 270, 271, 272, 273, 274,
741
+ 275, 276, 278, 279, 280, 282, 283, 285,
742
+ 286, 287, 288, 289, 291, 292, 293, 294,
743
+ 295, 296, 297, 298, 299, 300, 301, 302,
744
+ 303, 304, 305, 306, 307, 308, 309, 310,
745
+ 311, 310, 311, 311, 4, 312, 326, 327,
746
+ 339, 354, 358, 365, 377, 381, 313, 314,
747
+ 315, 316, 317, 318, 319, 320, 321, 322,
748
+ 323, 324, 325, 4, 73, 328, 335, 329,
749
+ 330, 331, 332, 333, 334, 326, 336, 337,
750
+ 338, 340, 341, 342, 343, 344, 345, 346,
751
+ 347, 348, 349, 350, 351, 352, 353, 355,
752
+ 356, 357, 359, 360, 361, 362, 363, 364,
753
+ 366, 367, 368, 369, 370, 371, 372, 373,
754
+ 374, 375, 376, 378, 379, 380, 382, 383,
755
+ 385, 386, 387, 388, 389, 390, 391, 392,
756
+ 393, 392, 393, 393, 4, 394, 409, 395,
757
+ 396, 397, 398, 399, 400, 401, 402, 403,
758
+ 404, 405, 406, 407, 408, 73, 410, 411,
759
+ 412, 413, 414, 415, 416, 417, 418, 419,
760
+ 420, 422, 423, 424, 425, 426, 427, 428,
761
+ 429, 430, 431, 432, 434, 435, 436, 438,
762
+ 439, 441, 442, 443, 444, 445, 446, 447,
763
+ 448, 450, 451, 449, 447, 448, 449, 447,
764
+ 450, 451, 5, 15, 17, 31, 34, 37,
765
+ 74, 174, 179, 421, 433, 437, 440, 446,
766
+ 453, 460, 454, 455, 456, 457, 458, 459,
767
+ 72, 461, 462, 463, 465, 466, 467, 468,
768
+ 469, 470, 471, 472, 473, 474, 475, 476,
769
+ 477, 478, 480, 481, 482, 484, 485, 490,
770
+ 486, 487, 488, 489, 491, 492, 493, 494,
771
+ 495, 496, 497, 498, 499, 500, 501, 502,
772
+ 504, 505, 506, 507, 508, 509, 510, 511,
773
+ 512, 513, 514, 516, 517, 518, 520, 521,
774
+ 523, 524, 0
775
+ ]
776
+
777
+ class << self
778
+ attr_accessor :_lexer_trans_actions
779
+ private :_lexer_trans_actions, :_lexer_trans_actions=
780
+ end
781
+ self._lexer_trans_actions = [
782
+ 43, 0, 0, 54, 3, 1, 0, 29,
783
+ 1, 29, 29, 29, 29, 29, 29, 29,
784
+ 29, 35, 0, 0, 0, 7, 139, 48,
785
+ 0, 102, 9, 5, 45, 134, 45, 0,
786
+ 33, 122, 33, 33, 0, 11, 106, 0,
787
+ 0, 114, 25, 0, 0, 0, 0, 0,
788
+ 0, 0, 0, 0, 0, 0, 0, 0,
789
+ 0, 0, 57, 149, 126, 0, 110, 23,
790
+ 0, 27, 118, 27, 51, 0, 0, 0,
791
+ 0, 0, 0, 0, 0, 0, 0, 0,
792
+ 0, 0, 0, 0, 0, 0, 0, 0,
793
+ 0, 0, 57, 144, 0, 54, 0, 72,
794
+ 33, 84, 84, 84, 84, 84, 84, 84,
795
+ 84, 0, 0, 0, 0, 0, 0, 0,
796
+ 0, 0, 0, 0, 0, 0, 15, 15,
797
+ 31, 130, 60, 57, 31, 63, 57, 63,
798
+ 63, 63, 63, 63, 63, 63, 63, 66,
799
+ 0, 0, 0, 0, 0, 0, 0, 0,
800
+ 0, 0, 0, 0, 0, 0, 0, 57,
801
+ 144, 0, 54, 0, 69, 33, 84, 84,
802
+ 84, 84, 84, 0, 0, 0, 0, 0,
803
+ 0, 0, 0, 0, 0, 0, 0, 0,
804
+ 13, 0, 0, 0, 0, 0, 0, 0,
805
+ 0, 0, 0, 13, 0, 0, 0, 0,
806
+ 0, 0, 0, 0, 0, 0, 0, 0,
807
+ 0, 0, 0, 0, 0, 0, 0, 0,
808
+ 0, 0, 0, 0, 0, 0, 0, 0,
809
+ 0, 0, 0, 0, 0, 0, 0, 0,
810
+ 0, 0, 0, 0, 0, 0, 0, 0,
811
+ 0, 0, 0, 0, 0, 0, 0, 0,
812
+ 0, 0, 0, 0, 0, 0, 0, 0,
813
+ 0, 0, 0, 0, 0, 0, 0, 57,
814
+ 144, 0, 54, 0, 75, 33, 84, 84,
815
+ 84, 84, 84, 84, 84, 84, 84, 0,
816
+ 0, 0, 0, 0, 0, 0, 0, 0,
817
+ 0, 0, 0, 0, 17, 17, 0, 0,
818
+ 0, 0, 0, 0, 0, 0, 0, 0,
819
+ 0, 0, 0, 0, 0, 0, 0, 0,
820
+ 0, 0, 0, 0, 0, 0, 0, 0,
821
+ 0, 0, 0, 0, 0, 0, 0, 0,
822
+ 0, 0, 0, 0, 0, 0, 0, 0,
823
+ 0, 0, 0, 0, 0, 0, 0, 0,
824
+ 0, 0, 0, 0, 0, 0, 0, 0,
825
+ 0, 0, 0, 0, 0, 0, 0, 0,
826
+ 0, 0, 0, 0, 0, 0, 0, 0,
827
+ 0, 0, 0, 0, 0, 0, 0, 0,
828
+ 0, 0, 0, 0, 0, 0, 0, 0,
829
+ 0, 0, 0, 0, 0, 0, 0, 57,
830
+ 144, 0, 54, 0, 78, 33, 84, 84,
831
+ 84, 84, 84, 84, 84, 84, 0, 0,
832
+ 0, 0, 0, 0, 0, 0, 0, 0,
833
+ 0, 0, 0, 19, 19, 0, 0, 0,
834
+ 0, 0, 0, 0, 0, 0, 0, 0,
835
+ 0, 0, 0, 0, 0, 0, 0, 0,
836
+ 0, 0, 0, 0, 0, 0, 0, 0,
837
+ 0, 0, 0, 0, 0, 0, 0, 0,
838
+ 0, 0, 0, 0, 0, 0, 0, 0,
839
+ 0, 0, 0, 0, 0, 0, 0, 0,
840
+ 0, 0, 0, 0, 0, 0, 0, 57,
841
+ 144, 0, 54, 0, 81, 84, 84, 0,
842
+ 0, 0, 0, 0, 0, 0, 0, 0,
843
+ 0, 0, 0, 0, 0, 21, 0, 0,
844
+ 0, 0, 0, 0, 0, 0, 0, 0,
845
+ 0, 0, 0, 0, 0, 0, 0, 0,
846
+ 0, 0, 0, 0, 0, 0, 0, 0,
847
+ 0, 0, 0, 0, 0, 0, 0, 0,
848
+ 37, 37, 54, 37, 87, 0, 0, 39,
849
+ 0, 0, 93, 90, 41, 96, 90, 96,
850
+ 96, 96, 96, 96, 96, 96, 96, 99,
851
+ 0, 0, 0, 0, 0, 0, 0, 0,
852
+ 0, 0, 0, 0, 0, 0, 0, 0,
853
+ 0, 0, 0, 0, 0, 0, 0, 0,
854
+ 0, 0, 0, 0, 0, 0, 0, 0,
855
+ 0, 0, 0, 0, 0, 0, 0, 0,
856
+ 0, 0, 0, 0, 0, 0, 0, 0,
857
+ 0, 0, 0, 0, 0, 0, 0, 0,
858
+ 0, 0, 0, 0, 0, 0, 0, 0,
859
+ 0, 0, 0
860
+ ]
861
+
862
+ class << self
863
+ attr_accessor :_lexer_eof_actions
864
+ private :_lexer_eof_actions, :_lexer_eof_actions=
865
+ end
866
+ self._lexer_eof_actions = [
867
+ 0, 43, 43, 43, 43, 43, 43, 43,
868
+ 43, 43, 43, 43, 43, 43, 43, 43,
869
+ 43, 43, 43, 43, 43, 43, 43, 43,
870
+ 43, 43, 43, 43, 43, 43, 43, 43,
871
+ 43, 43, 43, 43, 43, 43, 43, 43,
872
+ 43, 43, 43, 43, 43, 43, 43, 43,
873
+ 43, 43, 43, 43, 43, 43, 43, 43,
874
+ 43, 43, 43, 43, 43, 43, 43, 43,
875
+ 43, 43, 43, 43, 43, 43, 43, 43,
876
+ 43, 43, 43, 43, 43, 43, 43, 43,
877
+ 43, 43, 43, 43, 43, 43, 43, 43,
878
+ 43, 43, 43, 43, 43, 43, 43, 43,
879
+ 43, 43, 43, 43, 43, 43, 43, 43,
880
+ 43, 43, 43, 43, 43, 43, 43, 43,
881
+ 43, 43, 43, 43, 43, 43, 43, 43,
882
+ 43, 43, 43, 43, 43, 43, 43, 43,
883
+ 43, 43, 43, 43, 43, 43, 43, 43,
884
+ 43, 43, 43, 43, 43, 43, 43, 43,
885
+ 43, 43, 43, 43, 43, 43, 43, 43,
886
+ 43, 43, 43, 43, 43, 43, 43, 43,
887
+ 43, 43, 43, 43, 43, 43, 43, 43,
888
+ 43, 43, 43, 43, 43, 43, 43, 43,
889
+ 43, 43, 43, 43, 43, 43, 43, 43,
890
+ 43, 43, 43, 43, 43, 43, 43, 43,
891
+ 43, 43, 43, 43, 43, 43, 43, 43,
892
+ 43, 43, 43, 43, 43, 43, 43, 43,
893
+ 43, 43, 43, 43, 43, 43, 43, 43,
894
+ 43, 43, 43, 43, 43, 43, 43, 43,
895
+ 43, 43, 43, 43, 43, 43, 43, 43,
896
+ 43, 43, 43, 43, 43, 43, 43, 43,
897
+ 43, 43, 43, 43, 43, 43, 43, 43,
898
+ 43, 43, 43, 43, 43, 43, 43, 43,
899
+ 43, 43, 43, 43, 43, 43, 43, 43,
900
+ 43, 43, 43, 43, 43, 43, 43, 43,
901
+ 43, 43, 43, 43, 43, 43, 43, 43,
902
+ 43, 43, 43, 43, 43, 43, 43, 43,
903
+ 43, 43, 43, 43, 43, 43, 43, 43,
904
+ 43, 43, 43, 43, 43, 43, 43, 43,
905
+ 43, 43, 43, 43, 43, 43, 43, 43,
906
+ 43, 43, 43, 43, 43, 43, 43, 43,
907
+ 43, 43, 43, 43, 43, 43, 43, 43,
908
+ 43, 43, 43, 43, 43, 43, 43, 43,
909
+ 43, 43, 43, 43, 43, 43, 43, 43,
910
+ 43, 43, 43, 43, 43, 43, 43, 43,
911
+ 43, 43, 43, 43, 43, 43, 43, 43,
912
+ 43, 43, 43, 43, 43, 43, 43, 43,
913
+ 43, 43, 43, 43, 43, 43, 43, 43,
914
+ 43, 43, 43, 43, 43, 43, 43, 43,
915
+ 43, 43, 43, 43, 43, 43, 43, 43,
916
+ 43, 43, 43, 43, 43, 43, 43, 43,
917
+ 43, 43, 43, 43, 43, 43, 43, 43,
918
+ 43, 43, 43, 43, 43, 43, 43, 43,
919
+ 43, 43, 43, 43, 43, 43, 43, 43,
920
+ 43, 43, 43, 43, 43, 43, 43, 43,
921
+ 43, 43, 43, 43, 43, 43, 43, 43,
922
+ 43, 43, 43, 43, 43, 43, 43, 43,
923
+ 43, 43, 43, 43, 43, 43, 43, 43,
924
+ 43, 43, 43, 43, 43, 43, 43, 43,
925
+ 43, 43, 43, 43, 43, 43, 43, 43,
926
+ 43, 43, 43, 43, 43, 43, 43, 43,
927
+ 43, 43, 43, 43, 43, 43, 43, 43,
928
+ 43, 43, 43, 43, 43, 43, 43, 43,
929
+ 43, 43, 43, 43, 43, 43, 43, 43,
930
+ 43, 43, 43, 43, 43, 43, 43, 43,
931
+ 43, 43, 43, 43, 43, 43, 43, 43,
932
+ 43, 43, 43, 43, 43, 43
933
+ ]
934
+
935
+ class << self
936
+ attr_accessor :lexer_start
937
+ end
938
+ self.lexer_start = 1;
939
+ class << self
940
+ attr_accessor :lexer_first_final
941
+ end
942
+ self.lexer_first_final = 525;
943
+ class << self
944
+ attr_accessor :lexer_error
945
+ end
946
+ self.lexer_error = 0;
947
+
948
+ class << self
949
+ attr_accessor :lexer_en_main
950
+ end
951
+ self.lexer_en_main = 1;
952
+
953
+
954
+ # line 130 "ragel/i18n/ca.rb.rl"
955
+ end
956
+
957
+ def scan(data)
958
+ data = (data + "\n%_FEATURE_END_%").unpack("c*") # Explicit EOF simplifies things considerably
959
+ eof = pe = data.length
960
+
961
+ @line_number = 1
962
+ @last_newline = 0
963
+
964
+
965
+ # line 966 "lib/gherkin/lexer/ca.rb"
966
+ begin
967
+ p ||= 0
968
+ pe ||= data.length
969
+ cs = lexer_start
970
+ end
971
+
972
+ # line 140 "ragel/i18n/ca.rb.rl"
973
+
974
+ # line 975 "lib/gherkin/lexer/ca.rb"
975
+ begin
976
+ _klen, _trans, _keys, _acts, _nacts = nil
977
+ _goto_level = 0
978
+ _resume = 10
979
+ _eof_trans = 15
980
+ _again = 20
981
+ _test_eof = 30
982
+ _out = 40
983
+ while true
984
+ _trigger_goto = false
985
+ if _goto_level <= 0
986
+ if p == pe
987
+ _goto_level = _test_eof
988
+ next
989
+ end
990
+ if cs == 0
991
+ _goto_level = _out
992
+ next
993
+ end
994
+ end
995
+ if _goto_level <= _resume
996
+ _keys = _lexer_key_offsets[cs]
997
+ _trans = _lexer_index_offsets[cs]
998
+ _klen = _lexer_single_lengths[cs]
999
+ _break_match = false
1000
+
1001
+ begin
1002
+ if _klen > 0
1003
+ _lower = _keys
1004
+ _upper = _keys + _klen - 1
1005
+
1006
+ loop do
1007
+ break if _upper < _lower
1008
+ _mid = _lower + ( (_upper - _lower) >> 1 )
1009
+
1010
+ if data[p].ord < _lexer_trans_keys[_mid]
1011
+ _upper = _mid - 1
1012
+ elsif data[p].ord > _lexer_trans_keys[_mid]
1013
+ _lower = _mid + 1
1014
+ else
1015
+ _trans += (_mid - _keys)
1016
+ _break_match = true
1017
+ break
1018
+ end
1019
+ end # loop
1020
+ break if _break_match
1021
+ _keys += _klen
1022
+ _trans += _klen
1023
+ end
1024
+ _klen = _lexer_range_lengths[cs]
1025
+ if _klen > 0
1026
+ _lower = _keys
1027
+ _upper = _keys + (_klen << 1) - 2
1028
+ loop do
1029
+ break if _upper < _lower
1030
+ _mid = _lower + (((_upper-_lower) >> 1) & ~1)
1031
+ if data[p].ord < _lexer_trans_keys[_mid]
1032
+ _upper = _mid - 2
1033
+ elsif data[p].ord > _lexer_trans_keys[_mid+1]
1034
+ _lower = _mid + 2
1035
+ else
1036
+ _trans += ((_mid - _keys) >> 1)
1037
+ _break_match = true
1038
+ break
1039
+ end
1040
+ end # loop
1041
+ break if _break_match
1042
+ _trans += _klen
1043
+ end
1044
+ end while false
1045
+ _trans = _lexer_indicies[_trans]
1046
+ cs = _lexer_trans_targs[_trans]
1047
+ if _lexer_trans_actions[_trans] != 0
1048
+ _acts = _lexer_trans_actions[_trans]
1049
+ _nacts = _lexer_actions[_acts]
1050
+ _acts += 1
1051
+ while _nacts > 0
1052
+ _nacts -= 1
1053
+ _acts += 1
1054
+ case _lexer_actions[_acts - 1]
1055
+ when 0 then
1056
+ # line 11 "ragel/i18n/ca.rb.rl"
1057
+ begin
1058
+
1059
+ @content_start = p
1060
+ @current_line = @line_number
1061
+ @start_col = p - @last_newline - "#{@keyword}:".length
1062
+ end
1063
+ when 1 then
1064
+ # line 17 "ragel/i18n/ca.rb.rl"
1065
+ begin
1066
+
1067
+ @current_line = @line_number
1068
+ @start_col = p - @last_newline
1069
+ end
1070
+ when 2 then
1071
+ # line 22 "ragel/i18n/ca.rb.rl"
1072
+ begin
1073
+
1074
+ @content_start = p
1075
+ end
1076
+ when 3 then
1077
+ # line 26 "ragel/i18n/ca.rb.rl"
1078
+ begin
1079
+
1080
+ @docstring_content_type_start = p
1081
+ end
1082
+ when 4 then
1083
+ # line 29 "ragel/i18n/ca.rb.rl"
1084
+ begin
1085
+
1086
+ @docstring_content_type_end = p
1087
+ end
1088
+ when 5 then
1089
+ # line 33 "ragel/i18n/ca.rb.rl"
1090
+ begin
1091
+
1092
+ con = unindent(@start_col, utf8_pack(data[@content_start...@next_keyword_start-1]).sub(/(\r?\n)?([\t ])*\Z/, '').gsub(/\\"\\"\\"/, '"""'))
1093
+ con_type = utf8_pack(data[@docstring_content_type_start...@docstring_content_type_end]).strip
1094
+ @listener.doc_string(con_type, con, @current_line)
1095
+ end
1096
+ when 6 then
1097
+ # line 38 "ragel/i18n/ca.rb.rl"
1098
+ begin
1099
+
1100
+ p = store_keyword_content(:feature, data, p, eof)
1101
+ end
1102
+ when 7 then
1103
+ # line 42 "ragel/i18n/ca.rb.rl"
1104
+ begin
1105
+
1106
+ p = store_keyword_content(:background, data, p, eof)
1107
+ end
1108
+ when 8 then
1109
+ # line 46 "ragel/i18n/ca.rb.rl"
1110
+ begin
1111
+
1112
+ p = store_keyword_content(:scenario, data, p, eof)
1113
+ end
1114
+ when 9 then
1115
+ # line 50 "ragel/i18n/ca.rb.rl"
1116
+ begin
1117
+
1118
+ p = store_keyword_content(:scenario_outline, data, p, eof)
1119
+ end
1120
+ when 10 then
1121
+ # line 54 "ragel/i18n/ca.rb.rl"
1122
+ begin
1123
+
1124
+ p = store_keyword_content(:examples, data, p, eof)
1125
+ end
1126
+ when 11 then
1127
+ # line 58 "ragel/i18n/ca.rb.rl"
1128
+ begin
1129
+
1130
+ con = utf8_pack(data[@content_start...p]).strip
1131
+ @listener.step(@keyword, con, @current_line)
1132
+ end
1133
+ when 12 then
1134
+ # line 63 "ragel/i18n/ca.rb.rl"
1135
+ begin
1136
+
1137
+ con = utf8_pack(data[@content_start...p]).strip
1138
+ @listener.comment(con, @line_number)
1139
+ @keyword_start = nil
1140
+ end
1141
+ when 13 then
1142
+ # line 69 "ragel/i18n/ca.rb.rl"
1143
+ begin
1144
+
1145
+ con = utf8_pack(data[@content_start...p]).strip
1146
+ @listener.tag(con, @current_line)
1147
+ @keyword_start = nil
1148
+ end
1149
+ when 14 then
1150
+ # line 75 "ragel/i18n/ca.rb.rl"
1151
+ begin
1152
+
1153
+ @line_number += 1
1154
+ end
1155
+ when 15 then
1156
+ # line 79 "ragel/i18n/ca.rb.rl"
1157
+ begin
1158
+
1159
+ @last_newline = p + 1
1160
+ end
1161
+ when 16 then
1162
+ # line 83 "ragel/i18n/ca.rb.rl"
1163
+ begin
1164
+
1165
+ @keyword_start ||= p
1166
+ end
1167
+ when 17 then
1168
+ # line 87 "ragel/i18n/ca.rb.rl"
1169
+ begin
1170
+
1171
+ @keyword = utf8_pack(data[@keyword_start...p]).sub(/:$/,'')
1172
+ @keyword_start = nil
1173
+ end
1174
+ when 18 then
1175
+ # line 92 "ragel/i18n/ca.rb.rl"
1176
+ begin
1177
+
1178
+ @next_keyword_start = p
1179
+ end
1180
+ when 19 then
1181
+ # line 96 "ragel/i18n/ca.rb.rl"
1182
+ begin
1183
+
1184
+ p = p - 1
1185
+ current_row = []
1186
+ @current_line = @line_number
1187
+ end
1188
+ when 20 then
1189
+ # line 102 "ragel/i18n/ca.rb.rl"
1190
+ begin
1191
+
1192
+ @content_start = p
1193
+ end
1194
+ when 21 then
1195
+ # line 106 "ragel/i18n/ca.rb.rl"
1196
+ begin
1197
+
1198
+ con = utf8_pack(data[@content_start...p]).strip
1199
+ current_row << con.gsub(/\\\|/, "|").gsub(/\\n/, "\n").gsub(/\\\\/, "\\")
1200
+ end
1201
+ when 22 then
1202
+ # line 111 "ragel/i18n/ca.rb.rl"
1203
+ begin
1204
+
1205
+ @listener.row(current_row, @current_line)
1206
+ end
1207
+ when 23 then
1208
+ # line 115 "ragel/i18n/ca.rb.rl"
1209
+ begin
1210
+
1211
+ if cs < lexer_first_final
1212
+ content = current_line_content(data, p)
1213
+ 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])
1214
+ else
1215
+ @listener.eof
1216
+ end
1217
+ end
1218
+ # line 1219 "lib/gherkin/lexer/ca.rb"
1219
+ end # action switch
1220
+ end
1221
+ end
1222
+ if _trigger_goto
1223
+ next
1224
+ end
1225
+ end
1226
+ if _goto_level <= _again
1227
+ if cs == 0
1228
+ _goto_level = _out
1229
+ next
1230
+ end
1231
+ p += 1
1232
+ if p != pe
1233
+ _goto_level = _resume
1234
+ next
1235
+ end
1236
+ end
1237
+ if _goto_level <= _test_eof
1238
+ if p == eof
1239
+ __acts = _lexer_eof_actions[cs]
1240
+ __nacts = _lexer_actions[__acts]
1241
+ __acts += 1
1242
+ while __nacts > 0
1243
+ __nacts -= 1
1244
+ __acts += 1
1245
+ case _lexer_actions[__acts - 1]
1246
+ when 23 then
1247
+ # line 115 "ragel/i18n/ca.rb.rl"
1248
+ begin
1249
+
1250
+ if cs < lexer_first_final
1251
+ content = current_line_content(data, p)
1252
+ 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])
1253
+ else
1254
+ @listener.eof
1255
+ end
1256
+ end
1257
+ # line 1258 "lib/gherkin/lexer/ca.rb"
1258
+ end # eof action switch
1259
+ end
1260
+ if _trigger_goto
1261
+ next
1262
+ end
1263
+ end
1264
+ end
1265
+ if _goto_level <= _out
1266
+ break
1267
+ end
1268
+ end
1269
+ end
1270
+
1271
+ # line 141 "ragel/i18n/ca.rb.rl"
1272
+ end
1273
+
1274
+ def unindent(startcol, text)
1275
+ text.gsub(/^[\t ]{0,#{startcol}}/, "")
1276
+ end
1277
+
1278
+ def store_keyword_content(event, data, p, eof)
1279
+ end_point = (!@next_keyword_start or (p == eof)) ? p : @next_keyword_start
1280
+ content = unindent(@start_col + 2, utf8_pack(data[@content_start...end_point])).rstrip
1281
+ content_lines = content.split("\n")
1282
+ name = content_lines.shift || ""
1283
+ name.strip!
1284
+ description = content_lines.join("\n")
1285
+ @listener.__send__(event, @keyword, name, description, @current_line)
1286
+ @next_keyword_start ? @next_keyword_start - 1 : p
1287
+ ensure
1288
+ @next_keyword_start = nil
1289
+ end
1290
+
1291
+ def current_line_content(data, p)
1292
+ rest = data[@last_newline..-1]
1293
+ utf8_pack(rest[0..rest.index(10)||-1]).strip # 10 is \n
1294
+ end
1295
+
1296
+ if (RUBY_VERSION =~ /^1\.9|2\.0/)
1297
+ def utf8_pack(array)
1298
+ array.pack("c*").force_encoding("UTF-8")
1299
+ end
1300
+ else
1301
+ def utf8_pack(array)
1302
+ array.pack("c*")
1303
+ end
1304
+ end
1305
+ end
1306
+ end
1307
+ end