@podlite/schema 0.0.37 → 0.0.39

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.
Files changed (44) hide show
  1. package/CHANGELOG.podlite +26 -0
  2. package/README.md +61 -4
  3. package/esm/blocks-helpers.d.ts +2 -2
  4. package/esm/blocks-helpers.js +11 -4
  5. package/esm/blocks-helpers.js.map +1 -1
  6. package/esm/exportHtml.js +57 -6
  7. package/esm/exportHtml.js.map +1 -1
  8. package/esm/exportMarkdown.js +52 -6
  9. package/esm/exportMarkdown.js.map +1 -1
  10. package/esm/grammar.js +442 -215
  11. package/esm/grammar.js.map +1 -1
  12. package/esm/grammarfc.js +1819 -1459
  13. package/esm/grammarfc.js.map +1 -1
  14. package/esm/helpers/config.d.ts +1 -0
  15. package/esm/helpers/config.js +8 -0
  16. package/esm/helpers/config.js.map +1 -1
  17. package/esm/index.d.ts +2 -0
  18. package/esm/index.js +1 -0
  19. package/esm/index.js.map +1 -1
  20. package/esm/plugin-tables.d.ts +0 -3
  21. package/esm/plugin-tables.js +425 -45
  22. package/esm/plugin-tables.js.map +1 -1
  23. package/esm/selectors.d.ts +18 -0
  24. package/esm/selectors.js +158 -0
  25. package/esm/selectors.js.map +1 -0
  26. package/esm/types.d.ts +9 -7
  27. package/lib/blocks-helpers.d.ts +2 -2
  28. package/lib/blocks-helpers.js +13 -6
  29. package/lib/exportHtml.js +57 -6
  30. package/lib/exportMarkdown.js +52 -6
  31. package/lib/grammar.js +442 -215
  32. package/lib/grammarfc.js +1819 -1459
  33. package/lib/helpers/config.d.ts +1 -0
  34. package/lib/helpers/config.js +8 -0
  35. package/lib/index.d.ts +2 -0
  36. package/lib/index.js +4 -1
  37. package/lib/plugin-tables.d.ts +0 -3
  38. package/lib/plugin-tables.js +425 -45
  39. package/lib/selectors.d.ts +18 -0
  40. package/lib/selectors.js +163 -0
  41. package/lib/types.d.ts +9 -7
  42. package/package.json +2 -2
  43. package/schema/AstTree.json +6 -3
  44. package/schema/PodliteDocument.json +6 -3
package/esm/grammar.js CHANGED
@@ -113,7 +113,7 @@ function peg$parse(input, options) {
113
113
  type: 'ambient',
114
114
  location: location()
115
115
  };
116
- }, peg$c5 = /^[ \xA0\u2001\t\f\u2008]/, peg$c6 = peg$classExpectation([" ", "\xA0", "\u2001", "\t", "\f", "\u2008"], false, false), peg$c7 = /^[ \t\f]/, peg$c8 = peg$classExpectation([" ", "\t", "\f"], false, false), peg$c9 = /^[\n\r]/, peg$c10 = peg$classExpectation(["\n", "\r"], false, false), peg$c11 = function (text) { return text; }, peg$c12 = /^[^\n\r]/, peg$c13 = peg$classExpectation(["\n", "\r"], true, false), peg$c14 = "\n", peg$c15 = peg$literalExpectation("\n", false), peg$c16 = "\r", peg$c17 = peg$literalExpectation("\r", false), peg$c18 = function () { return { type: 'blankline' }; }, peg$c19 = "=begin ", peg$c20 = peg$literalExpectation("=begin ", false), peg$c21 = "=end ", peg$c22 = peg$literalExpectation("=end ", false), peg$c23 = "=for ", peg$c24 = peg$literalExpectation("=for ", false), peg$c25 = "=config", peg$c26 = peg$literalExpectation("=config", false), peg$c27 = "=alias", peg$c28 = peg$literalExpectation("=alias", false), peg$c29 = function (name) { return isSupportedBlockName(name); }, peg$c30 = function (name) { return name; }, peg$c31 = "=", peg$c32 = peg$literalExpectation("=", false), peg$c33 = peg$otherExpectation("text"), peg$c34 = function () { return text(); }, peg$c35 = function () { return { type: "para", value: text(), error: true, location: location() }; }, peg$c36 = function (code, codes) { return flattenDeep([code, codes]); }, peg$c37 = function (code) { return [code]; }, peg$c38 = ",", peg$c39 = peg$literalExpectation(",", false), peg$c40 = function (code, codes) { return flattenDeep([code, codes]); }, peg$c41 = /^[a-zA-Z0-9]/, peg$c42 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"]], false, false), peg$c43 = /^[a-zA-Z0-9_\-]/, peg$c44 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "_", "-"], false, false), peg$c45 = "=>", peg$c46 = peg$literalExpectation("=>", false), peg$c47 = function (name, value) { return { [name]: value }; }, peg$c48 = function (pair, pairs) { return { ...pair, ...pairs }; }, peg$c49 = function (code) { return code; }, peg$c50 = ":", peg$c51 = peg$literalExpectation(":", false), peg$c52 = "allow", peg$c53 = peg$literalExpectation("allow", false), peg$c54 = "<", peg$c55 = peg$literalExpectation("<", false), peg$c56 = ">", peg$c57 = peg$literalExpectation(">", false), peg$c58 = function (key, array) { return { value: array, type: "array" }; }, peg$c59 = function (key, value) { return { name: 'allow', ...value }; }, peg$c60 = function (i) { return i; }, peg$c61 = function (all) { return all; }, peg$c62 = function (res) { return [res]; }, peg$c63 = function () { return []; }, peg$c64 = /^[!]/, peg$c65 = peg$classExpectation(["!"], false, false), peg$c66 = "{", peg$c67 = peg$literalExpectation("{", false), peg$c68 = "}", peg$c69 = peg$literalExpectation("}", false), peg$c70 = function (isFalse, key, hash) { return { value: hash }; }, peg$c71 = "[", peg$c72 = peg$literalExpectation("[", false), peg$c73 = function (isFalse, key, array) { return array; }, peg$c74 = "]", peg$c75 = peg$literalExpectation("]", false), peg$c76 = function (isFalse, key) { return [text()]; }, peg$c77 = function (isFalse, key, array) {
116
+ }, peg$c5 = /^[ \xA0\u2001\t\f\u2008]/, peg$c6 = peg$classExpectation([" ", "\xA0", "\u2001", "\t", "\f", "\u2008"], false, false), peg$c7 = /^[ \t\f]/, peg$c8 = peg$classExpectation([" ", "\t", "\f"], false, false), peg$c9 = /^[\n\r]/, peg$c10 = peg$classExpectation(["\n", "\r"], false, false), peg$c11 = function (text) { return text; }, peg$c12 = /^[^\n\r]/, peg$c13 = peg$classExpectation(["\n", "\r"], true, false), peg$c14 = "\n", peg$c15 = peg$literalExpectation("\n", false), peg$c16 = "\r", peg$c17 = peg$literalExpectation("\r", false), peg$c18 = function () { return { type: 'blankline' }; }, peg$c19 = "=begin ", peg$c20 = peg$literalExpectation("=begin ", false), peg$c21 = "=end ", peg$c22 = peg$literalExpectation("=end ", false), peg$c23 = "=for ", peg$c24 = peg$literalExpectation("=for ", false), peg$c25 = "=config", peg$c26 = peg$literalExpectation("=config", false), peg$c27 = "=alias", peg$c28 = peg$literalExpectation("=alias", false), peg$c29 = function (name) { return isSupportedBlockName(name); }, peg$c30 = function (name) { return name; }, peg$c31 = "=", peg$c32 = peg$literalExpectation("=", false), peg$c33 = peg$otherExpectation("text"), peg$c34 = function () { return text(); }, peg$c35 = function () { return { type: "para", value: text(), error: true, location: location() }; }, peg$c36 = function (code, codes) { return flattenDeep([code, codes]); }, peg$c37 = function (code) { return [code]; }, peg$c38 = ",", peg$c39 = peg$literalExpectation(",", false), peg$c40 = function (code, codes) { return flattenDeep([code, codes]); }, peg$c41 = /^[a-zA-Z0-9]/, peg$c42 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"]], false, false), peg$c43 = /^[a-zA-Z0-9_\-]/, peg$c44 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "_", "-"], false, false), peg$c45 = "=>", peg$c46 = peg$literalExpectation("=>", false), peg$c47 = function (name, value) { return { [name]: value }; }, peg$c48 = function (pair, pairs) { return { ...pair, ...pairs }; }, peg$c49 = function (code) { return code; }, peg$c50 = ":", peg$c51 = peg$literalExpectation(":", false), peg$c52 = "allow", peg$c53 = peg$literalExpectation("allow", false), peg$c54 = "<", peg$c55 = peg$literalExpectation("<", false), peg$c56 = ">", peg$c57 = peg$literalExpectation(">", false), peg$c58 = function (key, array) { return { value: array, type: "array" }; }, peg$c59 = function (key, value) { return { name: 'allow', ...value }; }, peg$c60 = function (i) { return i; }, peg$c61 = function (all) { return all; }, peg$c62 = function (res) { return [res]; }, peg$c63 = function () { return []; }, peg$c64 = /^[!]/, peg$c65 = peg$classExpectation(["!"], false, false), peg$c66 = "{", peg$c67 = peg$literalExpectation("{", false), peg$c68 = "}", peg$c69 = peg$literalExpectation("}", false), peg$c70 = function (isFalse, key, hash) { return { value: hash, type: "map" }; }, peg$c71 = "[", peg$c72 = peg$literalExpectation("[", false), peg$c73 = function (isFalse, key, array) { return array; }, peg$c74 = "]", peg$c75 = peg$literalExpectation("]", false), peg$c76 = function (isFalse, key) { return [text()]; }, peg$c77 = function (isFalse, key, array) {
117
117
  return {
118
118
  value: array,
119
119
  type: "array"
@@ -204,21 +204,35 @@ function peg$parse(input, options) {
204
204
  ];
205
205
  }, peg$c139 = function (rest) {
206
206
  return [...flattenDeep(rest)];
207
- }, peg$c140 = function (vmargin, name, config) { return name === 'table'; }, peg$c141 = function (vmargin, name, config) { options.isDelimited = true; return true; }, peg$c142 = function (vmargin, name, config, t) { return t; }, peg$c143 = function (vmargin, name, config, content, vmargin2, ename) {
207
+ }, peg$c140 = function (vmargin, name, config) { return name === 'table'; }, peg$c141 = function (vmargin, name, config) { options.isDelimited = true; return true; }, peg$c142 = function (vmargin, name, config, nodes) { return nodes; }, peg$c143 = function (vmargin, name, config, content) { return content.some(n => n && (n.name === 'row' || n.name === 'cell')); }, peg$c144 = function (vmargin, name, config, content, vmargin2, ename) {
208
+ return {
209
+ type: 'block',
210
+ content,
211
+ name,
212
+ margin: vmargin
213
+ };
214
+ }, peg$c145 = function (vmargin, name, config, content, vmargin2, res) {
215
+ return {
216
+ ...res,
217
+ text: text(),
218
+ config,
219
+ location: location()
220
+ };
221
+ }, peg$c146 = function (vmargin, name, config) { options.isDelimited = true; return true; }, peg$c147 = function (vmargin, name, config, t) { return t; }, peg$c148 = function (vmargin, name, config, content, vmargin2, ename) {
208
222
  return {
209
223
  type: 'block',
210
224
  content: content,
211
225
  name,
212
226
  margin: vmargin
213
227
  };
214
- }, peg$c144 = function (vmargin, name, config, content, vmargin2, res) {
228
+ }, peg$c149 = function (vmargin, name, config, content, vmargin2, res) {
215
229
  return {
216
230
  ...res,
217
231
  text: text(),
218
232
  config,
219
233
  location: location()
220
234
  };
221
- }, peg$c145 = function (vmargin, name, config, nodes) { return nodes; }, peg$c146 = function (vmargin, name, config, tvmargin, text) {
235
+ }, peg$c150 = function (vmargin, name, config, nodes) { return nodes; }, peg$c151 = function (vmargin, name, config, tvmargin, text) {
222
236
  const type = name.match(/pod|nested|item|code|defn/)
223
237
  &&
224
238
  (tvmargin.length - vmargin.length) > 0 ? 'code' : 'para';
@@ -234,20 +248,20 @@ function peg$parse(input, options) {
234
248
  ],
235
249
  location: location(),
236
250
  };
