oga 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/c/lexer.c +555 -474
- data/ext/java/org/liboga/xml/Lexer.java +217 -208
- data/ext/ragel/base_lexer.rl +3 -1
- data/lib/oga/css/parser.rb +217 -177
- data/lib/oga/version.rb +1 -1
- metadata +2 -2
@@ -68,13 +68,13 @@ private static short[] init__java_lexer_key_offsets_0()
|
|
68
68
|
{
|
69
69
|
return new short [] {
|
70
70
|
0, 0, 4, 5, 7, 9, 11, 13, 15, 17, 21, 22,
|
71
|
-
23, 24, 25, 26, 27,
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
71
|
+
23, 24, 25, 26, 27, 38, 39, 40, 41, 42, 43, 44,
|
72
|
+
45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 66, 70,
|
73
|
+
80, 91, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
74
|
+
112, 113, 114, 115, 116, 117, 137, 138, 148, 159, 170, 181,
|
75
|
+
192, 203, 214, 225, 236, 247, 258, 271, 281, 282, 292, 303,
|
76
|
+
314, 325, 331, 332, 337, 342, 344, 358, 359, 370, 371, 372,
|
77
|
+
373, 386, 399, 400, 401, 403, 404, 405, 406, 408
|
78
78
|
};
|
79
79
|
}
|
80
80
|
|
@@ -86,34 +86,39 @@ private static char[] init__java_lexer_trans_keys_0()
|
|
86
86
|
return new char [] {
|
87
87
|
45, 68, 91, 100, 45, 79, 111, 67, 99, 84, 116, 89,
|
88
88
|
121, 80, 112, 69, 101, 13, 32, 9, 10, 67, 68, 65,
|
89
|
-
84, 65, 91,
|
90
|
-
|
91
|
-
108, 101, 62, 60, 33,
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
89
|
+
84, 65, 91, 47, 96, 120, 0, 44, 58, 64, 91, 94,
|
90
|
+
123, 127, 62, 62, 115, 99, 114, 105, 112, 116, 62, 115,
|
91
|
+
116, 121, 108, 101, 62, 60, 33, 47, 63, 96, 0, 44,
|
92
|
+
58, 64, 91, 94, 123, 127, 13, 32, 9, 10, 47, 96,
|
93
|
+
0, 44, 58, 64, 91, 94, 123, 127, 47, 96, 109, 0,
|
94
|
+
44, 58, 64, 91, 94, 123, 127, 47, 96, 108, 0, 44,
|
95
|
+
58, 64, 91, 94, 123, 127, 45, 45, 45, 93, 93, 93,
|
96
|
+
63, 63, 62, 39, 39, 34, 34, 93, 93, 9, 10, 13,
|
97
|
+
32, 34, 39, 47, 62, 80, 83, 91, 96, 0, 44, 58,
|
98
|
+
64, 92, 94, 123, 127, 10, 47, 96, 0, 44, 58, 64,
|
99
|
+
91, 94, 123, 127, 47, 85, 96, 0, 44, 58, 64, 91,
|
100
|
+
94, 123, 127, 47, 66, 96, 0, 44, 58, 64, 91, 94,
|
101
|
+
123, 127, 47, 76, 96, 0, 44, 58, 64, 91, 94, 123,
|
102
|
+
127, 47, 73, 96, 0, 44, 58, 64, 91, 94, 123, 127,
|
103
|
+
47, 67, 96, 0, 44, 58, 64, 91, 94, 123, 127, 47,
|
104
|
+
89, 96, 0, 44, 58, 64, 91, 94, 123, 127, 47, 83,
|
105
|
+
96, 0, 44, 58, 64, 91, 94, 123, 127, 47, 84, 96,
|
106
|
+
0, 44, 58, 64, 91, 94, 123, 127, 47, 69, 96, 0,
|
107
|
+
44, 58, 64, 91, 94, 123, 127, 47, 77, 96, 0, 44,
|
108
|
+
58, 64, 91, 94, 123, 127, 34, 39, 47, 63, 96, 0,
|
109
|
+
44, 58, 64, 91, 94, 123, 127, 47, 96, 0, 44, 58,
|
110
|
+
64, 91, 94, 123, 127, 62, 47, 96, 0, 44, 58, 64,
|
111
|
+
91, 94, 123, 127, 47, 58, 96, 0, 44, 59, 64, 91,
|
112
|
+
94, 123, 127, 47, 62, 96, 0, 44, 58, 64, 91, 94,
|
113
|
+
123, 127, 47, 58, 96, 0, 44, 59, 64, 91, 94, 123,
|
114
|
+
127, 13, 32, 34, 39, 9, 10, 10, 13, 32, 62, 9,
|
115
|
+
10, 13, 32, 62, 9, 10, 34, 39, 10, 13, 47, 61,
|
116
|
+
62, 96, 0, 44, 58, 64, 91, 94, 123, 127, 10, 47,
|
117
|
+
58, 96, 0, 44, 59, 64, 91, 94, 123, 127, 62, 60,
|
118
|
+
60, 60, 64, 96, 0, 32, 34, 44, 58, 62, 91, 94,
|
119
|
+
123, 127, 60, 64, 96, 0, 32, 34, 44, 58, 62, 91,
|
120
|
+
94, 123, 127, 60, 60, 47, 60, 60, 60, 60, 47, 60,
|
121
|
+
60, 0
|
117
122
|
};
|
118
123
|
}
|
119
124
|
|
@@ -125,12 +130,12 @@ private static byte[] init__java_lexer_single_lengths_0()
|
|
125
130
|
return new byte [] {
|
126
131
|
0, 4, 1, 2, 2, 2, 2, 2, 2, 2, 1, 1,
|
127
132
|
1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1,
|
128
|
-
1, 1, 1, 1, 1, 1, 1, 1, 1,
|
133
|
+
1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 2, 2,
|
129
134
|
3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
130
135
|
1, 1, 1, 1, 1, 12, 1, 2, 3, 3, 3, 3,
|
131
136
|
3, 3, 3, 3, 3, 3, 5, 2, 1, 2, 3, 3,
|
132
|
-
3, 4, 1, 3, 3, 2,
|
133
|
-
|
137
|
+
3, 4, 1, 3, 3, 2, 6, 1, 3, 1, 1, 1,
|
138
|
+
3, 3, 1, 1, 2, 1, 1, 1, 2, 1
|
134
139
|
};
|
135
140
|
}
|
136
141
|
|
@@ -141,13 +146,13 @@ private static byte[] init__java_lexer_range_lengths_0()
|
|
141
146
|
{
|
142
147
|
return new byte [] {
|
143
148
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0,
|
144
|
-
0, 0, 0, 0,
|
145
|
-
0, 0, 0, 0, 0, 0, 0, 0, 0,
|
146
|
-
|
147
|
-
0, 0, 0, 0, 0,
|
148
|
-
|
149
|
-
|
150
|
-
|
149
|
+
0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0,
|
150
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 1, 4,
|
151
|
+
4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
152
|
+
0, 0, 0, 0, 0, 4, 0, 4, 4, 4, 4, 4,
|
153
|
+
4, 4, 4, 4, 4, 4, 4, 4, 0, 4, 4, 4,
|
154
|
+
4, 1, 0, 1, 1, 0, 4, 0, 4, 0, 0, 0,
|
155
|
+
5, 5, 0, 0, 0, 0, 0, 0, 0, 0
|
151
156
|
};
|
152
157
|
}
|
153
158
|
|
@@ -158,13 +163,13 @@ private static short[] init__java_lexer_index_offsets_0()
|
|
158
163
|
{
|
159
164
|
return new short [] {
|
160
165
|
0, 0, 5, 7, 10, 13, 16, 19, 22, 25, 29, 31,
|
161
|
-
33, 35, 37, 39, 41,
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
166
|
+
33, 35, 37, 39, 41, 49, 51, 53, 55, 57, 59, 61,
|
167
|
+
63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 90, 94,
|
168
|
+
101, 109, 117, 119, 121, 123, 125, 127, 129, 131, 133, 135,
|
169
|
+
137, 139, 141, 143, 145, 147, 164, 166, 173, 181, 189, 197,
|
170
|
+
205, 213, 221, 229, 237, 245, 253, 263, 270, 272, 279, 287,
|
171
|
+
295, 303, 309, 311, 316, 321, 324, 335, 337, 345, 347, 349,
|
172
|
+
351, 360, 369, 371, 373, 376, 378, 380, 382, 385
|
168
173
|
};
|
169
174
|
}
|
170
175
|
|
@@ -177,40 +182,42 @@ private static byte[] init__java_lexer_trans_targs_0()
|
|
177
182
|
2, 3, 10, 3, 32, 32, 32, 4, 4, 32, 5, 5,
|
178
183
|
32, 6, 6, 32, 7, 7, 32, 8, 8, 32, 9, 9,
|
179
184
|
32, 34, 34, 34, 32, 11, 32, 12, 32, 13, 32, 14,
|
180
|
-
32, 15, 32, 32, 32,
|
181
|
-
38, 38, 41, 41, 20, 86, 21, 86, 22, 86, 23,
|
182
|
-
24, 86, 25, 86, 86, 86, 27, 90, 28, 90, 29,
|
183
|
-
30, 90, 31, 90, 90, 90, 33, 32, 1, 32,
|
184
|
-
32, 32, 32, 32, 32, 34, 34, 34, 32,
|
185
|
-
|
186
|
-
35,
|
187
|
-
42, 41, 42, 18, 41, 46, 45, 44,
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
55,
|
195
|
-
|
196
|
-
55, 53,
|
197
|
-
|
198
|
-
66, 66,
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
32, 32, 32, 32,
|
211
|
-
|
212
|
-
|
213
|
-
|
185
|
+
32, 15, 32, 32, 32, 32, 32, 36, 32, 32, 32, 32,
|
186
|
+
35, 38, 38, 41, 41, 20, 86, 21, 86, 22, 86, 23,
|
187
|
+
86, 24, 86, 25, 86, 86, 86, 27, 90, 28, 90, 29,
|
188
|
+
90, 30, 90, 31, 90, 90, 90, 33, 32, 1, 32, 16,
|
189
|
+
32, 32, 32, 32, 32, 32, 34, 34, 34, 32, 32, 32,
|
190
|
+
32, 32, 32, 32, 35, 32, 32, 37, 32, 32, 32, 32,
|
191
|
+
35, 32, 32, 35, 32, 32, 32, 32, 35, 40, 39, 38,
|
192
|
+
39, 17, 38, 43, 42, 41, 42, 18, 41, 46, 45, 44,
|
193
|
+
45, 44, 44, 47, 48, 47, 48, 49, 50, 49, 50, 51,
|
194
|
+
52, 51, 52, 53, 53, 54, 53, 53, 53, 0, 53, 56,
|
195
|
+
61, 53, 0, 0, 0, 0, 0, 55, 53, 53, 53, 53,
|
196
|
+
53, 53, 53, 53, 55, 53, 57, 53, 53, 53, 53, 53,
|
197
|
+
55, 53, 58, 53, 53, 53, 53, 53, 55, 53, 59, 53,
|
198
|
+
53, 53, 53, 53, 55, 53, 60, 53, 53, 53, 53, 53,
|
199
|
+
55, 53, 55, 53, 53, 53, 53, 53, 55, 53, 62, 53,
|
200
|
+
53, 53, 53, 53, 55, 53, 63, 53, 53, 53, 53, 53,
|
201
|
+
55, 53, 64, 53, 53, 53, 53, 53, 55, 53, 65, 53,
|
202
|
+
53, 53, 53, 53, 55, 53, 55, 53, 53, 53, 53, 53,
|
203
|
+
55, 66, 66, 66, 68, 66, 66, 66, 66, 66, 67, 66,
|
204
|
+
66, 66, 66, 66, 66, 67, 66, 66, 0, 0, 0, 0,
|
205
|
+
0, 0, 70, 69, 69, 69, 69, 69, 69, 69, 70, 71,
|
206
|
+
71, 71, 71, 71, 71, 71, 72, 71, 71, 71, 71, 71,
|
207
|
+
71, 71, 72, 74, 73, 73, 73, 73, 73, 73, 73, 75,
|
208
|
+
75, 75, 75, 76, 75, 75, 75, 75, 76, 77, 77, 77,
|
209
|
+
78, 79, 81, 78, 78, 78, 78, 78, 78, 78, 80, 78,
|
210
|
+
78, 78, 78, 78, 78, 78, 78, 78, 80, 78, 78, 85,
|
211
|
+
83, 84, 83, 84, 83, 83, 83, 83, 83, 83, 83, 82,
|
212
|
+
84, 83, 83, 83, 83, 83, 83, 83, 82, 88, 87, 86,
|
213
|
+
87, 19, 89, 86, 89, 86, 92, 91, 90, 91, 26, 93,
|
214
|
+
90, 93, 90, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
215
|
+
32, 32, 32, 32, 32, 32, 32, 38, 41, 86, 86, 86,
|
216
|
+
86, 86, 86, 86, 90, 90, 90, 90, 90, 90, 32, 32,
|
217
|
+
32, 32, 32, 38, 38, 41, 41, 44, 44, 47, 49, 51,
|
218
|
+
53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53,
|
219
|
+
66, 66, 69, 71, 73, 75, 78, 78, 78, 82, 82, 82,
|
220
|
+
86, 86, 86, 90, 90, 90, 0
|
214
221
|
};
|
215
222
|
}
|
216
223
|
|
@@ -223,40 +230,42 @@ private static short[] init__java_lexer_trans_actions_0()
|
|
223
230
|
0, 0, 0, 0, 137, 121, 137, 0, 0, 137, 0, 0,
|
224
231
|
137, 0, 0, 137, 0, 0, 137, 0, 0, 137, 0, 0,
|
225
232
|
137, 1, 1, 1, 137, 0, 137, 0, 137, 0, 137, 0,
|
226
|
-
137, 0, 137, 123, 137,
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
162,
|
233
|
-
1,
|
234
|
-
1,
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
159,
|
241
|
-
|
242
|
-
159, 49,
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
0, 0, 0,
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
233
|
+
137, 0, 137, 123, 137, 137, 137, 0, 137, 137, 137, 137,
|
234
|
+
165, 9, 13, 15, 19, 0, 113, 0, 113, 0, 113, 0,
|
235
|
+
113, 0, 113, 0, 113, 109, 113, 0, 119, 0, 119, 0,
|
236
|
+
119, 0, 119, 0, 119, 115, 119, 7, 129, 0, 127, 0,
|
237
|
+
135, 135, 135, 135, 135, 125, 1, 1, 1, 131, 139, 139,
|
238
|
+
139, 139, 139, 139, 165, 133, 133, 0, 133, 133, 133, 133,
|
239
|
+
165, 133, 133, 162, 133, 133, 133, 133, 165, 153, 1, 11,
|
240
|
+
1, 0, 11, 153, 1, 17, 1, 0, 17, 1, 1, 23,
|
241
|
+
1, 21, 23, 25, 1, 27, 1, 29, 1, 31, 1, 33,
|
242
|
+
1, 35, 1, 47, 45, 0, 47, 41, 39, 0, 43, 0,
|
243
|
+
0, 37, 0, 0, 0, 0, 0, 159, 45, 51, 53, 53,
|
244
|
+
53, 53, 53, 53, 159, 49, 0, 49, 49, 49, 49, 49,
|
245
|
+
159, 49, 0, 49, 49, 49, 49, 49, 159, 49, 0, 49,
|
246
|
+
49, 49, 49, 49, 159, 49, 0, 49, 49, 49, 49, 49,
|
247
|
+
159, 49, 156, 49, 49, 49, 49, 49, 159, 49, 0, 49,
|
248
|
+
49, 49, 49, 49, 159, 49, 0, 49, 49, 49, 49, 49,
|
249
|
+
159, 49, 0, 49, 49, 49, 49, 49, 159, 49, 0, 49,
|
250
|
+
49, 49, 49, 49, 159, 49, 156, 49, 49, 49, 49, 49,
|
251
|
+
159, 171, 168, 144, 1, 144, 144, 144, 144, 144, 1, 57,
|
252
|
+
57, 57, 57, 57, 57, 0, 55, 59, 0, 0, 0, 0,
|
253
|
+
0, 0, 0, 63, 61, 63, 63, 63, 63, 63, 0, 147,
|
254
|
+
174, 147, 147, 147, 147, 147, 1, 67, 65, 67, 67, 67,
|
255
|
+
67, 67, 0, 1, 150, 69, 69, 150, 71, 150, 73, 75,
|
256
|
+
75, 75, 75, 0, 77, 77, 77, 77, 0, 81, 79, 83,
|
257
|
+
85, 0, 0, 89, 91, 95, 95, 95, 95, 95, 0, 85,
|
258
|
+
97, 99, 87, 99, 99, 99, 99, 99, 0, 93, 101, 141,
|
259
|
+
1, 141, 1, 141, 1, 1, 1, 1, 1, 1, 1, 105,
|
260
|
+
141, 1, 1, 1, 1, 1, 1, 1, 103, 153, 1, 111,
|
261
|
+
1, 0, 1, 111, 1, 111, 153, 1, 117, 1, 0, 1,
|
262
|
+
117, 1, 117, 137, 137, 137, 137, 137, 137, 137, 137, 137,
|
263
|
+
137, 137, 137, 137, 137, 137, 137, 13, 19, 113, 113, 113,
|
264
|
+
113, 113, 113, 113, 119, 119, 119, 119, 119, 119, 135, 131,
|
265
|
+
139, 133, 133, 11, 11, 17, 17, 23, 23, 27, 31, 35,
|
266
|
+
51, 53, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
|
267
|
+
57, 59, 63, 67, 73, 77, 97, 99, 101, 107, 107, 107,
|
268
|
+
111, 111, 111, 117, 117, 117, 0
|
260
269
|
};
|
261
270
|
}
|
262
271
|
|
@@ -300,14 +309,14 @@ private static final short _java_lexer_from_state_actions[] = init__java_lexer_f
|
|
300
309
|
private static short[] init__java_lexer_eof_trans_0()
|
301
310
|
{
|
302
311
|
return new short [] {
|
303
|
-
0,
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
312
|
+
0, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403,
|
313
|
+
403, 403, 403, 403, 403, 404, 405, 412, 412, 412, 412, 412,
|
314
|
+
412, 412, 418, 418, 418, 418, 418, 418, 0, 419, 420, 421,
|
315
|
+
423, 423, 0, 425, 425, 0, 427, 427, 0, 429, 429, 0,
|
316
|
+
430, 0, 431, 0, 432, 0, 433, 434, 444, 444, 444, 444,
|
317
|
+
444, 444, 444, 444, 444, 444, 0, 445, 446, 0, 447, 0,
|
318
|
+
448, 0, 449, 0, 450, 0, 0, 451, 452, 453, 0, 456,
|
319
|
+
456, 456, 0, 459, 459, 459, 0, 462, 462, 462
|
311
320
|
};
|
312
321
|
}
|
313
322
|
|
@@ -436,7 +445,7 @@ static final int java_lexer_en_main = 32;
|
|
436
445
|
String id_on_xml_decl_start = "on_xml_decl_start";
|
437
446
|
|
438
447
|
|
439
|
-
// line
|
448
|
+
// line 449 "ext/java/org/liboga/xml/Lexer.java"
|
440
449
|
{
|
441
450
|
int _klen;
|
442
451
|
int _trans = 0;
|
@@ -465,7 +474,7 @@ case 1:
|
|
465
474
|
// line 1 "NONE"
|
466
475
|
{ts = p;}
|
467
476
|
break;
|
468
|
-
// line
|
477
|
+
// line 478 "ext/java/org/liboga/xml/Lexer.java"
|
469
478
|
}
|
470
479
|
}
|
471
480
|
|
@@ -529,13 +538,13 @@ case 3:
|
|
529
538
|
switch ( _java_lexer_actions[_acts++] )
|
530
539
|
{
|
531
540
|
case 0:
|
532
|
-
// line
|
541
|
+
// line 58 "ext/ragel/base_lexer.rl"
|
533
542
|
{
|
534
543
|
if ( data[p] == '\n' ) lines++;
|
535
544
|
}
|
536
545
|
break;
|
537
546
|
case 1:
|
538
|
-
// line
|
547
|
+
// line 605 "ext/ragel/base_lexer.rl"
|
539
548
|
{ mark = p; }
|
540
549
|
break;
|
541
550
|
case 4:
|
@@ -543,7 +552,7 @@ case 3:
|
|
543
552
|
{te = p+1;}
|
544
553
|
break;
|
545
554
|
case 5:
|
546
|
-
// line
|
555
|
+
// line 104 "ext/ragel/base_lexer.rl"
|
547
556
|
{te = p+1;{
|
548
557
|
callback_simple(id_on_comment_end);
|
549
558
|
|
@@ -551,7 +560,7 @@ case 3:
|
|
551
560
|
}}
|
552
561
|
break;
|
553
562
|
case 6:
|
554
|
-
// line
|
563
|
+
// line 93 "ext/ragel/base_lexer.rl"
|
555
564
|
{te = p;p--;{
|
556
565
|
callback(id_on_comment_body, data, encoding, ts, te);
|
557
566
|
|
@@ -564,7 +573,7 @@ case 3:
|
|
564
573
|
}}
|
565
574
|
break;
|
566
575
|
case 7:
|
567
|
-
// line
|
576
|
+
// line 93 "ext/ragel/base_lexer.rl"
|
568
577
|
{{p = ((te))-1;}{
|
569
578
|
callback(id_on_comment_body, data, encoding, ts, te);
|
570
579
|
|
@@ -577,7 +586,7 @@ case 3:
|
|
577
586
|
}}
|
578
587
|
break;
|
579
588
|
case 8:
|
580
|
-
// line
|
589
|
+
// line 143 "ext/ragel/base_lexer.rl"
|
581
590
|
{te = p+1;{
|
582
591
|
callback_simple(id_on_cdata_end);
|
583
592
|
|
@@ -585,7 +594,7 @@ case 3:
|
|
585
594
|
}}
|
586
595
|
break;
|
587
596
|
case 9:
|
588
|
-
// line
|
597
|
+
// line 132 "ext/ragel/base_lexer.rl"
|
589
598
|
{te = p;p--;{
|
590
599
|
callback(id_on_cdata_body, data, encoding, ts, te);
|
591
600
|
|
@@ -598,7 +607,7 @@ case 3:
|
|
598
607
|
}}
|
599
608
|
break;
|
600
609
|
case 10:
|
601
|
-
// line
|
610
|
+
// line 132 "ext/ragel/base_lexer.rl"
|
602
611
|
{{p = ((te))-1;}{
|
603
612
|
callback(id_on_cdata_body, data, encoding, ts, te);
|
604
613
|
|
@@ -611,7 +620,7 @@ case 3:
|
|
611
620
|
}}
|
612
621
|
break;
|
613
622
|
case 11:
|
614
|
-
// line
|
623
|
+
// line 186 "ext/ragel/base_lexer.rl"
|
615
624
|
{te = p+1;{
|
616
625
|
callback_simple(id_on_proc_ins_end);
|
617
626
|
|
@@ -619,7 +628,7 @@ case 3:
|
|
619
628
|
}}
|
620
629
|
break;
|
621
630
|
case 12:
|
622
|
-
// line
|
631
|
+
// line 175 "ext/ragel/base_lexer.rl"
|
623
632
|
{te = p;p--;{
|
624
633
|
callback(id_on_proc_ins_body, data, encoding, ts, te);
|
625
634
|
|
@@ -632,7 +641,7 @@ case 3:
|
|
632
641
|
}}
|
633
642
|
break;
|
634
643
|
case 13:
|
635
|
-
// line
|
644
|
+
// line 228 "ext/ragel/base_lexer.rl"
|
636
645
|
{te = p+1;{
|
637
646
|
callback_simple(id_on_string_squote);
|
638
647
|
|
@@ -640,7 +649,7 @@ case 3:
|
|
640
649
|
}}
|
641
650
|
break;
|
642
651
|
case 14:
|
643
|
-
// line
|
652
|
+
// line 202 "ext/ragel/base_lexer.rl"
|
644
653
|
{te = p;p--;{
|
645
654
|
callback(id_on_string_body, data, encoding, ts, te);
|
646
655
|
|
@@ -653,7 +662,7 @@ case 3:
|
|
653
662
|
}}
|
654
663
|
break;
|
655
664
|
case 15:
|
656
|
-
// line
|
665
|
+
// line 238 "ext/ragel/base_lexer.rl"
|
657
666
|
{te = p+1;{
|
658
667
|
callback_simple(id_on_string_dquote);
|
659
668
|
|
@@ -661,7 +670,7 @@ case 3:
|
|
661
670
|
}}
|
662
671
|
break;
|
663
672
|
case 16:
|
664
|
-
// line
|
673
|
+
// line 202 "ext/ragel/base_lexer.rl"
|
665
674
|
{te = p;p--;{
|
666
675
|
callback(id_on_string_body, data, encoding, ts, te);
|
667
676
|
|
@@ -674,11 +683,11 @@ case 3:
|
|
674
683
|
}}
|
675
684
|
break;
|
676
685
|
case 17:
|
677
|
-
// line
|
686
|
+
// line 283 "ext/ragel/base_lexer.rl"
|
678
687
|
{te = p+1;{ ( this.cs) = 53; }}
|
679
688
|
break;
|
680
689
|
case 18:
|
681
|
-
// line
|
690
|
+
// line 272 "ext/ragel/base_lexer.rl"
|
682
691
|
{te = p;p--;{
|
683
692
|
callback(id_on_doctype_inline, data, encoding, ts, te);
|
684
693
|
|
@@ -691,19 +700,19 @@ case 3:
|
|
691
700
|
}}
|
692
701
|
break;
|
693
702
|
case 19:
|
694
|
-
// line
|
703
|
+
// line 289 "ext/ragel/base_lexer.rl"
|
695
704
|
{( this.act) = 13;}
|
696
705
|
break;
|
697
706
|
case 20:
|
698
|
-
// line
|
707
|
+
// line 300 "ext/ragel/base_lexer.rl"
|
699
708
|
{( this.act) = 17;}
|
700
709
|
break;
|
701
710
|
case 21:
|
702
|
-
// line
|
711
|
+
// line 294 "ext/ragel/base_lexer.rl"
|
703
712
|
{te = p+1;{ ( this.cs) = 51; }}
|
704
713
|
break;
|
705
714
|
case 22:
|
706
|
-
// line
|
715
|
+
// line 213 "ext/ragel/base_lexer.rl"
|
707
716
|
{te = p+1;{
|
708
717
|
callback_simple(id_on_string_squote);
|
709
718
|
|
@@ -711,7 +720,7 @@ case 3:
|
|
711
720
|
}}
|
712
721
|
break;
|
713
722
|
case 23:
|
714
|
-
// line
|
723
|
+
// line 219 "ext/ragel/base_lexer.rl"
|
715
724
|
{te = p+1;{
|
716
725
|
callback_simple(id_on_string_dquote);
|
717
726
|
|
@@ -719,30 +728,30 @@ case 3:
|
|
719
728
|
}}
|
720
729
|
break;
|
721
730
|
case 24:
|
722
|
-
// line
|
731
|
+
// line 304 "ext/ragel/base_lexer.rl"
|
723
732
|
{te = p+1;{
|
724
733
|
callback_simple(id_on_doctype_end);
|
725
734
|
( this.cs) = 32;
|
726
735
|
}}
|
727
736
|
break;
|
728
737
|
case 25:
|
729
|
-
// line
|
738
|
+
// line 62 "ext/ragel/base_lexer.rl"
|
730
739
|
{te = p+1;{
|
731
740
|
advance_line(1);
|
732
741
|
}}
|
733
742
|
break;
|
734
743
|
case 26:
|
735
|
-
// line
|
744
|
+
// line 311 "ext/ragel/base_lexer.rl"
|
736
745
|
{te = p+1;}
|
737
746
|
break;
|
738
747
|
case 27:
|
739
|
-
// line
|
748
|
+
// line 300 "ext/ragel/base_lexer.rl"
|
740
749
|
{te = p;p--;{
|
741
750
|
callback(id_on_doctype_name, data, encoding, ts, te);
|
742
751
|
}}
|
743
752
|
break;
|
744
753
|
case 28:
|
745
|
-
// line
|
754
|
+
// line 62 "ext/ragel/base_lexer.rl"
|
746
755
|
{te = p;p--;{
|
747
756
|
advance_line(1);
|
748
757
|
}}
|
@@ -764,7 +773,7 @@ case 3:
|
|
764
773
|
}
|
765
774
|
break;
|
766
775
|
case 30:
|
767
|
-
// line
|
776
|
+
// line 328 "ext/ragel/base_lexer.rl"
|
768
777
|
{te = p+1;{
|
769
778
|
if ( lines > 0 )
|
770
779
|
{
|
@@ -779,7 +788,7 @@ case 3:
|
|
779
788
|
}}
|
780
789
|
break;
|
781
790
|
case 31:
|
782
|
-
// line
|
791
|
+
// line 213 "ext/ragel/base_lexer.rl"
|
783
792
|
{te = p+1;{
|
784
793
|
callback_simple(id_on_string_squote);
|
785
794
|
|
@@ -787,7 +796,7 @@ case 3:
|
|
787
796
|
}}
|
788
797
|
break;
|
789
798
|
case 32:
|
790
|
-
// line
|
799
|
+
// line 219 "ext/ragel/base_lexer.rl"
|
791
800
|
{te = p+1;{
|
792
801
|
callback_simple(id_on_string_dquote);
|
793
802
|
|
@@ -795,11 +804,11 @@ case 3:
|
|
795
804
|
}}
|
796
805
|
break;
|
797
806
|
case 33:
|
798
|
-
// line
|
807
|
+
// line 356 "ext/ragel/base_lexer.rl"
|
799
808
|
{te = p+1;}
|
800
809
|
break;
|
801
810
|
case 34:
|
802
|
-
// line
|
811
|
+
// line 342 "ext/ragel/base_lexer.rl"
|
803
812
|
{te = p;p--;{
|
804
813
|
if ( lines > 0 )
|
805
814
|
{
|
@@ -812,28 +821,28 @@ case 3:
|
|
812
821
|
}}
|
813
822
|
break;
|
814
823
|
case 35:
|
815
|
-
// line
|
824
|
+
// line 356 "ext/ragel/base_lexer.rl"
|
816
825
|
{te = p;p--;}
|
817
826
|
break;
|
818
827
|
case 36:
|
819
|
-
// line
|
828
|
+
// line 392 "ext/ragel/base_lexer.rl"
|
820
829
|
{te = p+1;{
|
821
830
|
callback(id_on_element_ns, data, encoding, ts, te - 1);
|
822
831
|
}}
|
823
832
|
break;
|
824
833
|
case 37:
|
825
|
-
// line
|
834
|
+
// line 396 "ext/ragel/base_lexer.rl"
|
826
835
|
{te = p;p--;{
|
827
836
|
callback(id_on_element_name, data, encoding, ts, te);
|
828
837
|
( this.cs) = 78;
|
829
838
|
}}
|
830
839
|
break;
|
831
840
|
case 38:
|
832
|
-
// line
|
841
|
+
// line 406 "ext/ragel/base_lexer.rl"
|
833
842
|
{te = p+1;}
|
834
843
|
break;
|
835
844
|
case 39:
|
836
|
-
// line
|
845
|
+
// line 410 "ext/ragel/base_lexer.rl"
|
837
846
|
{te = p+1;{
|
838
847
|
if ( lines > 0 )
|
839
848
|
{
|
@@ -846,21 +855,21 @@ case 3:
|
|
846
855
|
}}
|
847
856
|
break;
|
848
857
|
case 40:
|
849
|
-
// line
|
858
|
+
// line 421 "ext/ragel/base_lexer.rl"
|
850
859
|
{te = p+1;}
|
851
860
|
break;
|
852
861
|
case 41:
|
853
|
-
// line
|
862
|
+
// line 377 "ext/ragel/base_lexer.rl"
|
854
863
|
{te = p;p--;{
|
855
864
|
callback(id_on_element_end, data, encoding, ts, te);
|
856
865
|
}}
|
857
866
|
break;
|
858
867
|
case 42:
|
859
|
-
// line
|
868
|
+
// line 427 "ext/ragel/base_lexer.rl"
|
860
869
|
{te = p+1;}
|
861
870
|
break;
|
862
871
|
case 43:
|
863
|
-
// line
|
872
|
+
// line 429 "ext/ragel/base_lexer.rl"
|
864
873
|
{te = p+1;{
|
865
874
|
p--;
|
866
875
|
|
@@ -875,7 +884,7 @@ case 3:
|
|
875
884
|
}}
|
876
885
|
break;
|
877
886
|
case 44:
|
878
|
-
// line
|
887
|
+
// line 442 "ext/ragel/base_lexer.rl"
|
879
888
|
{te = p+1;{
|
880
889
|
p--;
|
881
890
|
|
@@ -898,18 +907,18 @@ case 3:
|
|
898
907
|
}}
|
899
908
|
break;
|
900
909
|
case 45:
|
901
|
-
// line
|
910
|
+
// line 427 "ext/ragel/base_lexer.rl"
|
902
911
|
{te = p;p--;}
|
903
912
|
break;
|
904
913
|
case 46:
|
905
|
-
// line
|
914
|
+
// line 66 "ext/ragel/base_lexer.rl"
|
906
915
|
{te = p+1;{
|
907
916
|
p--;
|
908
917
|
{( this.cs) = ( this.stack)[--( this.top)];_goto_targ = 2; if (true) continue _goto;}
|
909
918
|
}}
|
910
919
|
break;
|
911
920
|
case 47:
|
912
|
-
// line
|
921
|
+
// line 480 "ext/ragel/base_lexer.rl"
|
913
922
|
{te = p;p--;{
|
914
923
|
callback_simple(id_on_string_squote);
|
915
924
|
|
@@ -919,7 +928,7 @@ case 3:
|
|
919
928
|
}}
|
920
929
|
break;
|
921
930
|
case 48:
|
922
|
-
// line
|
931
|
+
// line 496 "ext/ragel/base_lexer.rl"
|
923
932
|
{te = p+1;{
|
924
933
|
callback_simple(id_on_string_squote);
|
925
934
|
|
@@ -927,7 +936,7 @@ case 3:
|
|
927
936
|
}}
|
928
937
|
break;
|
929
938
|
case 49:
|
930
|
-
// line
|
939
|
+
// line 502 "ext/ragel/base_lexer.rl"
|
931
940
|
{te = p+1;{
|
932
941
|
callback_simple(id_on_string_dquote);
|
933
942
|
|
@@ -935,32 +944,32 @@ case 3:
|
|
935
944
|
}}
|
936
945
|
break;
|
937
946
|
case 50:
|
938
|
-
// line
|
947
|
+
// line 66 "ext/ragel/base_lexer.rl"
|
939
948
|
{te = p+1;{
|
940
949
|
p--;
|
941
950
|
{( this.cs) = ( this.stack)[--( this.top)];_goto_targ = 2; if (true) continue _goto;}
|
942
951
|
}}
|
943
952
|
break;
|
944
953
|
case 51:
|
945
|
-
// line
|
954
|
+
// line 62 "ext/ragel/base_lexer.rl"
|
946
955
|
{te = p+1;{
|
947
956
|
advance_line(1);
|
948
957
|
}}
|
949
958
|
break;
|
950
959
|
case 52:
|
951
|
-
// line
|
960
|
+
// line 517 "ext/ragel/base_lexer.rl"
|
952
961
|
{te = p+1;{
|
953
962
|
callback(id_on_attribute_ns, data, encoding, ts, te - 1);
|
954
963
|
}}
|
955
964
|
break;
|
956
965
|
case 53:
|
957
|
-
// line
|
966
|
+
// line 526 "ext/ragel/base_lexer.rl"
|
958
967
|
{te = p+1;{
|
959
968
|
{( this.stack)[( this.top)++] = ( this.cs); ( this.cs) = 73; _goto_targ = 2; if (true) continue _goto;}
|
960
969
|
}}
|
961
970
|
break;
|
962
971
|
case 54:
|
963
|
-
// line
|
972
|
+
// line 531 "ext/ragel/base_lexer.rl"
|
964
973
|
{te = p+1;{
|
965
974
|
callback_simple(id_on_element_open_end);
|
966
975
|
|
@@ -979,34 +988,34 @@ case 3:
|
|
979
988
|
}}
|
980
989
|
break;
|
981
990
|
case 55:
|
982
|
-
// line
|
991
|
+
// line 549 "ext/ragel/base_lexer.rl"
|
983
992
|
{te = p+1;{
|
984
993
|
callback_simple(id_on_element_end);
|
985
994
|
( this.cs) = 32;
|
986
995
|
}}
|
987
996
|
break;
|
988
997
|
case 56:
|
989
|
-
// line
|
998
|
+
// line 554 "ext/ragel/base_lexer.rl"
|
990
999
|
{te = p+1;}
|
991
1000
|
break;
|
992
1001
|
case 57:
|
993
|
-
// line
|
1002
|
+
// line 62 "ext/ragel/base_lexer.rl"
|
994
1003
|
{te = p;p--;{
|
995
1004
|
advance_line(1);
|
996
1005
|
}}
|
997
1006
|
break;
|
998
1007
|
case 58:
|
999
|
-
// line
|
1008
|
+
// line 521 "ext/ragel/base_lexer.rl"
|
1000
1009
|
{te = p;p--;{
|
1001
1010
|
callback(id_on_attribute, data, encoding, ts, te);
|
1002
1011
|
}}
|
1003
1012
|
break;
|
1004
1013
|
case 59:
|
1005
|
-
// line
|
1014
|
+
// line 554 "ext/ragel/base_lexer.rl"
|
1006
1015
|
{te = p;p--;}
|
1007
1016
|
break;
|
1008
1017
|
case 60:
|
1009
|
-
// line
|
1018
|
+
// line 591 "ext/ragel/base_lexer.rl"
|
1010
1019
|
{te = p+1;{
|
1011
1020
|
callback(id_on_text, data, encoding, ts, te);
|
1012
1021
|
|
@@ -1021,7 +1030,7 @@ case 3:
|
|
1021
1030
|
}}
|
1022
1031
|
break;
|
1023
1032
|
case 61:
|
1024
|
-
// line
|
1033
|
+
// line 605 "ext/ragel/base_lexer.rl"
|
1025
1034
|
{te = p+1;{
|
1026
1035
|
callback(id_on_text, data, encoding, ts, mark);
|
1027
1036
|
|
@@ -1039,7 +1048,7 @@ case 3:
|
|
1039
1048
|
}}
|
1040
1049
|
break;
|
1041
1050
|
case 62:
|
1042
|
-
// line
|
1051
|
+
// line 591 "ext/ragel/base_lexer.rl"
|
1043
1052
|
{te = p;p--;{
|
1044
1053
|
callback(id_on_text, data, encoding, ts, te);
|
1045
1054
|
|
@@ -1054,7 +1063,7 @@ case 3:
|
|
1054
1063
|
}}
|
1055
1064
|
break;
|
1056
1065
|
case 63:
|
1057
|
-
// line
|
1066
|
+
// line 381 "ext/ragel/base_lexer.rl"
|
1058
1067
|
{te = p+1;{
|
1059
1068
|
callback_simple(id_on_element_end);
|
1060
1069
|
|
@@ -1062,7 +1071,7 @@ case 3:
|
|
1062
1071
|
}}
|
1063
1072
|
break;
|
1064
1073
|
case 64:
|
1065
|
-
// line
|
1074
|
+
// line 579 "ext/ragel/base_lexer.rl"
|
1066
1075
|
{te = p;p--;{
|
1067
1076
|
callback(id_on_text, data, encoding, ts, te);
|
1068
1077
|
|
@@ -1075,7 +1084,7 @@ case 3:
|
|
1075
1084
|
}}
|
1076
1085
|
break;
|
1077
1086
|
case 65:
|
1078
|
-
// line
|
1087
|
+
// line 579 "ext/ragel/base_lexer.rl"
|
1079
1088
|
{{p = ((te))-1;}{
|
1080
1089
|
callback(id_on_text, data, encoding, ts, te);
|
1081
1090
|
|
@@ -1088,7 +1097,7 @@ case 3:
|
|
1088
1097
|
}}
|
1089
1098
|
break;
|
1090
1099
|
case 66:
|
1091
|
-
// line
|
1100
|
+
// line 381 "ext/ragel/base_lexer.rl"
|
1092
1101
|
{te = p+1;{
|
1093
1102
|
callback_simple(id_on_element_end);
|
1094
1103
|
|
@@ -1096,7 +1105,7 @@ case 3:
|
|
1096
1105
|
}}
|
1097
1106
|
break;
|
1098
1107
|
case 67:
|
1099
|
-
// line
|
1108
|
+
// line 579 "ext/ragel/base_lexer.rl"
|
1100
1109
|
{te = p;p--;{
|
1101
1110
|
callback(id_on_text, data, encoding, ts, te);
|
1102
1111
|
|
@@ -1109,7 +1118,7 @@ case 3:
|
|
1109
1118
|
}}
|
1110
1119
|
break;
|
1111
1120
|
case 68:
|
1112
|
-
// line
|
1121
|
+
// line 579 "ext/ragel/base_lexer.rl"
|
1113
1122
|
{{p = ((te))-1;}{
|
1114
1123
|
callback(id_on_text, data, encoding, ts, te);
|
1115
1124
|
|
@@ -1122,15 +1131,15 @@ case 3:
|
|
1122
1131
|
}}
|
1123
1132
|
break;
|
1124
1133
|
case 69:
|
1125
|
-
// line
|
1134
|
+
// line 321 "ext/ragel/base_lexer.rl"
|
1126
1135
|
{( this.act) = 54;}
|
1127
1136
|
break;
|
1128
1137
|
case 70:
|
1129
|
-
// line
|
1138
|
+
// line 167 "ext/ragel/base_lexer.rl"
|
1130
1139
|
{( this.act) = 57;}
|
1131
1140
|
break;
|
1132
1141
|
case 71:
|
1133
|
-
// line
|
1142
|
+
// line 86 "ext/ragel/base_lexer.rl"
|
1134
1143
|
{te = p+1;{
|
1135
1144
|
callback_simple(id_on_comment_start);
|
1136
1145
|
|
@@ -1138,7 +1147,7 @@ case 3:
|
|
1138
1147
|
}}
|
1139
1148
|
break;
|
1140
1149
|
case 72:
|
1141
|
-
// line
|
1150
|
+
// line 125 "ext/ragel/base_lexer.rl"
|
1142
1151
|
{te = p+1;{
|
1143
1152
|
callback_simple(id_on_cdata_start);
|
1144
1153
|
|
@@ -1146,27 +1155,27 @@ case 3:
|
|
1146
1155
|
}}
|
1147
1156
|
break;
|
1148
1157
|
case 73:
|
1149
|
-
// line
|
1158
|
+
// line 368 "ext/ragel/base_lexer.rl"
|
1150
1159
|
{te = p+1;{
|
1151
1160
|
p--;
|
1152
1161
|
( this.cs) = 69;
|
1153
1162
|
}}
|
1154
1163
|
break;
|
1155
1164
|
case 74:
|
1156
|
-
// line
|
1165
|
+
// line 373 "ext/ragel/base_lexer.rl"
|
1157
1166
|
{te = p+1;{
|
1158
1167
|
( this.cs) = 71;
|
1159
1168
|
}}
|
1160
1169
|
break;
|
1161
1170
|
case 75:
|
1162
|
-
// line
|
1171
|
+
// line 565 "ext/ragel/base_lexer.rl"
|
1163
1172
|
{te = p+1;{
|
1164
1173
|
p--;
|
1165
1174
|
( this.cs) = 82;
|
1166
1175
|
}}
|
1167
1176
|
break;
|
1168
1177
|
case 76:
|
1169
|
-
// line
|
1178
|
+
// line 257 "ext/ragel/base_lexer.rl"
|
1170
1179
|
{te = p;p--;{
|
1171
1180
|
callback_simple(id_on_doctype_start);
|
1172
1181
|
|
@@ -1181,7 +1190,7 @@ case 3:
|
|
1181
1190
|
}}
|
1182
1191
|
break;
|
1183
1192
|
case 77:
|
1184
|
-
// line
|
1193
|
+
// line 167 "ext/ragel/base_lexer.rl"
|
1185
1194
|
{te = p;p--;{
|
1186
1195
|
callback_simple(id_on_proc_ins_start);
|
1187
1196
|
callback(id_on_proc_ins_name, data, encoding, ts + 2, te);
|
@@ -1190,14 +1199,14 @@ case 3:
|
|
1190
1199
|
}}
|
1191
1200
|
break;
|
1192
1201
|
case 78:
|
1193
|
-
// line
|
1202
|
+
// line 565 "ext/ragel/base_lexer.rl"
|
1194
1203
|
{te = p;p--;{
|
1195
1204
|
p--;
|
1196
1205
|
( this.cs) = 82;
|
1197
1206
|
}}
|
1198
1207
|
break;
|
1199
1208
|
case 79:
|
1200
|
-
// line
|
1209
|
+
// line 565 "ext/ragel/base_lexer.rl"
|
1201
1210
|
{{p = ((te))-1;}{
|
1202
1211
|
p--;
|
1203
1212
|
( this.cs) = 82;
|
@@ -1223,7 +1232,7 @@ case 3:
|
|
1223
1232
|
}
|
1224
1233
|
}
|
1225
1234
|
break;
|
1226
|
-
// line
|
1235
|
+
// line 1236 "ext/java/org/liboga/xml/Lexer.java"
|
1227
1236
|
}
|
1228
1237
|
}
|
1229
1238
|
}
|
@@ -1237,7 +1246,7 @@ case 2:
|
|
1237
1246
|
// line 1 "NONE"
|
1238
1247
|
{ts = -1;}
|
1239
1248
|
break;
|
1240
|
-
// line
|
1249
|
+
// line 1250 "ext/java/org/liboga/xml/Lexer.java"
|
1241
1250
|
}
|
1242
1251
|
}
|
1243
1252
|
|