@wireweave/core 2.3.1 → 2.5.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1904 -815
- package/dist/index.d.cts +118 -17
- package/dist/index.d.ts +118 -17
- package/dist/index.js +1904 -815
- package/dist/parser.cjs +1286 -755
- package/dist/parser.d.cts +1 -1
- package/dist/parser.d.ts +1 -1
- package/dist/parser.js +1286 -755
- package/dist/renderer.cjs +328 -6
- package/dist/renderer.d.cts +6 -1
- package/dist/renderer.d.ts +6 -1
- package/dist/renderer.js +328 -6
- package/dist/{types-D0t4JRY3.d.cts → types-EbEsGNxL.d.cts} +105 -5
- package/dist/{types-D0t4JRY3.d.ts → types-EbEsGNxL.d.ts} +105 -5
- package/package.json +1 -1
package/dist/parser.js
CHANGED
|
@@ -116,71 +116,75 @@ function peg$parse(input, options) {
|
|
|
116
116
|
const peg$c6 = "sidebar";
|
|
117
117
|
const peg$c7 = "row";
|
|
118
118
|
const peg$c8 = "col";
|
|
119
|
-
const peg$c9 = "
|
|
120
|
-
const peg$c10 = "
|
|
121
|
-
const peg$c11 = "
|
|
122
|
-
const peg$c12 = "
|
|
123
|
-
const peg$c13 = "
|
|
124
|
-
const peg$c14 = "
|
|
125
|
-
const peg$c15 = "
|
|
126
|
-
const peg$c16 = "
|
|
127
|
-
const peg$c17 = "
|
|
128
|
-
const peg$c18 = "
|
|
129
|
-
const peg$c19 = "
|
|
130
|
-
const peg$c20 = "
|
|
131
|
-
const peg$c21 = "
|
|
132
|
-
const peg$c22 = "
|
|
133
|
-
const peg$c23 = "
|
|
134
|
-
const peg$c24 = "
|
|
135
|
-
const peg$c25 = "
|
|
136
|
-
const peg$c26 = "
|
|
137
|
-
const peg$c27 = "
|
|
138
|
-
const peg$c28 = "
|
|
139
|
-
const peg$c29 = "
|
|
140
|
-
const peg$c30 = "
|
|
141
|
-
const peg$c31 = "
|
|
142
|
-
const peg$c32 = "
|
|
143
|
-
const peg$c33 = "
|
|
144
|
-
const peg$c34 = "
|
|
145
|
-
const peg$c35 = "
|
|
146
|
-
const peg$c36 = "
|
|
147
|
-
const peg$c37 = "
|
|
148
|
-
const peg$c38 = "
|
|
149
|
-
const peg$c39 = "
|
|
150
|
-
const peg$c40 = "
|
|
151
|
-
const peg$c41 = "
|
|
152
|
-
const peg$c42 = "
|
|
153
|
-
const peg$c43 = "
|
|
154
|
-
const peg$c44 = "
|
|
155
|
-
const peg$c45 = "
|
|
156
|
-
const peg$c46 = "
|
|
157
|
-
const peg$c47 = "
|
|
158
|
-
const peg$c48 = "
|
|
159
|
-
const peg$c49 = "
|
|
160
|
-
const peg$c50 = "
|
|
161
|
-
const peg$c51 = "
|
|
162
|
-
const peg$c52 = "
|
|
163
|
-
const peg$c53 =
|
|
164
|
-
const peg$c54 = "
|
|
165
|
-
const peg$c55 = "
|
|
166
|
-
const peg$c56 = "
|
|
167
|
-
const peg$c57 = "
|
|
168
|
-
const peg$c58 = "
|
|
169
|
-
const peg$c59 = "
|
|
170
|
-
const peg$c60 = "
|
|
171
|
-
const peg$c61 = "
|
|
172
|
-
const peg$c62 = "
|
|
173
|
-
const peg$c63 = "
|
|
174
|
-
const peg$c64 = "
|
|
175
|
-
const peg$c65 = "
|
|
176
|
-
const peg$c66 = "
|
|
177
|
-
const peg$c67 = "
|
|
178
|
-
const peg$c68 = "
|
|
179
|
-
const peg$c69 = "
|
|
180
|
-
const peg$c70 = "
|
|
181
|
-
const peg$
|
|
182
|
-
const peg$
|
|
183
|
-
const peg$
|
|
119
|
+
const peg$c9 = "stack";
|
|
120
|
+
const peg$c10 = "relative";
|
|
121
|
+
const peg$c11 = "card";
|
|
122
|
+
const peg$c12 = "modal";
|
|
123
|
+
const peg$c13 = "drawer";
|
|
124
|
+
const peg$c14 = "accordion";
|
|
125
|
+
const peg$c15 = "section";
|
|
126
|
+
const peg$c16 = "text";
|
|
127
|
+
const peg$c17 = "title";
|
|
128
|
+
const peg$c18 = "link";
|
|
129
|
+
const peg$c19 = "button";
|
|
130
|
+
const peg$c20 = "input";
|
|
131
|
+
const peg$c21 = "textarea";
|
|
132
|
+
const peg$c22 = "select";
|
|
133
|
+
const peg$c23 = "checkbox";
|
|
134
|
+
const peg$c24 = "radio";
|
|
135
|
+
const peg$c25 = "switch";
|
|
136
|
+
const peg$c26 = "slider";
|
|
137
|
+
const peg$c27 = "image";
|
|
138
|
+
const peg$c28 = "placeholder";
|
|
139
|
+
const peg$c29 = "avatar";
|
|
140
|
+
const peg$c30 = "badge";
|
|
141
|
+
const peg$c31 = "icon";
|
|
142
|
+
const peg$c32 = "table";
|
|
143
|
+
const peg$c33 = "[";
|
|
144
|
+
const peg$c34 = ",";
|
|
145
|
+
const peg$c35 = "]";
|
|
146
|
+
const peg$c36 = "columns";
|
|
147
|
+
const peg$c37 = "list";
|
|
148
|
+
const peg$c38 = "item";
|
|
149
|
+
const peg$c39 = "alert";
|
|
150
|
+
const peg$c40 = "toast";
|
|
151
|
+
const peg$c41 = "progress";
|
|
152
|
+
const peg$c42 = "spinner";
|
|
153
|
+
const peg$c43 = "tooltip";
|
|
154
|
+
const peg$c44 = "popover";
|
|
155
|
+
const peg$c45 = "dropdown";
|
|
156
|
+
const peg$c46 = "divider";
|
|
157
|
+
const peg$c47 = "nav";
|
|
158
|
+
const peg$c48 = "group";
|
|
159
|
+
const peg$c49 = "tabs";
|
|
160
|
+
const peg$c50 = "tab";
|
|
161
|
+
const peg$c51 = "breadcrumb";
|
|
162
|
+
const peg$c52 = "marker";
|
|
163
|
+
const peg$c53 = "annotations";
|
|
164
|
+
const peg$c54 = "=";
|
|
165
|
+
const peg$c55 = "//";
|
|
166
|
+
const peg$c56 = "/*";
|
|
167
|
+
const peg$c57 = '"';
|
|
168
|
+
const peg$c58 = "'";
|
|
169
|
+
const peg$c59 = "\\";
|
|
170
|
+
const peg$c60 = "n";
|
|
171
|
+
const peg$c61 = "r";
|
|
172
|
+
const peg$c62 = "t";
|
|
173
|
+
const peg$c63 = "-";
|
|
174
|
+
const peg$c64 = ".";
|
|
175
|
+
const peg$c65 = "px";
|
|
176
|
+
const peg$c66 = "%";
|
|
177
|
+
const peg$c67 = "em";
|
|
178
|
+
const peg$c68 = "rem";
|
|
179
|
+
const peg$c69 = "vh";
|
|
180
|
+
const peg$c70 = "vw";
|
|
181
|
+
const peg$c71 = "true";
|
|
182
|
+
const peg$c72 = "false";
|
|
183
|
+
const peg$c73 = "\n";
|
|
184
|
+
const peg$c74 = "*/";
|
|
185
|
+
const peg$r0 = /^[0-9]/;
|
|
186
|
+
const peg$r1 = /^[=[{}]/;
|
|
187
|
+
const peg$r2 = /^[a-zA-Z0-9_\-]/;
|
|
184
188
|
const peg$r3 = /^[a-zA-Z_]/;
|
|
185
189
|
const peg$r4 = /^[ \t\n\r]/;
|
|
186
190
|
const peg$r5 = /^[^\n]/;
|
|
@@ -193,81 +197,86 @@ function peg$parse(input, options) {
|
|
|
193
197
|
const peg$e6 = peg$literalExpectation("sidebar", false);
|
|
194
198
|
const peg$e7 = peg$literalExpectation("row", false);
|
|
195
199
|
const peg$e8 = peg$literalExpectation("col", false);
|
|
196
|
-
const peg$e9 = peg$literalExpectation("
|
|
197
|
-
const peg$e10 = peg$literalExpectation("
|
|
198
|
-
const peg$e11 = peg$literalExpectation("
|
|
199
|
-
const peg$e12 = peg$literalExpectation("
|
|
200
|
-
const peg$e13 = peg$literalExpectation("
|
|
201
|
-
const peg$e14 = peg$literalExpectation("
|
|
202
|
-
const peg$e15 = peg$literalExpectation("
|
|
203
|
-
const peg$e16 = peg$literalExpectation("
|
|
204
|
-
const peg$e17 = peg$literalExpectation("
|
|
205
|
-
const peg$e18 = peg$literalExpectation("
|
|
206
|
-
const peg$e19 = peg$literalExpectation("
|
|
207
|
-
const peg$e20 = peg$literalExpectation("
|
|
208
|
-
const peg$e21 = peg$literalExpectation("
|
|
209
|
-
const peg$e22 = peg$literalExpectation("
|
|
210
|
-
const peg$e23 = peg$literalExpectation("
|
|
211
|
-
const peg$e24 = peg$literalExpectation("
|
|
212
|
-
const peg$e25 = peg$literalExpectation("
|
|
213
|
-
const peg$e26 = peg$literalExpectation("
|
|
214
|
-
const peg$e27 = peg$literalExpectation("
|
|
215
|
-
const peg$e28 = peg$literalExpectation("
|
|
216
|
-
const peg$e29 = peg$literalExpectation("
|
|
217
|
-
const peg$e30 = peg$literalExpectation("
|
|
218
|
-
const peg$e31 = peg$literalExpectation("
|
|
219
|
-
const peg$e32 = peg$literalExpectation("
|
|
220
|
-
const peg$e33 = peg$literalExpectation("
|
|
221
|
-
const peg$e34 = peg$literalExpectation("
|
|
222
|
-
const peg$e35 = peg$literalExpectation("
|
|
223
|
-
const peg$e36 = peg$literalExpectation("
|
|
224
|
-
const peg$e37 = peg$literalExpectation("
|
|
225
|
-
const peg$e38 = peg$literalExpectation("
|
|
226
|
-
const peg$e39 = peg$literalExpectation("
|
|
227
|
-
const peg$e40 = peg$literalExpectation("
|
|
228
|
-
const peg$e41 = peg$literalExpectation("
|
|
229
|
-
const peg$e42 = peg$literalExpectation("
|
|
230
|
-
const peg$e43 = peg$literalExpectation("
|
|
231
|
-
const peg$e44 = peg$literalExpectation("
|
|
232
|
-
const peg$e45 = peg$literalExpectation("
|
|
233
|
-
const peg$e46 = peg$literalExpectation("
|
|
234
|
-
const peg$e47 = peg$literalExpectation("
|
|
235
|
-
const peg$e48 = peg$literalExpectation("
|
|
236
|
-
const peg$e49 = peg$literalExpectation("
|
|
237
|
-
const peg$e50 = peg$literalExpectation("
|
|
238
|
-
const peg$e51 = peg$
|
|
239
|
-
const peg$e52 = peg$literalExpectation("
|
|
240
|
-
const peg$e53 = peg$literalExpectation("
|
|
241
|
-
const peg$e54 = peg$
|
|
242
|
-
const peg$e55 = peg$classExpectation([["
|
|
243
|
-
const peg$e56 = peg$
|
|
244
|
-
const peg$e57 = peg$
|
|
245
|
-
const peg$e58 = peg$literalExpectation("
|
|
246
|
-
const peg$e59 = peg$literalExpectation("
|
|
247
|
-
const peg$e60 = peg$
|
|
248
|
-
const peg$e61 = peg$
|
|
249
|
-
const peg$e62 = peg$
|
|
250
|
-
const peg$e63 = peg$
|
|
251
|
-
const peg$e64 = peg$literalExpectation("
|
|
252
|
-
const peg$e65 = peg$
|
|
253
|
-
const peg$e66 = peg$literalExpectation("
|
|
254
|
-
const peg$e67 = peg$
|
|
255
|
-
const peg$e68 = peg$literalExpectation("
|
|
256
|
-
const peg$e69 = peg$
|
|
257
|
-
const peg$e70 = peg$literalExpectation("
|
|
258
|
-
const peg$e71 = peg$literalExpectation("
|
|
259
|
-
const peg$e72 = peg$
|
|
260
|
-
const peg$e73 = peg$literalExpectation("
|
|
261
|
-
const peg$e74 = peg$
|
|
262
|
-
const peg$e75 = peg$literalExpectation("
|
|
263
|
-
const peg$e76 = peg$literalExpectation("
|
|
264
|
-
const peg$e77 = peg$
|
|
265
|
-
const peg$e78 = peg$
|
|
266
|
-
const peg$e79 = peg$
|
|
267
|
-
const peg$e80 = peg$
|
|
268
|
-
const peg$e81 = peg$
|
|
269
|
-
const peg$e82 = peg$
|
|
270
|
-
const peg$e83 = peg$
|
|
200
|
+
const peg$e9 = peg$literalExpectation("stack", false);
|
|
201
|
+
const peg$e10 = peg$literalExpectation("relative", false);
|
|
202
|
+
const peg$e11 = peg$literalExpectation("card", false);
|
|
203
|
+
const peg$e12 = peg$literalExpectation("modal", false);
|
|
204
|
+
const peg$e13 = peg$literalExpectation("drawer", false);
|
|
205
|
+
const peg$e14 = peg$literalExpectation("accordion", false);
|
|
206
|
+
const peg$e15 = peg$literalExpectation("section", false);
|
|
207
|
+
const peg$e16 = peg$literalExpectation("text", false);
|
|
208
|
+
const peg$e17 = peg$literalExpectation("title", false);
|
|
209
|
+
const peg$e18 = peg$literalExpectation("link", false);
|
|
210
|
+
const peg$e19 = peg$literalExpectation("button", false);
|
|
211
|
+
const peg$e20 = peg$literalExpectation("input", false);
|
|
212
|
+
const peg$e21 = peg$literalExpectation("textarea", false);
|
|
213
|
+
const peg$e22 = peg$literalExpectation("select", false);
|
|
214
|
+
const peg$e23 = peg$literalExpectation("checkbox", false);
|
|
215
|
+
const peg$e24 = peg$literalExpectation("radio", false);
|
|
216
|
+
const peg$e25 = peg$literalExpectation("switch", false);
|
|
217
|
+
const peg$e26 = peg$literalExpectation("slider", false);
|
|
218
|
+
const peg$e27 = peg$literalExpectation("image", false);
|
|
219
|
+
const peg$e28 = peg$literalExpectation("placeholder", false);
|
|
220
|
+
const peg$e29 = peg$literalExpectation("avatar", false);
|
|
221
|
+
const peg$e30 = peg$literalExpectation("badge", false);
|
|
222
|
+
const peg$e31 = peg$literalExpectation("icon", false);
|
|
223
|
+
const peg$e32 = peg$literalExpectation("table", false);
|
|
224
|
+
const peg$e33 = peg$literalExpectation("[", false);
|
|
225
|
+
const peg$e34 = peg$literalExpectation(",", false);
|
|
226
|
+
const peg$e35 = peg$literalExpectation("]", false);
|
|
227
|
+
const peg$e36 = peg$literalExpectation("columns", false);
|
|
228
|
+
const peg$e37 = peg$literalExpectation("list", false);
|
|
229
|
+
const peg$e38 = peg$literalExpectation("item", false);
|
|
230
|
+
const peg$e39 = peg$literalExpectation("alert", false);
|
|
231
|
+
const peg$e40 = peg$literalExpectation("toast", false);
|
|
232
|
+
const peg$e41 = peg$literalExpectation("progress", false);
|
|
233
|
+
const peg$e42 = peg$literalExpectation("spinner", false);
|
|
234
|
+
const peg$e43 = peg$literalExpectation("tooltip", false);
|
|
235
|
+
const peg$e44 = peg$literalExpectation("popover", false);
|
|
236
|
+
const peg$e45 = peg$literalExpectation("dropdown", false);
|
|
237
|
+
const peg$e46 = peg$literalExpectation("divider", false);
|
|
238
|
+
const peg$e47 = peg$literalExpectation("nav", false);
|
|
239
|
+
const peg$e48 = peg$literalExpectation("group", false);
|
|
240
|
+
const peg$e49 = peg$literalExpectation("tabs", false);
|
|
241
|
+
const peg$e50 = peg$literalExpectation("tab", false);
|
|
242
|
+
const peg$e51 = peg$literalExpectation("breadcrumb", false);
|
|
243
|
+
const peg$e52 = peg$literalExpectation("marker", false);
|
|
244
|
+
const peg$e53 = peg$literalExpectation("annotations", false);
|
|
245
|
+
const peg$e54 = peg$otherExpectation("integer");
|
|
246
|
+
const peg$e55 = peg$classExpectation([["0", "9"]], false, false, false);
|
|
247
|
+
const peg$e56 = peg$literalExpectation("=", false);
|
|
248
|
+
const peg$e57 = peg$classExpectation(["=", "[", "{", "}"], false, false, false);
|
|
249
|
+
const peg$e58 = peg$literalExpectation("//", false);
|
|
250
|
+
const peg$e59 = peg$literalExpectation("/*", false);
|
|
251
|
+
const peg$e60 = peg$anyExpectation();
|
|
252
|
+
const peg$e61 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "_", "-"], false, false, false);
|
|
253
|
+
const peg$e62 = peg$otherExpectation("string");
|
|
254
|
+
const peg$e63 = peg$literalExpectation('"', false);
|
|
255
|
+
const peg$e64 = peg$literalExpectation("'", false);
|
|
256
|
+
const peg$e65 = peg$literalExpectation("\\", false);
|
|
257
|
+
const peg$e66 = peg$literalExpectation("n", false);
|
|
258
|
+
const peg$e67 = peg$literalExpectation("r", false);
|
|
259
|
+
const peg$e68 = peg$literalExpectation("t", false);
|
|
260
|
+
const peg$e69 = peg$otherExpectation("number");
|
|
261
|
+
const peg$e70 = peg$literalExpectation("-", false);
|
|
262
|
+
const peg$e71 = peg$literalExpectation(".", false);
|
|
263
|
+
const peg$e72 = peg$otherExpectation("value with unit");
|
|
264
|
+
const peg$e73 = peg$literalExpectation("px", false);
|
|
265
|
+
const peg$e74 = peg$literalExpectation("%", false);
|
|
266
|
+
const peg$e75 = peg$literalExpectation("em", false);
|
|
267
|
+
const peg$e76 = peg$literalExpectation("rem", false);
|
|
268
|
+
const peg$e77 = peg$literalExpectation("vh", false);
|
|
269
|
+
const peg$e78 = peg$literalExpectation("vw", false);
|
|
270
|
+
const peg$e79 = peg$otherExpectation("boolean");
|
|
271
|
+
const peg$e80 = peg$literalExpectation("true", false);
|
|
272
|
+
const peg$e81 = peg$literalExpectation("false", false);
|
|
273
|
+
const peg$e82 = peg$otherExpectation("identifier");
|
|
274
|
+
const peg$e83 = peg$classExpectation([["a", "z"], ["A", "Z"], "_"], false, false, false);
|
|
275
|
+
const peg$e84 = peg$classExpectation([" ", " ", "\n", "\r"], false, false, false);
|
|
276
|
+
const peg$e85 = peg$otherExpectation("comment");
|
|
277
|
+
const peg$e86 = peg$classExpectation(["\n"], true, false, false);
|
|
278
|
+
const peg$e87 = peg$literalExpectation("\n", false);
|
|
279
|
+
const peg$e88 = peg$literalExpectation("*/", false);
|
|
271
280
|
function peg$f0(children) {
|
|
272
281
|
return createNode("Document", { children: children.filter((c) => c !== null) });
|
|
273
282
|
}
|
|
@@ -323,66 +332,78 @@ function peg$parse(input, options) {
|
|
|
323
332
|
children
|
|
324
333
|
});
|
|
325
334
|
}
|
|
326
|
-
function peg$f11(
|
|
335
|
+
function peg$f11(attrs, children) {
|
|
336
|
+
return createNode("Stack", {
|
|
337
|
+
...attrsToObject(attrs),
|
|
338
|
+
children
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
function peg$f12(attrs, children) {
|
|
342
|
+
return createNode("Relative", {
|
|
343
|
+
...attrsToObject(attrs),
|
|
344
|
+
children
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
function peg$f13(label, attrs, children) {
|
|
327
348
|
return createNode("Card", {
|
|
328
349
|
title: label || null,
|
|
329
350
|
...attrsToObject(attrs),
|
|
330
351
|
children
|
|
331
352
|
});
|
|
332
353
|
}
|
|
333
|
-
function peg$
|
|
354
|
+
function peg$f14(label, attrs, children) {
|
|
334
355
|
return createNode("Modal", {
|
|
335
356
|
title: label || null,
|
|
336
357
|
...attrsToObject(attrs),
|
|
337
358
|
children
|
|
338
359
|
});
|
|
339
360
|
}
|
|
340
|
-
function peg$
|
|
361
|
+
function peg$f15(label, attrs, children) {
|
|
341
362
|
return createNode("Drawer", {
|
|
342
363
|
title: label || null,
|
|
343
364
|
...attrsToObject(attrs),
|
|
344
365
|
children
|
|
345
366
|
});
|
|
346
367
|
}
|
|
347
|
-
function peg$
|
|
368
|
+
function peg$f16(label, attrs, children) {
|
|
348
369
|
return createNode("Accordion", {
|
|
349
370
|
title: label || null,
|
|
350
371
|
...attrsToObject(attrs),
|
|
351
372
|
children
|
|
352
373
|
});
|
|
353
374
|
}
|
|
354
|
-
function peg$
|
|
375
|
+
function peg$f17(label, attrs, children) {
|
|
355
376
|
return createNode("Section", {
|
|
356
377
|
title: label || null,
|
|
357
378
|
...attrsToObject(attrs),
|
|
358
379
|
children
|
|
359
380
|
});
|
|
360
381
|
}
|
|
361
|
-
function peg$
|
|
382
|
+
function peg$f18(label, attrs) {
|
|
362
383
|
return createNode("Text", {
|
|
363
384
|
content: label,
|
|
364
385
|
...attrsToObject(attrs)
|
|
365
386
|
});
|
|
366
387
|
}
|
|
367
|
-
function peg$
|
|
388
|
+
function peg$f19(label, attrs) {
|
|
368
389
|
return createNode("Title", {
|
|
369
390
|
content: label,
|
|
370
391
|
...attrsToObject(attrs)
|
|
371
392
|
});
|
|
372
393
|
}
|
|
373
|
-
function peg$
|
|
394
|
+
function peg$f20(label, attrs) {
|
|
374
395
|
return createNode("Link", {
|
|
375
396
|
content: label,
|
|
376
397
|
...attrsToObject(attrs)
|
|
377
398
|
});
|
|
378
399
|
}
|
|
379
|
-
function peg$
|
|
400
|
+
function peg$f21(label, attrs) {
|
|
380
401
|
return createNode("Button", {
|
|
381
402
|
content: label,
|
|
382
403
|
...attrsToObject(attrs)
|
|
383
404
|
});
|
|
384
405
|
}
|
|
385
|
-
function peg$
|
|
406
|
+
function peg$f22(label, attrs) {
|
|
386
407
|
const obj = attrsToObject(attrs);
|
|
387
408
|
const inputType = obj.type;
|
|
388
409
|
delete obj.type;
|
|
@@ -392,75 +413,75 @@ function peg$parse(input, options) {
|
|
|
392
413
|
...obj
|
|
393
414
|
});
|
|
394
415
|
}
|
|
395
|
-
function peg$
|
|
416
|
+
function peg$f23(label, attrs) {
|
|
396
417
|
return createNode("Textarea", {
|
|
397
418
|
label: label || null,
|
|
398
419
|
...attrsToObject(attrs)
|
|
399
420
|
});
|
|
400
421
|
}
|
|
401
|
-
function peg$
|
|
422
|
+
function peg$f24(label, options2, attrs) {
|
|
402
423
|
return createNode("Select", {
|
|
403
424
|
label: label || null,
|
|
404
425
|
options: options2 || [],
|
|
405
426
|
...attrsToObject(attrs)
|
|
406
427
|
});
|
|
407
428
|
}
|
|
408
|
-
function peg$
|
|
429
|
+
function peg$f25(label, attrs) {
|
|
409
430
|
return createNode("Checkbox", {
|
|
410
431
|
label: label || null,
|
|
411
432
|
...attrsToObject(attrs)
|
|
412
433
|
});
|
|
413
434
|
}
|
|
414
|
-
function peg$
|
|
435
|
+
function peg$f26(label, attrs) {
|
|
415
436
|
return createNode("Radio", {
|
|
416
437
|
label: label || null,
|
|
417
438
|
...attrsToObject(attrs)
|
|
418
439
|
});
|
|
419
440
|
}
|
|
420
|
-
function peg$
|
|
441
|
+
function peg$f27(label, attrs) {
|
|
421
442
|
return createNode("Switch", {
|
|
422
443
|
label: label || null,
|
|
423
444
|
...attrsToObject(attrs)
|
|
424
445
|
});
|
|
425
446
|
}
|
|
426
|
-
function peg$
|
|
447
|
+
function peg$f28(label, attrs) {
|
|
427
448
|
return createNode("Slider", {
|
|
428
449
|
label: label || null,
|
|
429
450
|
...attrsToObject(attrs)
|
|
430
451
|
});
|
|
431
452
|
}
|
|
432
|
-
function peg$
|
|
453
|
+
function peg$f29(src, attrs) {
|
|
433
454
|
return createNode("Image", {
|
|
434
455
|
src: src || null,
|
|
435
456
|
...attrsToObject(attrs)
|
|
436
457
|
});
|
|
437
458
|
}
|
|
438
|
-
function peg$
|
|
459
|
+
function peg$f30(label, attrs, block) {
|
|
439
460
|
return createNode("Placeholder", {
|
|
440
461
|
label: label || null,
|
|
441
462
|
...attrsToObject(attrs),
|
|
442
463
|
children: block ? block[2] : []
|
|
443
464
|
});
|
|
444
465
|
}
|
|
445
|
-
function peg$
|
|
466
|
+
function peg$f31(label, attrs) {
|
|
446
467
|
return createNode("Avatar", {
|
|
447
468
|
name: label || null,
|
|
448
469
|
...attrsToObject(attrs)
|
|
449
470
|
});
|
|
450
471
|
}
|
|
451
|
-
function peg$
|
|
472
|
+
function peg$f32(label, attrs) {
|
|
452
473
|
return createNode("Badge", {
|
|
453
474
|
content: label,
|
|
454
475
|
...attrsToObject(attrs)
|
|
455
476
|
});
|
|
456
477
|
}
|
|
457
|
-
function peg$
|
|
478
|
+
function peg$f33(name, attrs) {
|
|
458
479
|
return createNode("Icon", {
|
|
459
480
|
name,
|
|
460
481
|
...attrsToObject(attrs)
|
|
461
482
|
});
|
|
462
483
|
}
|
|
463
|
-
function peg$
|
|
484
|
+
function peg$f34(data, attrs) {
|
|
464
485
|
const columns = data.length > 0 ? data[0] : [];
|
|
465
486
|
const rows = data.slice(1);
|
|
466
487
|
return createNode("Table", {
|
|
@@ -469,16 +490,16 @@ function peg$parse(input, options) {
|
|
|
469
490
|
...attrsToObject(attrs)
|
|
470
491
|
});
|
|
471
492
|
}
|
|
472
|
-
function peg$
|
|
493
|
+
function peg$f35(attrs, rows) {
|
|
473
494
|
return createNode("Table", {
|
|
474
495
|
...attrsToObject(attrs),
|
|
475
496
|
...rows
|
|
476
497
|
});
|
|
477
498
|
}
|
|
478
|
-
function peg$
|
|
499
|
+
function peg$f36(first, rest) {
|
|
479
500
|
return [first, ...rest.map((r) => r[2])];
|
|
480
501
|
}
|
|
481
|
-
function peg$
|
|
502
|
+
function peg$f37(items) {
|
|
482
503
|
const columns = [];
|
|
483
504
|
const rows = [];
|
|
484
505
|
for (const item of items.map((i) => i[0]).filter((i) => i !== null)) {
|
|
@@ -487,72 +508,72 @@ function peg$parse(input, options) {
|
|
|
487
508
|
}
|
|
488
509
|
return { columns, rows };
|
|
489
510
|
}
|
|
490
|
-
function peg$
|
|
511
|
+
function peg$f38(values) {
|
|
491
512
|
return { type: "columns", values };
|
|
492
513
|
}
|
|
493
|
-
function peg$
|
|
514
|
+
function peg$f39(values) {
|
|
494
515
|
return { type: "row", values };
|
|
495
516
|
}
|
|
496
|
-
function peg$
|
|
517
|
+
function peg$f40() {
|
|
497
518
|
return null;
|
|
498
519
|
}
|
|
499
|
-
function peg$
|
|
520
|
+
function peg$f41(items, attrs, block) {
|
|
500
521
|
return createNode("List", {
|
|
501
522
|
items: items || (block ? block : []),
|
|
502
523
|
...attrsToObject(attrs)
|
|
503
524
|
});
|
|
504
525
|
}
|
|
505
|
-
function peg$
|
|
526
|
+
function peg$f42(items) {
|
|
506
527
|
return items.map((i) => i[0]).filter((i) => i !== null);
|
|
507
528
|
}
|
|
508
|
-
function peg$
|
|
529
|
+
function peg$f43(label, attrs, nested) {
|
|
509
530
|
return {
|
|
510
531
|
content: label,
|
|
511
532
|
...attrsToObject(attrs),
|
|
512
533
|
children: nested || []
|
|
513
534
|
};
|
|
514
535
|
}
|
|
515
|
-
function peg$
|
|
536
|
+
function peg$f44() {
|
|
516
537
|
return null;
|
|
517
538
|
}
|
|
518
|
-
function peg$
|
|
539
|
+
function peg$f45(label, attrs) {
|
|
519
540
|
return createNode("Alert", {
|
|
520
541
|
content: label,
|
|
521
542
|
...attrsToObject(attrs)
|
|
522
543
|
});
|
|
523
544
|
}
|
|
524
|
-
function peg$
|
|
545
|
+
function peg$f46(label, attrs) {
|
|
525
546
|
return createNode("Toast", {
|
|
526
547
|
content: label,
|
|
527
548
|
...attrsToObject(attrs)
|
|
528
549
|
});
|
|
529
550
|
}
|
|
530
|
-
function peg$
|
|
551
|
+
function peg$f47(attrs) {
|
|
531
552
|
return createNode("Progress", {
|
|
532
553
|
...attrsToObject(attrs)
|
|
533
554
|
});
|
|
534
555
|
}
|
|
535
|
-
function peg$
|
|
556
|
+
function peg$f48(label, attrs) {
|
|
536
557
|
return createNode("Spinner", {
|
|
537
558
|
label: label || null,
|
|
538
559
|
...attrsToObject(attrs)
|
|
539
560
|
});
|
|
540
561
|
}
|
|
541
|
-
function peg$
|
|
562
|
+
function peg$f49(label, attrs) {
|
|
542
563
|
return createNode("Tooltip", {
|
|
543
564
|
content: label,
|
|
544
565
|
...attrsToObject(attrs),
|
|
545
566
|
children: []
|
|
546
567
|
});
|
|
547
568
|
}
|
|
548
|
-
function peg$
|
|
569
|
+
function peg$f50(label, attrs, children) {
|
|
549
570
|
return createNode("Popover", {
|
|
550
571
|
title: label || null,
|
|
551
572
|
...attrsToObject(attrs),
|
|
552
573
|
children
|
|
553
574
|
});
|
|
554
575
|
}
|
|
555
|
-
function peg$
|
|
576
|
+
function peg$f51(items, attrs) {
|
|
556
577
|
const processedItems = items.map((item) => {
|
|
557
578
|
if (typeof item === "string") {
|
|
558
579
|
if (item === "---" || item === "-" || item === "divider") {
|
|
@@ -567,41 +588,41 @@ function peg$parse(input, options) {
|
|
|
567
588
|
items: processedItems
|
|
568
589
|
});
|
|
569
590
|
}
|
|
570
|
-
function peg$
|
|
591
|
+
function peg$f52(attrs, items) {
|
|
571
592
|
return createNode("Dropdown", {
|
|
572
593
|
...attrsToObject(attrs),
|
|
573
594
|
items
|
|
574
595
|
});
|
|
575
596
|
}
|
|
576
|
-
function peg$
|
|
597
|
+
function peg$f53(items) {
|
|
577
598
|
return items.map((i) => i[0]).filter((i) => i !== null);
|
|
578
599
|
}
|
|
579
|
-
function peg$
|
|
600
|
+
function peg$f54(label, attrs) {
|
|
580
601
|
return { label, ...attrsToObject(attrs) };
|
|
581
602
|
}
|
|
582
|
-
function peg$
|
|
603
|
+
function peg$f55() {
|
|
583
604
|
return { type: "divider" };
|
|
584
605
|
}
|
|
585
|
-
function peg$
|
|
606
|
+
function peg$f56() {
|
|
586
607
|
return null;
|
|
587
608
|
}
|
|
588
|
-
function peg$
|
|
609
|
+
function peg$f57(items, attrs, block) {
|
|
589
610
|
return createNode("Nav", {
|
|
590
611
|
items: items || [],
|
|
591
612
|
...attrsToObject(attrs),
|
|
592
613
|
children: block || []
|
|
593
614
|
});
|
|
594
615
|
}
|
|
595
|
-
function peg$
|
|
616
|
+
function peg$f58(content) {
|
|
596
617
|
return content.map((c) => c[0]).filter((c) => c !== null);
|
|
597
618
|
}
|
|
598
|
-
function peg$
|
|
619
|
+
function peg$f59() {
|
|
599
620
|
return { type: "divider" };
|
|
600
621
|
}
|
|
601
|
-
function peg$
|
|
622
|
+
function peg$f60() {
|
|
602
623
|
return null;
|
|
603
624
|
}
|
|
604
|
-
function peg$
|
|
625
|
+
function peg$f61(label, attrs, items) {
|
|
605
626
|
return {
|
|
606
627
|
type: "group",
|
|
607
628
|
label,
|
|
@@ -609,122 +630,159 @@ function peg$parse(input, options) {
|
|
|
609
630
|
items: items.map((i) => i[0]).filter((i) => i !== null)
|
|
610
631
|
};
|
|
611
632
|
}
|
|
612
|
-
function peg$
|
|
633
|
+
function peg$f62() {
|
|
613
634
|
return { type: "divider" };
|
|
614
635
|
}
|
|
615
|
-
function peg$
|
|
636
|
+
function peg$f63() {
|
|
616
637
|
return null;
|
|
617
638
|
}
|
|
618
|
-
function peg$
|
|
639
|
+
function peg$f64(label, attrs) {
|
|
619
640
|
return {
|
|
620
641
|
type: "item",
|
|
621
642
|
label,
|
|
622
643
|
...attrsToObject(attrs)
|
|
623
644
|
};
|
|
624
645
|
}
|
|
625
|
-
function peg$
|
|
646
|
+
function peg$f65(items, attrs, block) {
|
|
626
647
|
return createNode("Tabs", {
|
|
627
648
|
items: items || [],
|
|
628
649
|
...attrsToObject(attrs),
|
|
629
650
|
children: block || []
|
|
630
651
|
});
|
|
631
652
|
}
|
|
632
|
-
function peg$
|
|
653
|
+
function peg$f66(tabs) {
|
|
633
654
|
return tabs.map((t) => t[0]).filter((t) => t !== null);
|
|
634
655
|
}
|
|
635
|
-
function peg$
|
|
656
|
+
function peg$f67(label, attrs, children) {
|
|
636
657
|
return {
|
|
637
658
|
label,
|
|
638
659
|
...attrsToObject(attrs),
|
|
639
660
|
children
|
|
640
661
|
};
|
|
641
662
|
}
|
|
642
|
-
function peg$
|
|
663
|
+
function peg$f68() {
|
|
643
664
|
return null;
|
|
644
665
|
}
|
|
645
|
-
function peg$
|
|
666
|
+
function peg$f69(items, attrs) {
|
|
646
667
|
return createNode("Breadcrumb", {
|
|
647
668
|
items,
|
|
648
669
|
...attrsToObject(attrs)
|
|
649
670
|
});
|
|
650
671
|
}
|
|
651
|
-
function peg$
|
|
672
|
+
function peg$f70(attrs) {
|
|
652
673
|
return createNode("Divider", {
|
|
653
674
|
...attrsToObject(attrs)
|
|
654
675
|
});
|
|
655
676
|
}
|
|
656
|
-
function peg$
|
|
677
|
+
function peg$f71(num, attrs) {
|
|
678
|
+
return createNode("Marker", {
|
|
679
|
+
number: num,
|
|
680
|
+
...attrsToObject(attrs)
|
|
681
|
+
});
|
|
682
|
+
}
|
|
683
|
+
function peg$f72(attrs, items) {
|
|
684
|
+
return createNode("Annotations", {
|
|
685
|
+
...attrsToObject(attrs),
|
|
686
|
+
children: items
|
|
687
|
+
});
|
|
688
|
+
}
|
|
689
|
+
function peg$f73(items) {
|
|
690
|
+
return items.map((i) => i[0]).filter((i) => i !== null);
|
|
691
|
+
}
|
|
692
|
+
function peg$f74(num, title, attrs, children) {
|
|
693
|
+
return createNode("AnnotationItem", {
|
|
694
|
+
number: num,
|
|
695
|
+
title,
|
|
696
|
+
...attrsToObject(attrs),
|
|
697
|
+
children
|
|
698
|
+
});
|
|
699
|
+
}
|
|
700
|
+
function peg$f75(num, title, attrs) {
|
|
701
|
+
return createNode("AnnotationItem", {
|
|
702
|
+
number: num,
|
|
703
|
+
title,
|
|
704
|
+
...attrsToObject(attrs),
|
|
705
|
+
children: []
|
|
706
|
+
});
|
|
707
|
+
}
|
|
708
|
+
function peg$f76() {
|
|
709
|
+
return null;
|
|
710
|
+
}
|
|
711
|
+
function peg$f77(digits) {
|
|
712
|
+
return parseInt(digits.join(""), 10);
|
|
713
|
+
}
|
|
714
|
+
function peg$f78(attrs) {
|
|
657
715
|
return attrs;
|
|
658
716
|
}
|
|
659
|
-
function peg$
|
|
717
|
+
function peg$f79(name, value) {
|
|
660
718
|
return { name, value };
|
|
661
719
|
}
|
|
662
|
-
function peg$
|
|
720
|
+
function peg$f80(flag) {
|
|
663
721
|
return { name: flag, value: true };
|
|
664
722
|
}
|
|
665
|
-
function peg$
|
|
723
|
+
function peg$f81(name) {
|
|
666
724
|
return name;
|
|
667
725
|
}
|
|
668
|
-
function peg$
|
|
726
|
+
function peg$f82(chars) {
|
|
669
727
|
return chars.join("");
|
|
670
728
|
}
|
|
671
|
-
function peg$
|
|
729
|
+
function peg$f83(chars) {
|
|
672
730
|
return chars.join("");
|
|
673
731
|
}
|
|
674
|
-
function peg$
|
|
732
|
+
function peg$f84(char) {
|
|
675
733
|
return char;
|
|
676
734
|
}
|
|
677
|
-
function peg$
|
|
735
|
+
function peg$f85(seq) {
|
|
678
736
|
return seq;
|
|
679
737
|
}
|
|
680
|
-
function peg$
|
|
738
|
+
function peg$f86(char) {
|
|
681
739
|
return char;
|
|
682
740
|
}
|
|
683
|
-
function peg$
|
|
741
|
+
function peg$f87(seq) {
|
|
684
742
|
return seq;
|
|
685
743
|
}
|
|
686
|
-
function peg$
|
|
744
|
+
function peg$f88() {
|
|
687
745
|
return "\n";
|
|
688
746
|
}
|
|
689
|
-
function peg$
|
|
747
|
+
function peg$f89() {
|
|
690
748
|
return "\r";
|
|
691
749
|
}
|
|
692
|
-
function peg$
|
|
750
|
+
function peg$f90() {
|
|
693
751
|
return " ";
|
|
694
752
|
}
|
|
695
|
-
function peg$
|
|
753
|
+
function peg$f91() {
|
|
696
754
|
return "\\";
|
|
697
755
|
}
|
|
698
|
-
function peg$
|
|
756
|
+
function peg$f92() {
|
|
699
757
|
return '"';
|
|
700
758
|
}
|
|
701
|
-
function peg$
|
|
759
|
+
function peg$f93() {
|
|
702
760
|
return "'";
|
|
703
761
|
}
|
|
704
|
-
function peg$
|
|
762
|
+
function peg$f94(sign, digits, decimal) {
|
|
705
763
|
const num = (sign || "") + digits.join("") + (decimal ? "." + decimal[1].join("") : "");
|
|
706
764
|
return parseFloat(num);
|
|
707
765
|
}
|
|
708
|
-
function peg$
|
|
766
|
+
function peg$f95(sign, digits, decimal, unit) {
|
|
709
767
|
const num = (sign || "") + digits.join("") + (decimal ? "." + decimal[1].join("") : "");
|
|
710
768
|
return { value: parseFloat(num), unit };
|
|
711
769
|
}
|
|
712
|
-
function peg$
|
|
770
|
+
function peg$f96() {
|
|
713
771
|
return true;
|
|
714
772
|
}
|
|
715
|
-
function peg$
|
|
773
|
+
function peg$f97() {
|
|
716
774
|
return false;
|
|
717
775
|
}
|
|
718
|
-
function peg$
|
|
776
|
+
function peg$f98(head, tail) {
|
|
719
777
|
return head + tail.join("");
|
|
720
778
|
}
|
|
721
|
-
function peg$
|
|
779
|
+
function peg$f99(items) {
|
|
722
780
|
return items || [];
|
|
723
781
|
}
|
|
724
|
-
function peg$
|
|
782
|
+
function peg$f100(head, tail) {
|
|
725
783
|
return [head, ...tail.map((t) => t[3])];
|
|
726
784
|
}
|
|
727
|
-
function peg$
|
|
785
|
+
function peg$f101(props) {
|
|
728
786
|
const result = {};
|
|
729
787
|
if (props) {
|
|
730
788
|
for (const p of props) {
|
|
@@ -733,13 +791,13 @@ function peg$parse(input, options) {
|
|
|
733
791
|
}
|
|
734
792
|
return result;
|
|
735
793
|
}
|
|
736
|
-
function peg$
|
|
794
|
+
function peg$f102(head, tail) {
|
|
737
795
|
return [head, ...tail.map((t) => t[3])];
|
|
738
796
|
}
|
|
739
|
-
function peg$
|
|
797
|
+
function peg$f103(name, value) {
|
|
740
798
|
return { name, value };
|
|
741
799
|
}
|
|
742
|
-
function peg$
|
|
800
|
+
function peg$f104(name) {
|
|
743
801
|
return { name, value: true };
|
|
744
802
|
}
|
|
745
803
|
let peg$currPos = options.peg$currPos | 0;
|
|
@@ -1036,6 +1094,12 @@ function peg$parse(input, options) {
|
|
|
1036
1094
|
s0 = peg$parseRow();
|
|
1037
1095
|
if (s0 === peg$FAILED) {
|
|
1038
1096
|
s0 = peg$parseCol();
|
|
1097
|
+
if (s0 === peg$FAILED) {
|
|
1098
|
+
s0 = peg$parseStack();
|
|
1099
|
+
if (s0 === peg$FAILED) {
|
|
1100
|
+
s0 = peg$parseRelative();
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1039
1103
|
}
|
|
1040
1104
|
}
|
|
1041
1105
|
}
|
|
@@ -1421,6 +1485,132 @@ function peg$parse(input, options) {
|
|
|
1421
1485
|
}
|
|
1422
1486
|
return s0;
|
|
1423
1487
|
}
|
|
1488
|
+
function peg$parseStack() {
|
|
1489
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
1490
|
+
s0 = peg$currPos;
|
|
1491
|
+
if (input.substr(peg$currPos, 5) === peg$c9) {
|
|
1492
|
+
s1 = peg$c9;
|
|
1493
|
+
peg$currPos += 5;
|
|
1494
|
+
} else {
|
|
1495
|
+
s1 = peg$FAILED;
|
|
1496
|
+
if (peg$silentFails === 0) {
|
|
1497
|
+
peg$fail(peg$e9);
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
if (s1 !== peg$FAILED) {
|
|
1501
|
+
s2 = peg$parse_();
|
|
1502
|
+
s3 = peg$parseAttributes();
|
|
1503
|
+
if (s3 === peg$FAILED) {
|
|
1504
|
+
s3 = null;
|
|
1505
|
+
}
|
|
1506
|
+
s4 = peg$parse_();
|
|
1507
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
1508
|
+
s5 = peg$c1;
|
|
1509
|
+
peg$currPos++;
|
|
1510
|
+
} else {
|
|
1511
|
+
s5 = peg$FAILED;
|
|
1512
|
+
if (peg$silentFails === 0) {
|
|
1513
|
+
peg$fail(peg$e1);
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
if (s5 !== peg$FAILED) {
|
|
1517
|
+
s6 = peg$parse_();
|
|
1518
|
+
s7 = peg$parseChildren();
|
|
1519
|
+
if (s7 !== peg$FAILED) {
|
|
1520
|
+
s8 = peg$parse_();
|
|
1521
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
1522
|
+
s9 = peg$c2;
|
|
1523
|
+
peg$currPos++;
|
|
1524
|
+
} else {
|
|
1525
|
+
s9 = peg$FAILED;
|
|
1526
|
+
if (peg$silentFails === 0) {
|
|
1527
|
+
peg$fail(peg$e2);
|
|
1528
|
+
}
|
|
1529
|
+
}
|
|
1530
|
+
if (s9 !== peg$FAILED) {
|
|
1531
|
+
peg$savedPos = s0;
|
|
1532
|
+
s0 = peg$f11(s3, s7);
|
|
1533
|
+
} else {
|
|
1534
|
+
peg$currPos = s0;
|
|
1535
|
+
s0 = peg$FAILED;
|
|
1536
|
+
}
|
|
1537
|
+
} else {
|
|
1538
|
+
peg$currPos = s0;
|
|
1539
|
+
s0 = peg$FAILED;
|
|
1540
|
+
}
|
|
1541
|
+
} else {
|
|
1542
|
+
peg$currPos = s0;
|
|
1543
|
+
s0 = peg$FAILED;
|
|
1544
|
+
}
|
|
1545
|
+
} else {
|
|
1546
|
+
peg$currPos = s0;
|
|
1547
|
+
s0 = peg$FAILED;
|
|
1548
|
+
}
|
|
1549
|
+
return s0;
|
|
1550
|
+
}
|
|
1551
|
+
function peg$parseRelative() {
|
|
1552
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
1553
|
+
s0 = peg$currPos;
|
|
1554
|
+
if (input.substr(peg$currPos, 8) === peg$c10) {
|
|
1555
|
+
s1 = peg$c10;
|
|
1556
|
+
peg$currPos += 8;
|
|
1557
|
+
} else {
|
|
1558
|
+
s1 = peg$FAILED;
|
|
1559
|
+
if (peg$silentFails === 0) {
|
|
1560
|
+
peg$fail(peg$e10);
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
if (s1 !== peg$FAILED) {
|
|
1564
|
+
s2 = peg$parse_();
|
|
1565
|
+
s3 = peg$parseAttributes();
|
|
1566
|
+
if (s3 === peg$FAILED) {
|
|
1567
|
+
s3 = null;
|
|
1568
|
+
}
|
|
1569
|
+
s4 = peg$parse_();
|
|
1570
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
1571
|
+
s5 = peg$c1;
|
|
1572
|
+
peg$currPos++;
|
|
1573
|
+
} else {
|
|
1574
|
+
s5 = peg$FAILED;
|
|
1575
|
+
if (peg$silentFails === 0) {
|
|
1576
|
+
peg$fail(peg$e1);
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1579
|
+
if (s5 !== peg$FAILED) {
|
|
1580
|
+
s6 = peg$parse_();
|
|
1581
|
+
s7 = peg$parseChildren();
|
|
1582
|
+
if (s7 !== peg$FAILED) {
|
|
1583
|
+
s8 = peg$parse_();
|
|
1584
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
1585
|
+
s9 = peg$c2;
|
|
1586
|
+
peg$currPos++;
|
|
1587
|
+
} else {
|
|
1588
|
+
s9 = peg$FAILED;
|
|
1589
|
+
if (peg$silentFails === 0) {
|
|
1590
|
+
peg$fail(peg$e2);
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
if (s9 !== peg$FAILED) {
|
|
1594
|
+
peg$savedPos = s0;
|
|
1595
|
+
s0 = peg$f12(s3, s7);
|
|
1596
|
+
} else {
|
|
1597
|
+
peg$currPos = s0;
|
|
1598
|
+
s0 = peg$FAILED;
|
|
1599
|
+
}
|
|
1600
|
+
} else {
|
|
1601
|
+
peg$currPos = s0;
|
|
1602
|
+
s0 = peg$FAILED;
|
|
1603
|
+
}
|
|
1604
|
+
} else {
|
|
1605
|
+
peg$currPos = s0;
|
|
1606
|
+
s0 = peg$FAILED;
|
|
1607
|
+
}
|
|
1608
|
+
} else {
|
|
1609
|
+
peg$currPos = s0;
|
|
1610
|
+
s0 = peg$FAILED;
|
|
1611
|
+
}
|
|
1612
|
+
return s0;
|
|
1613
|
+
}
|
|
1424
1614
|
function peg$parseContainerElement() {
|
|
1425
1615
|
let s0;
|
|
1426
1616
|
s0 = peg$parseCard();
|
|
@@ -1441,13 +1631,13 @@ function peg$parse(input, options) {
|
|
|
1441
1631
|
function peg$parseCard() {
|
|
1442
1632
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
1443
1633
|
s0 = peg$currPos;
|
|
1444
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
1445
|
-
s1 = peg$
|
|
1634
|
+
if (input.substr(peg$currPos, 4) === peg$c11) {
|
|
1635
|
+
s1 = peg$c11;
|
|
1446
1636
|
peg$currPos += 4;
|
|
1447
1637
|
} else {
|
|
1448
1638
|
s1 = peg$FAILED;
|
|
1449
1639
|
if (peg$silentFails === 0) {
|
|
1450
|
-
peg$fail(peg$
|
|
1640
|
+
peg$fail(peg$e11);
|
|
1451
1641
|
}
|
|
1452
1642
|
}
|
|
1453
1643
|
if (s1 !== peg$FAILED) {
|
|
@@ -1487,7 +1677,7 @@ function peg$parse(input, options) {
|
|
|
1487
1677
|
}
|
|
1488
1678
|
if (s11 !== peg$FAILED) {
|
|
1489
1679
|
peg$savedPos = s0;
|
|
1490
|
-
s0 = peg$
|
|
1680
|
+
s0 = peg$f13(s3, s5, s9);
|
|
1491
1681
|
} else {
|
|
1492
1682
|
peg$currPos = s0;
|
|
1493
1683
|
s0 = peg$FAILED;
|
|
@@ -1509,13 +1699,13 @@ function peg$parse(input, options) {
|
|
|
1509
1699
|
function peg$parseModal() {
|
|
1510
1700
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
1511
1701
|
s0 = peg$currPos;
|
|
1512
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
1513
|
-
s1 = peg$
|
|
1702
|
+
if (input.substr(peg$currPos, 5) === peg$c12) {
|
|
1703
|
+
s1 = peg$c12;
|
|
1514
1704
|
peg$currPos += 5;
|
|
1515
1705
|
} else {
|
|
1516
1706
|
s1 = peg$FAILED;
|
|
1517
1707
|
if (peg$silentFails === 0) {
|
|
1518
|
-
peg$fail(peg$
|
|
1708
|
+
peg$fail(peg$e12);
|
|
1519
1709
|
}
|
|
1520
1710
|
}
|
|
1521
1711
|
if (s1 !== peg$FAILED) {
|
|
@@ -1555,7 +1745,7 @@ function peg$parse(input, options) {
|
|
|
1555
1745
|
}
|
|
1556
1746
|
if (s11 !== peg$FAILED) {
|
|
1557
1747
|
peg$savedPos = s0;
|
|
1558
|
-
s0 = peg$
|
|
1748
|
+
s0 = peg$f14(s3, s5, s9);
|
|
1559
1749
|
} else {
|
|
1560
1750
|
peg$currPos = s0;
|
|
1561
1751
|
s0 = peg$FAILED;
|
|
@@ -1577,13 +1767,13 @@ function peg$parse(input, options) {
|
|
|
1577
1767
|
function peg$parseDrawer() {
|
|
1578
1768
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
1579
1769
|
s0 = peg$currPos;
|
|
1580
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
1581
|
-
s1 = peg$
|
|
1770
|
+
if (input.substr(peg$currPos, 6) === peg$c13) {
|
|
1771
|
+
s1 = peg$c13;
|
|
1582
1772
|
peg$currPos += 6;
|
|
1583
1773
|
} else {
|
|
1584
1774
|
s1 = peg$FAILED;
|
|
1585
1775
|
if (peg$silentFails === 0) {
|
|
1586
|
-
peg$fail(peg$
|
|
1776
|
+
peg$fail(peg$e13);
|
|
1587
1777
|
}
|
|
1588
1778
|
}
|
|
1589
1779
|
if (s1 !== peg$FAILED) {
|
|
@@ -1623,7 +1813,7 @@ function peg$parse(input, options) {
|
|
|
1623
1813
|
}
|
|
1624
1814
|
if (s11 !== peg$FAILED) {
|
|
1625
1815
|
peg$savedPos = s0;
|
|
1626
|
-
s0 = peg$
|
|
1816
|
+
s0 = peg$f15(s3, s5, s9);
|
|
1627
1817
|
} else {
|
|
1628
1818
|
peg$currPos = s0;
|
|
1629
1819
|
s0 = peg$FAILED;
|
|
@@ -1645,13 +1835,13 @@ function peg$parse(input, options) {
|
|
|
1645
1835
|
function peg$parseAccordion() {
|
|
1646
1836
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
1647
1837
|
s0 = peg$currPos;
|
|
1648
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
1649
|
-
s1 = peg$
|
|
1838
|
+
if (input.substr(peg$currPos, 9) === peg$c14) {
|
|
1839
|
+
s1 = peg$c14;
|
|
1650
1840
|
peg$currPos += 9;
|
|
1651
1841
|
} else {
|
|
1652
1842
|
s1 = peg$FAILED;
|
|
1653
1843
|
if (peg$silentFails === 0) {
|
|
1654
|
-
peg$fail(peg$
|
|
1844
|
+
peg$fail(peg$e14);
|
|
1655
1845
|
}
|
|
1656
1846
|
}
|
|
1657
1847
|
if (s1 !== peg$FAILED) {
|
|
@@ -1691,7 +1881,7 @@ function peg$parse(input, options) {
|
|
|
1691
1881
|
}
|
|
1692
1882
|
if (s11 !== peg$FAILED) {
|
|
1693
1883
|
peg$savedPos = s0;
|
|
1694
|
-
s0 = peg$
|
|
1884
|
+
s0 = peg$f16(s3, s5, s9);
|
|
1695
1885
|
} else {
|
|
1696
1886
|
peg$currPos = s0;
|
|
1697
1887
|
s0 = peg$FAILED;
|
|
@@ -1713,13 +1903,13 @@ function peg$parse(input, options) {
|
|
|
1713
1903
|
function peg$parseSection() {
|
|
1714
1904
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
1715
1905
|
s0 = peg$currPos;
|
|
1716
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
1717
|
-
s1 = peg$
|
|
1906
|
+
if (input.substr(peg$currPos, 7) === peg$c15) {
|
|
1907
|
+
s1 = peg$c15;
|
|
1718
1908
|
peg$currPos += 7;
|
|
1719
1909
|
} else {
|
|
1720
1910
|
s1 = peg$FAILED;
|
|
1721
1911
|
if (peg$silentFails === 0) {
|
|
1722
|
-
peg$fail(peg$
|
|
1912
|
+
peg$fail(peg$e15);
|
|
1723
1913
|
}
|
|
1724
1914
|
}
|
|
1725
1915
|
if (s1 !== peg$FAILED) {
|
|
@@ -1759,7 +1949,7 @@ function peg$parse(input, options) {
|
|
|
1759
1949
|
}
|
|
1760
1950
|
if (s11 !== peg$FAILED) {
|
|
1761
1951
|
peg$savedPos = s0;
|
|
1762
|
-
s0 = peg$
|
|
1952
|
+
s0 = peg$f17(s3, s5, s9);
|
|
1763
1953
|
} else {
|
|
1764
1954
|
peg$currPos = s0;
|
|
1765
1955
|
s0 = peg$FAILED;
|
|
@@ -1837,6 +2027,12 @@ function peg$parse(input, options) {
|
|
|
1837
2027
|
s0 = peg$parseBreadcrumb();
|
|
1838
2028
|
if (s0 === peg$FAILED) {
|
|
1839
2029
|
s0 = peg$parseDivider();
|
|
2030
|
+
if (s0 === peg$FAILED) {
|
|
2031
|
+
s0 = peg$parseMarker();
|
|
2032
|
+
if (s0 === peg$FAILED) {
|
|
2033
|
+
s0 = peg$parseAnnotations();
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
1840
2036
|
}
|
|
1841
2037
|
}
|
|
1842
2038
|
}
|
|
@@ -1870,13 +2066,13 @@ function peg$parse(input, options) {
|
|
|
1870
2066
|
function peg$parseText() {
|
|
1871
2067
|
let s0, s1, s2, s3, s4, s5;
|
|
1872
2068
|
s0 = peg$currPos;
|
|
1873
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
1874
|
-
s1 = peg$
|
|
2069
|
+
if (input.substr(peg$currPos, 4) === peg$c16) {
|
|
2070
|
+
s1 = peg$c16;
|
|
1875
2071
|
peg$currPos += 4;
|
|
1876
2072
|
} else {
|
|
1877
2073
|
s1 = peg$FAILED;
|
|
1878
2074
|
if (peg$silentFails === 0) {
|
|
1879
|
-
peg$fail(peg$
|
|
2075
|
+
peg$fail(peg$e16);
|
|
1880
2076
|
}
|
|
1881
2077
|
}
|
|
1882
2078
|
if (s1 !== peg$FAILED) {
|
|
@@ -1889,7 +2085,7 @@ function peg$parse(input, options) {
|
|
|
1889
2085
|
s5 = null;
|
|
1890
2086
|
}
|
|
1891
2087
|
peg$savedPos = s0;
|
|
1892
|
-
s0 = peg$
|
|
2088
|
+
s0 = peg$f18(s3, s5);
|
|
1893
2089
|
} else {
|
|
1894
2090
|
peg$currPos = s0;
|
|
1895
2091
|
s0 = peg$FAILED;
|
|
@@ -1903,13 +2099,13 @@ function peg$parse(input, options) {
|
|
|
1903
2099
|
function peg$parseTitle() {
|
|
1904
2100
|
let s0, s1, s2, s3, s4, s5;
|
|
1905
2101
|
s0 = peg$currPos;
|
|
1906
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
1907
|
-
s1 = peg$
|
|
2102
|
+
if (input.substr(peg$currPos, 5) === peg$c17) {
|
|
2103
|
+
s1 = peg$c17;
|
|
1908
2104
|
peg$currPos += 5;
|
|
1909
2105
|
} else {
|
|
1910
2106
|
s1 = peg$FAILED;
|
|
1911
2107
|
if (peg$silentFails === 0) {
|
|
1912
|
-
peg$fail(peg$
|
|
2108
|
+
peg$fail(peg$e17);
|
|
1913
2109
|
}
|
|
1914
2110
|
}
|
|
1915
2111
|
if (s1 !== peg$FAILED) {
|
|
@@ -1922,7 +2118,7 @@ function peg$parse(input, options) {
|
|
|
1922
2118
|
s5 = null;
|
|
1923
2119
|
}
|
|
1924
2120
|
peg$savedPos = s0;
|
|
1925
|
-
s0 = peg$
|
|
2121
|
+
s0 = peg$f19(s3, s5);
|
|
1926
2122
|
} else {
|
|
1927
2123
|
peg$currPos = s0;
|
|
1928
2124
|
s0 = peg$FAILED;
|
|
@@ -1936,13 +2132,13 @@ function peg$parse(input, options) {
|
|
|
1936
2132
|
function peg$parseLink() {
|
|
1937
2133
|
let s0, s1, s2, s3, s4, s5;
|
|
1938
2134
|
s0 = peg$currPos;
|
|
1939
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
1940
|
-
s1 = peg$
|
|
2135
|
+
if (input.substr(peg$currPos, 4) === peg$c18) {
|
|
2136
|
+
s1 = peg$c18;
|
|
1941
2137
|
peg$currPos += 4;
|
|
1942
2138
|
} else {
|
|
1943
2139
|
s1 = peg$FAILED;
|
|
1944
2140
|
if (peg$silentFails === 0) {
|
|
1945
|
-
peg$fail(peg$
|
|
2141
|
+
peg$fail(peg$e18);
|
|
1946
2142
|
}
|
|
1947
2143
|
}
|
|
1948
2144
|
if (s1 !== peg$FAILED) {
|
|
@@ -1955,7 +2151,7 @@ function peg$parse(input, options) {
|
|
|
1955
2151
|
s5 = null;
|
|
1956
2152
|
}
|
|
1957
2153
|
peg$savedPos = s0;
|
|
1958
|
-
s0 = peg$
|
|
2154
|
+
s0 = peg$f20(s3, s5);
|
|
1959
2155
|
} else {
|
|
1960
2156
|
peg$currPos = s0;
|
|
1961
2157
|
s0 = peg$FAILED;
|
|
@@ -1969,13 +2165,13 @@ function peg$parse(input, options) {
|
|
|
1969
2165
|
function peg$parseButton() {
|
|
1970
2166
|
let s0, s1, s2, s3, s4, s5;
|
|
1971
2167
|
s0 = peg$currPos;
|
|
1972
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
1973
|
-
s1 = peg$
|
|
2168
|
+
if (input.substr(peg$currPos, 6) === peg$c19) {
|
|
2169
|
+
s1 = peg$c19;
|
|
1974
2170
|
peg$currPos += 6;
|
|
1975
2171
|
} else {
|
|
1976
2172
|
s1 = peg$FAILED;
|
|
1977
2173
|
if (peg$silentFails === 0) {
|
|
1978
|
-
peg$fail(peg$
|
|
2174
|
+
peg$fail(peg$e19);
|
|
1979
2175
|
}
|
|
1980
2176
|
}
|
|
1981
2177
|
if (s1 !== peg$FAILED) {
|
|
@@ -1988,7 +2184,7 @@ function peg$parse(input, options) {
|
|
|
1988
2184
|
s5 = null;
|
|
1989
2185
|
}
|
|
1990
2186
|
peg$savedPos = s0;
|
|
1991
|
-
s0 = peg$
|
|
2187
|
+
s0 = peg$f21(s3, s5);
|
|
1992
2188
|
} else {
|
|
1993
2189
|
peg$currPos = s0;
|
|
1994
2190
|
s0 = peg$FAILED;
|
|
@@ -2002,13 +2198,13 @@ function peg$parse(input, options) {
|
|
|
2002
2198
|
function peg$parseInput() {
|
|
2003
2199
|
let s0, s1, s2, s3, s4, s5;
|
|
2004
2200
|
s0 = peg$currPos;
|
|
2005
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2006
|
-
s1 = peg$
|
|
2201
|
+
if (input.substr(peg$currPos, 5) === peg$c20) {
|
|
2202
|
+
s1 = peg$c20;
|
|
2007
2203
|
peg$currPos += 5;
|
|
2008
2204
|
} else {
|
|
2009
2205
|
s1 = peg$FAILED;
|
|
2010
2206
|
if (peg$silentFails === 0) {
|
|
2011
|
-
peg$fail(peg$
|
|
2207
|
+
peg$fail(peg$e20);
|
|
2012
2208
|
}
|
|
2013
2209
|
}
|
|
2014
2210
|
if (s1 !== peg$FAILED) {
|
|
@@ -2023,7 +2219,7 @@ function peg$parse(input, options) {
|
|
|
2023
2219
|
s5 = null;
|
|
2024
2220
|
}
|
|
2025
2221
|
peg$savedPos = s0;
|
|
2026
|
-
s0 = peg$
|
|
2222
|
+
s0 = peg$f22(s3, s5);
|
|
2027
2223
|
} else {
|
|
2028
2224
|
peg$currPos = s0;
|
|
2029
2225
|
s0 = peg$FAILED;
|
|
@@ -2033,13 +2229,13 @@ function peg$parse(input, options) {
|
|
|
2033
2229
|
function peg$parseTextarea() {
|
|
2034
2230
|
let s0, s1, s2, s3, s4, s5;
|
|
2035
2231
|
s0 = peg$currPos;
|
|
2036
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
2037
|
-
s1 = peg$
|
|
2232
|
+
if (input.substr(peg$currPos, 8) === peg$c21) {
|
|
2233
|
+
s1 = peg$c21;
|
|
2038
2234
|
peg$currPos += 8;
|
|
2039
2235
|
} else {
|
|
2040
2236
|
s1 = peg$FAILED;
|
|
2041
2237
|
if (peg$silentFails === 0) {
|
|
2042
|
-
peg$fail(peg$
|
|
2238
|
+
peg$fail(peg$e21);
|
|
2043
2239
|
}
|
|
2044
2240
|
}
|
|
2045
2241
|
if (s1 !== peg$FAILED) {
|
|
@@ -2054,7 +2250,7 @@ function peg$parse(input, options) {
|
|
|
2054
2250
|
s5 = null;
|
|
2055
2251
|
}
|
|
2056
2252
|
peg$savedPos = s0;
|
|
2057
|
-
s0 = peg$
|
|
2253
|
+
s0 = peg$f23(s3, s5);
|
|
2058
2254
|
} else {
|
|
2059
2255
|
peg$currPos = s0;
|
|
2060
2256
|
s0 = peg$FAILED;
|
|
@@ -2064,13 +2260,13 @@ function peg$parse(input, options) {
|
|
|
2064
2260
|
function peg$parseSelect() {
|
|
2065
2261
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2066
2262
|
s0 = peg$currPos;
|
|
2067
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
2068
|
-
s1 = peg$
|
|
2263
|
+
if (input.substr(peg$currPos, 6) === peg$c22) {
|
|
2264
|
+
s1 = peg$c22;
|
|
2069
2265
|
peg$currPos += 6;
|
|
2070
2266
|
} else {
|
|
2071
2267
|
s1 = peg$FAILED;
|
|
2072
2268
|
if (peg$silentFails === 0) {
|
|
2073
|
-
peg$fail(peg$
|
|
2269
|
+
peg$fail(peg$e22);
|
|
2074
2270
|
}
|
|
2075
2271
|
}
|
|
2076
2272
|
if (s1 !== peg$FAILED) {
|
|
@@ -2090,7 +2286,7 @@ function peg$parse(input, options) {
|
|
|
2090
2286
|
s7 = null;
|
|
2091
2287
|
}
|
|
2092
2288
|
peg$savedPos = s0;
|
|
2093
|
-
s0 = peg$
|
|
2289
|
+
s0 = peg$f24(s3, s5, s7);
|
|
2094
2290
|
} else {
|
|
2095
2291
|
peg$currPos = s0;
|
|
2096
2292
|
s0 = peg$FAILED;
|
|
@@ -2100,13 +2296,13 @@ function peg$parse(input, options) {
|
|
|
2100
2296
|
function peg$parseCheckbox() {
|
|
2101
2297
|
let s0, s1, s2, s3, s4, s5;
|
|
2102
2298
|
s0 = peg$currPos;
|
|
2103
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
2104
|
-
s1 = peg$
|
|
2299
|
+
if (input.substr(peg$currPos, 8) === peg$c23) {
|
|
2300
|
+
s1 = peg$c23;
|
|
2105
2301
|
peg$currPos += 8;
|
|
2106
2302
|
} else {
|
|
2107
2303
|
s1 = peg$FAILED;
|
|
2108
2304
|
if (peg$silentFails === 0) {
|
|
2109
|
-
peg$fail(peg$
|
|
2305
|
+
peg$fail(peg$e23);
|
|
2110
2306
|
}
|
|
2111
2307
|
}
|
|
2112
2308
|
if (s1 !== peg$FAILED) {
|
|
@@ -2121,7 +2317,7 @@ function peg$parse(input, options) {
|
|
|
2121
2317
|
s5 = null;
|
|
2122
2318
|
}
|
|
2123
2319
|
peg$savedPos = s0;
|
|
2124
|
-
s0 = peg$
|
|
2320
|
+
s0 = peg$f25(s3, s5);
|
|
2125
2321
|
} else {
|
|
2126
2322
|
peg$currPos = s0;
|
|
2127
2323
|
s0 = peg$FAILED;
|
|
@@ -2131,13 +2327,13 @@ function peg$parse(input, options) {
|
|
|
2131
2327
|
function peg$parseRadio() {
|
|
2132
2328
|
let s0, s1, s2, s3, s4, s5;
|
|
2133
2329
|
s0 = peg$currPos;
|
|
2134
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2135
|
-
s1 = peg$
|
|
2330
|
+
if (input.substr(peg$currPos, 5) === peg$c24) {
|
|
2331
|
+
s1 = peg$c24;
|
|
2136
2332
|
peg$currPos += 5;
|
|
2137
2333
|
} else {
|
|
2138
2334
|
s1 = peg$FAILED;
|
|
2139
2335
|
if (peg$silentFails === 0) {
|
|
2140
|
-
peg$fail(peg$
|
|
2336
|
+
peg$fail(peg$e24);
|
|
2141
2337
|
}
|
|
2142
2338
|
}
|
|
2143
2339
|
if (s1 !== peg$FAILED) {
|
|
@@ -2152,7 +2348,7 @@ function peg$parse(input, options) {
|
|
|
2152
2348
|
s5 = null;
|
|
2153
2349
|
}
|
|
2154
2350
|
peg$savedPos = s0;
|
|
2155
|
-
s0 = peg$
|
|
2351
|
+
s0 = peg$f26(s3, s5);
|
|
2156
2352
|
} else {
|
|
2157
2353
|
peg$currPos = s0;
|
|
2158
2354
|
s0 = peg$FAILED;
|
|
@@ -2162,13 +2358,13 @@ function peg$parse(input, options) {
|
|
|
2162
2358
|
function peg$parseSwitch() {
|
|
2163
2359
|
let s0, s1, s2, s3, s4, s5;
|
|
2164
2360
|
s0 = peg$currPos;
|
|
2165
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
2166
|
-
s1 = peg$
|
|
2361
|
+
if (input.substr(peg$currPos, 6) === peg$c25) {
|
|
2362
|
+
s1 = peg$c25;
|
|
2167
2363
|
peg$currPos += 6;
|
|
2168
2364
|
} else {
|
|
2169
2365
|
s1 = peg$FAILED;
|
|
2170
2366
|
if (peg$silentFails === 0) {
|
|
2171
|
-
peg$fail(peg$
|
|
2367
|
+
peg$fail(peg$e25);
|
|
2172
2368
|
}
|
|
2173
2369
|
}
|
|
2174
2370
|
if (s1 !== peg$FAILED) {
|
|
@@ -2183,7 +2379,7 @@ function peg$parse(input, options) {
|
|
|
2183
2379
|
s5 = null;
|
|
2184
2380
|
}
|
|
2185
2381
|
peg$savedPos = s0;
|
|
2186
|
-
s0 = peg$
|
|
2382
|
+
s0 = peg$f27(s3, s5);
|
|
2187
2383
|
} else {
|
|
2188
2384
|
peg$currPos = s0;
|
|
2189
2385
|
s0 = peg$FAILED;
|
|
@@ -2193,13 +2389,13 @@ function peg$parse(input, options) {
|
|
|
2193
2389
|
function peg$parseSlider() {
|
|
2194
2390
|
let s0, s1, s2, s3, s4, s5;
|
|
2195
2391
|
s0 = peg$currPos;
|
|
2196
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
2197
|
-
s1 = peg$
|
|
2392
|
+
if (input.substr(peg$currPos, 6) === peg$c26) {
|
|
2393
|
+
s1 = peg$c26;
|
|
2198
2394
|
peg$currPos += 6;
|
|
2199
2395
|
} else {
|
|
2200
2396
|
s1 = peg$FAILED;
|
|
2201
2397
|
if (peg$silentFails === 0) {
|
|
2202
|
-
peg$fail(peg$
|
|
2398
|
+
peg$fail(peg$e26);
|
|
2203
2399
|
}
|
|
2204
2400
|
}
|
|
2205
2401
|
if (s1 !== peg$FAILED) {
|
|
@@ -2214,7 +2410,7 @@ function peg$parse(input, options) {
|
|
|
2214
2410
|
s5 = null;
|
|
2215
2411
|
}
|
|
2216
2412
|
peg$savedPos = s0;
|
|
2217
|
-
s0 = peg$
|
|
2413
|
+
s0 = peg$f28(s3, s5);
|
|
2218
2414
|
} else {
|
|
2219
2415
|
peg$currPos = s0;
|
|
2220
2416
|
s0 = peg$FAILED;
|
|
@@ -2224,13 +2420,13 @@ function peg$parse(input, options) {
|
|
|
2224
2420
|
function peg$parseImage() {
|
|
2225
2421
|
let s0, s1, s2, s3, s4, s5;
|
|
2226
2422
|
s0 = peg$currPos;
|
|
2227
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2228
|
-
s1 = peg$
|
|
2423
|
+
if (input.substr(peg$currPos, 5) === peg$c27) {
|
|
2424
|
+
s1 = peg$c27;
|
|
2229
2425
|
peg$currPos += 5;
|
|
2230
2426
|
} else {
|
|
2231
2427
|
s1 = peg$FAILED;
|
|
2232
2428
|
if (peg$silentFails === 0) {
|
|
2233
|
-
peg$fail(peg$
|
|
2429
|
+
peg$fail(peg$e27);
|
|
2234
2430
|
}
|
|
2235
2431
|
}
|
|
2236
2432
|
if (s1 !== peg$FAILED) {
|
|
@@ -2245,7 +2441,7 @@ function peg$parse(input, options) {
|
|
|
2245
2441
|
s5 = null;
|
|
2246
2442
|
}
|
|
2247
2443
|
peg$savedPos = s0;
|
|
2248
|
-
s0 = peg$
|
|
2444
|
+
s0 = peg$f29(s3, s5);
|
|
2249
2445
|
} else {
|
|
2250
2446
|
peg$currPos = s0;
|
|
2251
2447
|
s0 = peg$FAILED;
|
|
@@ -2255,13 +2451,13 @@ function peg$parse(input, options) {
|
|
|
2255
2451
|
function peg$parsePlaceholder() {
|
|
2256
2452
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12;
|
|
2257
2453
|
s0 = peg$currPos;
|
|
2258
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
2259
|
-
s1 = peg$
|
|
2454
|
+
if (input.substr(peg$currPos, 11) === peg$c28) {
|
|
2455
|
+
s1 = peg$c28;
|
|
2260
2456
|
peg$currPos += 11;
|
|
2261
2457
|
} else {
|
|
2262
2458
|
s1 = peg$FAILED;
|
|
2263
2459
|
if (peg$silentFails === 0) {
|
|
2264
|
-
peg$fail(peg$
|
|
2460
|
+
peg$fail(peg$e28);
|
|
2265
2461
|
}
|
|
2266
2462
|
}
|
|
2267
2463
|
if (s1 !== peg$FAILED) {
|
|
@@ -2319,7 +2515,7 @@ function peg$parse(input, options) {
|
|
|
2319
2515
|
s7 = null;
|
|
2320
2516
|
}
|
|
2321
2517
|
peg$savedPos = s0;
|
|
2322
|
-
s0 = peg$
|
|
2518
|
+
s0 = peg$f30(s3, s5, s7);
|
|
2323
2519
|
} else {
|
|
2324
2520
|
peg$currPos = s0;
|
|
2325
2521
|
s0 = peg$FAILED;
|
|
@@ -2329,13 +2525,13 @@ function peg$parse(input, options) {
|
|
|
2329
2525
|
function peg$parseAvatar() {
|
|
2330
2526
|
let s0, s1, s2, s3, s4, s5;
|
|
2331
2527
|
s0 = peg$currPos;
|
|
2332
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
2333
|
-
s1 = peg$
|
|
2528
|
+
if (input.substr(peg$currPos, 6) === peg$c29) {
|
|
2529
|
+
s1 = peg$c29;
|
|
2334
2530
|
peg$currPos += 6;
|
|
2335
2531
|
} else {
|
|
2336
2532
|
s1 = peg$FAILED;
|
|
2337
2533
|
if (peg$silentFails === 0) {
|
|
2338
|
-
peg$fail(peg$
|
|
2534
|
+
peg$fail(peg$e29);
|
|
2339
2535
|
}
|
|
2340
2536
|
}
|
|
2341
2537
|
if (s1 !== peg$FAILED) {
|
|
@@ -2350,7 +2546,7 @@ function peg$parse(input, options) {
|
|
|
2350
2546
|
s5 = null;
|
|
2351
2547
|
}
|
|
2352
2548
|
peg$savedPos = s0;
|
|
2353
|
-
s0 = peg$
|
|
2549
|
+
s0 = peg$f31(s3, s5);
|
|
2354
2550
|
} else {
|
|
2355
2551
|
peg$currPos = s0;
|
|
2356
2552
|
s0 = peg$FAILED;
|
|
@@ -2360,13 +2556,13 @@ function peg$parse(input, options) {
|
|
|
2360
2556
|
function peg$parseBadge() {
|
|
2361
2557
|
let s0, s1, s2, s3, s4, s5;
|
|
2362
2558
|
s0 = peg$currPos;
|
|
2363
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2364
|
-
s1 = peg$
|
|
2559
|
+
if (input.substr(peg$currPos, 5) === peg$c30) {
|
|
2560
|
+
s1 = peg$c30;
|
|
2365
2561
|
peg$currPos += 5;
|
|
2366
2562
|
} else {
|
|
2367
2563
|
s1 = peg$FAILED;
|
|
2368
2564
|
if (peg$silentFails === 0) {
|
|
2369
|
-
peg$fail(peg$
|
|
2565
|
+
peg$fail(peg$e30);
|
|
2370
2566
|
}
|
|
2371
2567
|
}
|
|
2372
2568
|
if (s1 !== peg$FAILED) {
|
|
@@ -2379,7 +2575,7 @@ function peg$parse(input, options) {
|
|
|
2379
2575
|
s5 = null;
|
|
2380
2576
|
}
|
|
2381
2577
|
peg$savedPos = s0;
|
|
2382
|
-
s0 = peg$
|
|
2578
|
+
s0 = peg$f32(s3, s5);
|
|
2383
2579
|
} else {
|
|
2384
2580
|
peg$currPos = s0;
|
|
2385
2581
|
s0 = peg$FAILED;
|
|
@@ -2393,13 +2589,13 @@ function peg$parse(input, options) {
|
|
|
2393
2589
|
function peg$parseIcon() {
|
|
2394
2590
|
let s0, s1, s2, s3, s4, s5;
|
|
2395
2591
|
s0 = peg$currPos;
|
|
2396
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2397
|
-
s1 = peg$
|
|
2592
|
+
if (input.substr(peg$currPos, 4) === peg$c31) {
|
|
2593
|
+
s1 = peg$c31;
|
|
2398
2594
|
peg$currPos += 4;
|
|
2399
2595
|
} else {
|
|
2400
2596
|
s1 = peg$FAILED;
|
|
2401
2597
|
if (peg$silentFails === 0) {
|
|
2402
|
-
peg$fail(peg$
|
|
2598
|
+
peg$fail(peg$e31);
|
|
2403
2599
|
}
|
|
2404
2600
|
}
|
|
2405
2601
|
if (s1 !== peg$FAILED) {
|
|
@@ -2412,7 +2608,7 @@ function peg$parse(input, options) {
|
|
|
2412
2608
|
s5 = null;
|
|
2413
2609
|
}
|
|
2414
2610
|
peg$savedPos = s0;
|
|
2415
|
-
s0 = peg$
|
|
2611
|
+
s0 = peg$f33(s3, s5);
|
|
2416
2612
|
} else {
|
|
2417
2613
|
peg$currPos = s0;
|
|
2418
2614
|
s0 = peg$FAILED;
|
|
@@ -2426,13 +2622,13 @@ function peg$parse(input, options) {
|
|
|
2426
2622
|
function peg$parseTable() {
|
|
2427
2623
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
2428
2624
|
s0 = peg$currPos;
|
|
2429
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2430
|
-
s1 = peg$
|
|
2625
|
+
if (input.substr(peg$currPos, 5) === peg$c32) {
|
|
2626
|
+
s1 = peg$c32;
|
|
2431
2627
|
peg$currPos += 5;
|
|
2432
2628
|
} else {
|
|
2433
2629
|
s1 = peg$FAILED;
|
|
2434
2630
|
if (peg$silentFails === 0) {
|
|
2435
|
-
peg$fail(peg$
|
|
2631
|
+
peg$fail(peg$e32);
|
|
2436
2632
|
}
|
|
2437
2633
|
}
|
|
2438
2634
|
if (s1 !== peg$FAILED) {
|
|
@@ -2445,7 +2641,7 @@ function peg$parse(input, options) {
|
|
|
2445
2641
|
s5 = null;
|
|
2446
2642
|
}
|
|
2447
2643
|
peg$savedPos = s0;
|
|
2448
|
-
s0 = peg$
|
|
2644
|
+
s0 = peg$f34(s3, s5);
|
|
2449
2645
|
} else {
|
|
2450
2646
|
peg$currPos = s0;
|
|
2451
2647
|
s0 = peg$FAILED;
|
|
@@ -2456,13 +2652,13 @@ function peg$parse(input, options) {
|
|
|
2456
2652
|
}
|
|
2457
2653
|
if (s0 === peg$FAILED) {
|
|
2458
2654
|
s0 = peg$currPos;
|
|
2459
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2460
|
-
s1 = peg$
|
|
2655
|
+
if (input.substr(peg$currPos, 5) === peg$c32) {
|
|
2656
|
+
s1 = peg$c32;
|
|
2461
2657
|
peg$currPos += 5;
|
|
2462
2658
|
} else {
|
|
2463
2659
|
s1 = peg$FAILED;
|
|
2464
2660
|
if (peg$silentFails === 0) {
|
|
2465
|
-
peg$fail(peg$
|
|
2661
|
+
peg$fail(peg$e32);
|
|
2466
2662
|
}
|
|
2467
2663
|
}
|
|
2468
2664
|
if (s1 !== peg$FAILED) {
|
|
@@ -2496,7 +2692,7 @@ function peg$parse(input, options) {
|
|
|
2496
2692
|
}
|
|
2497
2693
|
if (s9 !== peg$FAILED) {
|
|
2498
2694
|
peg$savedPos = s0;
|
|
2499
|
-
s0 = peg$
|
|
2695
|
+
s0 = peg$f35(s3, s7);
|
|
2500
2696
|
} else {
|
|
2501
2697
|
peg$currPos = s0;
|
|
2502
2698
|
s0 = peg$FAILED;
|
|
@@ -2516,12 +2712,12 @@ function peg$parse(input, options) {
|
|
|
2516
2712
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
2517
2713
|
s0 = peg$currPos;
|
|
2518
2714
|
if (input.charCodeAt(peg$currPos) === 91) {
|
|
2519
|
-
s1 = peg$
|
|
2715
|
+
s1 = peg$c33;
|
|
2520
2716
|
peg$currPos++;
|
|
2521
2717
|
} else {
|
|
2522
2718
|
s1 = peg$FAILED;
|
|
2523
2719
|
if (peg$silentFails === 0) {
|
|
2524
|
-
peg$fail(peg$
|
|
2720
|
+
peg$fail(peg$e33);
|
|
2525
2721
|
}
|
|
2526
2722
|
}
|
|
2527
2723
|
if (s1 !== peg$FAILED) {
|
|
@@ -2532,12 +2728,12 @@ function peg$parse(input, options) {
|
|
|
2532
2728
|
s5 = [];
|
|
2533
2729
|
s6 = peg$currPos;
|
|
2534
2730
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2535
|
-
s7 = peg$
|
|
2731
|
+
s7 = peg$c34;
|
|
2536
2732
|
peg$currPos++;
|
|
2537
2733
|
} else {
|
|
2538
2734
|
s7 = peg$FAILED;
|
|
2539
2735
|
if (peg$silentFails === 0) {
|
|
2540
|
-
peg$fail(peg$
|
|
2736
|
+
peg$fail(peg$e34);
|
|
2541
2737
|
}
|
|
2542
2738
|
}
|
|
2543
2739
|
if (s7 !== peg$FAILED) {
|
|
@@ -2559,12 +2755,12 @@ function peg$parse(input, options) {
|
|
|
2559
2755
|
s5.push(s6);
|
|
2560
2756
|
s6 = peg$currPos;
|
|
2561
2757
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2562
|
-
s7 = peg$
|
|
2758
|
+
s7 = peg$c34;
|
|
2563
2759
|
peg$currPos++;
|
|
2564
2760
|
} else {
|
|
2565
2761
|
s7 = peg$FAILED;
|
|
2566
2762
|
if (peg$silentFails === 0) {
|
|
2567
|
-
peg$fail(peg$
|
|
2763
|
+
peg$fail(peg$e34);
|
|
2568
2764
|
}
|
|
2569
2765
|
}
|
|
2570
2766
|
if (s7 !== peg$FAILED) {
|
|
@@ -2584,12 +2780,12 @@ function peg$parse(input, options) {
|
|
|
2584
2780
|
}
|
|
2585
2781
|
}
|
|
2586
2782
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2587
|
-
s6 = peg$
|
|
2783
|
+
s6 = peg$c34;
|
|
2588
2784
|
peg$currPos++;
|
|
2589
2785
|
} else {
|
|
2590
2786
|
s6 = peg$FAILED;
|
|
2591
2787
|
if (peg$silentFails === 0) {
|
|
2592
|
-
peg$fail(peg$
|
|
2788
|
+
peg$fail(peg$e34);
|
|
2593
2789
|
}
|
|
2594
2790
|
}
|
|
2595
2791
|
if (s6 === peg$FAILED) {
|
|
@@ -2597,17 +2793,17 @@ function peg$parse(input, options) {
|
|
|
2597
2793
|
}
|
|
2598
2794
|
s7 = peg$parse_();
|
|
2599
2795
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
2600
|
-
s8 = peg$
|
|
2796
|
+
s8 = peg$c35;
|
|
2601
2797
|
peg$currPos++;
|
|
2602
2798
|
} else {
|
|
2603
2799
|
s8 = peg$FAILED;
|
|
2604
2800
|
if (peg$silentFails === 0) {
|
|
2605
|
-
peg$fail(peg$
|
|
2801
|
+
peg$fail(peg$e35);
|
|
2606
2802
|
}
|
|
2607
2803
|
}
|
|
2608
2804
|
if (s8 !== peg$FAILED) {
|
|
2609
2805
|
peg$savedPos = s0;
|
|
2610
|
-
s0 = peg$
|
|
2806
|
+
s0 = peg$f36(s3, s5);
|
|
2611
2807
|
} else {
|
|
2612
2808
|
peg$currPos = s0;
|
|
2613
2809
|
s0 = peg$FAILED;
|
|
@@ -2650,20 +2846,20 @@ function peg$parse(input, options) {
|
|
|
2650
2846
|
}
|
|
2651
2847
|
}
|
|
2652
2848
|
peg$savedPos = s0;
|
|
2653
|
-
s1 = peg$
|
|
2849
|
+
s1 = peg$f37(s1);
|
|
2654
2850
|
s0 = s1;
|
|
2655
2851
|
return s0;
|
|
2656
2852
|
}
|
|
2657
2853
|
function peg$parseTableRow() {
|
|
2658
2854
|
let s0, s1, s2, s3;
|
|
2659
2855
|
s0 = peg$currPos;
|
|
2660
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2661
|
-
s1 = peg$
|
|
2856
|
+
if (input.substr(peg$currPos, 7) === peg$c36) {
|
|
2857
|
+
s1 = peg$c36;
|
|
2662
2858
|
peg$currPos += 7;
|
|
2663
2859
|
} else {
|
|
2664
2860
|
s1 = peg$FAILED;
|
|
2665
2861
|
if (peg$silentFails === 0) {
|
|
2666
|
-
peg$fail(peg$
|
|
2862
|
+
peg$fail(peg$e36);
|
|
2667
2863
|
}
|
|
2668
2864
|
}
|
|
2669
2865
|
if (s1 !== peg$FAILED) {
|
|
@@ -2671,7 +2867,7 @@ function peg$parse(input, options) {
|
|
|
2671
2867
|
s3 = peg$parseArray();
|
|
2672
2868
|
if (s3 !== peg$FAILED) {
|
|
2673
2869
|
peg$savedPos = s0;
|
|
2674
|
-
s0 = peg$
|
|
2870
|
+
s0 = peg$f38(s3);
|
|
2675
2871
|
} else {
|
|
2676
2872
|
peg$currPos = s0;
|
|
2677
2873
|
s0 = peg$FAILED;
|
|
@@ -2696,7 +2892,7 @@ function peg$parse(input, options) {
|
|
|
2696
2892
|
s3 = peg$parseArray();
|
|
2697
2893
|
if (s3 !== peg$FAILED) {
|
|
2698
2894
|
peg$savedPos = s0;
|
|
2699
|
-
s0 = peg$
|
|
2895
|
+
s0 = peg$f39(s3);
|
|
2700
2896
|
} else {
|
|
2701
2897
|
peg$currPos = s0;
|
|
2702
2898
|
s0 = peg$FAILED;
|
|
@@ -2710,7 +2906,7 @@ function peg$parse(input, options) {
|
|
|
2710
2906
|
s1 = peg$parseComment();
|
|
2711
2907
|
if (s1 !== peg$FAILED) {
|
|
2712
2908
|
peg$savedPos = s0;
|
|
2713
|
-
s1 = peg$
|
|
2909
|
+
s1 = peg$f40();
|
|
2714
2910
|
}
|
|
2715
2911
|
s0 = s1;
|
|
2716
2912
|
}
|
|
@@ -2720,13 +2916,13 @@ function peg$parse(input, options) {
|
|
|
2720
2916
|
function peg$parseList() {
|
|
2721
2917
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2722
2918
|
s0 = peg$currPos;
|
|
2723
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2724
|
-
s1 = peg$
|
|
2919
|
+
if (input.substr(peg$currPos, 4) === peg$c37) {
|
|
2920
|
+
s1 = peg$c37;
|
|
2725
2921
|
peg$currPos += 4;
|
|
2726
2922
|
} else {
|
|
2727
2923
|
s1 = peg$FAILED;
|
|
2728
2924
|
if (peg$silentFails === 0) {
|
|
2729
|
-
peg$fail(peg$
|
|
2925
|
+
peg$fail(peg$e37);
|
|
2730
2926
|
}
|
|
2731
2927
|
}
|
|
2732
2928
|
if (s1 !== peg$FAILED) {
|
|
@@ -2746,7 +2942,7 @@ function peg$parse(input, options) {
|
|
|
2746
2942
|
s7 = null;
|
|
2747
2943
|
}
|
|
2748
2944
|
peg$savedPos = s0;
|
|
2749
|
-
s0 = peg$
|
|
2945
|
+
s0 = peg$f41(s3, s5, s7);
|
|
2750
2946
|
} else {
|
|
2751
2947
|
peg$currPos = s0;
|
|
2752
2948
|
s0 = peg$FAILED;
|
|
@@ -2802,7 +2998,7 @@ function peg$parse(input, options) {
|
|
|
2802
2998
|
}
|
|
2803
2999
|
if (s4 !== peg$FAILED) {
|
|
2804
3000
|
peg$savedPos = s0;
|
|
2805
|
-
s0 = peg$
|
|
3001
|
+
s0 = peg$f42(s3);
|
|
2806
3002
|
} else {
|
|
2807
3003
|
peg$currPos = s0;
|
|
2808
3004
|
s0 = peg$FAILED;
|
|
@@ -2816,13 +3012,13 @@ function peg$parse(input, options) {
|
|
|
2816
3012
|
function peg$parseListItem() {
|
|
2817
3013
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2818
3014
|
s0 = peg$currPos;
|
|
2819
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2820
|
-
s1 = peg$
|
|
3015
|
+
if (input.substr(peg$currPos, 4) === peg$c38) {
|
|
3016
|
+
s1 = peg$c38;
|
|
2821
3017
|
peg$currPos += 4;
|
|
2822
3018
|
} else {
|
|
2823
3019
|
s1 = peg$FAILED;
|
|
2824
3020
|
if (peg$silentFails === 0) {
|
|
2825
|
-
peg$fail(peg$
|
|
3021
|
+
peg$fail(peg$e38);
|
|
2826
3022
|
}
|
|
2827
3023
|
}
|
|
2828
3024
|
if (s1 !== peg$FAILED) {
|
|
@@ -2840,7 +3036,7 @@ function peg$parse(input, options) {
|
|
|
2840
3036
|
s7 = null;
|
|
2841
3037
|
}
|
|
2842
3038
|
peg$savedPos = s0;
|
|
2843
|
-
s0 = peg$
|
|
3039
|
+
s0 = peg$f43(s3, s5, s7);
|
|
2844
3040
|
} else {
|
|
2845
3041
|
peg$currPos = s0;
|
|
2846
3042
|
s0 = peg$FAILED;
|
|
@@ -2854,7 +3050,7 @@ function peg$parse(input, options) {
|
|
|
2854
3050
|
s1 = peg$parseComment();
|
|
2855
3051
|
if (s1 !== peg$FAILED) {
|
|
2856
3052
|
peg$savedPos = s0;
|
|
2857
|
-
s1 = peg$
|
|
3053
|
+
s1 = peg$f44();
|
|
2858
3054
|
}
|
|
2859
3055
|
s0 = s1;
|
|
2860
3056
|
}
|
|
@@ -2863,13 +3059,13 @@ function peg$parse(input, options) {
|
|
|
2863
3059
|
function peg$parseAlert() {
|
|
2864
3060
|
let s0, s1, s2, s3, s4, s5;
|
|
2865
3061
|
s0 = peg$currPos;
|
|
2866
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2867
|
-
s1 = peg$
|
|
3062
|
+
if (input.substr(peg$currPos, 5) === peg$c39) {
|
|
3063
|
+
s1 = peg$c39;
|
|
2868
3064
|
peg$currPos += 5;
|
|
2869
3065
|
} else {
|
|
2870
3066
|
s1 = peg$FAILED;
|
|
2871
3067
|
if (peg$silentFails === 0) {
|
|
2872
|
-
peg$fail(peg$
|
|
3068
|
+
peg$fail(peg$e39);
|
|
2873
3069
|
}
|
|
2874
3070
|
}
|
|
2875
3071
|
if (s1 !== peg$FAILED) {
|
|
@@ -2882,7 +3078,7 @@ function peg$parse(input, options) {
|
|
|
2882
3078
|
s5 = null;
|
|
2883
3079
|
}
|
|
2884
3080
|
peg$savedPos = s0;
|
|
2885
|
-
s0 = peg$
|
|
3081
|
+
s0 = peg$f45(s3, s5);
|
|
2886
3082
|
} else {
|
|
2887
3083
|
peg$currPos = s0;
|
|
2888
3084
|
s0 = peg$FAILED;
|
|
@@ -2896,13 +3092,13 @@ function peg$parse(input, options) {
|
|
|
2896
3092
|
function peg$parseToast() {
|
|
2897
3093
|
let s0, s1, s2, s3, s4, s5;
|
|
2898
3094
|
s0 = peg$currPos;
|
|
2899
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2900
|
-
s1 = peg$
|
|
3095
|
+
if (input.substr(peg$currPos, 5) === peg$c40) {
|
|
3096
|
+
s1 = peg$c40;
|
|
2901
3097
|
peg$currPos += 5;
|
|
2902
3098
|
} else {
|
|
2903
3099
|
s1 = peg$FAILED;
|
|
2904
3100
|
if (peg$silentFails === 0) {
|
|
2905
|
-
peg$fail(peg$
|
|
3101
|
+
peg$fail(peg$e40);
|
|
2906
3102
|
}
|
|
2907
3103
|
}
|
|
2908
3104
|
if (s1 !== peg$FAILED) {
|
|
@@ -2915,7 +3111,7 @@ function peg$parse(input, options) {
|
|
|
2915
3111
|
s5 = null;
|
|
2916
3112
|
}
|
|
2917
3113
|
peg$savedPos = s0;
|
|
2918
|
-
s0 = peg$
|
|
3114
|
+
s0 = peg$f46(s3, s5);
|
|
2919
3115
|
} else {
|
|
2920
3116
|
peg$currPos = s0;
|
|
2921
3117
|
s0 = peg$FAILED;
|
|
@@ -2929,13 +3125,13 @@ function peg$parse(input, options) {
|
|
|
2929
3125
|
function peg$parseProgress() {
|
|
2930
3126
|
let s0, s1, s2, s3;
|
|
2931
3127
|
s0 = peg$currPos;
|
|
2932
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
2933
|
-
s1 = peg$
|
|
3128
|
+
if (input.substr(peg$currPos, 8) === peg$c41) {
|
|
3129
|
+
s1 = peg$c41;
|
|
2934
3130
|
peg$currPos += 8;
|
|
2935
3131
|
} else {
|
|
2936
3132
|
s1 = peg$FAILED;
|
|
2937
3133
|
if (peg$silentFails === 0) {
|
|
2938
|
-
peg$fail(peg$
|
|
3134
|
+
peg$fail(peg$e41);
|
|
2939
3135
|
}
|
|
2940
3136
|
}
|
|
2941
3137
|
if (s1 !== peg$FAILED) {
|
|
@@ -2945,7 +3141,7 @@ function peg$parse(input, options) {
|
|
|
2945
3141
|
s3 = null;
|
|
2946
3142
|
}
|
|
2947
3143
|
peg$savedPos = s0;
|
|
2948
|
-
s0 = peg$
|
|
3144
|
+
s0 = peg$f47(s3);
|
|
2949
3145
|
} else {
|
|
2950
3146
|
peg$currPos = s0;
|
|
2951
3147
|
s0 = peg$FAILED;
|
|
@@ -2955,13 +3151,13 @@ function peg$parse(input, options) {
|
|
|
2955
3151
|
function peg$parseSpinner() {
|
|
2956
3152
|
let s0, s1, s2, s3, s4, s5;
|
|
2957
3153
|
s0 = peg$currPos;
|
|
2958
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2959
|
-
s1 = peg$
|
|
3154
|
+
if (input.substr(peg$currPos, 7) === peg$c42) {
|
|
3155
|
+
s1 = peg$c42;
|
|
2960
3156
|
peg$currPos += 7;
|
|
2961
3157
|
} else {
|
|
2962
3158
|
s1 = peg$FAILED;
|
|
2963
3159
|
if (peg$silentFails === 0) {
|
|
2964
|
-
peg$fail(peg$
|
|
3160
|
+
peg$fail(peg$e42);
|
|
2965
3161
|
}
|
|
2966
3162
|
}
|
|
2967
3163
|
if (s1 !== peg$FAILED) {
|
|
@@ -2976,7 +3172,7 @@ function peg$parse(input, options) {
|
|
|
2976
3172
|
s5 = null;
|
|
2977
3173
|
}
|
|
2978
3174
|
peg$savedPos = s0;
|
|
2979
|
-
s0 = peg$
|
|
3175
|
+
s0 = peg$f48(s3, s5);
|
|
2980
3176
|
} else {
|
|
2981
3177
|
peg$currPos = s0;
|
|
2982
3178
|
s0 = peg$FAILED;
|
|
@@ -2986,13 +3182,13 @@ function peg$parse(input, options) {
|
|
|
2986
3182
|
function peg$parseTooltip() {
|
|
2987
3183
|
let s0, s1, s2, s3, s4, s5;
|
|
2988
3184
|
s0 = peg$currPos;
|
|
2989
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2990
|
-
s1 = peg$
|
|
3185
|
+
if (input.substr(peg$currPos, 7) === peg$c43) {
|
|
3186
|
+
s1 = peg$c43;
|
|
2991
3187
|
peg$currPos += 7;
|
|
2992
3188
|
} else {
|
|
2993
3189
|
s1 = peg$FAILED;
|
|
2994
3190
|
if (peg$silentFails === 0) {
|
|
2995
|
-
peg$fail(peg$
|
|
3191
|
+
peg$fail(peg$e43);
|
|
2996
3192
|
}
|
|
2997
3193
|
}
|
|
2998
3194
|
if (s1 !== peg$FAILED) {
|
|
@@ -3005,7 +3201,7 @@ function peg$parse(input, options) {
|
|
|
3005
3201
|
s5 = null;
|
|
3006
3202
|
}
|
|
3007
3203
|
peg$savedPos = s0;
|
|
3008
|
-
s0 = peg$
|
|
3204
|
+
s0 = peg$f49(s3, s5);
|
|
3009
3205
|
} else {
|
|
3010
3206
|
peg$currPos = s0;
|
|
3011
3207
|
s0 = peg$FAILED;
|
|
@@ -3019,13 +3215,13 @@ function peg$parse(input, options) {
|
|
|
3019
3215
|
function peg$parsePopover() {
|
|
3020
3216
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
3021
3217
|
s0 = peg$currPos;
|
|
3022
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3023
|
-
s1 = peg$
|
|
3218
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3219
|
+
s1 = peg$c44;
|
|
3024
3220
|
peg$currPos += 7;
|
|
3025
3221
|
} else {
|
|
3026
3222
|
s1 = peg$FAILED;
|
|
3027
3223
|
if (peg$silentFails === 0) {
|
|
3028
|
-
peg$fail(peg$
|
|
3224
|
+
peg$fail(peg$e44);
|
|
3029
3225
|
}
|
|
3030
3226
|
}
|
|
3031
3227
|
if (s1 !== peg$FAILED) {
|
|
@@ -3065,7 +3261,7 @@ function peg$parse(input, options) {
|
|
|
3065
3261
|
}
|
|
3066
3262
|
if (s11 !== peg$FAILED) {
|
|
3067
3263
|
peg$savedPos = s0;
|
|
3068
|
-
s0 = peg$
|
|
3264
|
+
s0 = peg$f50(s3, s5, s9);
|
|
3069
3265
|
} else {
|
|
3070
3266
|
peg$currPos = s0;
|
|
3071
3267
|
s0 = peg$FAILED;
|
|
@@ -3087,13 +3283,13 @@ function peg$parse(input, options) {
|
|
|
3087
3283
|
function peg$parseDropdown() {
|
|
3088
3284
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
3089
3285
|
s0 = peg$currPos;
|
|
3090
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
3091
|
-
s1 = peg$
|
|
3286
|
+
if (input.substr(peg$currPos, 8) === peg$c45) {
|
|
3287
|
+
s1 = peg$c45;
|
|
3092
3288
|
peg$currPos += 8;
|
|
3093
3289
|
} else {
|
|
3094
3290
|
s1 = peg$FAILED;
|
|
3095
3291
|
if (peg$silentFails === 0) {
|
|
3096
|
-
peg$fail(peg$
|
|
3292
|
+
peg$fail(peg$e45);
|
|
3097
3293
|
}
|
|
3098
3294
|
}
|
|
3099
3295
|
if (s1 !== peg$FAILED) {
|
|
@@ -3106,7 +3302,7 @@ function peg$parse(input, options) {
|
|
|
3106
3302
|
s5 = null;
|
|
3107
3303
|
}
|
|
3108
3304
|
peg$savedPos = s0;
|
|
3109
|
-
s0 = peg$
|
|
3305
|
+
s0 = peg$f51(s3, s5);
|
|
3110
3306
|
} else {
|
|
3111
3307
|
peg$currPos = s0;
|
|
3112
3308
|
s0 = peg$FAILED;
|
|
@@ -3117,13 +3313,13 @@ function peg$parse(input, options) {
|
|
|
3117
3313
|
}
|
|
3118
3314
|
if (s0 === peg$FAILED) {
|
|
3119
3315
|
s0 = peg$currPos;
|
|
3120
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
3121
|
-
s1 = peg$
|
|
3316
|
+
if (input.substr(peg$currPos, 8) === peg$c45) {
|
|
3317
|
+
s1 = peg$c45;
|
|
3122
3318
|
peg$currPos += 8;
|
|
3123
3319
|
} else {
|
|
3124
3320
|
s1 = peg$FAILED;
|
|
3125
3321
|
if (peg$silentFails === 0) {
|
|
3126
|
-
peg$fail(peg$
|
|
3322
|
+
peg$fail(peg$e45);
|
|
3127
3323
|
}
|
|
3128
3324
|
}
|
|
3129
3325
|
if (s1 !== peg$FAILED) {
|
|
@@ -3157,7 +3353,7 @@ function peg$parse(input, options) {
|
|
|
3157
3353
|
}
|
|
3158
3354
|
if (s9 !== peg$FAILED) {
|
|
3159
3355
|
peg$savedPos = s0;
|
|
3160
|
-
s0 = peg$
|
|
3356
|
+
s0 = peg$f52(s3, s7);
|
|
3161
3357
|
} else {
|
|
3162
3358
|
peg$currPos = s0;
|
|
3163
3359
|
s0 = peg$FAILED;
|
|
@@ -3201,20 +3397,20 @@ function peg$parse(input, options) {
|
|
|
3201
3397
|
}
|
|
3202
3398
|
}
|
|
3203
3399
|
peg$savedPos = s0;
|
|
3204
|
-
s1 = peg$
|
|
3400
|
+
s1 = peg$f53(s1);
|
|
3205
3401
|
s0 = s1;
|
|
3206
3402
|
return s0;
|
|
3207
3403
|
}
|
|
3208
3404
|
function peg$parseDropdownItem() {
|
|
3209
3405
|
let s0, s1, s2, s3, s4, s5;
|
|
3210
3406
|
s0 = peg$currPos;
|
|
3211
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3212
|
-
s1 = peg$
|
|
3407
|
+
if (input.substr(peg$currPos, 4) === peg$c38) {
|
|
3408
|
+
s1 = peg$c38;
|
|
3213
3409
|
peg$currPos += 4;
|
|
3214
3410
|
} else {
|
|
3215
3411
|
s1 = peg$FAILED;
|
|
3216
3412
|
if (peg$silentFails === 0) {
|
|
3217
|
-
peg$fail(peg$
|
|
3413
|
+
peg$fail(peg$e38);
|
|
3218
3414
|
}
|
|
3219
3415
|
}
|
|
3220
3416
|
if (s1 !== peg$FAILED) {
|
|
@@ -3227,7 +3423,7 @@ function peg$parse(input, options) {
|
|
|
3227
3423
|
s5 = null;
|
|
3228
3424
|
}
|
|
3229
3425
|
peg$savedPos = s0;
|
|
3230
|
-
s0 = peg$
|
|
3426
|
+
s0 = peg$f54(s3, s5);
|
|
3231
3427
|
} else {
|
|
3232
3428
|
peg$currPos = s0;
|
|
3233
3429
|
s0 = peg$FAILED;
|
|
@@ -3238,18 +3434,18 @@ function peg$parse(input, options) {
|
|
|
3238
3434
|
}
|
|
3239
3435
|
if (s0 === peg$FAILED) {
|
|
3240
3436
|
s0 = peg$currPos;
|
|
3241
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3242
|
-
s1 = peg$
|
|
3437
|
+
if (input.substr(peg$currPos, 7) === peg$c46) {
|
|
3438
|
+
s1 = peg$c46;
|
|
3243
3439
|
peg$currPos += 7;
|
|
3244
3440
|
} else {
|
|
3245
3441
|
s1 = peg$FAILED;
|
|
3246
3442
|
if (peg$silentFails === 0) {
|
|
3247
|
-
peg$fail(peg$
|
|
3443
|
+
peg$fail(peg$e46);
|
|
3248
3444
|
}
|
|
3249
3445
|
}
|
|
3250
3446
|
if (s1 !== peg$FAILED) {
|
|
3251
3447
|
peg$savedPos = s0;
|
|
3252
|
-
s1 = peg$
|
|
3448
|
+
s1 = peg$f55();
|
|
3253
3449
|
}
|
|
3254
3450
|
s0 = s1;
|
|
3255
3451
|
if (s0 === peg$FAILED) {
|
|
@@ -3257,7 +3453,7 @@ function peg$parse(input, options) {
|
|
|
3257
3453
|
s1 = peg$parseComment();
|
|
3258
3454
|
if (s1 !== peg$FAILED) {
|
|
3259
3455
|
peg$savedPos = s0;
|
|
3260
|
-
s1 = peg$
|
|
3456
|
+
s1 = peg$f56();
|
|
3261
3457
|
}
|
|
3262
3458
|
s0 = s1;
|
|
3263
3459
|
}
|
|
@@ -3267,13 +3463,13 @@ function peg$parse(input, options) {
|
|
|
3267
3463
|
function peg$parseNav() {
|
|
3268
3464
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3269
3465
|
s0 = peg$currPos;
|
|
3270
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3271
|
-
s1 = peg$
|
|
3466
|
+
if (input.substr(peg$currPos, 3) === peg$c47) {
|
|
3467
|
+
s1 = peg$c47;
|
|
3272
3468
|
peg$currPos += 3;
|
|
3273
3469
|
} else {
|
|
3274
3470
|
s1 = peg$FAILED;
|
|
3275
3471
|
if (peg$silentFails === 0) {
|
|
3276
|
-
peg$fail(peg$
|
|
3472
|
+
peg$fail(peg$e47);
|
|
3277
3473
|
}
|
|
3278
3474
|
}
|
|
3279
3475
|
if (s1 !== peg$FAILED) {
|
|
@@ -3293,7 +3489,7 @@ function peg$parse(input, options) {
|
|
|
3293
3489
|
s7 = null;
|
|
3294
3490
|
}
|
|
3295
3491
|
peg$savedPos = s0;
|
|
3296
|
-
s0 = peg$
|
|
3492
|
+
s0 = peg$f57(s3, s5, s7);
|
|
3297
3493
|
} else {
|
|
3298
3494
|
peg$currPos = s0;
|
|
3299
3495
|
s0 = peg$FAILED;
|
|
@@ -3349,7 +3545,7 @@ function peg$parse(input, options) {
|
|
|
3349
3545
|
}
|
|
3350
3546
|
if (s4 !== peg$FAILED) {
|
|
3351
3547
|
peg$savedPos = s0;
|
|
3352
|
-
s0 = peg$
|
|
3548
|
+
s0 = peg$f58(s3);
|
|
3353
3549
|
} else {
|
|
3354
3550
|
peg$currPos = s0;
|
|
3355
3551
|
s0 = peg$FAILED;
|
|
@@ -3367,19 +3563,19 @@ function peg$parse(input, options) {
|
|
|
3367
3563
|
s0 = peg$parseNavItem();
|
|
3368
3564
|
if (s0 === peg$FAILED) {
|
|
3369
3565
|
s0 = peg$currPos;
|
|
3370
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3371
|
-
s1 = peg$
|
|
3566
|
+
if (input.substr(peg$currPos, 7) === peg$c46) {
|
|
3567
|
+
s1 = peg$c46;
|
|
3372
3568
|
peg$currPos += 7;
|
|
3373
3569
|
} else {
|
|
3374
3570
|
s1 = peg$FAILED;
|
|
3375
3571
|
if (peg$silentFails === 0) {
|
|
3376
|
-
peg$fail(peg$
|
|
3572
|
+
peg$fail(peg$e46);
|
|
3377
3573
|
}
|
|
3378
3574
|
}
|
|
3379
3575
|
if (s1 !== peg$FAILED) {
|
|
3380
3576
|
s2 = peg$parse_();
|
|
3381
3577
|
peg$savedPos = s0;
|
|
3382
|
-
s0 = peg$
|
|
3578
|
+
s0 = peg$f59();
|
|
3383
3579
|
} else {
|
|
3384
3580
|
peg$currPos = s0;
|
|
3385
3581
|
s0 = peg$FAILED;
|
|
@@ -3389,7 +3585,7 @@ function peg$parse(input, options) {
|
|
|
3389
3585
|
s1 = peg$parseComment();
|
|
3390
3586
|
if (s1 !== peg$FAILED) {
|
|
3391
3587
|
peg$savedPos = s0;
|
|
3392
|
-
s1 = peg$
|
|
3588
|
+
s1 = peg$f60();
|
|
3393
3589
|
}
|
|
3394
3590
|
s0 = s1;
|
|
3395
3591
|
}
|
|
@@ -3400,13 +3596,13 @@ function peg$parse(input, options) {
|
|
|
3400
3596
|
function peg$parseNavGroup() {
|
|
3401
3597
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12;
|
|
3402
3598
|
s0 = peg$currPos;
|
|
3403
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
3404
|
-
s1 = peg$
|
|
3599
|
+
if (input.substr(peg$currPos, 5) === peg$c48) {
|
|
3600
|
+
s1 = peg$c48;
|
|
3405
3601
|
peg$currPos += 5;
|
|
3406
3602
|
} else {
|
|
3407
3603
|
s1 = peg$FAILED;
|
|
3408
3604
|
if (peg$silentFails === 0) {
|
|
3409
|
-
peg$fail(peg$
|
|
3605
|
+
peg$fail(peg$e48);
|
|
3410
3606
|
}
|
|
3411
3607
|
}
|
|
3412
3608
|
if (s1 !== peg$FAILED) {
|
|
@@ -3465,7 +3661,7 @@ function peg$parse(input, options) {
|
|
|
3465
3661
|
}
|
|
3466
3662
|
if (s10 !== peg$FAILED) {
|
|
3467
3663
|
peg$savedPos = s0;
|
|
3468
|
-
s0 = peg$
|
|
3664
|
+
s0 = peg$f61(s3, s5, s9);
|
|
3469
3665
|
} else {
|
|
3470
3666
|
peg$currPos = s0;
|
|
3471
3667
|
s0 = peg$FAILED;
|
|
@@ -3489,19 +3685,19 @@ function peg$parse(input, options) {
|
|
|
3489
3685
|
s0 = peg$parseNavItem();
|
|
3490
3686
|
if (s0 === peg$FAILED) {
|
|
3491
3687
|
s0 = peg$currPos;
|
|
3492
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3493
|
-
s1 = peg$
|
|
3688
|
+
if (input.substr(peg$currPos, 7) === peg$c46) {
|
|
3689
|
+
s1 = peg$c46;
|
|
3494
3690
|
peg$currPos += 7;
|
|
3495
3691
|
} else {
|
|
3496
3692
|
s1 = peg$FAILED;
|
|
3497
3693
|
if (peg$silentFails === 0) {
|
|
3498
|
-
peg$fail(peg$
|
|
3694
|
+
peg$fail(peg$e46);
|
|
3499
3695
|
}
|
|
3500
3696
|
}
|
|
3501
3697
|
if (s1 !== peg$FAILED) {
|
|
3502
3698
|
s2 = peg$parse_();
|
|
3503
3699
|
peg$savedPos = s0;
|
|
3504
|
-
s0 = peg$
|
|
3700
|
+
s0 = peg$f62();
|
|
3505
3701
|
} else {
|
|
3506
3702
|
peg$currPos = s0;
|
|
3507
3703
|
s0 = peg$FAILED;
|
|
@@ -3511,7 +3707,7 @@ function peg$parse(input, options) {
|
|
|
3511
3707
|
s1 = peg$parseComment();
|
|
3512
3708
|
if (s1 !== peg$FAILED) {
|
|
3513
3709
|
peg$savedPos = s0;
|
|
3514
|
-
s1 = peg$
|
|
3710
|
+
s1 = peg$f63();
|
|
3515
3711
|
}
|
|
3516
3712
|
s0 = s1;
|
|
3517
3713
|
}
|
|
@@ -3521,13 +3717,13 @@ function peg$parse(input, options) {
|
|
|
3521
3717
|
function peg$parseNavItem() {
|
|
3522
3718
|
let s0, s1, s2, s3, s4, s5;
|
|
3523
3719
|
s0 = peg$currPos;
|
|
3524
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3525
|
-
s1 = peg$
|
|
3720
|
+
if (input.substr(peg$currPos, 4) === peg$c38) {
|
|
3721
|
+
s1 = peg$c38;
|
|
3526
3722
|
peg$currPos += 4;
|
|
3527
3723
|
} else {
|
|
3528
3724
|
s1 = peg$FAILED;
|
|
3529
3725
|
if (peg$silentFails === 0) {
|
|
3530
|
-
peg$fail(peg$
|
|
3726
|
+
peg$fail(peg$e38);
|
|
3531
3727
|
}
|
|
3532
3728
|
}
|
|
3533
3729
|
if (s1 !== peg$FAILED) {
|
|
@@ -3540,7 +3736,7 @@ function peg$parse(input, options) {
|
|
|
3540
3736
|
s5 = null;
|
|
3541
3737
|
}
|
|
3542
3738
|
peg$savedPos = s0;
|
|
3543
|
-
s0 = peg$
|
|
3739
|
+
s0 = peg$f64(s3, s5);
|
|
3544
3740
|
} else {
|
|
3545
3741
|
peg$currPos = s0;
|
|
3546
3742
|
s0 = peg$FAILED;
|
|
@@ -3554,13 +3750,13 @@ function peg$parse(input, options) {
|
|
|
3554
3750
|
function peg$parseTabs() {
|
|
3555
3751
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3556
3752
|
s0 = peg$currPos;
|
|
3557
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3558
|
-
s1 = peg$
|
|
3753
|
+
if (input.substr(peg$currPos, 4) === peg$c49) {
|
|
3754
|
+
s1 = peg$c49;
|
|
3559
3755
|
peg$currPos += 4;
|
|
3560
3756
|
} else {
|
|
3561
3757
|
s1 = peg$FAILED;
|
|
3562
3758
|
if (peg$silentFails === 0) {
|
|
3563
|
-
peg$fail(peg$
|
|
3759
|
+
peg$fail(peg$e49);
|
|
3564
3760
|
}
|
|
3565
3761
|
}
|
|
3566
3762
|
if (s1 !== peg$FAILED) {
|
|
@@ -3580,7 +3776,7 @@ function peg$parse(input, options) {
|
|
|
3580
3776
|
s7 = null;
|
|
3581
3777
|
}
|
|
3582
3778
|
peg$savedPos = s0;
|
|
3583
|
-
s0 = peg$
|
|
3779
|
+
s0 = peg$f65(s3, s5, s7);
|
|
3584
3780
|
} else {
|
|
3585
3781
|
peg$currPos = s0;
|
|
3586
3782
|
s0 = peg$FAILED;
|
|
@@ -3625,18 +3821,247 @@ function peg$parse(input, options) {
|
|
|
3625
3821
|
s4 = peg$FAILED;
|
|
3626
3822
|
}
|
|
3627
3823
|
}
|
|
3628
|
-
if (input.charCodeAt(peg$currPos) === 125) {
|
|
3629
|
-
s4 = peg$c2;
|
|
3824
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
3825
|
+
s4 = peg$c2;
|
|
3826
|
+
peg$currPos++;
|
|
3827
|
+
} else {
|
|
3828
|
+
s4 = peg$FAILED;
|
|
3829
|
+
if (peg$silentFails === 0) {
|
|
3830
|
+
peg$fail(peg$e2);
|
|
3831
|
+
}
|
|
3832
|
+
}
|
|
3833
|
+
if (s4 !== peg$FAILED) {
|
|
3834
|
+
peg$savedPos = s0;
|
|
3835
|
+
s0 = peg$f66(s3);
|
|
3836
|
+
} else {
|
|
3837
|
+
peg$currPos = s0;
|
|
3838
|
+
s0 = peg$FAILED;
|
|
3839
|
+
}
|
|
3840
|
+
} else {
|
|
3841
|
+
peg$currPos = s0;
|
|
3842
|
+
s0 = peg$FAILED;
|
|
3843
|
+
}
|
|
3844
|
+
return s0;
|
|
3845
|
+
}
|
|
3846
|
+
function peg$parseTabItem() {
|
|
3847
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
3848
|
+
s0 = peg$currPos;
|
|
3849
|
+
if (input.substr(peg$currPos, 3) === peg$c50) {
|
|
3850
|
+
s1 = peg$c50;
|
|
3851
|
+
peg$currPos += 3;
|
|
3852
|
+
} else {
|
|
3853
|
+
s1 = peg$FAILED;
|
|
3854
|
+
if (peg$silentFails === 0) {
|
|
3855
|
+
peg$fail(peg$e50);
|
|
3856
|
+
}
|
|
3857
|
+
}
|
|
3858
|
+
if (s1 !== peg$FAILED) {
|
|
3859
|
+
s2 = peg$parse_();
|
|
3860
|
+
s3 = peg$parseStringLiteral();
|
|
3861
|
+
if (s3 !== peg$FAILED) {
|
|
3862
|
+
s4 = peg$parse_();
|
|
3863
|
+
s5 = peg$parseAttributes();
|
|
3864
|
+
if (s5 === peg$FAILED) {
|
|
3865
|
+
s5 = null;
|
|
3866
|
+
}
|
|
3867
|
+
s6 = peg$parse_();
|
|
3868
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
3869
|
+
s7 = peg$c1;
|
|
3870
|
+
peg$currPos++;
|
|
3871
|
+
} else {
|
|
3872
|
+
s7 = peg$FAILED;
|
|
3873
|
+
if (peg$silentFails === 0) {
|
|
3874
|
+
peg$fail(peg$e1);
|
|
3875
|
+
}
|
|
3876
|
+
}
|
|
3877
|
+
if (s7 !== peg$FAILED) {
|
|
3878
|
+
s8 = peg$parse_();
|
|
3879
|
+
s9 = peg$parseChildren();
|
|
3880
|
+
if (s9 !== peg$FAILED) {
|
|
3881
|
+
s10 = peg$parse_();
|
|
3882
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
3883
|
+
s11 = peg$c2;
|
|
3884
|
+
peg$currPos++;
|
|
3885
|
+
} else {
|
|
3886
|
+
s11 = peg$FAILED;
|
|
3887
|
+
if (peg$silentFails === 0) {
|
|
3888
|
+
peg$fail(peg$e2);
|
|
3889
|
+
}
|
|
3890
|
+
}
|
|
3891
|
+
if (s11 !== peg$FAILED) {
|
|
3892
|
+
peg$savedPos = s0;
|
|
3893
|
+
s0 = peg$f67(s3, s5, s9);
|
|
3894
|
+
} else {
|
|
3895
|
+
peg$currPos = s0;
|
|
3896
|
+
s0 = peg$FAILED;
|
|
3897
|
+
}
|
|
3898
|
+
} else {
|
|
3899
|
+
peg$currPos = s0;
|
|
3900
|
+
s0 = peg$FAILED;
|
|
3901
|
+
}
|
|
3902
|
+
} else {
|
|
3903
|
+
peg$currPos = s0;
|
|
3904
|
+
s0 = peg$FAILED;
|
|
3905
|
+
}
|
|
3906
|
+
} else {
|
|
3907
|
+
peg$currPos = s0;
|
|
3908
|
+
s0 = peg$FAILED;
|
|
3909
|
+
}
|
|
3910
|
+
} else {
|
|
3911
|
+
peg$currPos = s0;
|
|
3912
|
+
s0 = peg$FAILED;
|
|
3913
|
+
}
|
|
3914
|
+
if (s0 === peg$FAILED) {
|
|
3915
|
+
s0 = peg$currPos;
|
|
3916
|
+
s1 = peg$parseComment();
|
|
3917
|
+
if (s1 !== peg$FAILED) {
|
|
3918
|
+
peg$savedPos = s0;
|
|
3919
|
+
s1 = peg$f68();
|
|
3920
|
+
}
|
|
3921
|
+
s0 = s1;
|
|
3922
|
+
}
|
|
3923
|
+
return s0;
|
|
3924
|
+
}
|
|
3925
|
+
function peg$parseBreadcrumb() {
|
|
3926
|
+
let s0, s1, s2, s3, s4, s5;
|
|
3927
|
+
s0 = peg$currPos;
|
|
3928
|
+
if (input.substr(peg$currPos, 10) === peg$c51) {
|
|
3929
|
+
s1 = peg$c51;
|
|
3930
|
+
peg$currPos += 10;
|
|
3931
|
+
} else {
|
|
3932
|
+
s1 = peg$FAILED;
|
|
3933
|
+
if (peg$silentFails === 0) {
|
|
3934
|
+
peg$fail(peg$e51);
|
|
3935
|
+
}
|
|
3936
|
+
}
|
|
3937
|
+
if (s1 !== peg$FAILED) {
|
|
3938
|
+
s2 = peg$parse_();
|
|
3939
|
+
s3 = peg$parseArray();
|
|
3940
|
+
if (s3 !== peg$FAILED) {
|
|
3941
|
+
s4 = peg$parse_();
|
|
3942
|
+
s5 = peg$parseAttributes();
|
|
3943
|
+
if (s5 === peg$FAILED) {
|
|
3944
|
+
s5 = null;
|
|
3945
|
+
}
|
|
3946
|
+
peg$savedPos = s0;
|
|
3947
|
+
s0 = peg$f69(s3, s5);
|
|
3948
|
+
} else {
|
|
3949
|
+
peg$currPos = s0;
|
|
3950
|
+
s0 = peg$FAILED;
|
|
3951
|
+
}
|
|
3952
|
+
} else {
|
|
3953
|
+
peg$currPos = s0;
|
|
3954
|
+
s0 = peg$FAILED;
|
|
3955
|
+
}
|
|
3956
|
+
return s0;
|
|
3957
|
+
}
|
|
3958
|
+
function peg$parseDivider() {
|
|
3959
|
+
let s0, s1, s2, s3;
|
|
3960
|
+
s0 = peg$currPos;
|
|
3961
|
+
if (input.substr(peg$currPos, 7) === peg$c46) {
|
|
3962
|
+
s1 = peg$c46;
|
|
3963
|
+
peg$currPos += 7;
|
|
3964
|
+
} else {
|
|
3965
|
+
s1 = peg$FAILED;
|
|
3966
|
+
if (peg$silentFails === 0) {
|
|
3967
|
+
peg$fail(peg$e46);
|
|
3968
|
+
}
|
|
3969
|
+
}
|
|
3970
|
+
if (s1 !== peg$FAILED) {
|
|
3971
|
+
s2 = peg$parse_();
|
|
3972
|
+
s3 = peg$parseAttributes();
|
|
3973
|
+
if (s3 === peg$FAILED) {
|
|
3974
|
+
s3 = null;
|
|
3975
|
+
}
|
|
3976
|
+
peg$savedPos = s0;
|
|
3977
|
+
s0 = peg$f70(s3);
|
|
3978
|
+
} else {
|
|
3979
|
+
peg$currPos = s0;
|
|
3980
|
+
s0 = peg$FAILED;
|
|
3981
|
+
}
|
|
3982
|
+
return s0;
|
|
3983
|
+
}
|
|
3984
|
+
function peg$parseMarker() {
|
|
3985
|
+
let s0, s1, s2, s3, s4, s5;
|
|
3986
|
+
s0 = peg$currPos;
|
|
3987
|
+
if (input.substr(peg$currPos, 6) === peg$c52) {
|
|
3988
|
+
s1 = peg$c52;
|
|
3989
|
+
peg$currPos += 6;
|
|
3990
|
+
} else {
|
|
3991
|
+
s1 = peg$FAILED;
|
|
3992
|
+
if (peg$silentFails === 0) {
|
|
3993
|
+
peg$fail(peg$e52);
|
|
3994
|
+
}
|
|
3995
|
+
}
|
|
3996
|
+
if (s1 !== peg$FAILED) {
|
|
3997
|
+
s2 = peg$parse_();
|
|
3998
|
+
s3 = peg$parseInteger();
|
|
3999
|
+
if (s3 !== peg$FAILED) {
|
|
4000
|
+
s4 = peg$parse_();
|
|
4001
|
+
s5 = peg$parseAttributes();
|
|
4002
|
+
if (s5 === peg$FAILED) {
|
|
4003
|
+
s5 = null;
|
|
4004
|
+
}
|
|
4005
|
+
peg$savedPos = s0;
|
|
4006
|
+
s0 = peg$f71(s3, s5);
|
|
4007
|
+
} else {
|
|
4008
|
+
peg$currPos = s0;
|
|
4009
|
+
s0 = peg$FAILED;
|
|
4010
|
+
}
|
|
4011
|
+
} else {
|
|
4012
|
+
peg$currPos = s0;
|
|
4013
|
+
s0 = peg$FAILED;
|
|
4014
|
+
}
|
|
4015
|
+
return s0;
|
|
4016
|
+
}
|
|
4017
|
+
function peg$parseAnnotations() {
|
|
4018
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
4019
|
+
s0 = peg$currPos;
|
|
4020
|
+
if (input.substr(peg$currPos, 11) === peg$c53) {
|
|
4021
|
+
s1 = peg$c53;
|
|
4022
|
+
peg$currPos += 11;
|
|
4023
|
+
} else {
|
|
4024
|
+
s1 = peg$FAILED;
|
|
4025
|
+
if (peg$silentFails === 0) {
|
|
4026
|
+
peg$fail(peg$e53);
|
|
4027
|
+
}
|
|
4028
|
+
}
|
|
4029
|
+
if (s1 !== peg$FAILED) {
|
|
4030
|
+
s2 = peg$parse_();
|
|
4031
|
+
s3 = peg$parseAttributes();
|
|
4032
|
+
if (s3 === peg$FAILED) {
|
|
4033
|
+
s3 = null;
|
|
4034
|
+
}
|
|
4035
|
+
s4 = peg$parse_();
|
|
4036
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
4037
|
+
s5 = peg$c1;
|
|
3630
4038
|
peg$currPos++;
|
|
3631
4039
|
} else {
|
|
3632
|
-
|
|
4040
|
+
s5 = peg$FAILED;
|
|
3633
4041
|
if (peg$silentFails === 0) {
|
|
3634
|
-
peg$fail(peg$
|
|
4042
|
+
peg$fail(peg$e1);
|
|
3635
4043
|
}
|
|
3636
4044
|
}
|
|
3637
|
-
if (
|
|
3638
|
-
|
|
3639
|
-
|
|
4045
|
+
if (s5 !== peg$FAILED) {
|
|
4046
|
+
s6 = peg$parse_();
|
|
4047
|
+
s7 = peg$parseAnnotationContent();
|
|
4048
|
+
s8 = peg$parse_();
|
|
4049
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
4050
|
+
s9 = peg$c2;
|
|
4051
|
+
peg$currPos++;
|
|
4052
|
+
} else {
|
|
4053
|
+
s9 = peg$FAILED;
|
|
4054
|
+
if (peg$silentFails === 0) {
|
|
4055
|
+
peg$fail(peg$e2);
|
|
4056
|
+
}
|
|
4057
|
+
}
|
|
4058
|
+
if (s9 !== peg$FAILED) {
|
|
4059
|
+
peg$savedPos = s0;
|
|
4060
|
+
s0 = peg$f72(s3, s7);
|
|
4061
|
+
} else {
|
|
4062
|
+
peg$currPos = s0;
|
|
4063
|
+
s0 = peg$FAILED;
|
|
4064
|
+
}
|
|
3640
4065
|
} else {
|
|
3641
4066
|
peg$currPos = s0;
|
|
3642
4067
|
s0 = peg$FAILED;
|
|
@@ -3647,54 +4072,93 @@ function peg$parse(input, options) {
|
|
|
3647
4072
|
}
|
|
3648
4073
|
return s0;
|
|
3649
4074
|
}
|
|
3650
|
-
function peg$
|
|
3651
|
-
let s0, s1, s2, s3, s4
|
|
4075
|
+
function peg$parseAnnotationContent() {
|
|
4076
|
+
let s0, s1, s2, s3, s4;
|
|
3652
4077
|
s0 = peg$currPos;
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
4078
|
+
s1 = [];
|
|
4079
|
+
s2 = peg$currPos;
|
|
4080
|
+
s3 = peg$parseAnnotationItem();
|
|
4081
|
+
if (s3 !== peg$FAILED) {
|
|
4082
|
+
s4 = peg$parse_();
|
|
4083
|
+
s3 = [s3, s4];
|
|
4084
|
+
s2 = s3;
|
|
4085
|
+
} else {
|
|
4086
|
+
peg$currPos = s2;
|
|
4087
|
+
s2 = peg$FAILED;
|
|
4088
|
+
}
|
|
4089
|
+
while (s2 !== peg$FAILED) {
|
|
4090
|
+
s1.push(s2);
|
|
4091
|
+
s2 = peg$currPos;
|
|
4092
|
+
s3 = peg$parseAnnotationItem();
|
|
4093
|
+
if (s3 !== peg$FAILED) {
|
|
4094
|
+
s4 = peg$parse_();
|
|
4095
|
+
s3 = [s3, s4];
|
|
4096
|
+
s2 = s3;
|
|
4097
|
+
} else {
|
|
4098
|
+
peg$currPos = s2;
|
|
4099
|
+
s2 = peg$FAILED;
|
|
4100
|
+
}
|
|
4101
|
+
}
|
|
4102
|
+
peg$savedPos = s0;
|
|
4103
|
+
s1 = peg$f73(s1);
|
|
4104
|
+
s0 = s1;
|
|
4105
|
+
return s0;
|
|
4106
|
+
}
|
|
4107
|
+
function peg$parseAnnotationItem() {
|
|
4108
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13;
|
|
4109
|
+
s0 = peg$currPos;
|
|
4110
|
+
if (input.substr(peg$currPos, 4) === peg$c38) {
|
|
4111
|
+
s1 = peg$c38;
|
|
4112
|
+
peg$currPos += 4;
|
|
3656
4113
|
} else {
|
|
3657
4114
|
s1 = peg$FAILED;
|
|
3658
4115
|
if (peg$silentFails === 0) {
|
|
3659
|
-
peg$fail(peg$
|
|
4116
|
+
peg$fail(peg$e38);
|
|
3660
4117
|
}
|
|
3661
4118
|
}
|
|
3662
4119
|
if (s1 !== peg$FAILED) {
|
|
3663
4120
|
s2 = peg$parse_();
|
|
3664
|
-
s3 = peg$
|
|
4121
|
+
s3 = peg$parseInteger();
|
|
3665
4122
|
if (s3 !== peg$FAILED) {
|
|
3666
4123
|
s4 = peg$parse_();
|
|
3667
|
-
s5 = peg$
|
|
3668
|
-
if (s5
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
s7 = peg$c1;
|
|
3674
|
-
peg$currPos++;
|
|
3675
|
-
} else {
|
|
3676
|
-
s7 = peg$FAILED;
|
|
3677
|
-
if (peg$silentFails === 0) {
|
|
3678
|
-
peg$fail(peg$e1);
|
|
4124
|
+
s5 = peg$parseStringLiteral();
|
|
4125
|
+
if (s5 !== peg$FAILED) {
|
|
4126
|
+
s6 = peg$parse_();
|
|
4127
|
+
s7 = peg$parseAttributes();
|
|
4128
|
+
if (s7 === peg$FAILED) {
|
|
4129
|
+
s7 = null;
|
|
3679
4130
|
}
|
|
3680
|
-
}
|
|
3681
|
-
if (s7 !== peg$FAILED) {
|
|
3682
4131
|
s8 = peg$parse_();
|
|
3683
|
-
|
|
4132
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
4133
|
+
s9 = peg$c1;
|
|
4134
|
+
peg$currPos++;
|
|
4135
|
+
} else {
|
|
4136
|
+
s9 = peg$FAILED;
|
|
4137
|
+
if (peg$silentFails === 0) {
|
|
4138
|
+
peg$fail(peg$e1);
|
|
4139
|
+
}
|
|
4140
|
+
}
|
|
3684
4141
|
if (s9 !== peg$FAILED) {
|
|
3685
4142
|
s10 = peg$parse_();
|
|
3686
|
-
|
|
3687
|
-
s11 = peg$c2;
|
|
3688
|
-
peg$currPos++;
|
|
3689
|
-
} else {
|
|
3690
|
-
s11 = peg$FAILED;
|
|
3691
|
-
if (peg$silentFails === 0) {
|
|
3692
|
-
peg$fail(peg$e2);
|
|
3693
|
-
}
|
|
3694
|
-
}
|
|
4143
|
+
s11 = peg$parseChildren();
|
|
3695
4144
|
if (s11 !== peg$FAILED) {
|
|
3696
|
-
|
|
3697
|
-
|
|
4145
|
+
s12 = peg$parse_();
|
|
4146
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
4147
|
+
s13 = peg$c2;
|
|
4148
|
+
peg$currPos++;
|
|
4149
|
+
} else {
|
|
4150
|
+
s13 = peg$FAILED;
|
|
4151
|
+
if (peg$silentFails === 0) {
|
|
4152
|
+
peg$fail(peg$e2);
|
|
4153
|
+
}
|
|
4154
|
+
}
|
|
4155
|
+
if (s13 !== peg$FAILED) {
|
|
4156
|
+
peg$savedPos = s0;
|
|
4157
|
+
s0 = peg$f74(s3, s5, s7, s11);
|
|
4158
|
+
} else {
|
|
4159
|
+
peg$currPos = s0;
|
|
4160
|
+
s0 = peg$FAILED;
|
|
4161
|
+
}
|
|
3698
4162
|
} else {
|
|
3699
4163
|
peg$currPos = s0;
|
|
3700
4164
|
s0 = peg$FAILED;
|
|
@@ -3717,71 +4181,94 @@ function peg$parse(input, options) {
|
|
|
3717
4181
|
}
|
|
3718
4182
|
if (s0 === peg$FAILED) {
|
|
3719
4183
|
s0 = peg$currPos;
|
|
3720
|
-
|
|
4184
|
+
if (input.substr(peg$currPos, 4) === peg$c38) {
|
|
4185
|
+
s1 = peg$c38;
|
|
4186
|
+
peg$currPos += 4;
|
|
4187
|
+
} else {
|
|
4188
|
+
s1 = peg$FAILED;
|
|
4189
|
+
if (peg$silentFails === 0) {
|
|
4190
|
+
peg$fail(peg$e38);
|
|
4191
|
+
}
|
|
4192
|
+
}
|
|
3721
4193
|
if (s1 !== peg$FAILED) {
|
|
3722
|
-
|
|
3723
|
-
|
|
4194
|
+
s2 = peg$parse_();
|
|
4195
|
+
s3 = peg$parseInteger();
|
|
4196
|
+
if (s3 !== peg$FAILED) {
|
|
4197
|
+
s4 = peg$parse_();
|
|
4198
|
+
s5 = peg$parseStringLiteral();
|
|
4199
|
+
if (s5 !== peg$FAILED) {
|
|
4200
|
+
s6 = peg$parse_();
|
|
4201
|
+
s7 = peg$parseAttributes();
|
|
4202
|
+
if (s7 === peg$FAILED) {
|
|
4203
|
+
s7 = null;
|
|
4204
|
+
}
|
|
4205
|
+
peg$savedPos = s0;
|
|
4206
|
+
s0 = peg$f75(s3, s5, s7);
|
|
4207
|
+
} else {
|
|
4208
|
+
peg$currPos = s0;
|
|
4209
|
+
s0 = peg$FAILED;
|
|
4210
|
+
}
|
|
4211
|
+
} else {
|
|
4212
|
+
peg$currPos = s0;
|
|
4213
|
+
s0 = peg$FAILED;
|
|
4214
|
+
}
|
|
4215
|
+
} else {
|
|
4216
|
+
peg$currPos = s0;
|
|
4217
|
+
s0 = peg$FAILED;
|
|
4218
|
+
}
|
|
4219
|
+
if (s0 === peg$FAILED) {
|
|
4220
|
+
s0 = peg$currPos;
|
|
4221
|
+
s1 = peg$parseComment();
|
|
4222
|
+
if (s1 !== peg$FAILED) {
|
|
4223
|
+
peg$savedPos = s0;
|
|
4224
|
+
s1 = peg$f76();
|
|
4225
|
+
}
|
|
4226
|
+
s0 = s1;
|
|
3724
4227
|
}
|
|
3725
|
-
s0 = s1;
|
|
3726
4228
|
}
|
|
3727
4229
|
return s0;
|
|
3728
4230
|
}
|
|
3729
|
-
function peg$
|
|
3730
|
-
let s0, s1, s2
|
|
4231
|
+
function peg$parseInteger() {
|
|
4232
|
+
let s0, s1, s2;
|
|
4233
|
+
peg$silentFails++;
|
|
3731
4234
|
s0 = peg$currPos;
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
4235
|
+
s1 = [];
|
|
4236
|
+
s2 = input.charAt(peg$currPos);
|
|
4237
|
+
if (peg$r0.test(s2)) {
|
|
4238
|
+
peg$currPos++;
|
|
3735
4239
|
} else {
|
|
3736
|
-
|
|
4240
|
+
s2 = peg$FAILED;
|
|
3737
4241
|
if (peg$silentFails === 0) {
|
|
3738
|
-
peg$fail(peg$
|
|
4242
|
+
peg$fail(peg$e55);
|
|
3739
4243
|
}
|
|
3740
4244
|
}
|
|
3741
|
-
if (
|
|
3742
|
-
s2
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
4245
|
+
if (s2 !== peg$FAILED) {
|
|
4246
|
+
while (s2 !== peg$FAILED) {
|
|
4247
|
+
s1.push(s2);
|
|
4248
|
+
s2 = input.charAt(peg$currPos);
|
|
4249
|
+
if (peg$r0.test(s2)) {
|
|
4250
|
+
peg$currPos++;
|
|
4251
|
+
} else {
|
|
4252
|
+
s2 = peg$FAILED;
|
|
4253
|
+
if (peg$silentFails === 0) {
|
|
4254
|
+
peg$fail(peg$e55);
|
|
4255
|
+
}
|
|
3749
4256
|
}
|
|
3750
|
-
peg$savedPos = s0;
|
|
3751
|
-
s0 = peg$f67(s3, s5);
|
|
3752
|
-
} else {
|
|
3753
|
-
peg$currPos = s0;
|
|
3754
|
-
s0 = peg$FAILED;
|
|
3755
4257
|
}
|
|
3756
|
-
} else {
|
|
3757
|
-
peg$currPos = s0;
|
|
3758
|
-
s0 = peg$FAILED;
|
|
3759
|
-
}
|
|
3760
|
-
return s0;
|
|
3761
|
-
}
|
|
3762
|
-
function peg$parseDivider() {
|
|
3763
|
-
let s0, s1, s2, s3;
|
|
3764
|
-
s0 = peg$currPos;
|
|
3765
|
-
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3766
|
-
s1 = peg$c44;
|
|
3767
|
-
peg$currPos += 7;
|
|
3768
4258
|
} else {
|
|
3769
4259
|
s1 = peg$FAILED;
|
|
3770
|
-
if (peg$silentFails === 0) {
|
|
3771
|
-
peg$fail(peg$e44);
|
|
3772
|
-
}
|
|
3773
4260
|
}
|
|
3774
4261
|
if (s1 !== peg$FAILED) {
|
|
3775
|
-
s2 = peg$parse_();
|
|
3776
|
-
s3 = peg$parseAttributes();
|
|
3777
|
-
if (s3 === peg$FAILED) {
|
|
3778
|
-
s3 = null;
|
|
3779
|
-
}
|
|
3780
4262
|
peg$savedPos = s0;
|
|
3781
|
-
|
|
3782
|
-
}
|
|
3783
|
-
|
|
3784
|
-
|
|
4263
|
+
s1 = peg$f77(s1);
|
|
4264
|
+
}
|
|
4265
|
+
s0 = s1;
|
|
4266
|
+
peg$silentFails--;
|
|
4267
|
+
if (s0 === peg$FAILED) {
|
|
4268
|
+
s1 = peg$FAILED;
|
|
4269
|
+
if (peg$silentFails === 0) {
|
|
4270
|
+
peg$fail(peg$e54);
|
|
4271
|
+
}
|
|
3785
4272
|
}
|
|
3786
4273
|
return s0;
|
|
3787
4274
|
}
|
|
@@ -3800,7 +4287,7 @@ function peg$parse(input, options) {
|
|
|
3800
4287
|
}
|
|
3801
4288
|
if (s1 !== peg$FAILED) {
|
|
3802
4289
|
peg$savedPos = s0;
|
|
3803
|
-
s1 = peg$
|
|
4290
|
+
s1 = peg$f78(s1);
|
|
3804
4291
|
}
|
|
3805
4292
|
s0 = s1;
|
|
3806
4293
|
return s0;
|
|
@@ -3813,12 +4300,12 @@ function peg$parse(input, options) {
|
|
|
3813
4300
|
if (s2 !== peg$FAILED) {
|
|
3814
4301
|
s3 = peg$parse_();
|
|
3815
4302
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
3816
|
-
s4 = peg$
|
|
4303
|
+
s4 = peg$c54;
|
|
3817
4304
|
peg$currPos++;
|
|
3818
4305
|
} else {
|
|
3819
4306
|
s4 = peg$FAILED;
|
|
3820
4307
|
if (peg$silentFails === 0) {
|
|
3821
|
-
peg$fail(peg$
|
|
4308
|
+
peg$fail(peg$e56);
|
|
3822
4309
|
}
|
|
3823
4310
|
}
|
|
3824
4311
|
if (s4 !== peg$FAILED) {
|
|
@@ -3826,7 +4313,7 @@ function peg$parse(input, options) {
|
|
|
3826
4313
|
s6 = peg$parseAttributeValue();
|
|
3827
4314
|
if (s6 !== peg$FAILED) {
|
|
3828
4315
|
peg$savedPos = s0;
|
|
3829
|
-
s0 = peg$
|
|
4316
|
+
s0 = peg$f79(s2, s6);
|
|
3830
4317
|
} else {
|
|
3831
4318
|
peg$currPos = s0;
|
|
3832
4319
|
s0 = peg$FAILED;
|
|
@@ -3853,32 +4340,32 @@ function peg$parse(input, options) {
|
|
|
3853
4340
|
s6 = peg$parseAttributeName();
|
|
3854
4341
|
if (s6 === peg$FAILED) {
|
|
3855
4342
|
s6 = input.charAt(peg$currPos);
|
|
3856
|
-
if (peg$
|
|
4343
|
+
if (peg$r1.test(s6)) {
|
|
3857
4344
|
peg$currPos++;
|
|
3858
4345
|
} else {
|
|
3859
4346
|
s6 = peg$FAILED;
|
|
3860
4347
|
if (peg$silentFails === 0) {
|
|
3861
|
-
peg$fail(peg$
|
|
4348
|
+
peg$fail(peg$e57);
|
|
3862
4349
|
}
|
|
3863
4350
|
}
|
|
3864
4351
|
if (s6 === peg$FAILED) {
|
|
3865
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3866
|
-
s6 = peg$
|
|
4352
|
+
if (input.substr(peg$currPos, 2) === peg$c55) {
|
|
4353
|
+
s6 = peg$c55;
|
|
3867
4354
|
peg$currPos += 2;
|
|
3868
4355
|
} else {
|
|
3869
4356
|
s6 = peg$FAILED;
|
|
3870
4357
|
if (peg$silentFails === 0) {
|
|
3871
|
-
peg$fail(peg$
|
|
4358
|
+
peg$fail(peg$e58);
|
|
3872
4359
|
}
|
|
3873
4360
|
}
|
|
3874
4361
|
if (s6 === peg$FAILED) {
|
|
3875
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3876
|
-
s6 = peg$
|
|
4362
|
+
if (input.substr(peg$currPos, 2) === peg$c56) {
|
|
4363
|
+
s6 = peg$c56;
|
|
3877
4364
|
peg$currPos += 2;
|
|
3878
4365
|
} else {
|
|
3879
4366
|
s6 = peg$FAILED;
|
|
3880
4367
|
if (peg$silentFails === 0) {
|
|
3881
|
-
peg$fail(peg$
|
|
4368
|
+
peg$fail(peg$e59);
|
|
3882
4369
|
}
|
|
3883
4370
|
}
|
|
3884
4371
|
if (s6 === peg$FAILED) {
|
|
@@ -3890,7 +4377,7 @@ function peg$parse(input, options) {
|
|
|
3890
4377
|
} else {
|
|
3891
4378
|
s7 = peg$FAILED;
|
|
3892
4379
|
if (peg$silentFails === 0) {
|
|
3893
|
-
peg$fail(peg$
|
|
4380
|
+
peg$fail(peg$e60);
|
|
3894
4381
|
}
|
|
3895
4382
|
}
|
|
3896
4383
|
peg$silentFails--;
|
|
@@ -3921,7 +4408,7 @@ function peg$parse(input, options) {
|
|
|
3921
4408
|
}
|
|
3922
4409
|
if (s3 !== peg$FAILED) {
|
|
3923
4410
|
peg$savedPos = s0;
|
|
3924
|
-
s0 = peg$
|
|
4411
|
+
s0 = peg$f80(s2);
|
|
3925
4412
|
} else {
|
|
3926
4413
|
peg$currPos = s0;
|
|
3927
4414
|
s0 = peg$FAILED;
|
|
@@ -3950,7 +4437,7 @@ function peg$parse(input, options) {
|
|
|
3950
4437
|
s2 = peg$parseIdentifier();
|
|
3951
4438
|
if (s2 !== peg$FAILED) {
|
|
3952
4439
|
peg$savedPos = s0;
|
|
3953
|
-
s0 = peg$
|
|
4440
|
+
s0 = peg$f81(s2);
|
|
3954
4441
|
} else {
|
|
3955
4442
|
peg$currPos = s0;
|
|
3956
4443
|
s0 = peg$FAILED;
|
|
@@ -4034,9 +4521,9 @@ function peg$parse(input, options) {
|
|
|
4034
4521
|
}
|
|
4035
4522
|
}
|
|
4036
4523
|
if (s1 === peg$FAILED) {
|
|
4037
|
-
if (input.substr(peg$currPos,
|
|
4524
|
+
if (input.substr(peg$currPos, 5) === peg$c9) {
|
|
4038
4525
|
s1 = peg$c9;
|
|
4039
|
-
peg$currPos +=
|
|
4526
|
+
peg$currPos += 5;
|
|
4040
4527
|
} else {
|
|
4041
4528
|
s1 = peg$FAILED;
|
|
4042
4529
|
if (peg$silentFails === 0) {
|
|
@@ -4044,9 +4531,9 @@ function peg$parse(input, options) {
|
|
|
4044
4531
|
}
|
|
4045
4532
|
}
|
|
4046
4533
|
if (s1 === peg$FAILED) {
|
|
4047
|
-
if (input.substr(peg$currPos,
|
|
4534
|
+
if (input.substr(peg$currPos, 8) === peg$c10) {
|
|
4048
4535
|
s1 = peg$c10;
|
|
4049
|
-
peg$currPos +=
|
|
4536
|
+
peg$currPos += 8;
|
|
4050
4537
|
} else {
|
|
4051
4538
|
s1 = peg$FAILED;
|
|
4052
4539
|
if (peg$silentFails === 0) {
|
|
@@ -4054,9 +4541,9 @@ function peg$parse(input, options) {
|
|
|
4054
4541
|
}
|
|
4055
4542
|
}
|
|
4056
4543
|
if (s1 === peg$FAILED) {
|
|
4057
|
-
if (input.substr(peg$currPos,
|
|
4544
|
+
if (input.substr(peg$currPos, 4) === peg$c11) {
|
|
4058
4545
|
s1 = peg$c11;
|
|
4059
|
-
peg$currPos +=
|
|
4546
|
+
peg$currPos += 4;
|
|
4060
4547
|
} else {
|
|
4061
4548
|
s1 = peg$FAILED;
|
|
4062
4549
|
if (peg$silentFails === 0) {
|
|
@@ -4064,9 +4551,9 @@ function peg$parse(input, options) {
|
|
|
4064
4551
|
}
|
|
4065
4552
|
}
|
|
4066
4553
|
if (s1 === peg$FAILED) {
|
|
4067
|
-
if (input.substr(peg$currPos,
|
|
4554
|
+
if (input.substr(peg$currPos, 5) === peg$c12) {
|
|
4068
4555
|
s1 = peg$c12;
|
|
4069
|
-
peg$currPos +=
|
|
4556
|
+
peg$currPos += 5;
|
|
4070
4557
|
} else {
|
|
4071
4558
|
s1 = peg$FAILED;
|
|
4072
4559
|
if (peg$silentFails === 0) {
|
|
@@ -4074,9 +4561,9 @@ function peg$parse(input, options) {
|
|
|
4074
4561
|
}
|
|
4075
4562
|
}
|
|
4076
4563
|
if (s1 === peg$FAILED) {
|
|
4077
|
-
if (input.substr(peg$currPos,
|
|
4564
|
+
if (input.substr(peg$currPos, 6) === peg$c13) {
|
|
4078
4565
|
s1 = peg$c13;
|
|
4079
|
-
peg$currPos +=
|
|
4566
|
+
peg$currPos += 6;
|
|
4080
4567
|
} else {
|
|
4081
4568
|
s1 = peg$FAILED;
|
|
4082
4569
|
if (peg$silentFails === 0) {
|
|
@@ -4084,9 +4571,9 @@ function peg$parse(input, options) {
|
|
|
4084
4571
|
}
|
|
4085
4572
|
}
|
|
4086
4573
|
if (s1 === peg$FAILED) {
|
|
4087
|
-
if (input.substr(peg$currPos,
|
|
4574
|
+
if (input.substr(peg$currPos, 9) === peg$c14) {
|
|
4088
4575
|
s1 = peg$c14;
|
|
4089
|
-
peg$currPos +=
|
|
4576
|
+
peg$currPos += 9;
|
|
4090
4577
|
} else {
|
|
4091
4578
|
s1 = peg$FAILED;
|
|
4092
4579
|
if (peg$silentFails === 0) {
|
|
@@ -4094,29 +4581,29 @@ function peg$parse(input, options) {
|
|
|
4094
4581
|
}
|
|
4095
4582
|
}
|
|
4096
4583
|
if (s1 === peg$FAILED) {
|
|
4097
|
-
if (input.substr(peg$currPos,
|
|
4098
|
-
s1 = peg$
|
|
4099
|
-
peg$currPos +=
|
|
4584
|
+
if (input.substr(peg$currPos, 7) === peg$c15) {
|
|
4585
|
+
s1 = peg$c15;
|
|
4586
|
+
peg$currPos += 7;
|
|
4100
4587
|
} else {
|
|
4101
4588
|
s1 = peg$FAILED;
|
|
4102
4589
|
if (peg$silentFails === 0) {
|
|
4103
|
-
peg$fail(peg$
|
|
4590
|
+
peg$fail(peg$e15);
|
|
4104
4591
|
}
|
|
4105
4592
|
}
|
|
4106
4593
|
if (s1 === peg$FAILED) {
|
|
4107
|
-
if (input.substr(peg$currPos,
|
|
4108
|
-
s1 = peg$
|
|
4109
|
-
peg$currPos +=
|
|
4594
|
+
if (input.substr(peg$currPos, 4) === peg$c16) {
|
|
4595
|
+
s1 = peg$c16;
|
|
4596
|
+
peg$currPos += 4;
|
|
4110
4597
|
} else {
|
|
4111
4598
|
s1 = peg$FAILED;
|
|
4112
4599
|
if (peg$silentFails === 0) {
|
|
4113
|
-
peg$fail(peg$
|
|
4600
|
+
peg$fail(peg$e16);
|
|
4114
4601
|
}
|
|
4115
4602
|
}
|
|
4116
4603
|
if (s1 === peg$FAILED) {
|
|
4117
|
-
if (input.substr(peg$currPos,
|
|
4604
|
+
if (input.substr(peg$currPos, 4) === peg$c18) {
|
|
4118
4605
|
s1 = peg$c18;
|
|
4119
|
-
peg$currPos +=
|
|
4606
|
+
peg$currPos += 4;
|
|
4120
4607
|
} else {
|
|
4121
4608
|
s1 = peg$FAILED;
|
|
4122
4609
|
if (peg$silentFails === 0) {
|
|
@@ -4124,9 +4611,9 @@ function peg$parse(input, options) {
|
|
|
4124
4611
|
}
|
|
4125
4612
|
}
|
|
4126
4613
|
if (s1 === peg$FAILED) {
|
|
4127
|
-
if (input.substr(peg$currPos,
|
|
4614
|
+
if (input.substr(peg$currPos, 6) === peg$c19) {
|
|
4128
4615
|
s1 = peg$c19;
|
|
4129
|
-
peg$currPos +=
|
|
4616
|
+
peg$currPos += 6;
|
|
4130
4617
|
} else {
|
|
4131
4618
|
s1 = peg$FAILED;
|
|
4132
4619
|
if (peg$silentFails === 0) {
|
|
@@ -4134,9 +4621,9 @@ function peg$parse(input, options) {
|
|
|
4134
4621
|
}
|
|
4135
4622
|
}
|
|
4136
4623
|
if (s1 === peg$FAILED) {
|
|
4137
|
-
if (input.substr(peg$currPos,
|
|
4624
|
+
if (input.substr(peg$currPos, 5) === peg$c20) {
|
|
4138
4625
|
s1 = peg$c20;
|
|
4139
|
-
peg$currPos +=
|
|
4626
|
+
peg$currPos += 5;
|
|
4140
4627
|
} else {
|
|
4141
4628
|
s1 = peg$FAILED;
|
|
4142
4629
|
if (peg$silentFails === 0) {
|
|
@@ -4154,9 +4641,9 @@ function peg$parse(input, options) {
|
|
|
4154
4641
|
}
|
|
4155
4642
|
}
|
|
4156
4643
|
if (s1 === peg$FAILED) {
|
|
4157
|
-
if (input.substr(peg$currPos,
|
|
4644
|
+
if (input.substr(peg$currPos, 6) === peg$c22) {
|
|
4158
4645
|
s1 = peg$c22;
|
|
4159
|
-
peg$currPos +=
|
|
4646
|
+
peg$currPos += 6;
|
|
4160
4647
|
} else {
|
|
4161
4648
|
s1 = peg$FAILED;
|
|
4162
4649
|
if (peg$silentFails === 0) {
|
|
@@ -4164,9 +4651,9 @@ function peg$parse(input, options) {
|
|
|
4164
4651
|
}
|
|
4165
4652
|
}
|
|
4166
4653
|
if (s1 === peg$FAILED) {
|
|
4167
|
-
if (input.substr(peg$currPos,
|
|
4654
|
+
if (input.substr(peg$currPos, 8) === peg$c23) {
|
|
4168
4655
|
s1 = peg$c23;
|
|
4169
|
-
peg$currPos +=
|
|
4656
|
+
peg$currPos += 8;
|
|
4170
4657
|
} else {
|
|
4171
4658
|
s1 = peg$FAILED;
|
|
4172
4659
|
if (peg$silentFails === 0) {
|
|
@@ -4174,9 +4661,9 @@ function peg$parse(input, options) {
|
|
|
4174
4661
|
}
|
|
4175
4662
|
}
|
|
4176
4663
|
if (s1 === peg$FAILED) {
|
|
4177
|
-
if (input.substr(peg$currPos,
|
|
4664
|
+
if (input.substr(peg$currPos, 5) === peg$c24) {
|
|
4178
4665
|
s1 = peg$c24;
|
|
4179
|
-
peg$currPos +=
|
|
4666
|
+
peg$currPos += 5;
|
|
4180
4667
|
} else {
|
|
4181
4668
|
s1 = peg$FAILED;
|
|
4182
4669
|
if (peg$silentFails === 0) {
|
|
@@ -4184,9 +4671,9 @@ function peg$parse(input, options) {
|
|
|
4184
4671
|
}
|
|
4185
4672
|
}
|
|
4186
4673
|
if (s1 === peg$FAILED) {
|
|
4187
|
-
if (input.substr(peg$currPos,
|
|
4674
|
+
if (input.substr(peg$currPos, 6) === peg$c25) {
|
|
4188
4675
|
s1 = peg$c25;
|
|
4189
|
-
peg$currPos +=
|
|
4676
|
+
peg$currPos += 6;
|
|
4190
4677
|
} else {
|
|
4191
4678
|
s1 = peg$FAILED;
|
|
4192
4679
|
if (peg$silentFails === 0) {
|
|
@@ -4194,59 +4681,59 @@ function peg$parse(input, options) {
|
|
|
4194
4681
|
}
|
|
4195
4682
|
}
|
|
4196
4683
|
if (s1 === peg$FAILED) {
|
|
4197
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
4198
|
-
s1 = peg$
|
|
4684
|
+
if (input.substr(peg$currPos, 6) === peg$c26) {
|
|
4685
|
+
s1 = peg$c26;
|
|
4199
4686
|
peg$currPos += 6;
|
|
4200
4687
|
} else {
|
|
4201
4688
|
s1 = peg$FAILED;
|
|
4202
4689
|
if (peg$silentFails === 0) {
|
|
4203
|
-
peg$fail(peg$
|
|
4690
|
+
peg$fail(peg$e26);
|
|
4204
4691
|
}
|
|
4205
4692
|
}
|
|
4206
4693
|
if (s1 === peg$FAILED) {
|
|
4207
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
4208
|
-
s1 = peg$
|
|
4694
|
+
if (input.substr(peg$currPos, 5) === peg$c27) {
|
|
4695
|
+
s1 = peg$c27;
|
|
4209
4696
|
peg$currPos += 5;
|
|
4210
4697
|
} else {
|
|
4211
4698
|
s1 = peg$FAILED;
|
|
4212
4699
|
if (peg$silentFails === 0) {
|
|
4213
|
-
peg$fail(peg$
|
|
4700
|
+
peg$fail(peg$e27);
|
|
4214
4701
|
}
|
|
4215
4702
|
}
|
|
4216
4703
|
if (s1 === peg$FAILED) {
|
|
4217
|
-
if (input.substr(peg$currPos,
|
|
4218
|
-
s1 = peg$
|
|
4219
|
-
peg$currPos +=
|
|
4704
|
+
if (input.substr(peg$currPos, 6) === peg$c29) {
|
|
4705
|
+
s1 = peg$c29;
|
|
4706
|
+
peg$currPos += 6;
|
|
4220
4707
|
} else {
|
|
4221
4708
|
s1 = peg$FAILED;
|
|
4222
4709
|
if (peg$silentFails === 0) {
|
|
4223
|
-
peg$fail(peg$
|
|
4710
|
+
peg$fail(peg$e29);
|
|
4224
4711
|
}
|
|
4225
4712
|
}
|
|
4226
4713
|
if (s1 === peg$FAILED) {
|
|
4227
|
-
if (input.substr(peg$currPos,
|
|
4228
|
-
s1 = peg$
|
|
4229
|
-
peg$currPos +=
|
|
4714
|
+
if (input.substr(peg$currPos, 5) === peg$c30) {
|
|
4715
|
+
s1 = peg$c30;
|
|
4716
|
+
peg$currPos += 5;
|
|
4230
4717
|
} else {
|
|
4231
4718
|
s1 = peg$FAILED;
|
|
4232
4719
|
if (peg$silentFails === 0) {
|
|
4233
|
-
peg$fail(peg$
|
|
4720
|
+
peg$fail(peg$e30);
|
|
4234
4721
|
}
|
|
4235
4722
|
}
|
|
4236
4723
|
if (s1 === peg$FAILED) {
|
|
4237
|
-
if (input.substr(peg$currPos,
|
|
4238
|
-
s1 = peg$
|
|
4239
|
-
peg$currPos +=
|
|
4724
|
+
if (input.substr(peg$currPos, 5) === peg$c32) {
|
|
4725
|
+
s1 = peg$c32;
|
|
4726
|
+
peg$currPos += 5;
|
|
4240
4727
|
} else {
|
|
4241
4728
|
s1 = peg$FAILED;
|
|
4242
4729
|
if (peg$silentFails === 0) {
|
|
4243
|
-
peg$fail(peg$
|
|
4730
|
+
peg$fail(peg$e32);
|
|
4244
4731
|
}
|
|
4245
4732
|
}
|
|
4246
4733
|
if (s1 === peg$FAILED) {
|
|
4247
|
-
if (input.substr(peg$currPos,
|
|
4734
|
+
if (input.substr(peg$currPos, 7) === peg$c36) {
|
|
4248
4735
|
s1 = peg$c36;
|
|
4249
|
-
peg$currPos +=
|
|
4736
|
+
peg$currPos += 7;
|
|
4250
4737
|
} else {
|
|
4251
4738
|
s1 = peg$FAILED;
|
|
4252
4739
|
if (peg$silentFails === 0) {
|
|
@@ -4254,9 +4741,9 @@ function peg$parse(input, options) {
|
|
|
4254
4741
|
}
|
|
4255
4742
|
}
|
|
4256
4743
|
if (s1 === peg$FAILED) {
|
|
4257
|
-
if (input.substr(peg$currPos,
|
|
4744
|
+
if (input.substr(peg$currPos, 4) === peg$c37) {
|
|
4258
4745
|
s1 = peg$c37;
|
|
4259
|
-
peg$currPos +=
|
|
4746
|
+
peg$currPos += 4;
|
|
4260
4747
|
} else {
|
|
4261
4748
|
s1 = peg$FAILED;
|
|
4262
4749
|
if (peg$silentFails === 0) {
|
|
@@ -4264,9 +4751,9 @@ function peg$parse(input, options) {
|
|
|
4264
4751
|
}
|
|
4265
4752
|
}
|
|
4266
4753
|
if (s1 === peg$FAILED) {
|
|
4267
|
-
if (input.substr(peg$currPos,
|
|
4754
|
+
if (input.substr(peg$currPos, 4) === peg$c38) {
|
|
4268
4755
|
s1 = peg$c38;
|
|
4269
|
-
peg$currPos +=
|
|
4756
|
+
peg$currPos += 4;
|
|
4270
4757
|
} else {
|
|
4271
4758
|
s1 = peg$FAILED;
|
|
4272
4759
|
if (peg$silentFails === 0) {
|
|
@@ -4274,9 +4761,9 @@ function peg$parse(input, options) {
|
|
|
4274
4761
|
}
|
|
4275
4762
|
}
|
|
4276
4763
|
if (s1 === peg$FAILED) {
|
|
4277
|
-
if (input.substr(peg$currPos,
|
|
4764
|
+
if (input.substr(peg$currPos, 5) === peg$c39) {
|
|
4278
4765
|
s1 = peg$c39;
|
|
4279
|
-
peg$currPos +=
|
|
4766
|
+
peg$currPos += 5;
|
|
4280
4767
|
} else {
|
|
4281
4768
|
s1 = peg$FAILED;
|
|
4282
4769
|
if (peg$silentFails === 0) {
|
|
@@ -4284,9 +4771,9 @@ function peg$parse(input, options) {
|
|
|
4284
4771
|
}
|
|
4285
4772
|
}
|
|
4286
4773
|
if (s1 === peg$FAILED) {
|
|
4287
|
-
if (input.substr(peg$currPos,
|
|
4774
|
+
if (input.substr(peg$currPos, 5) === peg$c40) {
|
|
4288
4775
|
s1 = peg$c40;
|
|
4289
|
-
peg$currPos +=
|
|
4776
|
+
peg$currPos += 5;
|
|
4290
4777
|
} else {
|
|
4291
4778
|
s1 = peg$FAILED;
|
|
4292
4779
|
if (peg$silentFails === 0) {
|
|
@@ -4294,9 +4781,9 @@ function peg$parse(input, options) {
|
|
|
4294
4781
|
}
|
|
4295
4782
|
}
|
|
4296
4783
|
if (s1 === peg$FAILED) {
|
|
4297
|
-
if (input.substr(peg$currPos,
|
|
4784
|
+
if (input.substr(peg$currPos, 8) === peg$c41) {
|
|
4298
4785
|
s1 = peg$c41;
|
|
4299
|
-
peg$currPos +=
|
|
4786
|
+
peg$currPos += 8;
|
|
4300
4787
|
} else {
|
|
4301
4788
|
s1 = peg$FAILED;
|
|
4302
4789
|
if (peg$silentFails === 0) {
|
|
@@ -4314,9 +4801,9 @@ function peg$parse(input, options) {
|
|
|
4314
4801
|
}
|
|
4315
4802
|
}
|
|
4316
4803
|
if (s1 === peg$FAILED) {
|
|
4317
|
-
if (input.substr(peg$currPos,
|
|
4804
|
+
if (input.substr(peg$currPos, 7) === peg$c43) {
|
|
4318
4805
|
s1 = peg$c43;
|
|
4319
|
-
peg$currPos +=
|
|
4806
|
+
peg$currPos += 7;
|
|
4320
4807
|
} else {
|
|
4321
4808
|
s1 = peg$FAILED;
|
|
4322
4809
|
if (peg$silentFails === 0) {
|
|
@@ -4334,9 +4821,9 @@ function peg$parse(input, options) {
|
|
|
4334
4821
|
}
|
|
4335
4822
|
}
|
|
4336
4823
|
if (s1 === peg$FAILED) {
|
|
4337
|
-
if (input.substr(peg$currPos,
|
|
4824
|
+
if (input.substr(peg$currPos, 8) === peg$c45) {
|
|
4338
4825
|
s1 = peg$c45;
|
|
4339
|
-
peg$currPos +=
|
|
4826
|
+
peg$currPos += 8;
|
|
4340
4827
|
} else {
|
|
4341
4828
|
s1 = peg$FAILED;
|
|
4342
4829
|
if (peg$silentFails === 0) {
|
|
@@ -4344,29 +4831,29 @@ function peg$parse(input, options) {
|
|
|
4344
4831
|
}
|
|
4345
4832
|
}
|
|
4346
4833
|
if (s1 === peg$FAILED) {
|
|
4347
|
-
if (input.substr(peg$currPos,
|
|
4348
|
-
s1 = peg$
|
|
4349
|
-
peg$currPos +=
|
|
4834
|
+
if (input.substr(peg$currPos, 7) === peg$c46) {
|
|
4835
|
+
s1 = peg$c46;
|
|
4836
|
+
peg$currPos += 7;
|
|
4350
4837
|
} else {
|
|
4351
4838
|
s1 = peg$FAILED;
|
|
4352
4839
|
if (peg$silentFails === 0) {
|
|
4353
|
-
peg$fail(peg$
|
|
4840
|
+
peg$fail(peg$e46);
|
|
4354
4841
|
}
|
|
4355
4842
|
}
|
|
4356
4843
|
if (s1 === peg$FAILED) {
|
|
4357
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4358
|
-
s1 = peg$
|
|
4844
|
+
if (input.substr(peg$currPos, 3) === peg$c47) {
|
|
4845
|
+
s1 = peg$c47;
|
|
4359
4846
|
peg$currPos += 3;
|
|
4360
4847
|
} else {
|
|
4361
4848
|
s1 = peg$FAILED;
|
|
4362
4849
|
if (peg$silentFails === 0) {
|
|
4363
|
-
peg$fail(peg$
|
|
4850
|
+
peg$fail(peg$e47);
|
|
4364
4851
|
}
|
|
4365
4852
|
}
|
|
4366
4853
|
if (s1 === peg$FAILED) {
|
|
4367
|
-
if (input.substr(peg$currPos,
|
|
4854
|
+
if (input.substr(peg$currPos, 4) === peg$c49) {
|
|
4368
4855
|
s1 = peg$c49;
|
|
4369
|
-
peg$currPos +=
|
|
4856
|
+
peg$currPos += 4;
|
|
4370
4857
|
} else {
|
|
4371
4858
|
s1 = peg$FAILED;
|
|
4372
4859
|
if (peg$silentFails === 0) {
|
|
@@ -4374,13 +4861,57 @@ function peg$parse(input, options) {
|
|
|
4374
4861
|
}
|
|
4375
4862
|
}
|
|
4376
4863
|
if (s1 === peg$FAILED) {
|
|
4377
|
-
if (input.substr(peg$currPos,
|
|
4378
|
-
s1 = peg$
|
|
4379
|
-
peg$currPos +=
|
|
4864
|
+
if (input.substr(peg$currPos, 3) === peg$c50) {
|
|
4865
|
+
s1 = peg$c50;
|
|
4866
|
+
peg$currPos += 3;
|
|
4380
4867
|
} else {
|
|
4381
4868
|
s1 = peg$FAILED;
|
|
4382
4869
|
if (peg$silentFails === 0) {
|
|
4383
|
-
peg$fail(peg$
|
|
4870
|
+
peg$fail(peg$e50);
|
|
4871
|
+
}
|
|
4872
|
+
}
|
|
4873
|
+
if (s1 === peg$FAILED) {
|
|
4874
|
+
if (input.substr(peg$currPos, 10) === peg$c51) {
|
|
4875
|
+
s1 = peg$c51;
|
|
4876
|
+
peg$currPos += 10;
|
|
4877
|
+
} else {
|
|
4878
|
+
s1 = peg$FAILED;
|
|
4879
|
+
if (peg$silentFails === 0) {
|
|
4880
|
+
peg$fail(peg$e51);
|
|
4881
|
+
}
|
|
4882
|
+
}
|
|
4883
|
+
if (s1 === peg$FAILED) {
|
|
4884
|
+
if (input.substr(peg$currPos, 5) === peg$c48) {
|
|
4885
|
+
s1 = peg$c48;
|
|
4886
|
+
peg$currPos += 5;
|
|
4887
|
+
} else {
|
|
4888
|
+
s1 = peg$FAILED;
|
|
4889
|
+
if (peg$silentFails === 0) {
|
|
4890
|
+
peg$fail(peg$e48);
|
|
4891
|
+
}
|
|
4892
|
+
}
|
|
4893
|
+
if (s1 === peg$FAILED) {
|
|
4894
|
+
if (input.substr(peg$currPos, 6) === peg$c52) {
|
|
4895
|
+
s1 = peg$c52;
|
|
4896
|
+
peg$currPos += 6;
|
|
4897
|
+
} else {
|
|
4898
|
+
s1 = peg$FAILED;
|
|
4899
|
+
if (peg$silentFails === 0) {
|
|
4900
|
+
peg$fail(peg$e52);
|
|
4901
|
+
}
|
|
4902
|
+
}
|
|
4903
|
+
if (s1 === peg$FAILED) {
|
|
4904
|
+
if (input.substr(peg$currPos, 11) === peg$c53) {
|
|
4905
|
+
s1 = peg$c53;
|
|
4906
|
+
peg$currPos += 11;
|
|
4907
|
+
} else {
|
|
4908
|
+
s1 = peg$FAILED;
|
|
4909
|
+
if (peg$silentFails === 0) {
|
|
4910
|
+
peg$fail(peg$e53);
|
|
4911
|
+
}
|
|
4912
|
+
}
|
|
4913
|
+
}
|
|
4914
|
+
}
|
|
4384
4915
|
}
|
|
4385
4916
|
}
|
|
4386
4917
|
}
|
|
@@ -4451,12 +4982,12 @@ function peg$parse(input, options) {
|
|
|
4451
4982
|
function peg$parseIdentifierChar() {
|
|
4452
4983
|
let s0;
|
|
4453
4984
|
s0 = input.charAt(peg$currPos);
|
|
4454
|
-
if (peg$
|
|
4985
|
+
if (peg$r2.test(s0)) {
|
|
4455
4986
|
peg$currPos++;
|
|
4456
4987
|
} else {
|
|
4457
4988
|
s0 = peg$FAILED;
|
|
4458
4989
|
if (peg$silentFails === 0) {
|
|
4459
|
-
peg$fail(peg$
|
|
4990
|
+
peg$fail(peg$e61);
|
|
4460
4991
|
}
|
|
4461
4992
|
}
|
|
4462
4993
|
return s0;
|
|
@@ -4489,12 +5020,12 @@ function peg$parse(input, options) {
|
|
|
4489
5020
|
peg$silentFails++;
|
|
4490
5021
|
s0 = peg$currPos;
|
|
4491
5022
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4492
|
-
s1 = peg$
|
|
5023
|
+
s1 = peg$c57;
|
|
4493
5024
|
peg$currPos++;
|
|
4494
5025
|
} else {
|
|
4495
5026
|
s1 = peg$FAILED;
|
|
4496
5027
|
if (peg$silentFails === 0) {
|
|
4497
|
-
peg$fail(peg$
|
|
5028
|
+
peg$fail(peg$e63);
|
|
4498
5029
|
}
|
|
4499
5030
|
}
|
|
4500
5031
|
if (s1 !== peg$FAILED) {
|
|
@@ -4505,17 +5036,17 @@ function peg$parse(input, options) {
|
|
|
4505
5036
|
s3 = peg$parseDoubleStringChar();
|
|
4506
5037
|
}
|
|
4507
5038
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4508
|
-
s3 = peg$
|
|
5039
|
+
s3 = peg$c57;
|
|
4509
5040
|
peg$currPos++;
|
|
4510
5041
|
} else {
|
|
4511
5042
|
s3 = peg$FAILED;
|
|
4512
5043
|
if (peg$silentFails === 0) {
|
|
4513
|
-
peg$fail(peg$
|
|
5044
|
+
peg$fail(peg$e63);
|
|
4514
5045
|
}
|
|
4515
5046
|
}
|
|
4516
5047
|
if (s3 !== peg$FAILED) {
|
|
4517
5048
|
peg$savedPos = s0;
|
|
4518
|
-
s0 = peg$
|
|
5049
|
+
s0 = peg$f82(s2);
|
|
4519
5050
|
} else {
|
|
4520
5051
|
peg$currPos = s0;
|
|
4521
5052
|
s0 = peg$FAILED;
|
|
@@ -4527,12 +5058,12 @@ function peg$parse(input, options) {
|
|
|
4527
5058
|
if (s0 === peg$FAILED) {
|
|
4528
5059
|
s0 = peg$currPos;
|
|
4529
5060
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4530
|
-
s1 = peg$
|
|
5061
|
+
s1 = peg$c58;
|
|
4531
5062
|
peg$currPos++;
|
|
4532
5063
|
} else {
|
|
4533
5064
|
s1 = peg$FAILED;
|
|
4534
5065
|
if (peg$silentFails === 0) {
|
|
4535
|
-
peg$fail(peg$
|
|
5066
|
+
peg$fail(peg$e64);
|
|
4536
5067
|
}
|
|
4537
5068
|
}
|
|
4538
5069
|
if (s1 !== peg$FAILED) {
|
|
@@ -4543,17 +5074,17 @@ function peg$parse(input, options) {
|
|
|
4543
5074
|
s3 = peg$parseSingleStringChar();
|
|
4544
5075
|
}
|
|
4545
5076
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4546
|
-
s3 = peg$
|
|
5077
|
+
s3 = peg$c58;
|
|
4547
5078
|
peg$currPos++;
|
|
4548
5079
|
} else {
|
|
4549
5080
|
s3 = peg$FAILED;
|
|
4550
5081
|
if (peg$silentFails === 0) {
|
|
4551
|
-
peg$fail(peg$
|
|
5082
|
+
peg$fail(peg$e64);
|
|
4552
5083
|
}
|
|
4553
5084
|
}
|
|
4554
5085
|
if (s3 !== peg$FAILED) {
|
|
4555
5086
|
peg$savedPos = s0;
|
|
4556
|
-
s0 = peg$
|
|
5087
|
+
s0 = peg$f83(s2);
|
|
4557
5088
|
} else {
|
|
4558
5089
|
peg$currPos = s0;
|
|
4559
5090
|
s0 = peg$FAILED;
|
|
@@ -4567,7 +5098,7 @@ function peg$parse(input, options) {
|
|
|
4567
5098
|
if (s0 === peg$FAILED) {
|
|
4568
5099
|
s1 = peg$FAILED;
|
|
4569
5100
|
if (peg$silentFails === 0) {
|
|
4570
|
-
peg$fail(peg$
|
|
5101
|
+
peg$fail(peg$e62);
|
|
4571
5102
|
}
|
|
4572
5103
|
}
|
|
4573
5104
|
return s0;
|
|
@@ -4578,12 +5109,12 @@ function peg$parse(input, options) {
|
|
|
4578
5109
|
s1 = peg$currPos;
|
|
4579
5110
|
peg$silentFails++;
|
|
4580
5111
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4581
|
-
s2 = peg$
|
|
5112
|
+
s2 = peg$c57;
|
|
4582
5113
|
peg$currPos++;
|
|
4583
5114
|
} else {
|
|
4584
5115
|
s2 = peg$FAILED;
|
|
4585
5116
|
if (peg$silentFails === 0) {
|
|
4586
|
-
peg$fail(peg$
|
|
5117
|
+
peg$fail(peg$e63);
|
|
4587
5118
|
}
|
|
4588
5119
|
}
|
|
4589
5120
|
peg$silentFails--;
|
|
@@ -4597,12 +5128,12 @@ function peg$parse(input, options) {
|
|
|
4597
5128
|
s2 = peg$currPos;
|
|
4598
5129
|
peg$silentFails++;
|
|
4599
5130
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4600
|
-
s3 = peg$
|
|
5131
|
+
s3 = peg$c59;
|
|
4601
5132
|
peg$currPos++;
|
|
4602
5133
|
} else {
|
|
4603
5134
|
s3 = peg$FAILED;
|
|
4604
5135
|
if (peg$silentFails === 0) {
|
|
4605
|
-
peg$fail(peg$
|
|
5136
|
+
peg$fail(peg$e65);
|
|
4606
5137
|
}
|
|
4607
5138
|
}
|
|
4608
5139
|
peg$silentFails--;
|
|
@@ -4619,12 +5150,12 @@ function peg$parse(input, options) {
|
|
|
4619
5150
|
} else {
|
|
4620
5151
|
s3 = peg$FAILED;
|
|
4621
5152
|
if (peg$silentFails === 0) {
|
|
4622
|
-
peg$fail(peg$
|
|
5153
|
+
peg$fail(peg$e60);
|
|
4623
5154
|
}
|
|
4624
5155
|
}
|
|
4625
5156
|
if (s3 !== peg$FAILED) {
|
|
4626
5157
|
peg$savedPos = s0;
|
|
4627
|
-
s0 = peg$
|
|
5158
|
+
s0 = peg$f84(s3);
|
|
4628
5159
|
} else {
|
|
4629
5160
|
peg$currPos = s0;
|
|
4630
5161
|
s0 = peg$FAILED;
|
|
@@ -4640,19 +5171,19 @@ function peg$parse(input, options) {
|
|
|
4640
5171
|
if (s0 === peg$FAILED) {
|
|
4641
5172
|
s0 = peg$currPos;
|
|
4642
5173
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4643
|
-
s1 = peg$
|
|
5174
|
+
s1 = peg$c59;
|
|
4644
5175
|
peg$currPos++;
|
|
4645
5176
|
} else {
|
|
4646
5177
|
s1 = peg$FAILED;
|
|
4647
5178
|
if (peg$silentFails === 0) {
|
|
4648
|
-
peg$fail(peg$
|
|
5179
|
+
peg$fail(peg$e65);
|
|
4649
5180
|
}
|
|
4650
5181
|
}
|
|
4651
5182
|
if (s1 !== peg$FAILED) {
|
|
4652
5183
|
s2 = peg$parseEscapeSequence();
|
|
4653
5184
|
if (s2 !== peg$FAILED) {
|
|
4654
5185
|
peg$savedPos = s0;
|
|
4655
|
-
s0 = peg$
|
|
5186
|
+
s0 = peg$f85(s2);
|
|
4656
5187
|
} else {
|
|
4657
5188
|
peg$currPos = s0;
|
|
4658
5189
|
s0 = peg$FAILED;
|
|
@@ -4670,12 +5201,12 @@ function peg$parse(input, options) {
|
|
|
4670
5201
|
s1 = peg$currPos;
|
|
4671
5202
|
peg$silentFails++;
|
|
4672
5203
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4673
|
-
s2 = peg$
|
|
5204
|
+
s2 = peg$c58;
|
|
4674
5205
|
peg$currPos++;
|
|
4675
5206
|
} else {
|
|
4676
5207
|
s2 = peg$FAILED;
|
|
4677
5208
|
if (peg$silentFails === 0) {
|
|
4678
|
-
peg$fail(peg$
|
|
5209
|
+
peg$fail(peg$e64);
|
|
4679
5210
|
}
|
|
4680
5211
|
}
|
|
4681
5212
|
peg$silentFails--;
|
|
@@ -4689,12 +5220,12 @@ function peg$parse(input, options) {
|
|
|
4689
5220
|
s2 = peg$currPos;
|
|
4690
5221
|
peg$silentFails++;
|
|
4691
5222
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4692
|
-
s3 = peg$
|
|
5223
|
+
s3 = peg$c59;
|
|
4693
5224
|
peg$currPos++;
|
|
4694
5225
|
} else {
|
|
4695
5226
|
s3 = peg$FAILED;
|
|
4696
5227
|
if (peg$silentFails === 0) {
|
|
4697
|
-
peg$fail(peg$
|
|
5228
|
+
peg$fail(peg$e65);
|
|
4698
5229
|
}
|
|
4699
5230
|
}
|
|
4700
5231
|
peg$silentFails--;
|
|
@@ -4711,12 +5242,12 @@ function peg$parse(input, options) {
|
|
|
4711
5242
|
} else {
|
|
4712
5243
|
s3 = peg$FAILED;
|
|
4713
5244
|
if (peg$silentFails === 0) {
|
|
4714
|
-
peg$fail(peg$
|
|
5245
|
+
peg$fail(peg$e60);
|
|
4715
5246
|
}
|
|
4716
5247
|
}
|
|
4717
5248
|
if (s3 !== peg$FAILED) {
|
|
4718
5249
|
peg$savedPos = s0;
|
|
4719
|
-
s0 = peg$
|
|
5250
|
+
s0 = peg$f86(s3);
|
|
4720
5251
|
} else {
|
|
4721
5252
|
peg$currPos = s0;
|
|
4722
5253
|
s0 = peg$FAILED;
|
|
@@ -4732,19 +5263,19 @@ function peg$parse(input, options) {
|
|
|
4732
5263
|
if (s0 === peg$FAILED) {
|
|
4733
5264
|
s0 = peg$currPos;
|
|
4734
5265
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4735
|
-
s1 = peg$
|
|
5266
|
+
s1 = peg$c59;
|
|
4736
5267
|
peg$currPos++;
|
|
4737
5268
|
} else {
|
|
4738
5269
|
s1 = peg$FAILED;
|
|
4739
5270
|
if (peg$silentFails === 0) {
|
|
4740
|
-
peg$fail(peg$
|
|
5271
|
+
peg$fail(peg$e65);
|
|
4741
5272
|
}
|
|
4742
5273
|
}
|
|
4743
5274
|
if (s1 !== peg$FAILED) {
|
|
4744
5275
|
s2 = peg$parseEscapeSequence();
|
|
4745
5276
|
if (s2 !== peg$FAILED) {
|
|
4746
5277
|
peg$savedPos = s0;
|
|
4747
|
-
s0 = peg$
|
|
5278
|
+
s0 = peg$f87(s2);
|
|
4748
5279
|
} else {
|
|
4749
5280
|
peg$currPos = s0;
|
|
4750
5281
|
s0 = peg$FAILED;
|
|
@@ -4760,97 +5291,97 @@ function peg$parse(input, options) {
|
|
|
4760
5291
|
let s0, s1;
|
|
4761
5292
|
s0 = peg$currPos;
|
|
4762
5293
|
if (input.charCodeAt(peg$currPos) === 110) {
|
|
4763
|
-
s1 = peg$
|
|
5294
|
+
s1 = peg$c60;
|
|
4764
5295
|
peg$currPos++;
|
|
4765
5296
|
} else {
|
|
4766
5297
|
s1 = peg$FAILED;
|
|
4767
5298
|
if (peg$silentFails === 0) {
|
|
4768
|
-
peg$fail(peg$
|
|
5299
|
+
peg$fail(peg$e66);
|
|
4769
5300
|
}
|
|
4770
5301
|
}
|
|
4771
5302
|
if (s1 !== peg$FAILED) {
|
|
4772
5303
|
peg$savedPos = s0;
|
|
4773
|
-
s1 = peg$
|
|
5304
|
+
s1 = peg$f88();
|
|
4774
5305
|
}
|
|
4775
5306
|
s0 = s1;
|
|
4776
5307
|
if (s0 === peg$FAILED) {
|
|
4777
5308
|
s0 = peg$currPos;
|
|
4778
5309
|
if (input.charCodeAt(peg$currPos) === 114) {
|
|
4779
|
-
s1 = peg$
|
|
5310
|
+
s1 = peg$c61;
|
|
4780
5311
|
peg$currPos++;
|
|
4781
5312
|
} else {
|
|
4782
5313
|
s1 = peg$FAILED;
|
|
4783
5314
|
if (peg$silentFails === 0) {
|
|
4784
|
-
peg$fail(peg$
|
|
5315
|
+
peg$fail(peg$e67);
|
|
4785
5316
|
}
|
|
4786
5317
|
}
|
|
4787
5318
|
if (s1 !== peg$FAILED) {
|
|
4788
5319
|
peg$savedPos = s0;
|
|
4789
|
-
s1 = peg$
|
|
5320
|
+
s1 = peg$f89();
|
|
4790
5321
|
}
|
|
4791
5322
|
s0 = s1;
|
|
4792
5323
|
if (s0 === peg$FAILED) {
|
|
4793
5324
|
s0 = peg$currPos;
|
|
4794
5325
|
if (input.charCodeAt(peg$currPos) === 116) {
|
|
4795
|
-
s1 = peg$
|
|
5326
|
+
s1 = peg$c62;
|
|
4796
5327
|
peg$currPos++;
|
|
4797
5328
|
} else {
|
|
4798
5329
|
s1 = peg$FAILED;
|
|
4799
5330
|
if (peg$silentFails === 0) {
|
|
4800
|
-
peg$fail(peg$
|
|
5331
|
+
peg$fail(peg$e68);
|
|
4801
5332
|
}
|
|
4802
5333
|
}
|
|
4803
5334
|
if (s1 !== peg$FAILED) {
|
|
4804
5335
|
peg$savedPos = s0;
|
|
4805
|
-
s1 = peg$
|
|
5336
|
+
s1 = peg$f90();
|
|
4806
5337
|
}
|
|
4807
5338
|
s0 = s1;
|
|
4808
5339
|
if (s0 === peg$FAILED) {
|
|
4809
5340
|
s0 = peg$currPos;
|
|
4810
5341
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4811
|
-
s1 = peg$
|
|
5342
|
+
s1 = peg$c59;
|
|
4812
5343
|
peg$currPos++;
|
|
4813
5344
|
} else {
|
|
4814
5345
|
s1 = peg$FAILED;
|
|
4815
5346
|
if (peg$silentFails === 0) {
|
|
4816
|
-
peg$fail(peg$
|
|
5347
|
+
peg$fail(peg$e65);
|
|
4817
5348
|
}
|
|
4818
5349
|
}
|
|
4819
5350
|
if (s1 !== peg$FAILED) {
|
|
4820
5351
|
peg$savedPos = s0;
|
|
4821
|
-
s1 = peg$
|
|
5352
|
+
s1 = peg$f91();
|
|
4822
5353
|
}
|
|
4823
5354
|
s0 = s1;
|
|
4824
5355
|
if (s0 === peg$FAILED) {
|
|
4825
5356
|
s0 = peg$currPos;
|
|
4826
5357
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4827
|
-
s1 = peg$
|
|
5358
|
+
s1 = peg$c57;
|
|
4828
5359
|
peg$currPos++;
|
|
4829
5360
|
} else {
|
|
4830
5361
|
s1 = peg$FAILED;
|
|
4831
5362
|
if (peg$silentFails === 0) {
|
|
4832
|
-
peg$fail(peg$
|
|
5363
|
+
peg$fail(peg$e63);
|
|
4833
5364
|
}
|
|
4834
5365
|
}
|
|
4835
5366
|
if (s1 !== peg$FAILED) {
|
|
4836
5367
|
peg$savedPos = s0;
|
|
4837
|
-
s1 = peg$
|
|
5368
|
+
s1 = peg$f92();
|
|
4838
5369
|
}
|
|
4839
5370
|
s0 = s1;
|
|
4840
5371
|
if (s0 === peg$FAILED) {
|
|
4841
5372
|
s0 = peg$currPos;
|
|
4842
5373
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4843
|
-
s1 = peg$
|
|
5374
|
+
s1 = peg$c58;
|
|
4844
5375
|
peg$currPos++;
|
|
4845
5376
|
} else {
|
|
4846
5377
|
s1 = peg$FAILED;
|
|
4847
5378
|
if (peg$silentFails === 0) {
|
|
4848
|
-
peg$fail(peg$
|
|
5379
|
+
peg$fail(peg$e64);
|
|
4849
5380
|
}
|
|
4850
5381
|
}
|
|
4851
5382
|
if (s1 !== peg$FAILED) {
|
|
4852
5383
|
peg$savedPos = s0;
|
|
4853
|
-
s1 = peg$
|
|
5384
|
+
s1 = peg$f93();
|
|
4854
5385
|
}
|
|
4855
5386
|
s0 = s1;
|
|
4856
5387
|
}
|
|
@@ -4865,12 +5396,12 @@ function peg$parse(input, options) {
|
|
|
4865
5396
|
peg$silentFails++;
|
|
4866
5397
|
s0 = peg$currPos;
|
|
4867
5398
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
4868
|
-
s1 = peg$
|
|
5399
|
+
s1 = peg$c63;
|
|
4869
5400
|
peg$currPos++;
|
|
4870
5401
|
} else {
|
|
4871
5402
|
s1 = peg$FAILED;
|
|
4872
5403
|
if (peg$silentFails === 0) {
|
|
4873
|
-
peg$fail(peg$
|
|
5404
|
+
peg$fail(peg$e70);
|
|
4874
5405
|
}
|
|
4875
5406
|
}
|
|
4876
5407
|
if (s1 === peg$FAILED) {
|
|
@@ -4878,24 +5409,24 @@ function peg$parse(input, options) {
|
|
|
4878
5409
|
}
|
|
4879
5410
|
s2 = [];
|
|
4880
5411
|
s3 = input.charAt(peg$currPos);
|
|
4881
|
-
if (peg$
|
|
5412
|
+
if (peg$r0.test(s3)) {
|
|
4882
5413
|
peg$currPos++;
|
|
4883
5414
|
} else {
|
|
4884
5415
|
s3 = peg$FAILED;
|
|
4885
5416
|
if (peg$silentFails === 0) {
|
|
4886
|
-
peg$fail(peg$
|
|
5417
|
+
peg$fail(peg$e55);
|
|
4887
5418
|
}
|
|
4888
5419
|
}
|
|
4889
5420
|
if (s3 !== peg$FAILED) {
|
|
4890
5421
|
while (s3 !== peg$FAILED) {
|
|
4891
5422
|
s2.push(s3);
|
|
4892
5423
|
s3 = input.charAt(peg$currPos);
|
|
4893
|
-
if (peg$
|
|
5424
|
+
if (peg$r0.test(s3)) {
|
|
4894
5425
|
peg$currPos++;
|
|
4895
5426
|
} else {
|
|
4896
5427
|
s3 = peg$FAILED;
|
|
4897
5428
|
if (peg$silentFails === 0) {
|
|
4898
|
-
peg$fail(peg$
|
|
5429
|
+
peg$fail(peg$e55);
|
|
4899
5430
|
}
|
|
4900
5431
|
}
|
|
4901
5432
|
}
|
|
@@ -4905,35 +5436,35 @@ function peg$parse(input, options) {
|
|
|
4905
5436
|
if (s2 !== peg$FAILED) {
|
|
4906
5437
|
s3 = peg$currPos;
|
|
4907
5438
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4908
|
-
s4 = peg$
|
|
5439
|
+
s4 = peg$c64;
|
|
4909
5440
|
peg$currPos++;
|
|
4910
5441
|
} else {
|
|
4911
5442
|
s4 = peg$FAILED;
|
|
4912
5443
|
if (peg$silentFails === 0) {
|
|
4913
|
-
peg$fail(peg$
|
|
5444
|
+
peg$fail(peg$e71);
|
|
4914
5445
|
}
|
|
4915
5446
|
}
|
|
4916
5447
|
if (s4 !== peg$FAILED) {
|
|
4917
5448
|
s5 = [];
|
|
4918
5449
|
s6 = input.charAt(peg$currPos);
|
|
4919
|
-
if (peg$
|
|
5450
|
+
if (peg$r0.test(s6)) {
|
|
4920
5451
|
peg$currPos++;
|
|
4921
5452
|
} else {
|
|
4922
5453
|
s6 = peg$FAILED;
|
|
4923
5454
|
if (peg$silentFails === 0) {
|
|
4924
|
-
peg$fail(peg$
|
|
5455
|
+
peg$fail(peg$e55);
|
|
4925
5456
|
}
|
|
4926
5457
|
}
|
|
4927
5458
|
if (s6 !== peg$FAILED) {
|
|
4928
5459
|
while (s6 !== peg$FAILED) {
|
|
4929
5460
|
s5.push(s6);
|
|
4930
5461
|
s6 = input.charAt(peg$currPos);
|
|
4931
|
-
if (peg$
|
|
5462
|
+
if (peg$r0.test(s6)) {
|
|
4932
5463
|
peg$currPos++;
|
|
4933
5464
|
} else {
|
|
4934
5465
|
s6 = peg$FAILED;
|
|
4935
5466
|
if (peg$silentFails === 0) {
|
|
4936
|
-
peg$fail(peg$
|
|
5467
|
+
peg$fail(peg$e55);
|
|
4937
5468
|
}
|
|
4938
5469
|
}
|
|
4939
5470
|
}
|
|
@@ -4955,7 +5486,7 @@ function peg$parse(input, options) {
|
|
|
4955
5486
|
s3 = null;
|
|
4956
5487
|
}
|
|
4957
5488
|
peg$savedPos = s0;
|
|
4958
|
-
s0 = peg$
|
|
5489
|
+
s0 = peg$f94(s1, s2, s3);
|
|
4959
5490
|
} else {
|
|
4960
5491
|
peg$currPos = s0;
|
|
4961
5492
|
s0 = peg$FAILED;
|
|
@@ -4964,7 +5495,7 @@ function peg$parse(input, options) {
|
|
|
4964
5495
|
if (s0 === peg$FAILED) {
|
|
4965
5496
|
s1 = peg$FAILED;
|
|
4966
5497
|
if (peg$silentFails === 0) {
|
|
4967
|
-
peg$fail(peg$
|
|
5498
|
+
peg$fail(peg$e69);
|
|
4968
5499
|
}
|
|
4969
5500
|
}
|
|
4970
5501
|
return s0;
|
|
@@ -4974,12 +5505,12 @@ function peg$parse(input, options) {
|
|
|
4974
5505
|
peg$silentFails++;
|
|
4975
5506
|
s0 = peg$currPos;
|
|
4976
5507
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
4977
|
-
s1 = peg$
|
|
5508
|
+
s1 = peg$c63;
|
|
4978
5509
|
peg$currPos++;
|
|
4979
5510
|
} else {
|
|
4980
5511
|
s1 = peg$FAILED;
|
|
4981
5512
|
if (peg$silentFails === 0) {
|
|
4982
|
-
peg$fail(peg$
|
|
5513
|
+
peg$fail(peg$e70);
|
|
4983
5514
|
}
|
|
4984
5515
|
}
|
|
4985
5516
|
if (s1 === peg$FAILED) {
|
|
@@ -4987,24 +5518,24 @@ function peg$parse(input, options) {
|
|
|
4987
5518
|
}
|
|
4988
5519
|
s2 = [];
|
|
4989
5520
|
s3 = input.charAt(peg$currPos);
|
|
4990
|
-
if (peg$
|
|
5521
|
+
if (peg$r0.test(s3)) {
|
|
4991
5522
|
peg$currPos++;
|
|
4992
5523
|
} else {
|
|
4993
5524
|
s3 = peg$FAILED;
|
|
4994
5525
|
if (peg$silentFails === 0) {
|
|
4995
|
-
peg$fail(peg$
|
|
5526
|
+
peg$fail(peg$e55);
|
|
4996
5527
|
}
|
|
4997
5528
|
}
|
|
4998
5529
|
if (s3 !== peg$FAILED) {
|
|
4999
5530
|
while (s3 !== peg$FAILED) {
|
|
5000
5531
|
s2.push(s3);
|
|
5001
5532
|
s3 = input.charAt(peg$currPos);
|
|
5002
|
-
if (peg$
|
|
5533
|
+
if (peg$r0.test(s3)) {
|
|
5003
5534
|
peg$currPos++;
|
|
5004
5535
|
} else {
|
|
5005
5536
|
s3 = peg$FAILED;
|
|
5006
5537
|
if (peg$silentFails === 0) {
|
|
5007
|
-
peg$fail(peg$
|
|
5538
|
+
peg$fail(peg$e55);
|
|
5008
5539
|
}
|
|
5009
5540
|
}
|
|
5010
5541
|
}
|
|
@@ -5014,35 +5545,35 @@ function peg$parse(input, options) {
|
|
|
5014
5545
|
if (s2 !== peg$FAILED) {
|
|
5015
5546
|
s3 = peg$currPos;
|
|
5016
5547
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
5017
|
-
s4 = peg$
|
|
5548
|
+
s4 = peg$c64;
|
|
5018
5549
|
peg$currPos++;
|
|
5019
5550
|
} else {
|
|
5020
5551
|
s4 = peg$FAILED;
|
|
5021
5552
|
if (peg$silentFails === 0) {
|
|
5022
|
-
peg$fail(peg$
|
|
5553
|
+
peg$fail(peg$e71);
|
|
5023
5554
|
}
|
|
5024
5555
|
}
|
|
5025
5556
|
if (s4 !== peg$FAILED) {
|
|
5026
5557
|
s5 = [];
|
|
5027
5558
|
s6 = input.charAt(peg$currPos);
|
|
5028
|
-
if (peg$
|
|
5559
|
+
if (peg$r0.test(s6)) {
|
|
5029
5560
|
peg$currPos++;
|
|
5030
5561
|
} else {
|
|
5031
5562
|
s6 = peg$FAILED;
|
|
5032
5563
|
if (peg$silentFails === 0) {
|
|
5033
|
-
peg$fail(peg$
|
|
5564
|
+
peg$fail(peg$e55);
|
|
5034
5565
|
}
|
|
5035
5566
|
}
|
|
5036
5567
|
if (s6 !== peg$FAILED) {
|
|
5037
5568
|
while (s6 !== peg$FAILED) {
|
|
5038
5569
|
s5.push(s6);
|
|
5039
5570
|
s6 = input.charAt(peg$currPos);
|
|
5040
|
-
if (peg$
|
|
5571
|
+
if (peg$r0.test(s6)) {
|
|
5041
5572
|
peg$currPos++;
|
|
5042
5573
|
} else {
|
|
5043
5574
|
s6 = peg$FAILED;
|
|
5044
5575
|
if (peg$silentFails === 0) {
|
|
5045
|
-
peg$fail(peg$
|
|
5576
|
+
peg$fail(peg$e55);
|
|
5046
5577
|
}
|
|
5047
5578
|
}
|
|
5048
5579
|
}
|
|
@@ -5063,63 +5594,63 @@ function peg$parse(input, options) {
|
|
|
5063
5594
|
if (s3 === peg$FAILED) {
|
|
5064
5595
|
s3 = null;
|
|
5065
5596
|
}
|
|
5066
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5067
|
-
s4 = peg$
|
|
5597
|
+
if (input.substr(peg$currPos, 2) === peg$c65) {
|
|
5598
|
+
s4 = peg$c65;
|
|
5068
5599
|
peg$currPos += 2;
|
|
5069
5600
|
} else {
|
|
5070
5601
|
s4 = peg$FAILED;
|
|
5071
5602
|
if (peg$silentFails === 0) {
|
|
5072
|
-
peg$fail(peg$
|
|
5603
|
+
peg$fail(peg$e73);
|
|
5073
5604
|
}
|
|
5074
5605
|
}
|
|
5075
5606
|
if (s4 === peg$FAILED) {
|
|
5076
5607
|
if (input.charCodeAt(peg$currPos) === 37) {
|
|
5077
|
-
s4 = peg$
|
|
5608
|
+
s4 = peg$c66;
|
|
5078
5609
|
peg$currPos++;
|
|
5079
5610
|
} else {
|
|
5080
5611
|
s4 = peg$FAILED;
|
|
5081
5612
|
if (peg$silentFails === 0) {
|
|
5082
|
-
peg$fail(peg$
|
|
5613
|
+
peg$fail(peg$e74);
|
|
5083
5614
|
}
|
|
5084
5615
|
}
|
|
5085
5616
|
if (s4 === peg$FAILED) {
|
|
5086
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5087
|
-
s4 = peg$
|
|
5617
|
+
if (input.substr(peg$currPos, 2) === peg$c67) {
|
|
5618
|
+
s4 = peg$c67;
|
|
5088
5619
|
peg$currPos += 2;
|
|
5089
5620
|
} else {
|
|
5090
5621
|
s4 = peg$FAILED;
|
|
5091
5622
|
if (peg$silentFails === 0) {
|
|
5092
|
-
peg$fail(peg$
|
|
5623
|
+
peg$fail(peg$e75);
|
|
5093
5624
|
}
|
|
5094
5625
|
}
|
|
5095
5626
|
if (s4 === peg$FAILED) {
|
|
5096
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
5097
|
-
s4 = peg$
|
|
5627
|
+
if (input.substr(peg$currPos, 3) === peg$c68) {
|
|
5628
|
+
s4 = peg$c68;
|
|
5098
5629
|
peg$currPos += 3;
|
|
5099
5630
|
} else {
|
|
5100
5631
|
s4 = peg$FAILED;
|
|
5101
5632
|
if (peg$silentFails === 0) {
|
|
5102
|
-
peg$fail(peg$
|
|
5633
|
+
peg$fail(peg$e76);
|
|
5103
5634
|
}
|
|
5104
5635
|
}
|
|
5105
5636
|
if (s4 === peg$FAILED) {
|
|
5106
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5107
|
-
s4 = peg$
|
|
5637
|
+
if (input.substr(peg$currPos, 2) === peg$c69) {
|
|
5638
|
+
s4 = peg$c69;
|
|
5108
5639
|
peg$currPos += 2;
|
|
5109
5640
|
} else {
|
|
5110
5641
|
s4 = peg$FAILED;
|
|
5111
5642
|
if (peg$silentFails === 0) {
|
|
5112
|
-
peg$fail(peg$
|
|
5643
|
+
peg$fail(peg$e77);
|
|
5113
5644
|
}
|
|
5114
5645
|
}
|
|
5115
5646
|
if (s4 === peg$FAILED) {
|
|
5116
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5117
|
-
s4 = peg$
|
|
5647
|
+
if (input.substr(peg$currPos, 2) === peg$c70) {
|
|
5648
|
+
s4 = peg$c70;
|
|
5118
5649
|
peg$currPos += 2;
|
|
5119
5650
|
} else {
|
|
5120
5651
|
s4 = peg$FAILED;
|
|
5121
5652
|
if (peg$silentFails === 0) {
|
|
5122
|
-
peg$fail(peg$
|
|
5653
|
+
peg$fail(peg$e78);
|
|
5123
5654
|
}
|
|
5124
5655
|
}
|
|
5125
5656
|
}
|
|
@@ -5129,7 +5660,7 @@ function peg$parse(input, options) {
|
|
|
5129
5660
|
}
|
|
5130
5661
|
if (s4 !== peg$FAILED) {
|
|
5131
5662
|
peg$savedPos = s0;
|
|
5132
|
-
s0 = peg$
|
|
5663
|
+
s0 = peg$f95(s1, s2, s3, s4);
|
|
5133
5664
|
} else {
|
|
5134
5665
|
peg$currPos = s0;
|
|
5135
5666
|
s0 = peg$FAILED;
|
|
@@ -5142,7 +5673,7 @@ function peg$parse(input, options) {
|
|
|
5142
5673
|
if (s0 === peg$FAILED) {
|
|
5143
5674
|
s1 = peg$FAILED;
|
|
5144
5675
|
if (peg$silentFails === 0) {
|
|
5145
|
-
peg$fail(peg$
|
|
5676
|
+
peg$fail(peg$e72);
|
|
5146
5677
|
}
|
|
5147
5678
|
}
|
|
5148
5679
|
return s0;
|
|
@@ -5151,34 +5682,34 @@ function peg$parse(input, options) {
|
|
|
5151
5682
|
let s0, s1;
|
|
5152
5683
|
peg$silentFails++;
|
|
5153
5684
|
s0 = peg$currPos;
|
|
5154
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
5155
|
-
s1 = peg$
|
|
5685
|
+
if (input.substr(peg$currPos, 4) === peg$c71) {
|
|
5686
|
+
s1 = peg$c71;
|
|
5156
5687
|
peg$currPos += 4;
|
|
5157
5688
|
} else {
|
|
5158
5689
|
s1 = peg$FAILED;
|
|
5159
5690
|
if (peg$silentFails === 0) {
|
|
5160
|
-
peg$fail(peg$
|
|
5691
|
+
peg$fail(peg$e80);
|
|
5161
5692
|
}
|
|
5162
5693
|
}
|
|
5163
5694
|
if (s1 !== peg$FAILED) {
|
|
5164
5695
|
peg$savedPos = s0;
|
|
5165
|
-
s1 = peg$
|
|
5696
|
+
s1 = peg$f96();
|
|
5166
5697
|
}
|
|
5167
5698
|
s0 = s1;
|
|
5168
5699
|
if (s0 === peg$FAILED) {
|
|
5169
5700
|
s0 = peg$currPos;
|
|
5170
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
5171
|
-
s1 = peg$
|
|
5701
|
+
if (input.substr(peg$currPos, 5) === peg$c72) {
|
|
5702
|
+
s1 = peg$c72;
|
|
5172
5703
|
peg$currPos += 5;
|
|
5173
5704
|
} else {
|
|
5174
5705
|
s1 = peg$FAILED;
|
|
5175
5706
|
if (peg$silentFails === 0) {
|
|
5176
|
-
peg$fail(peg$
|
|
5707
|
+
peg$fail(peg$e81);
|
|
5177
5708
|
}
|
|
5178
5709
|
}
|
|
5179
5710
|
if (s1 !== peg$FAILED) {
|
|
5180
5711
|
peg$savedPos = s0;
|
|
5181
|
-
s1 = peg$
|
|
5712
|
+
s1 = peg$f97();
|
|
5182
5713
|
}
|
|
5183
5714
|
s0 = s1;
|
|
5184
5715
|
}
|
|
@@ -5186,7 +5717,7 @@ function peg$parse(input, options) {
|
|
|
5186
5717
|
if (s0 === peg$FAILED) {
|
|
5187
5718
|
s1 = peg$FAILED;
|
|
5188
5719
|
if (peg$silentFails === 0) {
|
|
5189
|
-
peg$fail(peg$
|
|
5720
|
+
peg$fail(peg$e79);
|
|
5190
5721
|
}
|
|
5191
5722
|
}
|
|
5192
5723
|
return s0;
|
|
@@ -5201,34 +5732,34 @@ function peg$parse(input, options) {
|
|
|
5201
5732
|
} else {
|
|
5202
5733
|
s1 = peg$FAILED;
|
|
5203
5734
|
if (peg$silentFails === 0) {
|
|
5204
|
-
peg$fail(peg$
|
|
5735
|
+
peg$fail(peg$e83);
|
|
5205
5736
|
}
|
|
5206
5737
|
}
|
|
5207
5738
|
if (s1 !== peg$FAILED) {
|
|
5208
5739
|
s2 = [];
|
|
5209
5740
|
s3 = input.charAt(peg$currPos);
|
|
5210
|
-
if (peg$
|
|
5741
|
+
if (peg$r2.test(s3)) {
|
|
5211
5742
|
peg$currPos++;
|
|
5212
5743
|
} else {
|
|
5213
5744
|
s3 = peg$FAILED;
|
|
5214
5745
|
if (peg$silentFails === 0) {
|
|
5215
|
-
peg$fail(peg$
|
|
5746
|
+
peg$fail(peg$e61);
|
|
5216
5747
|
}
|
|
5217
5748
|
}
|
|
5218
5749
|
while (s3 !== peg$FAILED) {
|
|
5219
5750
|
s2.push(s3);
|
|
5220
5751
|
s3 = input.charAt(peg$currPos);
|
|
5221
|
-
if (peg$
|
|
5752
|
+
if (peg$r2.test(s3)) {
|
|
5222
5753
|
peg$currPos++;
|
|
5223
5754
|
} else {
|
|
5224
5755
|
s3 = peg$FAILED;
|
|
5225
5756
|
if (peg$silentFails === 0) {
|
|
5226
|
-
peg$fail(peg$
|
|
5757
|
+
peg$fail(peg$e61);
|
|
5227
5758
|
}
|
|
5228
5759
|
}
|
|
5229
5760
|
}
|
|
5230
5761
|
peg$savedPos = s0;
|
|
5231
|
-
s0 = peg$
|
|
5762
|
+
s0 = peg$f98(s1, s2);
|
|
5232
5763
|
} else {
|
|
5233
5764
|
peg$currPos = s0;
|
|
5234
5765
|
s0 = peg$FAILED;
|
|
@@ -5237,7 +5768,7 @@ function peg$parse(input, options) {
|
|
|
5237
5768
|
if (s0 === peg$FAILED) {
|
|
5238
5769
|
s1 = peg$FAILED;
|
|
5239
5770
|
if (peg$silentFails === 0) {
|
|
5240
|
-
peg$fail(peg$
|
|
5771
|
+
peg$fail(peg$e82);
|
|
5241
5772
|
}
|
|
5242
5773
|
}
|
|
5243
5774
|
return s0;
|
|
@@ -5246,12 +5777,12 @@ function peg$parse(input, options) {
|
|
|
5246
5777
|
let s0, s1, s2, s3, s4, s5;
|
|
5247
5778
|
s0 = peg$currPos;
|
|
5248
5779
|
if (input.charCodeAt(peg$currPos) === 91) {
|
|
5249
|
-
s1 = peg$
|
|
5780
|
+
s1 = peg$c33;
|
|
5250
5781
|
peg$currPos++;
|
|
5251
5782
|
} else {
|
|
5252
5783
|
s1 = peg$FAILED;
|
|
5253
5784
|
if (peg$silentFails === 0) {
|
|
5254
|
-
peg$fail(peg$
|
|
5785
|
+
peg$fail(peg$e33);
|
|
5255
5786
|
}
|
|
5256
5787
|
}
|
|
5257
5788
|
if (s1 !== peg$FAILED) {
|
|
@@ -5262,17 +5793,17 @@ function peg$parse(input, options) {
|
|
|
5262
5793
|
}
|
|
5263
5794
|
s4 = peg$parse_();
|
|
5264
5795
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
5265
|
-
s5 = peg$
|
|
5796
|
+
s5 = peg$c35;
|
|
5266
5797
|
peg$currPos++;
|
|
5267
5798
|
} else {
|
|
5268
5799
|
s5 = peg$FAILED;
|
|
5269
5800
|
if (peg$silentFails === 0) {
|
|
5270
|
-
peg$fail(peg$
|
|
5801
|
+
peg$fail(peg$e35);
|
|
5271
5802
|
}
|
|
5272
5803
|
}
|
|
5273
5804
|
if (s5 !== peg$FAILED) {
|
|
5274
5805
|
peg$savedPos = s0;
|
|
5275
|
-
s0 = peg$
|
|
5806
|
+
s0 = peg$f99(s3);
|
|
5276
5807
|
} else {
|
|
5277
5808
|
peg$currPos = s0;
|
|
5278
5809
|
s0 = peg$FAILED;
|
|
@@ -5292,12 +5823,12 @@ function peg$parse(input, options) {
|
|
|
5292
5823
|
s3 = peg$currPos;
|
|
5293
5824
|
s4 = peg$parse_();
|
|
5294
5825
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5295
|
-
s5 = peg$
|
|
5826
|
+
s5 = peg$c34;
|
|
5296
5827
|
peg$currPos++;
|
|
5297
5828
|
} else {
|
|
5298
5829
|
s5 = peg$FAILED;
|
|
5299
5830
|
if (peg$silentFails === 0) {
|
|
5300
|
-
peg$fail(peg$
|
|
5831
|
+
peg$fail(peg$e34);
|
|
5301
5832
|
}
|
|
5302
5833
|
}
|
|
5303
5834
|
if (s5 === peg$FAILED) {
|
|
@@ -5317,12 +5848,12 @@ function peg$parse(input, options) {
|
|
|
5317
5848
|
s3 = peg$currPos;
|
|
5318
5849
|
s4 = peg$parse_();
|
|
5319
5850
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5320
|
-
s5 = peg$
|
|
5851
|
+
s5 = peg$c34;
|
|
5321
5852
|
peg$currPos++;
|
|
5322
5853
|
} else {
|
|
5323
5854
|
s5 = peg$FAILED;
|
|
5324
5855
|
if (peg$silentFails === 0) {
|
|
5325
|
-
peg$fail(peg$
|
|
5856
|
+
peg$fail(peg$e34);
|
|
5326
5857
|
}
|
|
5327
5858
|
}
|
|
5328
5859
|
if (s5 === peg$FAILED) {
|
|
@@ -5341,12 +5872,12 @@ function peg$parse(input, options) {
|
|
|
5341
5872
|
s3 = peg$currPos;
|
|
5342
5873
|
s4 = peg$parse_();
|
|
5343
5874
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5344
|
-
s5 = peg$
|
|
5875
|
+
s5 = peg$c34;
|
|
5345
5876
|
peg$currPos++;
|
|
5346
5877
|
} else {
|
|
5347
5878
|
s5 = peg$FAILED;
|
|
5348
5879
|
if (peg$silentFails === 0) {
|
|
5349
|
-
peg$fail(peg$
|
|
5880
|
+
peg$fail(peg$e34);
|
|
5350
5881
|
}
|
|
5351
5882
|
}
|
|
5352
5883
|
if (s5 !== peg$FAILED) {
|
|
@@ -5360,7 +5891,7 @@ function peg$parse(input, options) {
|
|
|
5360
5891
|
s3 = null;
|
|
5361
5892
|
}
|
|
5362
5893
|
peg$savedPos = s0;
|
|
5363
|
-
s0 = peg$
|
|
5894
|
+
s0 = peg$f100(s1, s2);
|
|
5364
5895
|
} else {
|
|
5365
5896
|
peg$currPos = s0;
|
|
5366
5897
|
s0 = peg$FAILED;
|
|
@@ -5414,7 +5945,7 @@ function peg$parse(input, options) {
|
|
|
5414
5945
|
}
|
|
5415
5946
|
if (s5 !== peg$FAILED) {
|
|
5416
5947
|
peg$savedPos = s0;
|
|
5417
|
-
s0 = peg$
|
|
5948
|
+
s0 = peg$f101(s3);
|
|
5418
5949
|
} else {
|
|
5419
5950
|
peg$currPos = s0;
|
|
5420
5951
|
s0 = peg$FAILED;
|
|
@@ -5434,12 +5965,12 @@ function peg$parse(input, options) {
|
|
|
5434
5965
|
s3 = peg$currPos;
|
|
5435
5966
|
s4 = peg$parse_();
|
|
5436
5967
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5437
|
-
s5 = peg$
|
|
5968
|
+
s5 = peg$c34;
|
|
5438
5969
|
peg$currPos++;
|
|
5439
5970
|
} else {
|
|
5440
5971
|
s5 = peg$FAILED;
|
|
5441
5972
|
if (peg$silentFails === 0) {
|
|
5442
|
-
peg$fail(peg$
|
|
5973
|
+
peg$fail(peg$e34);
|
|
5443
5974
|
}
|
|
5444
5975
|
}
|
|
5445
5976
|
if (s5 === peg$FAILED) {
|
|
@@ -5459,12 +5990,12 @@ function peg$parse(input, options) {
|
|
|
5459
5990
|
s3 = peg$currPos;
|
|
5460
5991
|
s4 = peg$parse_();
|
|
5461
5992
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
5462
|
-
s5 = peg$
|
|
5993
|
+
s5 = peg$c34;
|
|
5463
5994
|
peg$currPos++;
|
|
5464
5995
|
} else {
|
|
5465
5996
|
s5 = peg$FAILED;
|
|
5466
5997
|
if (peg$silentFails === 0) {
|
|
5467
|
-
peg$fail(peg$
|
|
5998
|
+
peg$fail(peg$e34);
|
|
5468
5999
|
}
|
|
5469
6000
|
}
|
|
5470
6001
|
if (s5 === peg$FAILED) {
|
|
@@ -5481,7 +6012,7 @@ function peg$parse(input, options) {
|
|
|
5481
6012
|
}
|
|
5482
6013
|
}
|
|
5483
6014
|
peg$savedPos = s0;
|
|
5484
|
-
s0 = peg$
|
|
6015
|
+
s0 = peg$f102(s1, s2);
|
|
5485
6016
|
} else {
|
|
5486
6017
|
peg$currPos = s0;
|
|
5487
6018
|
s0 = peg$FAILED;
|
|
@@ -5495,12 +6026,12 @@ function peg$parse(input, options) {
|
|
|
5495
6026
|
if (s1 !== peg$FAILED) {
|
|
5496
6027
|
s2 = peg$parse_();
|
|
5497
6028
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
5498
|
-
s3 = peg$
|
|
6029
|
+
s3 = peg$c54;
|
|
5499
6030
|
peg$currPos++;
|
|
5500
6031
|
} else {
|
|
5501
6032
|
s3 = peg$FAILED;
|
|
5502
6033
|
if (peg$silentFails === 0) {
|
|
5503
|
-
peg$fail(peg$
|
|
6034
|
+
peg$fail(peg$e56);
|
|
5504
6035
|
}
|
|
5505
6036
|
}
|
|
5506
6037
|
if (s3 !== peg$FAILED) {
|
|
@@ -5508,7 +6039,7 @@ function peg$parse(input, options) {
|
|
|
5508
6039
|
s5 = peg$parseAttributeValue();
|
|
5509
6040
|
if (s5 !== peg$FAILED) {
|
|
5510
6041
|
peg$savedPos = s0;
|
|
5511
|
-
s0 = peg$
|
|
6042
|
+
s0 = peg$f103(s1, s5);
|
|
5512
6043
|
} else {
|
|
5513
6044
|
peg$currPos = s0;
|
|
5514
6045
|
s0 = peg$FAILED;
|
|
@@ -5526,7 +6057,7 @@ function peg$parse(input, options) {
|
|
|
5526
6057
|
s1 = peg$parseIdentifier();
|
|
5527
6058
|
if (s1 !== peg$FAILED) {
|
|
5528
6059
|
peg$savedPos = s0;
|
|
5529
|
-
s1 = peg$
|
|
6060
|
+
s1 = peg$f104(s1);
|
|
5530
6061
|
}
|
|
5531
6062
|
s0 = s1;
|
|
5532
6063
|
}
|
|
@@ -5559,7 +6090,7 @@ function peg$parse(input, options) {
|
|
|
5559
6090
|
} else {
|
|
5560
6091
|
s1 = peg$FAILED;
|
|
5561
6092
|
if (peg$silentFails === 0) {
|
|
5562
|
-
peg$fail(peg$
|
|
6093
|
+
peg$fail(peg$e84);
|
|
5563
6094
|
}
|
|
5564
6095
|
}
|
|
5565
6096
|
if (s1 !== peg$FAILED) {
|
|
@@ -5571,7 +6102,7 @@ function peg$parse(input, options) {
|
|
|
5571
6102
|
} else {
|
|
5572
6103
|
s1 = peg$FAILED;
|
|
5573
6104
|
if (peg$silentFails === 0) {
|
|
5574
|
-
peg$fail(peg$
|
|
6105
|
+
peg$fail(peg$e84);
|
|
5575
6106
|
}
|
|
5576
6107
|
}
|
|
5577
6108
|
}
|
|
@@ -5591,7 +6122,7 @@ function peg$parse(input, options) {
|
|
|
5591
6122
|
if (s0 === peg$FAILED) {
|
|
5592
6123
|
s1 = peg$FAILED;
|
|
5593
6124
|
if (peg$silentFails === 0) {
|
|
5594
|
-
peg$fail(peg$
|
|
6125
|
+
peg$fail(peg$e85);
|
|
5595
6126
|
}
|
|
5596
6127
|
}
|
|
5597
6128
|
return s0;
|
|
@@ -5599,13 +6130,13 @@ function peg$parse(input, options) {
|
|
|
5599
6130
|
function peg$parseLineComment() {
|
|
5600
6131
|
let s0, s1, s2, s3, s4;
|
|
5601
6132
|
s0 = peg$currPos;
|
|
5602
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5603
|
-
s1 = peg$
|
|
6133
|
+
if (input.substr(peg$currPos, 2) === peg$c55) {
|
|
6134
|
+
s1 = peg$c55;
|
|
5604
6135
|
peg$currPos += 2;
|
|
5605
6136
|
} else {
|
|
5606
6137
|
s1 = peg$FAILED;
|
|
5607
6138
|
if (peg$silentFails === 0) {
|
|
5608
|
-
peg$fail(peg$
|
|
6139
|
+
peg$fail(peg$e58);
|
|
5609
6140
|
}
|
|
5610
6141
|
}
|
|
5611
6142
|
if (s1 !== peg$FAILED) {
|
|
@@ -5616,7 +6147,7 @@ function peg$parse(input, options) {
|
|
|
5616
6147
|
} else {
|
|
5617
6148
|
s3 = peg$FAILED;
|
|
5618
6149
|
if (peg$silentFails === 0) {
|
|
5619
|
-
peg$fail(peg$
|
|
6150
|
+
peg$fail(peg$e86);
|
|
5620
6151
|
}
|
|
5621
6152
|
}
|
|
5622
6153
|
while (s3 !== peg$FAILED) {
|
|
@@ -5627,17 +6158,17 @@ function peg$parse(input, options) {
|
|
|
5627
6158
|
} else {
|
|
5628
6159
|
s3 = peg$FAILED;
|
|
5629
6160
|
if (peg$silentFails === 0) {
|
|
5630
|
-
peg$fail(peg$
|
|
6161
|
+
peg$fail(peg$e86);
|
|
5631
6162
|
}
|
|
5632
6163
|
}
|
|
5633
6164
|
}
|
|
5634
6165
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
5635
|
-
s3 = peg$
|
|
6166
|
+
s3 = peg$c73;
|
|
5636
6167
|
peg$currPos++;
|
|
5637
6168
|
} else {
|
|
5638
6169
|
s3 = peg$FAILED;
|
|
5639
6170
|
if (peg$silentFails === 0) {
|
|
5640
|
-
peg$fail(peg$
|
|
6171
|
+
peg$fail(peg$e87);
|
|
5641
6172
|
}
|
|
5642
6173
|
}
|
|
5643
6174
|
if (s3 === peg$FAILED) {
|
|
@@ -5649,7 +6180,7 @@ function peg$parse(input, options) {
|
|
|
5649
6180
|
} else {
|
|
5650
6181
|
s4 = peg$FAILED;
|
|
5651
6182
|
if (peg$silentFails === 0) {
|
|
5652
|
-
peg$fail(peg$
|
|
6183
|
+
peg$fail(peg$e60);
|
|
5653
6184
|
}
|
|
5654
6185
|
}
|
|
5655
6186
|
peg$silentFails--;
|
|
@@ -5676,13 +6207,13 @@ function peg$parse(input, options) {
|
|
|
5676
6207
|
function peg$parseBlockComment() {
|
|
5677
6208
|
let s0, s1, s2, s3, s4, s5;
|
|
5678
6209
|
s0 = peg$currPos;
|
|
5679
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5680
|
-
s1 = peg$
|
|
6210
|
+
if (input.substr(peg$currPos, 2) === peg$c56) {
|
|
6211
|
+
s1 = peg$c56;
|
|
5681
6212
|
peg$currPos += 2;
|
|
5682
6213
|
} else {
|
|
5683
6214
|
s1 = peg$FAILED;
|
|
5684
6215
|
if (peg$silentFails === 0) {
|
|
5685
|
-
peg$fail(peg$
|
|
6216
|
+
peg$fail(peg$e59);
|
|
5686
6217
|
}
|
|
5687
6218
|
}
|
|
5688
6219
|
if (s1 !== peg$FAILED) {
|
|
@@ -5690,13 +6221,13 @@ function peg$parse(input, options) {
|
|
|
5690
6221
|
s3 = peg$currPos;
|
|
5691
6222
|
s4 = peg$currPos;
|
|
5692
6223
|
peg$silentFails++;
|
|
5693
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5694
|
-
s5 = peg$
|
|
6224
|
+
if (input.substr(peg$currPos, 2) === peg$c74) {
|
|
6225
|
+
s5 = peg$c74;
|
|
5695
6226
|
peg$currPos += 2;
|
|
5696
6227
|
} else {
|
|
5697
6228
|
s5 = peg$FAILED;
|
|
5698
6229
|
if (peg$silentFails === 0) {
|
|
5699
|
-
peg$fail(peg$
|
|
6230
|
+
peg$fail(peg$e88);
|
|
5700
6231
|
}
|
|
5701
6232
|
}
|
|
5702
6233
|
peg$silentFails--;
|
|
@@ -5713,7 +6244,7 @@ function peg$parse(input, options) {
|
|
|
5713
6244
|
} else {
|
|
5714
6245
|
s5 = peg$FAILED;
|
|
5715
6246
|
if (peg$silentFails === 0) {
|
|
5716
|
-
peg$fail(peg$
|
|
6247
|
+
peg$fail(peg$e60);
|
|
5717
6248
|
}
|
|
5718
6249
|
}
|
|
5719
6250
|
if (s5 !== peg$FAILED) {
|
|
@@ -5732,13 +6263,13 @@ function peg$parse(input, options) {
|
|
|
5732
6263
|
s3 = peg$currPos;
|
|
5733
6264
|
s4 = peg$currPos;
|
|
5734
6265
|
peg$silentFails++;
|
|
5735
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5736
|
-
s5 = peg$
|
|
6266
|
+
if (input.substr(peg$currPos, 2) === peg$c74) {
|
|
6267
|
+
s5 = peg$c74;
|
|
5737
6268
|
peg$currPos += 2;
|
|
5738
6269
|
} else {
|
|
5739
6270
|
s5 = peg$FAILED;
|
|
5740
6271
|
if (peg$silentFails === 0) {
|
|
5741
|
-
peg$fail(peg$
|
|
6272
|
+
peg$fail(peg$e88);
|
|
5742
6273
|
}
|
|
5743
6274
|
}
|
|
5744
6275
|
peg$silentFails--;
|
|
@@ -5755,7 +6286,7 @@ function peg$parse(input, options) {
|
|
|
5755
6286
|
} else {
|
|
5756
6287
|
s5 = peg$FAILED;
|
|
5757
6288
|
if (peg$silentFails === 0) {
|
|
5758
|
-
peg$fail(peg$
|
|
6289
|
+
peg$fail(peg$e60);
|
|
5759
6290
|
}
|
|
5760
6291
|
}
|
|
5761
6292
|
if (s5 !== peg$FAILED) {
|
|
@@ -5770,13 +6301,13 @@ function peg$parse(input, options) {
|
|
|
5770
6301
|
s3 = peg$FAILED;
|
|
5771
6302
|
}
|
|
5772
6303
|
}
|
|
5773
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5774
|
-
s3 = peg$
|
|
6304
|
+
if (input.substr(peg$currPos, 2) === peg$c74) {
|
|
6305
|
+
s3 = peg$c74;
|
|
5775
6306
|
peg$currPos += 2;
|
|
5776
6307
|
} else {
|
|
5777
6308
|
s3 = peg$FAILED;
|
|
5778
6309
|
if (peg$silentFails === 0) {
|
|
5779
|
-
peg$fail(peg$
|
|
6310
|
+
peg$fail(peg$e88);
|
|
5780
6311
|
}
|
|
5781
6312
|
}
|
|
5782
6313
|
if (s3 !== peg$FAILED) {
|