237
- }, peg$c147 = function (vmargin, name, config, content, vmargin2, ename) {
251
+ }, peg$c152 = function (vmargin, name, config, content, vmargin2, ename) {
238
252
  return {
239
253
  type: 'block',
240
254
  content,
241
255
  name,
242
256
  margin: vmargin,
243
257
  };
244
- }, peg$c148 = function (vmargin, name, config, content, vmargin2, res) {
258
+ }, peg$c153 = function (vmargin, name, config, content, vmargin2, res) {
245
259
  return {
246
260
  ...res,
247
261
  config,
248
262
  location: location(),
249
263
  };
250
- }, peg$c149 = function () {
264
+ }, peg$c154 = function () {
251
265
  return {
252
266
  text: text(),
253
267
  type: 'para',
@@ -260,11 +274,11 @@ function peg$parse(input, options) {
260
274
  ],
261
275
  location: location(),
262
276
  };
263
- }, peg$c150 = function () { return { empty: 1 }; }, peg$c151 = /^[s]/, peg$c152 = peg$classExpectation(["s"], false, false), peg$c153 = function (line) { return { text: text(), type: "ambient1" }; }, peg$c154 = function (vmargin, name) {
277
+ }, peg$c155 = function () { return { empty: 1 }; }, peg$c156 = /^[s]/, peg$c157 = peg$classExpectation(["s"], false, false), peg$c158 = function (line) { return { text: text(), type: "ambient1" }; }, peg$c159 = function (vmargin, name) {
264
278
  return ((name.match(/code|comment|formula|output|input|markdown|picture|toc|data/))
265
279
  ||
266
280
  isNamedBlock(name));
267
- }, peg$c155 = function (vmargin, name, content) {
281
+ }, peg$c160 = function (vmargin, name, content) {
268
282
  return {
269
283
  margin: vmargin,
270
284
  type: 'block',
@@ -273,7 +287,7 @@ function peg$parse(input, options) {
273
287
  config: [],
274
288
  location: location()
275
289
  };
276
- }, peg$c156 = function (vmargin, name) { return name === 'table'; }, peg$c157 = function (vmargin, name) { options.isDelimited = false; return true; }, peg$c158 = function (vmargin, name, content) {
290
+ }, peg$c161 = function (vmargin, name) { return name === 'table'; }, peg$c162 = function (vmargin, name) { options.isDelimited = false; return true; }, peg$c163 = function (vmargin, name, content) {
277
291
  return {
278
292
  margin: vmargin,
279
293
  type: 'block',
@@ -283,7 +297,7 @@ function peg$parse(input, options) {
283
297
  config: [],
284
298
  location: location()
285
299
  };
286
- }, peg$c159 = function (vmargin, name, first_line, content_rest) {
300
+ }, peg$c164 = function (vmargin, name, first_line, content_rest) {
287
301
  const content = (first_line === "\n" ? "" : first_line) + content_rest;
288
302
  return {
289
303
  margin: vmargin,
@@ -306,25 +320,25 @@ function peg$parse(input, options) {
306
320
  name,
307
321
  location: location()
308
322
  };
309
- }, peg$c160 = "= ", peg$c161 = peg$literalExpectation("= ", false), peg$c162 = function (vmargin, marker, name, replacement) {
323
+ }, peg$c165 = "= ", peg$c166 = peg$literalExpectation("= ", false), peg$c167 = function (vmargin, marker, name, replacement) {
310
324
  return {
311
325
  name,
312
326
  type: 'alias',
313
327
  replacement,
314
328
  margin: vmargin
315
329
  };
316
- }, peg$c163 = /^[A-Z]/, peg$c164 = peg$classExpectation([["A", "Z"]], false, false), peg$c165 = "<>", peg$c166 = peg$literalExpectation("<>", false), peg$c167 = function (vmargin, marker, name, config) {
330
+ }, peg$c168 = /^[A-Z]/, peg$c169 = peg$classExpectation([["A", "Z"]], false, false), peg$c170 = "<>", peg$c171 = peg$literalExpectation("<>", false), peg$c172 = function (vmargin, marker, name, config) {
317
331
  return {
318
332
  name,
319
333
  type: 'config',
320
334
  config,
321
335
  margin: vmargin
322
336
  };
323
- }, peg$c168 = function (vmargin, marker, name, config) {
337
+ }, peg$c173 = function (vmargin, marker, name, config) {
324
338
  return ((name.match(/code|comment|formula|output|input|markdown|picture|toc|data/))
325
339
  ||
326
340
  isNamedBlock(name));
327
- }, peg$c169 = function (vmargin, marker, name, config, content) {
341
+ }, peg$c174 = function (vmargin, marker, name, config, content) {
328
342
  return {
329
343
  type: 'block',
330
344
  content: content === "" ? [] : [{ type: 'verbatim', value: content }],
@@ -333,7 +347,7 @@ function peg$parse(input, options) {
333
347
  config,
334
348
  location: location()
335
349
  };
336
- }, peg$c170 = function (vmargin, marker, name, config) { return name === 'table'; }, peg$c171 = function (vmargin, marker, name, config) { options.isDelimited = false; return true; }, peg$c172 = function (vmargin, marker, name, config, content) {
350
+ }, peg$c175 = function (vmargin, marker, name, config) { return name === 'table'; }, peg$c176 = function (vmargin, marker, name, config) { options.isDelimited = false; return true; }, peg$c177 = function (vmargin, marker, name, config, content) {
337
351
  return {
338
352
  type: 'block',
339
353
  content: content === "" ? [] : content,
@@ -342,7 +356,7 @@ function peg$parse(input, options) {
342
356
  config,
343
357
  location: location()
344
358
  };
345
- }, peg$c173 = function (vmargin, marker, name, config, content) {
359
+ }, peg$c178 = function (vmargin, marker, name, config, content) {
346
360
  return {
347
361
  type: 'block',
348
362
  content: content === "" ? []
@@ -365,7 +379,7 @@ function peg$parse(input, options) {
365
379
  config,
366
380
  location: location()
367
381
  };
368
- }, peg$c174 = /^[a-zA-Z]/, peg$c175 = peg$classExpectation([["a", "z"], ["A", "Z"]], false, false), peg$c176 = peg$otherExpectation("whitespace"), peg$c177 = /^[\r\n \t\f]/, peg$c178 = peg$classExpectation(["\r", "\n", " ", "\t", "\f"], false, false), peg$c179 = peg$otherExpectation("space characters"), peg$currPos = 0, peg$savedPos = 0, peg$posDetailsCache = [{ line: 1, column: 1 }], peg$maxFailPos = 0, peg$maxFailExpected = [], peg$silentFails = 0, peg$result;
382
+ }, peg$c179 = /^[a-zA-Z]/, peg$c180 = peg$classExpectation([["a", "z"], ["A", "Z"]], false, false), peg$c181 = peg$otherExpectation("whitespace"), peg$c182 = /^[\r\n \t\f]/, peg$c183 = peg$classExpectation(["\r", "\n", " ", "\t", "\f"], false, false), peg$c184 = peg$otherExpectation("space characters"), peg$currPos = 0, peg$savedPos = 0, peg$posDetailsCache = [{ line: 1, column: 1 }], peg$maxFailPos = 0, peg$maxFailExpected = [], peg$silentFails = 0, peg$result;
369
383
  if ("startRule" in options) {
370
384
  if (!(options.startRule in peg$startRuleFunctions)) {
371
385
  throw new Error("Can't start parsing from rule \"" + options.startRule + "\".");
@@ -481,190 +495,193 @@ function peg$parse(input, options) {
481
495
  var s0, s1, s2, s3, s4, s5, s6, s7;
482
496
  s0 = peg$parsedelimitedBlockRaw();
483
497
  if (s0 === peg$FAILED) {
484
- s0 = peg$parsedelimitedBlockTable();
498
+ s0 = peg$parsedelimitedBlockTableStructured();
485
499
  if (s0 === peg$FAILED) {
486
- s0 = peg$parsedelimitedBlock();
500
+ s0 = peg$parsedelimitedBlockTable();
487
501
  if (s0 === peg$FAILED) {
488
- s0 = peg$parseparagraphBlockRaw();
502
+ s0 = peg$parsedelimitedBlock();
489
503
  if (s0 === peg$FAILED) {
490
- s0 = peg$parseparagraphBlockTable();
504
+ s0 = peg$parseparagraphBlockRaw();
491
505
  if (s0 === peg$FAILED) {
492
- s0 = peg$parseparagraphBlock();
506
+ s0 = peg$parseparagraphBlockTable();
493
507
  if (s0 === peg$FAILED) {
494
- s0 = peg$parsealiasDirective();
508
+ s0 = peg$parseparagraphBlock();
495
509
  if (s0 === peg$FAILED) {
496
- s0 = peg$parseconfigDirective();
510
+ s0 = peg$parsealiasDirective();
497
511
  if (s0 === peg$FAILED) {
498
- s0 = peg$parseabbreviatedBlockRaw();
512
+ s0 = peg$parseconfigDirective();
499
513
  if (s0 === peg$FAILED) {
500
- s0 = peg$parseabbreviatedBlockTable();
514
+ s0 = peg$parseabbreviatedBlockRaw();
501
515
  if (s0 === peg$FAILED) {
502
- s0 = peg$parseabbreviatedBlock();
516
+ s0 = peg$parseabbreviatedBlockTable();
503
517
  if (s0 === peg$FAILED) {
504
- s0 = peg$currPos;
505
- peg$savedPos = peg$currPos;
506
- s1 = peg$c1();
507
- if (s1) {
508
- s1 = void 0;
509
- }
510
- else {
511
- s1 = peg$FAILED;
512
- }
513
- if (s1 !== peg$FAILED) {
514
- s2 = peg$parsetextBlock();
515
- if (s2 === peg$FAILED) {
516
- s2 = peg$parseblankline();
518
+ s0 = peg$parseabbreviatedBlock();
519
+ if (s0 === peg$FAILED) {
520
+ s0 = peg$currPos;
521
+ peg$savedPos = peg$currPos;
522
+ s1 = peg$c1();
523
+ if (s1) {
524
+ s1 = void 0;
525
+ }
526
+ else {
527
+ s1 = peg$FAILED;
528
+ }
529
+ if (s1 !== peg$FAILED) {
530
+ s2 = peg$parsetextBlock();
517
531
  if (s2 === peg$FAILED) {
518
- s2 = peg$parseerror_para();
532
+ s2 = peg$parseblankline();
533
+ if (s2 === peg$FAILED) {
534
+ s2 = peg$parseerror_para();
535
+ }
536
+ }
537
+ if (s2 !== peg$FAILED) {
538
+ peg$savedPos = s0;
539
+ s1 = peg$c2(s2);
540
+ s0 = s1;
541
+ }
542
+ else {
543
+ peg$currPos = s0;
544
+ s0 = peg$FAILED;
519
545
  }
520
- }
521
- if (s2 !== peg$FAILED) {
522
- peg$savedPos = s0;
523
- s1 = peg$c2(s2);
524
- s0 = s1;
525
546
  }
526
547
  else {
527
548
  peg$currPos = s0;
528
549
  s0 = peg$FAILED;
529
550
  }
530
- }
531
- else {
532
- peg$currPos = s0;
533
- s0 = peg$FAILED;
534
- }
535
- if (s0 === peg$FAILED) {
536
- s0 = peg$currPos;
537
- s1 = peg$currPos;
538
- s2 = [];
539
- s3 = peg$currPos;
540
- s4 = peg$currPos;
541
- peg$silentFails++;
542
- s5 = peg$currPos;
543
- s6 = peg$parsemarkers();
544
- if (s6 !== peg$FAILED) {
545
- s7 = peg$parsestrictIdentifier();
546
- if (s7 !== peg$FAILED) {
547
- s6 = [s6, s7];
548
- s5 = s6;
551
+ if (s0 === peg$FAILED) {
552
+ s0 = peg$currPos;
553
+ s1 = peg$currPos;
554
+ s2 = [];
555
+ s3 = peg$currPos;
556
+ s4 = peg$currPos;
557
+ peg$silentFails++;
558
+ s5 = peg$currPos;
559
+ s6 = peg$parsemarkers();
560
+ if (s6 !== peg$FAILED) {
561
+ s7 = peg$parsestrictIdentifier();
562
+ if (s7 !== peg$FAILED) {
563
+ s6 = [s6, s7];
564
+ s5 = s6;
565
+ }
566
+ else {
567
+ peg$currPos = s5;
568
+ s5 = peg$FAILED;
569
+ }
549
570
  }
550
571
  else {
551
572
  peg$currPos = s5;
552
573
  s5 = peg$FAILED;
553
574
  }
554
- }
555
- else {
556
- peg$currPos = s5;
557
- s5 = peg$FAILED;
558
- }
559
- if (s5 === peg$FAILED) {
560
- s5 = peg$parsemarkerAbbreviatedBlock();
561
- }
562
- peg$silentFails--;
563
- if (s5 === peg$FAILED) {
564
- s4 = void 0;
565
- }
566
- else {
567
- peg$currPos = s4;
568
- s4 = peg$FAILED;
569
- }
570
- if (s4 !== peg$FAILED) {
571
- if (input.length > peg$currPos) {
572
- s5 = input.charAt(peg$currPos);
573
- peg$currPos++;
575
+ if (s5 === peg$FAILED) {
576
+ s5 = peg$parsemarkerAbbreviatedBlock();
577
+ }
578
+ peg$silentFails--;
579
+ if (s5 === peg$FAILED) {
580
+ s4 = void 0;
574
581
  }
575
582
  else {
576
- s5 = peg$FAILED;
577
- if (peg$silentFails === 0) {
578
- peg$fail(peg$c3);
579
- }
583
+ peg$currPos = s4;
584
+ s4 = peg$FAILED;
580
585
  }
581
- if (s5 !== peg$FAILED) {
582
- s4 = [s4, s5];
583
- s3 = s4;
586
+ if (s4 !== peg$FAILED) {
587
+ if (input.length > peg$currPos) {
588
+ s5 = input.charAt(peg$currPos);
589
+ peg$currPos++;
590
+ }
591
+ else {
592
+ s5 = peg$FAILED;
593
+ if (peg$silentFails === 0) {
594
+ peg$fail(peg$c3);
595
+ }
596
+ }
597
+ if (s5 !== peg$FAILED) {
598
+ s4 = [s4, s5];
599
+ s3 = s4;
600
+ }
601
+ else {
602
+ peg$currPos = s3;
603
+ s3 = peg$FAILED;
604
+ }
584
605
  }
585
606
  else {
586
607
  peg$currPos = s3;
587
608
  s3 = peg$FAILED;
588
609
  }
589
- }
590
- else {
591
- peg$currPos = s3;
592
- s3 = peg$FAILED;
593
- }
594
- if (s3 !== peg$FAILED) {
595
- while (s3 !== peg$FAILED) {
596
- s2.push(s3);
597
- s3 = peg$currPos;
598
- s4 = peg$currPos;
599
- peg$silentFails++;
600
- s5 = peg$currPos;
601
- s6 = peg$parsemarkers();
602
- if (s6 !== peg$FAILED) {
603
- s7 = peg$parsestrictIdentifier();
604
- if (s7 !== peg$FAILED) {
605
- s6 = [s6, s7];
606
- s5 = s6;
610
+ if (s3 !== peg$FAILED) {
611
+ while (s3 !== peg$FAILED) {
612
+ s2.push(s3);
613
+ s3 = peg$currPos;
614
+ s4 = peg$currPos;
615
+ peg$silentFails++;
616
+ s5 = peg$currPos;
617
+ s6 = peg$parsemarkers();
618
+ if (s6 !== peg$FAILED) {
619
+ s7 = peg$parsestrictIdentifier();
620
+ if (s7 !== peg$FAILED) {
621
+ s6 = [s6, s7];
622
+ s5 = s6;
623
+ }
624
+ else {
625
+ peg$currPos = s5;
626
+ s5 = peg$FAILED;
627
+ }
607
628
  }
608
629
  else {
609
630
  peg$currPos = s5;
610
631
  s5 = peg$FAILED;
611
632
  }
612
- }
613
- else {
614
- peg$currPos = s5;
615
- s5 = peg$FAILED;
616
- }
617
- if (s5 === peg$FAILED) {
618
- s5 = peg$parsemarkerAbbreviatedBlock();
619
- }
620
- peg$silentFails--;
621
- if (s5 === peg$FAILED) {
622
- s4 = void 0;
623
- }
624
- else {
625
- peg$currPos = s4;
626
- s4 = peg$FAILED;
627
- }
628
- if (s4 !== peg$FAILED) {
629
- if (input.length > peg$currPos) {
630
- s5 = input.charAt(peg$currPos);
631
- peg$currPos++;
633
+ if (s5 === peg$FAILED) {
634
+ s5 = peg$parsemarkerAbbreviatedBlock();
635
+ }
636
+ peg$silentFails--;
637
+ if (s5 === peg$FAILED) {
638
+ s4 = void 0;
632
639
  }
633
640
  else {
634
- s5 = peg$FAILED;
635
- if (peg$silentFails === 0) {
636
- peg$fail(peg$c3);
637
- }
641
+ peg$currPos = s4;
642
+ s4 = peg$FAILED;
638
643
  }
639
- if (s5 !== peg$FAILED) {
640
- s4 = [s4, s5];
641
- s3 = s4;
644
+ if (s4 !== peg$FAILED) {
645
+ if (input.length > peg$currPos) {
646
+ s5 = input.charAt(peg$currPos);
647
+ peg$currPos++;
648
+ }
649
+ else {
650
+ s5 = peg$FAILED;
651
+ if (peg$silentFails === 0) {
652
+ peg$fail(peg$c3);
653
+ }
654
+ }
655
+ if (s5 !== peg$FAILED) {
656
+ s4 = [s4, s5];
657
+ s3 = s4;
658
+ }
659
+ else {
660
+ peg$currPos = s3;
661
+ s3 = peg$FAILED;
662
+ }
642
663
  }
643
664
  else {
644
665
  peg$currPos = s3;
645
666
  s3 = peg$FAILED;
646
667
  }
647
668
  }
648
- else {
649
- peg$currPos = s3;
650
- s3 = peg$FAILED;
651
- }
652
669
  }
670
+ else {
671
+ s2 = peg$FAILED;
672
+ }
673
+ if (s2 !== peg$FAILED) {
674
+ s1 = input.substring(s1, peg$currPos);
675
+ }
676
+ else {
677
+ s1 = s2;
678
+ }
679
+ if (s1 !== peg$FAILED) {
680
+ peg$savedPos = s0;
681
+ s1 = peg$c4();
682
+ }
683
+ s0 = s1;
653
684
  }
654
- else {
655
- s2 = peg$FAILED;
656
- }
657
- if (s2 !== peg$FAILED) {
658
- s1 = input.substring(s1, peg$currPos);
659
- }
660
- else {
661
- s1 = s2;
662
- }
663
- if (s1 !== peg$FAILED) {
664
- peg$savedPos = s0;
665
- s1 = peg$c4();
666
- }
667
- s0 = s1;
668
685
  }
669
686
  }
670
687
  }
@@ -4539,6 +4556,214 @@ function peg$parse(input, options) {
4539
4556
  }
4540
4557
  return s0;
4541
4558
  }
4559
+ function peg$parsedelimitedBlockTableStructured() {
4560
+ var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15;
4561
+ s0 = peg$currPos;
4562
+ s1 = peg$currPos;
4563
+ s2 = peg$parse_();
4564
+ if (s2 !== peg$FAILED) {
4565
+ s1 = input.substring(s1, peg$currPos);
4566
+ }
4567
+ else {
4568
+ s1 = s2;
4569
+ }
4570
+ if (s1 !== peg$FAILED) {
4571
+ s2 = peg$parsemarkerBegin();
4572
+ if (s2 !== peg$FAILED) {
4573
+ s3 = peg$parsestrictIdentifier();
4574
+ if (s3 !== peg$FAILED) {
4575
+ s4 = peg$parse_();
4576
+ if (s4 !== peg$FAILED) {
4577
+ s5 = peg$parsepod_configuration();
4578
+ if (s5 !== peg$FAILED) {
4579
+ peg$savedPos = peg$currPos;
4580
+ s6 = peg$c140(s1, s3, s5);
4581
+ if (s6) {
4582
+ s6 = void 0;
4583
+ }
4584
+ else {
4585
+ s6 = peg$FAILED;
4586
+ }
4587
+ if (s6 !== peg$FAILED) {
4588
+ peg$savedPos = peg$currPos;
4589
+ s7 = peg$c141(s1, s3, s5);
4590
+ if (s7) {
4591
+ s7 = void 0;
4592
+ }
4593
+ else {
4594
+ s7 = peg$FAILED;
4595
+ }
4596
+ if (s7 !== peg$FAILED) {
4597
+ s8 = peg$currPos;
4598
+ s9 = [];
4599
+ s10 = peg$parseblankline();
4600
+ if (s10 === peg$FAILED) {
4601
+ s10 = peg$parsedelimitedBlockRaw();
4602
+ if (s10 === peg$FAILED) {
4603
+ s10 = peg$parsedelimitedBlock();
4604
+ if (s10 === peg$FAILED) {
4605
+ s10 = peg$parseparagraphBlockRaw();
4606
+ if (s10 === peg$FAILED) {
4607
+ s10 = peg$parseparagraphBlock();
4608
+ if (s10 === peg$FAILED) {
4609
+ s10 = peg$parseabbreviatedBlockRaw();
4610
+ if (s10 === peg$FAILED) {
4611
+ s10 = peg$parseabbreviatedBlock();
4612
+ }
4613
+ }
4614
+ }
4615
+ }
4616
+ }
4617
+ }
4618
+ while (s10 !== peg$FAILED) {
4619
+ s9.push(s10);
4620
+ s10 = peg$parseblankline();
4621
+ if (s10 === peg$FAILED) {
4622
+ s10 = peg$parsedelimitedBlockRaw();
4623
+ if (s10 === peg$FAILED) {
4624
+ s10 = peg$parsedelimitedBlock();
4625
+ if (s10 === peg$FAILED) {
4626
+ s10 = peg$parseparagraphBlockRaw();
4627
+ if (s10 === peg$FAILED) {
4628
+ s10 = peg$parseparagraphBlock();
4629
+ if (s10 === peg$FAILED) {
4630
+ s10 = peg$parseabbreviatedBlockRaw();
4631
+ if (s10 === peg$FAILED) {
4632
+ s10 = peg$parseabbreviatedBlock();
4633
+ }
4634
+ }
4635
+ }
4636
+ }
4637
+ }
4638
+ }
4639
+ }
4640
+ if (s9 !== peg$FAILED) {
4641
+ peg$savedPos = s8;
4642
+ s9 = peg$c142(s1, s3, s5, s9);
4643
+ }
4644
+ s8 = s9;
4645
+ if (s8 !== peg$FAILED) {
4646
+ peg$savedPos = peg$currPos;
4647
+ s9 = peg$c143(s1, s3, s5, s8);
4648
+ if (s9) {
4649
+ s9 = void 0;
4650
+ }
4651
+ else {
4652
+ s9 = peg$FAILED;
4653
+ }
4654
+ if (s9 !== peg$FAILED) {
4655
+ s10 = peg$currPos;
4656
+ s11 = peg$parse_();
4657
+ if (s11 !== peg$FAILED) {
4658
+ s10 = input.substring(s10, peg$currPos);
4659
+ }
4660
+ else {
4661
+ s10 = s11;
4662
+ }
4663
+ if (s10 !== peg$FAILED) {
4664
+ s11 = peg$currPos;
4665
+ s12 = peg$parsemarkerEnd();
4666
+ if (s12 !== peg$FAILED) {
4667
+ s13 = peg$parsestrictIdentifier();
4668
+ if (s13 !== peg$FAILED) {
4669
+ peg$savedPos = peg$currPos;
4670
+ s14 = peg$c121(s1, s3, s5, s8, s10, s13);
4671
+ if (s14) {
4672
+ s14 = void 0;
4673
+ }
4674
+ else {
4675
+ s14 = peg$FAILED;
4676
+ }
4677
+ if (s14 !== peg$FAILED) {
4678
+ s15 = peg$parseEndline();
4679
+ if (s15 === peg$FAILED) {
4680
+ s15 = null;
4681
+ }
4682
+ if (s15 !== peg$FAILED) {
4683
+ peg$savedPos = s11;
4684
+ s12 = peg$c144(s1, s3, s5, s8, s10, s13);
4685
+ s11 = s12;
4686
+ }
4687
+ else {
4688
+ peg$currPos = s11;
4689
+ s11 = peg$FAILED;
4690
+ }
4691
+ }
4692
+ else {
4693
+ peg$currPos = s11;
4694
+ s11 = peg$FAILED;
4695
+ }
4696
+ }
4697
+ else {
4698
+ peg$currPos = s11;
4699
+ s11 = peg$FAILED;
4700
+ }
4701
+ }
4702
+ else {
4703
+ peg$currPos = s11;
4704
+ s11 = peg$FAILED;
4705
+ }
4706
+ if (s11 !== peg$FAILED) {
4707
+ peg$savedPos = s0;
4708
+ s1 = peg$c145(s1, s3, s5, s8, s10, s11);
4709
+ s0 = s1;
4710
+ }
4711
+ else {
4712
+ peg$currPos = s0;
4713
+ s0 = peg$FAILED;
4714
+ }
4715
+ }
4716
+ else {
4717
+ peg$currPos = s0;
4718
+ s0 = peg$FAILED;
4719
+ }
4720
+ }
4721
+ else {
4722
+ peg$currPos = s0;
4723
+ s0 = peg$FAILED;
4724
+ }
4725
+ }
4726
+ else {
4727
+ peg$currPos = s0;
4728
+ s0 = peg$FAILED;
4729
+ }
4730
+ }
4731
+ else {
4732
+ peg$currPos = s0;
4733
+ s0 = peg$FAILED;
4734
+ }
4735
+ }
4736
+ else {
4737
+ peg$currPos = s0;
4738
+ s0 = peg$FAILED;
4739
+ }
4740
+ }
4741
+ else {
4742
+ peg$currPos = s0;
4743
+ s0 = peg$FAILED;
4744
+ }
4745
+ }
4746
+ else {
4747
+ peg$currPos = s0;
4748
+ s0 = peg$FAILED;
4749
+ }
4750
+ }
4751
+ else {
4752
+ peg$currPos = s0;
4753
+ s0 = peg$FAILED;
4754
+ }
4755
+ }
4756
+ else {
4757
+ peg$currPos = s0;
4758
+ s0 = peg$FAILED;
4759
+ }
4760
+ }
4761
+ else {
4762
+ peg$currPos = s0;
4763
+ s0 = peg$FAILED;
4764
+ }
4765
+ return s0;
4766
+ }
4542
4767
  function peg$parsedelimitedBlockTable() {
4543
4768
  var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14;
4544
4769
  s0 = peg$currPos;
@@ -4569,7 +4794,7 @@ function peg$parse(input, options) {
4569
4794
  }
4570
4795
  if (s6 !== peg$FAILED) {
4571
4796
  peg$savedPos = peg$currPos;
4572
- s7 = peg$c141(s1, s3, s5);
4797
+ s7 = peg$c146(s1, s3, s5);
4573
4798
  if (s7) {
4574
4799
  s7 = void 0;
4575
4800
  }
@@ -4595,7 +4820,7 @@ function peg$parse(input, options) {
4595
4820
  }
4596
4821
  if (s11 !== peg$FAILED) {
4597
4822
  peg$savedPos = s8;
4598
- s9 = peg$c142(s1, s3, s5, s10);
4823
+ s9 = peg$c147(s1, s3, s5, s10);
4599
4824
  s8 = s9;
4600
4825
  }
4601
4826
  else {
@@ -4642,7 +4867,7 @@ function peg$parse(input, options) {
4642
4867
  }
4643
4868
  if (s14 !== peg$FAILED) {
4644
4869
  peg$savedPos = s10;
4645
- s11 = peg$c143(s1, s3, s5, s8, s9, s12);
4870
+ s11 = peg$c148(s1, s3, s5, s8, s9, s12);
4646
4871
  s10 = s11;
4647
4872
  }
4648
4873
  else {
@@ -4675,7 +4900,7 @@ function peg$parse(input, options) {
4675
4900
  }
4676
4901
  if (s11 !== peg$FAILED) {
4677
4902
  peg$savedPos = s0;
4678
- s1 = peg$c144(s1, s3, s5, s8, s9, s10);
4903
+ s1 = peg$c149(s1, s3, s5, s8, s9, s10);
4679
4904
  s0 = s1;
4680
4905
  }
4681
4906
  else {
@@ -4792,7 +5017,7 @@ function peg$parse(input, options) {
4792
5017
  }
4793
5018
  if (s8 !== peg$FAILED) {
4794
5019
  peg$savedPos = s7;
4795
- s8 = peg$c145(s1, s3, s5, s8);
5020
+ s8 = peg$c150(s1, s3, s5, s8);
4796
5021
  }
4797
5022
  s7 = s8;
4798
5023
  if (s7 === peg$FAILED) {
@@ -4831,7 +5056,7 @@ function peg$parse(input, options) {
4831
5056
  }
4832
5057
  if (s9 !== peg$FAILED) {
4833
5058
  peg$savedPos = s7;
4834
- s8 = peg$c146(s1, s3, s5, s8, s9);
5059
+ s8 = peg$c151(s1, s3, s5, s8, s9);
4835
5060
  s7 = s8;
4836
5061
  }
4837
5062
  else {
@@ -4883,7 +5108,7 @@ function peg$parse(input, options) {
4883
5108
  }
4884
5109
  if (s8 !== peg$FAILED) {
4885
5110
  peg$savedPos = s7;
4886
- s8 = peg$c145(s1, s3, s5, s8);
5111
+ s8 = peg$c150(s1, s3, s5, s8);
4887
5112
  }
4888
5113
  s7 = s8;
4889
5114
  if (s7 === peg$FAILED) {
@@ -4922,7 +5147,7 @@ function peg$parse(input, options) {
4922
5147
  }
4923
5148
  if (s9 !== peg$FAILED) {
4924
5149
  peg$savedPos = s7;
4925
- s8 = peg$c146(s1, s3, s5, s8, s9);
5150
+ s8 = peg$c151(s1, s3, s5, s8, s9);
4926
5151
  s7 = s8;
4927
5152
  }
4928
5153
  else {
@@ -4966,7 +5191,7 @@ function peg$parse(input, options) {
4966
5191
  }
4967
5192
  if (s12 !== peg$FAILED) {
4968
5193
  peg$savedPos = s8;
4969
- s9 = peg$c147(s1, s3, s5, s6, s7, s10);
5194
+ s9 = peg$c152(s1, s3, s5, s6, s7, s10);
4970
5195
  s8 = s9;
4971
5196
  }
4972
5197
  else {
@@ -4999,7 +5224,7 @@ function peg$parse(input, options) {
4999
5224
  }
5000
5225
  if (s9 !== peg$FAILED) {
5001
5226
  peg$savedPos = s0;
5002
- s1 = peg$c148(s1, s3, s5, s6, s7, s8);
5227
+ s1 = peg$c153(s1, s3, s5, s6, s7, s8);
5003
5228
  s0 = s1;
5004
5229
  }
5005
5230
  else {
@@ -5064,7 +5289,7 @@ function peg$parse(input, options) {
5064
5289
  }
5065
5290
  if (s1 !== peg$FAILED) {
5066
5291
  peg$savedPos = s0;
5067
- s1 = peg$c149();
5292
+ s1 = peg$c154();
5068
5293
  }
5069
5294
  s0 = s1;
5070
5295
  return s0;
@@ -5077,32 +5302,32 @@ function peg$parse(input, options) {
5077
5302
  s3 = peg$parseemptyline();
5078
5303
  if (s3 !== peg$FAILED) {
5079
5304
  peg$savedPos = s2;
5080
- s3 = peg$c150();
5305
+ s3 = peg$c155();
5081
5306
  }
5082
5307
  s2 = s3;
5083
5308
  if (s2 === peg$FAILED) {
5084
5309
  s2 = [];
5085
- if (peg$c151.test(input.charAt(peg$currPos))) {
5310
+ if (peg$c156.test(input.charAt(peg$currPos))) {
5086
5311
  s3 = input.charAt(peg$currPos);
5087
5312
  peg$currPos++;
5088
5313
  }
5089
5314
  else {
5090
5315
  s3 = peg$FAILED;
5091
5316
  if (peg$silentFails === 0) {
5092
- peg$fail(peg$c152);
5317
+ peg$fail(peg$c157);
5093
5318
  }
5094
5319
  }
5095
5320
  if (s3 !== peg$FAILED) {
5096
5321
  while (s3 !== peg$FAILED) {
5097
5322
  s2.push(s3);
5098
- if (peg$c151.test(input.charAt(peg$currPos))) {
5323
+ if (peg$c156.test(input.charAt(peg$currPos))) {
5099
5324
  s3 = input.charAt(peg$currPos);
5100
5325
  peg$currPos++;
5101
5326
  }
5102
5327
  else {
5103
5328
  s3 = peg$FAILED;
5104
5329
  if (peg$silentFails === 0) {
5105
- peg$fail(peg$c152);
5330
+ peg$fail(peg$c157);
5106
5331
  }
5107
5332
  }
5108
5333
  }
@@ -5121,32 +5346,32 @@ function peg$parse(input, options) {
5121
5346
  s3 = peg$parseemptyline();
5122
5347
  if (s3 !== peg$FAILED) {
5123
5348
  peg$savedPos = s2;
5124
- s3 = peg$c150();
5349
+ s3 = peg$c155();
5125
5350
  }
5126
5351
  s2 = s3;
5127
5352
  if (s2 === peg$FAILED) {
5128
5353
  s2 = [];
5129
- if (peg$c151.test(input.charAt(peg$currPos))) {
5354
+ if (peg$c156.test(input.charAt(peg$currPos))) {
5130
5355
  s3 = input.charAt(peg$currPos);
5131
5356
  peg$currPos++;
5132
5357
  }
5133
5358
  else {
5134
5359
  s3 = peg$FAILED;
5135
5360
  if (peg$silentFails === 0) {
5136
- peg$fail(peg$c152);
5361
+ peg$fail(peg$c157);
5137
5362
  }
5138
5363
  }
5139
5364
  if (s3 !== peg$FAILED) {
5140
5365
  while (s3 !== peg$FAILED) {
5141
5366
  s2.push(s3);
5142
- if (peg$c151.test(input.charAt(peg$currPos))) {
5367
+ if (peg$c156.test(input.charAt(peg$currPos))) {
5143
5368
  s3 = input.charAt(peg$currPos);
5144
5369
  peg$currPos++;
5145
5370
  }
5146
5371
  else {
5147
5372
  s3 = peg$FAILED;
5148
5373
  if (peg$silentFails === 0) {
5149
- peg$fail(peg$c152);
5374
+ peg$fail(peg$c157);
5150
5375
  }
5151
5376
  }
5152
5377
  }
@@ -5165,7 +5390,7 @@ function peg$parse(input, options) {
5165
5390
  }
5166
5391
  if (s1 !== peg$FAILED) {
5167
5392
  peg$savedPos = s0;
5168
- s1 = peg$c153(s1);
5393
+ s1 = peg$c158(s1);
5169
5394
  }
5170
5395
  s0 = s1;
5171
5396
  return s0;
@@ -5204,7 +5429,7 @@ function peg$parse(input, options) {
5204
5429
  }
5205
5430
  if (s5 !== peg$FAILED) {
5206
5431
  peg$savedPos = peg$currPos;
5207
- s6 = peg$c154(s1, s3);
5432
+ s6 = peg$c159(s1, s3);
5208
5433
  if (s6) {
5209
5434
  s6 = void 0;
5210
5435
  }
@@ -5279,7 +5504,7 @@ function peg$parse(input, options) {
5279
5504
  }
5280
5505
  if (s7 !== peg$FAILED) {
5281
5506
  peg$savedPos = s0;
5282
- s1 = peg$c155(s1, s3, s7);
5507
+ s1 = peg$c160(s1, s3, s7);
5283
5508
  s0 = s1;
5284
5509
  }
5285
5510
  else {
@@ -5352,7 +5577,7 @@ function peg$parse(input, options) {
5352
5577
  }
5353
5578
  if (s5 !== peg$FAILED) {
5354
5579
  peg$savedPos = peg$currPos;
5355
- s6 = peg$c156(s1, s3);
5580
+ s6 = peg$c161(s1, s3);
5356
5581
  if (s6) {
5357
5582
  s6 = void 0;
5358
5583
  }
@@ -5361,7 +5586,7 @@ function peg$parse(input, options) {
5361
5586
  }
5362
5587
  if (s6 !== peg$FAILED) {
5363
5588
  peg$savedPos = peg$currPos;
5364
- s7 = peg$c157(s1, s3);
5589
+ s7 = peg$c162(s1, s3);
5365
5590
  if (s7) {
5366
5591
  s7 = void 0;
5367
5592
  }
@@ -5372,7 +5597,7 @@ function peg$parse(input, options) {
5372
5597
  s8 = peg$parsetableContents();
5373
5598
  if (s8 !== peg$FAILED) {
5374
5599
  peg$savedPos = s0;
5375
- s1 = peg$c158(s1, s3, s8);
5600
+ s1 = peg$c163(s1, s3, s8);
5376
5601
  s0 = s1;
5377
5602
  }
5378
5603
  else {
@@ -5516,7 +5741,7 @@ function peg$parse(input, options) {
5516
5741
  }
5517
5742
  if (s6 !== peg$FAILED) {
5518
5743
  peg$savedPos = s0;
5519
- s1 = peg$c159(s1, s3, s5, s6);
5744
+ s1 = peg$c164(s1, s3, s5, s6);
5520
5745
  s0 = s1;
5521
5746
  }
5522
5747
  else {
@@ -5566,14 +5791,14 @@ function peg$parse(input, options) {
5566
5791
  s4 = peg$currPos;
5567
5792
  s5 = peg$parse_();
5568
5793
  if (s5 !== peg$FAILED) {
5569
- if (input.substr(peg$currPos, 2) === peg$c160) {
5570
- s6 = peg$c160;
5794
+ if (input.substr(peg$currPos, 2) === peg$c165) {
5795
+ s6 = peg$c165;
5571
5796
  peg$currPos += 2;
5572
5797
  }
5573
5798
  else {
5574
5799
  s6 = peg$FAILED;
5575
5800
  if (peg$silentFails === 0) {
5576
- peg$fail(peg$c161);
5801
+ peg$fail(peg$c166);
5577
5802
  }
5578
5803
  }
5579
5804
  if (s6 !== peg$FAILED) {
@@ -5633,14 +5858,14 @@ function peg$parse(input, options) {
5633
5858
  s4 = peg$currPos;
5634
5859
  s5 = peg$parse_();
5635
5860
  if (s5 !== peg$FAILED) {
5636
- if (input.substr(peg$currPos, 2) === peg$c160) {
5637
- s6 = peg$c160;
5861
+ if (input.substr(peg$currPos, 2) === peg$c165) {
5862
+ s6 = peg$c165;
5638
5863
  peg$currPos += 2;
5639
5864
  }
5640
5865
  else {
5641
5866
  s6 = peg$FAILED;
5642
5867
  if (peg$silentFails === 0) {
5643
- peg$fail(peg$c161);
5868
+ peg$fail(peg$c166);
5644
5869
  }
5645
5870
  }
5646
5871
  if (s6 !== peg$FAILED) {
@@ -5756,7 +5981,7 @@ function peg$parse(input, options) {
5756
5981
  s6 = peg$parsealias_replacement_text();
5757
5982
  if (s6 !== peg$FAILED) {
5758
5983
  peg$savedPos = s0;
5759
- s1 = peg$c162(s1, s2, s4, s6);
5984
+ s1 = peg$c167(s1, s2, s4, s6);
5760
5985
  s0 = s1;
5761
5986
  }
5762
5987
  else {
@@ -5819,25 +6044,25 @@ function peg$parse(input, options) {
5819
6044
  s5 = peg$parsestrictIdentifier();
5820
6045
  if (s5 === peg$FAILED) {
5821
6046
  s5 = peg$currPos;
5822
- if (peg$c163.test(input.charAt(peg$currPos))) {
6047
+ if (peg$c168.test(input.charAt(peg$currPos))) {
5823
6048
  s6 = input.charAt(peg$currPos);
5824
6049
  peg$currPos++;
5825
6050
  }
5826
6051
  else {
5827
6052
  s6 = peg$FAILED;
5828
6053
  if (peg$silentFails === 0) {
5829
- peg$fail(peg$c164);
6054
+ peg$fail(peg$c169);
5830
6055
  }
5831
6056
  }
5832
6057
  if (s6 !== peg$FAILED) {
5833
- if (input.substr(peg$currPos, 2) === peg$c165) {
5834
- s7 = peg$c165;
6058
+ if (input.substr(peg$currPos, 2) === peg$c170) {
6059
+ s7 = peg$c170;
5835
6060
  peg$currPos += 2;
5836
6061
  }
5837
6062
  else {
5838
6063
  s7 = peg$FAILED;
5839
6064
  if (peg$silentFails === 0) {
5840
- peg$fail(peg$c166);
6065
+ peg$fail(peg$c171);
5841
6066
  }
5842
6067
  }
5843
6068
  if (s7 !== peg$FAILED) {
@@ -5866,7 +6091,7 @@ function peg$parse(input, options) {
5866
6091
  s6 = peg$parsepod_configuration();
5867
6092
  if (s6 !== peg$FAILED) {
5868
6093
  peg$savedPos = s0;
5869
- s1 = peg$c167(s1, s2, s4, s6);
6094
+ s1 = peg$c172(s1, s2, s4, s6);
5870
6095
  s0 = s1;
5871
6096
  }
5872
6097
  else {
@@ -5921,7 +6146,7 @@ function peg$parse(input, options) {
5921
6146
  s5 = peg$parsepod_configuration();
5922
6147
  if (s5 !== peg$FAILED) {
5923
6148
  peg$savedPos = peg$currPos;
5924
- s6 = peg$c168(s1, s2, s3, s5);
6149
+ s6 = peg$c173(s1, s2, s3, s5);
5925
6150
  if (s6) {
5926
6151
  s6 = void 0;
5927
6152
  }
@@ -5996,7 +6221,7 @@ function peg$parse(input, options) {
5996
6221
  }
5997
6222
  if (s7 !== peg$FAILED) {
5998
6223
  peg$savedPos = s0;
5999
- s1 = peg$c169(s1, s2, s3, s5, s7);
6224
+ s1 = peg$c174(s1, s2, s3, s5, s7);
6000
6225
  s0 = s1;
6001
6226
  }
6002
6227
  else {
@@ -6056,7 +6281,7 @@ function peg$parse(input, options) {
6056
6281
  s5 = peg$parsepod_configuration();
6057
6282
  if (s5 !== peg$FAILED) {
6058
6283
  peg$savedPos = peg$currPos;
6059
- s6 = peg$c170(s1, s2, s3, s5);
6284
+ s6 = peg$c175(s1, s2, s3, s5);
6060
6285
  if (s6) {
6061
6286
  s6 = void 0;
6062
6287
  }
@@ -6065,7 +6290,7 @@ function peg$parse(input, options) {
6065
6290
  }
6066
6291
  if (s6 !== peg$FAILED) {
6067
6292
  peg$savedPos = peg$currPos;
6068
- s7 = peg$c171(s1, s2, s3, s5);
6293
+ s7 = peg$c176(s1, s2, s3, s5);
6069
6294
  if (s7) {
6070
6295
  s7 = void 0;
6071
6296
  }
@@ -6076,7 +6301,7 @@ function peg$parse(input, options) {
6076
6301
  s8 = peg$parsetableContents();
6077
6302
  if (s8 !== peg$FAILED) {
6078
6303
  peg$savedPos = s0;
6079
- s1 = peg$c172(s1, s2, s3, s5, s8);
6304
+ s1 = peg$c177(s1, s2, s3, s5, s8);
6080
6305
  s0 = s1;
6081
6306
  }
6082
6307
  else {
@@ -6207,7 +6432,7 @@ function peg$parse(input, options) {
6207
6432
  }
6208
6433
  if (s6 !== peg$FAILED) {
6209
6434
  peg$savedPos = s0;
6210
- s1 = peg$c173(s1, s2, s3, s5, s6);
6435
+ s1 = peg$c178(s1, s2, s3, s5, s6);
6211
6436
  s0 = s1;
6212
6437
  }
6213
6438
  else {
@@ -6245,14 +6470,14 @@ function peg$parse(input, options) {
6245
6470
  var s0, s1, s2, s3, s4;
6246
6471
  s0 = peg$currPos;
6247
6472
  s1 = peg$currPos;
6248
- if (peg$c174.test(input.charAt(peg$currPos))) {
6473
+ if (peg$c179.test(input.charAt(peg$currPos))) {
6249
6474
  s2 = input.charAt(peg$currPos);
6250
6475
  peg$currPos++;
6251
6476
  }
6252
6477
  else {
6253
6478
  s2 = peg$FAILED;
6254
6479
  if (peg$silentFails === 0) {
6255
- peg$fail(peg$c175);
6480
+ peg$fail(peg$c180);
6256
6481
  }
6257
6482
  }
6258
6483
  if (s2 !== peg$FAILED) {
@@ -6310,26 +6535,26 @@ function peg$parse(input, options) {
6310
6535
  var s0, s1;
6311
6536
  peg$silentFails++;
6312
6537
  s0 = [];
6313
- if (peg$c177.test(input.charAt(peg$currPos))) {
6538
+ if (peg$c182.test(input.charAt(peg$currPos))) {
6314
6539
  s1 = input.charAt(peg$currPos);
6315
6540
  peg$currPos++;
6316
6541
  }
6317
6542
  else {
6318
6543
  s1 = peg$FAILED;
6319
6544
  if (peg$silentFails === 0) {
6320
- peg$fail(peg$c178);
6545
+ peg$fail(peg$c183);
6321
6546
  }
6322
6547
  }
6323
6548
  while (s1 !== peg$FAILED) {
6324
6549
  s0.push(s1);
6325
- if (peg$c177.test(input.charAt(peg$currPos))) {
6550
+ if (peg$c182.test(input.charAt(peg$currPos))) {
6326
6551
  s1 = input.charAt(peg$currPos);
6327
6552
  peg$currPos++;
6328
6553
  }
6329
6554
  else {
6330
6555
  s1 = peg$FAILED;
6331
6556
  if (peg$silentFails === 0) {
6332
- peg$fail(peg$c178);
6557
+ peg$fail(peg$c183);
6333
6558
  }
6334
6559
  }
6335
6560
  }
@@ -6337,7 +6562,7 @@ function peg$parse(input, options) {
6337
6562
  if (s0 === peg$FAILED) {
6338
6563
  s1 = peg$FAILED;
6339
6564
  if (peg$silentFails === 0) {
6340
- peg$fail(peg$c176);
6565
+ peg$fail(peg$c181);
6341
6566
  }
6342
6567
  }
6343
6568
  return s0;
@@ -6346,26 +6571,26 @@ function peg$parse(input, options) {
6346
6571
  var s0, s1;
6347
6572
  peg$silentFails++;
6348
6573
  s0 = [];
6349
- if (peg$c177.test(input.charAt(peg$currPos))) {
6574
+ if (peg$c182.test(input.charAt(peg$currPos))) {
6350
6575
  s1 = input.charAt(peg$currPos);
6351
6576
  peg$currPos++;
6352
6577
  }
6353
6578
  else {
6354
6579
  s1 = peg$FAILED;
6355
6580
  if (peg$silentFails === 0) {
6356
- peg$fail(peg$c178);
6581
+ peg$fail(peg$c183);
6357
6582
  }
6358
6583
  }
6359
6584
  while (s1 !== peg$FAILED) {
6360
6585
  s0.push(s1);
6361
- if (peg$c177.test(input.charAt(peg$currPos))) {
6586
+ if (peg$c182.test(input.charAt(peg$currPos))) {
6362
6587
  s1 = input.charAt(peg$currPos);
6363
6588
  peg$currPos++;
6364
6589
  }
6365
6590
  else {
6366
6591
  s1 = peg$FAILED;
6367
6592
  if (peg$silentFails === 0) {
6368
- peg$fail(peg$c178);
6593
+ peg$fail(peg$c183);
6369
6594
  }
6370
6595
  }
6371
6596
  }
@@ -6373,7 +6598,7 @@ function peg$parse(input, options) {
6373
6598
  if (s0 === peg$FAILED) {
6374
6599
  s1 = peg$FAILED;
6375
6600
  if (peg$silentFails === 0) {
6376
- peg$fail(peg$c179);
6601
+ peg$fail(peg$c184);
6377
6602
  }
6378
6603
  }
6379
6604
  return s0;
@@ -6408,6 +6633,8 @@ function peg$parse(input, options) {
6408
6633
  'para',
6409
6634
  'picture',
6410
6635
  'pod',
6636
+ 'row',
6637
+ 'cell',
6411
6638
  'table',
6412
6639
  'toc',
6413
6640
  ].includes(name)