From e9cac38ba7219d60154bcd439d6e636038debd81 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 29 Jun 2020 08:05:11 -0700 Subject: [PATCH] feature(renderer): Support reversed lists While testing, found some more potential edge cases around the parser for attributes lists, so tightened those up. Fixes #662 --- pkg/parser/parser.go | 5798 +++++++++-------- pkg/parser/parser.peg | 8 +- pkg/renderer/sgml/html5/ordered_list.go | 1 + pkg/renderer/sgml/html5/ordered_list_test.go | 17 + pkg/renderer/sgml/ordered_list.go | 2 + pkg/renderer/sgml/xhtml5/ordered_list_test.go | 19 + 6 files changed, 2969 insertions(+), 2876 deletions(-) diff --git a/pkg/parser/parser.go b/pkg/parser/parser.go index 18ca0e15..17ea6c85 100644 --- a/pkg/parser/parser.go +++ b/pkg/parser/parser.go @@ -2690,85 +2690,115 @@ var g = &grammar{ name: "ShortHandValue", }, }, + &andExpr{ + pos: position{line: 344, col: 50, offset: 11847}, + expr: &charClassMatcher{ + pos: position{line: 344, col: 51, offset: 11848}, + val: "[,#%.\\r\\n\\]]", + chars: []rune{',', '#', '%', '.', '\r', '\n', ']'}, + ignoreCase: false, + inverted: false, + }, + }, }, }, }, }, { name: "ShortHandAttrID", - pos: position{line: 348, col: 1, offset: 11907}, + pos: position{line: 348, col: 1, offset: 11921}, expr: &actionExpr{ - pos: position{line: 348, col: 20, offset: 11926}, + pos: position{line: 348, col: 20, offset: 11940}, run: (*parser).callonShortHandAttrID1, expr: &seqExpr{ - pos: position{line: 348, col: 20, offset: 11926}, + pos: position{line: 348, col: 20, offset: 11940}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 348, col: 20, offset: 11926}, + pos: position{line: 348, col: 20, offset: 11940}, val: "#", ignoreCase: false, want: "\"#\"", }, &labeledExpr{ - pos: position{line: 348, col: 24, offset: 11930}, + pos: position{line: 348, col: 24, offset: 11944}, label: "id", expr: &ruleRefExpr{ - pos: position{line: 348, col: 27, offset: 11933}, + pos: position{line: 348, col: 27, offset: 11947}, name: "ShortHandValue", }, }, + &andExpr{ + pos: position{line: 348, col: 42, offset: 11962}, + expr: &charClassMatcher{ + pos: position{line: 348, col: 43, offset: 11963}, + val: "[,#%.\\r\\n\\]]", + chars: []rune{',', '#', '%', '.', '\r', '\n', ']'}, + ignoreCase: false, + inverted: false, + }, + }, }, }, }, }, { name: "ShortHandAttrRole", - pos: position{line: 352, col: 1, offset: 12000}, + pos: position{line: 352, col: 1, offset: 12028}, expr: &actionExpr{ - pos: position{line: 352, col: 22, offset: 12021}, + pos: position{line: 352, col: 22, offset: 12049}, run: (*parser).callonShortHandAttrRole1, expr: &seqExpr{ - pos: position{line: 352, col: 22, offset: 12021}, + pos: position{line: 352, col: 22, offset: 12049}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 352, col: 22, offset: 12021}, + pos: position{line: 352, col: 22, offset: 12049}, val: ".", ignoreCase: false, want: "\".\"", }, &labeledExpr{ - pos: position{line: 352, col: 26, offset: 12025}, + pos: position{line: 352, col: 26, offset: 12053}, label: "role", expr: &ruleRefExpr{ - pos: position{line: 352, col: 31, offset: 12030}, + pos: position{line: 352, col: 31, offset: 12058}, name: "ShortHandValue", }, }, + &andExpr{ + pos: position{line: 352, col: 46, offset: 12073}, + expr: &charClassMatcher{ + pos: position{line: 352, col: 47, offset: 12074}, + val: "[,#%.\\r\\n\\]]", + chars: []rune{',', '#', '%', '.', '\r', '\n', ']'}, + ignoreCase: false, + inverted: false, + }, + }, }, }, }, }, { name: "PositionalValue", - pos: position{line: 357, col: 1, offset: 12146}, + pos: position{line: 357, col: 1, offset: 12188}, expr: &actionExpr{ - pos: position{line: 357, col: 20, offset: 12165}, + pos: position{line: 357, col: 20, offset: 12207}, run: (*parser).callonPositionalValue1, expr: &seqExpr{ - pos: position{line: 357, col: 20, offset: 12165}, + pos: position{line: 357, col: 20, offset: 12207}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 357, col: 20, offset: 12165}, + pos: position{line: 357, col: 20, offset: 12207}, label: "value", expr: &ruleRefExpr{ - pos: position{line: 357, col: 26, offset: 12171}, + pos: position{line: 357, col: 26, offset: 12213}, name: "ShortHandValue", }, }, &andExpr{ - pos: position{line: 357, col: 41, offset: 12186}, + pos: position{line: 357, col: 41, offset: 12228}, expr: &charClassMatcher{ - pos: position{line: 357, col: 42, offset: 12187}, + pos: position{line: 357, col: 42, offset: 12229}, val: "[,#%.\\]]", chars: []rune{',', '#', '%', '.', ']'}, ignoreCase: false, @@ -2781,20 +2811,20 @@ var g = &grammar{ }, { name: "ShortHandValue", - pos: position{line: 361, col: 1, offset: 12236}, + pos: position{line: 361, col: 1, offset: 12278}, expr: &choiceExpr{ - pos: position{line: 361, col: 19, offset: 12254}, + pos: position{line: 361, col: 19, offset: 12296}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 361, col: 19, offset: 12254}, + pos: position{line: 361, col: 19, offset: 12296}, name: "ShortHandValuePlain", }, &ruleRefExpr{ - pos: position{line: 361, col: 41, offset: 12276}, + pos: position{line: 361, col: 41, offset: 12318}, name: "AttrValueSingleQuoted", }, &ruleRefExpr{ - pos: position{line: 361, col: 65, offset: 12300}, + pos: position{line: 361, col: 65, offset: 12342}, name: "AttrValueDoubleQuoted", }, }, @@ -2802,28 +2832,52 @@ var g = &grammar{ }, { name: "ShortHandValuePlain", - pos: position{line: 365, col: 1, offset: 12502}, + pos: position{line: 365, col: 1, offset: 12544}, expr: &actionExpr{ - pos: position{line: 365, col: 24, offset: 12525}, + pos: position{line: 365, col: 24, offset: 12567}, run: (*parser).callonShortHandValuePlain1, expr: &seqExpr{ - pos: position{line: 365, col: 24, offset: 12525}, + pos: position{line: 365, col: 24, offset: 12567}, exprs: []interface{}{ &charClassMatcher{ - pos: position{line: 365, col: 24, offset: 12525}, + pos: position{line: 365, col: 24, offset: 12567}, val: "[^,\\r\\n\"' \\t.#%=\\]]", chars: []rune{',', '\r', '\n', '"', '\'', ' ', '\t', '.', '#', '%', '=', ']'}, ignoreCase: false, inverted: true, }, &zeroOrMoreExpr{ - pos: position{line: 365, col: 43, offset: 12544}, - expr: &charClassMatcher{ - pos: position{line: 365, col: 43, offset: 12544}, - val: "[^,\\r\\n\"'.#%=\\]]", - chars: []rune{',', '\r', '\n', '"', '\'', '.', '#', '%', '=', ']'}, - ignoreCase: false, - inverted: true, + pos: position{line: 365, col: 45, offset: 12588}, + expr: &choiceExpr{ + pos: position{line: 365, col: 46, offset: 12589}, + alternatives: []interface{}{ + &charClassMatcher{ + pos: position{line: 365, col: 46, offset: 12589}, + val: "[^,\\r\\n\"'.#%=\\]]", + chars: []rune{',', '\r', '\n', '"', '\'', '.', '#', '%', '=', ']'}, + ignoreCase: false, + inverted: true, + }, + &seqExpr{ + pos: position{line: 365, col: 65, offset: 12608}, + exprs: []interface{}{ + &charClassMatcher{ + pos: position{line: 365, col: 65, offset: 12608}, + val: "[ \\t]", + chars: []rune{' ', '\t'}, + ignoreCase: false, + inverted: false, + }, + &charClassMatcher{ + pos: position{line: 365, col: 70, offset: 12613}, + val: "[^,\\r\\n\"'.#%=\\]]", + chars: []rune{',', '\r', '\n', '"', '\'', '.', '#', '%', '=', ']'}, + ignoreCase: false, + inverted: true, + }, + }, + }, + }, }, }, }, @@ -2832,28 +2886,28 @@ var g = &grammar{ }, { name: "NamedAttr", - pos: position{line: 369, col: 1, offset: 12602}, + pos: position{line: 369, col: 1, offset: 12672}, expr: &actionExpr{ - pos: position{line: 369, col: 13, offset: 12614}, + pos: position{line: 369, col: 13, offset: 12684}, run: (*parser).callonNamedAttr1, expr: &seqExpr{ - pos: position{line: 369, col: 13, offset: 12614}, + pos: position{line: 369, col: 13, offset: 12684}, exprs: []interface{}{ &zeroOrOneExpr{ - pos: position{line: 369, col: 13, offset: 12614}, + pos: position{line: 369, col: 13, offset: 12684}, expr: &seqExpr{ - pos: position{line: 369, col: 15, offset: 12616}, + pos: position{line: 369, col: 15, offset: 12686}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 369, col: 15, offset: 12616}, + pos: position{line: 369, col: 15, offset: 12686}, val: ",", ignoreCase: false, want: "\",\"", }, &zeroOrMoreExpr{ - pos: position{line: 369, col: 19, offset: 12620}, + pos: position{line: 369, col: 19, offset: 12690}, expr: &ruleRefExpr{ - pos: position{line: 369, col: 19, offset: 12620}, + pos: position{line: 369, col: 19, offset: 12690}, name: "Space", }, }, @@ -2861,45 +2915,45 @@ var g = &grammar{ }, }, &labeledExpr{ - pos: position{line: 369, col: 29, offset: 12630}, + pos: position{line: 369, col: 29, offset: 12700}, label: "key", expr: &ruleRefExpr{ - pos: position{line: 369, col: 33, offset: 12634}, + pos: position{line: 369, col: 33, offset: 12704}, name: "NamedAttrKey", }, }, &zeroOrMoreExpr{ - pos: position{line: 369, col: 46, offset: 12647}, + pos: position{line: 369, col: 46, offset: 12717}, expr: &ruleRefExpr{ - pos: position{line: 369, col: 46, offset: 12647}, + pos: position{line: 369, col: 46, offset: 12717}, name: "Space", }, }, &litMatcher{ - pos: position{line: 369, col: 53, offset: 12654}, + pos: position{line: 369, col: 53, offset: 12724}, val: "=", ignoreCase: false, want: "\"=\"", }, &zeroOrMoreExpr{ - pos: position{line: 369, col: 57, offset: 12658}, + pos: position{line: 369, col: 57, offset: 12728}, expr: &ruleRefExpr{ - pos: position{line: 369, col: 57, offset: 12658}, + pos: position{line: 369, col: 57, offset: 12728}, name: "Space", }, }, &labeledExpr{ - pos: position{line: 369, col: 64, offset: 12665}, + pos: position{line: 369, col: 64, offset: 12735}, label: "value", expr: &ruleRefExpr{ - pos: position{line: 369, col: 70, offset: 12671}, + pos: position{line: 369, col: 70, offset: 12741}, name: "NamedAttrValue", }, }, &zeroOrMoreExpr{ - pos: position{line: 369, col: 85, offset: 12686}, + pos: position{line: 369, col: 85, offset: 12756}, expr: &ruleRefExpr{ - pos: position{line: 369, col: 85, offset: 12686}, + pos: position{line: 369, col: 85, offset: 12756}, name: "Space", }, }, @@ -2909,15 +2963,15 @@ var g = &grammar{ }, { name: "NamedAttrKey", - pos: position{line: 374, col: 1, offset: 12881}, + pos: position{line: 374, col: 1, offset: 12951}, expr: &actionExpr{ - pos: position{line: 374, col: 17, offset: 12897}, + pos: position{line: 374, col: 17, offset: 12967}, run: (*parser).callonNamedAttrKey1, expr: &seqExpr{ - pos: position{line: 374, col: 17, offset: 12897}, + pos: position{line: 374, col: 17, offset: 12967}, exprs: []interface{}{ &charClassMatcher{ - pos: position{line: 374, col: 17, offset: 12897}, + pos: position{line: 374, col: 17, offset: 12967}, val: "[\\pL0-9_]", chars: []rune{'_'}, ranges: []rune{'0', '9'}, @@ -2926,9 +2980,9 @@ var g = &grammar{ inverted: false, }, &zeroOrMoreExpr{ - pos: position{line: 374, col: 26, offset: 12906}, + pos: position{line: 374, col: 26, offset: 12976}, expr: &charClassMatcher{ - pos: position{line: 374, col: 26, offset: 12906}, + pos: position{line: 374, col: 26, offset: 12976}, val: "[\\pL0-9_-]", chars: []rune{'_', '-'}, ranges: []rune{'0', '9'}, @@ -2943,24 +2997,24 @@ var g = &grammar{ }, { name: "NamedAttrValue", - pos: position{line: 378, col: 1, offset: 12958}, + pos: position{line: 378, col: 1, offset: 13028}, expr: &choiceExpr{ - pos: position{line: 378, col: 19, offset: 12976}, + pos: position{line: 378, col: 19, offset: 13046}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 378, col: 19, offset: 12976}, + pos: position{line: 378, col: 19, offset: 13046}, name: "AttrValueNone", }, &ruleRefExpr{ - pos: position{line: 378, col: 35, offset: 12992}, + pos: position{line: 378, col: 35, offset: 13062}, name: "AttrValueSingleQuoted", }, &ruleRefExpr{ - pos: position{line: 378, col: 59, offset: 13016}, + pos: position{line: 378, col: 59, offset: 13086}, name: "AttrValueDoubleQuoted", }, &ruleRefExpr{ - pos: position{line: 378, col: 83, offset: 13040}, + pos: position{line: 378, col: 83, offset: 13110}, name: "AttrValuePlain", }, }, @@ -2968,14 +3022,14 @@ var g = &grammar{ }, { name: "AttrValuePlain", - pos: position{line: 380, col: 1, offset: 13058}, + pos: position{line: 380, col: 1, offset: 13128}, expr: &actionExpr{ - pos: position{line: 380, col: 19, offset: 13076}, + pos: position{line: 380, col: 19, offset: 13146}, run: (*parser).callonAttrValuePlain1, expr: &oneOrMoreExpr{ - pos: position{line: 380, col: 19, offset: 13076}, + pos: position{line: 380, col: 19, offset: 13146}, expr: &charClassMatcher{ - pos: position{line: 380, col: 19, offset: 13076}, + pos: position{line: 380, col: 19, offset: 13146}, val: "[^,\\r\\n\"' \\t\\]]", chars: []rune{',', '\r', '\n', '"', '\'', ' ', '\t', ']'}, ignoreCase: false, @@ -2986,23 +3040,23 @@ var g = &grammar{ }, { name: "AttrValueSingleQuoted", - pos: position{line: 384, col: 1, offset: 13133}, + pos: position{line: 384, col: 1, offset: 13203}, expr: &actionExpr{ - pos: position{line: 384, col: 26, offset: 13158}, + pos: position{line: 384, col: 26, offset: 13228}, run: (*parser).callonAttrValueSingleQuoted1, expr: &seqExpr{ - pos: position{line: 384, col: 26, offset: 13158}, + pos: position{line: 384, col: 26, offset: 13228}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 384, col: 26, offset: 13158}, + pos: position{line: 384, col: 26, offset: 13228}, val: "'", ignoreCase: false, want: "\"'\"", }, &oneOrMoreExpr{ - pos: position{line: 384, col: 30, offset: 13162}, + pos: position{line: 384, col: 30, offset: 13232}, expr: &charClassMatcher{ - pos: position{line: 384, col: 30, offset: 13162}, + pos: position{line: 384, col: 30, offset: 13232}, val: "[^'\\r\\n]", chars: []rune{'\'', '\r', '\n'}, ignoreCase: false, @@ -3010,7 +3064,7 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 384, col: 40, offset: 13172}, + pos: position{line: 384, col: 40, offset: 13242}, val: "'", ignoreCase: false, want: "\"'\"", @@ -3021,23 +3075,23 @@ var g = &grammar{ }, { name: "AttrValueDoubleQuoted", - pos: position{line: 388, col: 1, offset: 13233}, + pos: position{line: 388, col: 1, offset: 13303}, expr: &actionExpr{ - pos: position{line: 388, col: 26, offset: 13258}, + pos: position{line: 388, col: 26, offset: 13328}, run: (*parser).callonAttrValueDoubleQuoted1, expr: &seqExpr{ - pos: position{line: 388, col: 26, offset: 13258}, + pos: position{line: 388, col: 26, offset: 13328}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 388, col: 26, offset: 13258}, + pos: position{line: 388, col: 26, offset: 13328}, val: "\"", ignoreCase: false, want: "\"\\\"\"", }, &oneOrMoreExpr{ - pos: position{line: 388, col: 31, offset: 13263}, + pos: position{line: 388, col: 31, offset: 13333}, expr: &charClassMatcher{ - pos: position{line: 388, col: 31, offset: 13263}, + pos: position{line: 388, col: 31, offset: 13333}, val: "[^\"\\r\\n]", chars: []rune{'"', '\r', '\n'}, ignoreCase: false, @@ -3045,7 +3099,7 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 388, col: 41, offset: 13273}, + pos: position{line: 388, col: 41, offset: 13343}, val: "\"", ignoreCase: false, want: "\"\\\"\"", @@ -3056,12 +3110,12 @@ var g = &grammar{ }, { name: "AttrValueNone", - pos: position{line: 394, col: 1, offset: 13533}, + pos: position{line: 394, col: 1, offset: 13603}, expr: &actionExpr{ - pos: position{line: 394, col: 18, offset: 13550}, + pos: position{line: 394, col: 18, offset: 13620}, run: (*parser).callonAttrValueNone1, expr: &litMatcher{ - pos: position{line: 394, col: 18, offset: 13550}, + pos: position{line: 394, col: 18, offset: 13620}, val: "None", ignoreCase: false, want: "\"None\"", @@ -3070,16 +3124,16 @@ var g = &grammar{ }, { name: "QuotedString", - pos: position{line: 402, col: 1, offset: 13740}, + pos: position{line: 402, col: 1, offset: 13810}, expr: &choiceExpr{ - pos: position{line: 402, col: 17, offset: 13756}, + pos: position{line: 402, col: 17, offset: 13826}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 402, col: 17, offset: 13756}, + pos: position{line: 402, col: 17, offset: 13826}, name: "SingleQuotedString", }, &ruleRefExpr{ - pos: position{line: 402, col: 38, offset: 13777}, + pos: position{line: 402, col: 38, offset: 13847}, name: "DoubleQuotedString", }, }, @@ -3087,27 +3141,27 @@ var g = &grammar{ }, { name: "SingleQuotedString", - pos: position{line: 404, col: 1, offset: 13799}, + pos: position{line: 404, col: 1, offset: 13869}, expr: &actionExpr{ - pos: position{line: 404, col: 23, offset: 13821}, + pos: position{line: 404, col: 23, offset: 13891}, run: (*parser).callonSingleQuotedString1, expr: &seqExpr{ - pos: position{line: 404, col: 23, offset: 13821}, + pos: position{line: 404, col: 23, offset: 13891}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 404, col: 23, offset: 13821}, + pos: position{line: 404, col: 23, offset: 13891}, name: "SingleQuoteStringStart", }, &labeledExpr{ - pos: position{line: 404, col: 46, offset: 13844}, + pos: position{line: 404, col: 46, offset: 13914}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 404, col: 55, offset: 13853}, + pos: position{line: 404, col: 55, offset: 13923}, name: "SingleQuotedStringElements", }, }, &ruleRefExpr{ - pos: position{line: 404, col: 82, offset: 13880}, + pos: position{line: 404, col: 82, offset: 13950}, name: "SingleQuoteStringEnd", }, }, @@ -3116,17 +3170,17 @@ var g = &grammar{ }, { name: "SingleQuotedStringElements", - pos: position{line: 408, col: 1, offset: 13988}, + pos: position{line: 408, col: 1, offset: 14058}, expr: &actionExpr{ - pos: position{line: 408, col: 31, offset: 14018}, + pos: position{line: 408, col: 31, offset: 14088}, run: (*parser).callonSingleQuotedStringElements1, expr: &labeledExpr{ - pos: position{line: 408, col: 31, offset: 14018}, + pos: position{line: 408, col: 31, offset: 14088}, label: "elements", expr: &oneOrMoreExpr{ - pos: position{line: 408, col: 41, offset: 14028}, + pos: position{line: 408, col: 41, offset: 14098}, expr: &ruleRefExpr{ - pos: position{line: 408, col: 41, offset: 14028}, + pos: position{line: 408, col: 41, offset: 14098}, name: "SingleQuotedStringElement", }, }, @@ -3135,20 +3189,20 @@ var g = &grammar{ }, { name: "SingleQuoteStringStart", - pos: position{line: 412, col: 1, offset: 14110}, + pos: position{line: 412, col: 1, offset: 14180}, expr: &seqExpr{ - pos: position{line: 412, col: 27, offset: 14136}, + pos: position{line: 412, col: 27, offset: 14206}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 412, col: 27, offset: 14136}, + pos: position{line: 412, col: 27, offset: 14206}, val: "'`", ignoreCase: false, want: "\"'`\"", }, ¬Expr{ - pos: position{line: 412, col: 32, offset: 14141}, + pos: position{line: 412, col: 32, offset: 14211}, expr: &charClassMatcher{ - pos: position{line: 412, col: 33, offset: 14142}, + pos: position{line: 412, col: 33, offset: 14212}, val: "[ \\t\\r\\n]", chars: []rune{' ', '\t', '\r', '\n'}, ignoreCase: false, @@ -3160,9 +3214,9 @@ var g = &grammar{ }, { name: "SingleQuoteStringEnd", - pos: position{line: 414, col: 1, offset: 14155}, + pos: position{line: 414, col: 1, offset: 14225}, expr: &litMatcher{ - pos: position{line: 414, col: 25, offset: 14179}, + pos: position{line: 414, col: 25, offset: 14249}, val: "`'", ignoreCase: false, want: "\"`'\"", @@ -3170,141 +3224,141 @@ var g = &grammar{ }, { name: "SingleQuotedStringElement", - pos: position{line: 417, col: 1, offset: 14270}, + pos: position{line: 417, col: 1, offset: 14340}, expr: &actionExpr{ - pos: position{line: 417, col: 30, offset: 14299}, + pos: position{line: 417, col: 30, offset: 14369}, run: (*parser).callonSingleQuotedStringElement1, expr: &labeledExpr{ - pos: position{line: 417, col: 30, offset: 14299}, + pos: position{line: 417, col: 30, offset: 14369}, label: "element", expr: &choiceExpr{ - pos: position{line: 418, col: 9, offset: 14318}, + pos: position{line: 418, col: 9, offset: 14388}, alternatives: []interface{}{ &seqExpr{ - pos: position{line: 418, col: 9, offset: 14318}, + pos: position{line: 418, col: 9, offset: 14388}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 418, col: 9, offset: 14318}, + pos: position{line: 418, col: 9, offset: 14388}, name: "LineBreak", }, ¬Expr{ - pos: position{line: 418, col: 19, offset: 14328}, + pos: position{line: 418, col: 19, offset: 14398}, expr: &ruleRefExpr{ - pos: position{line: 418, col: 20, offset: 14329}, + pos: position{line: 418, col: 20, offset: 14399}, name: "SingleQuoteStringEnd", }, }, }, }, &seqExpr{ - pos: position{line: 419, col: 11, offset: 14386}, + pos: position{line: 419, col: 11, offset: 14456}, exprs: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 419, col: 11, offset: 14386}, + pos: position{line: 419, col: 11, offset: 14456}, expr: &ruleRefExpr{ - pos: position{line: 419, col: 11, offset: 14386}, + pos: position{line: 419, col: 11, offset: 14456}, name: "Space", }, }, ¬Expr{ - pos: position{line: 419, col: 18, offset: 14393}, + pos: position{line: 419, col: 18, offset: 14463}, expr: &ruleRefExpr{ - pos: position{line: 419, col: 19, offset: 14394}, + pos: position{line: 419, col: 19, offset: 14464}, name: "SingleQuoteStringEnd", }, }, }, }, &seqExpr{ - pos: position{line: 420, col: 11, offset: 14426}, + pos: position{line: 420, col: 11, offset: 14496}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 420, col: 11, offset: 14426}, + pos: position{line: 420, col: 11, offset: 14496}, expr: &litMatcher{ - pos: position{line: 420, col: 12, offset: 14427}, + pos: position{line: 420, col: 12, offset: 14497}, val: "`", ignoreCase: false, want: "\"`\"", }, }, &ruleRefExpr{ - pos: position{line: 420, col: 16, offset: 14431}, + pos: position{line: 420, col: 16, offset: 14501}, name: "Symbol", }, }, }, &ruleRefExpr{ - pos: position{line: 421, col: 11, offset: 14480}, + pos: position{line: 421, col: 11, offset: 14550}, name: "InlineIcon", }, &ruleRefExpr{ - pos: position{line: 422, col: 11, offset: 14502}, + pos: position{line: 422, col: 11, offset: 14572}, name: "InlineImage", }, &ruleRefExpr{ - pos: position{line: 423, col: 11, offset: 14525}, + pos: position{line: 423, col: 11, offset: 14595}, name: "InlineFootnote", }, &ruleRefExpr{ - pos: position{line: 424, col: 11, offset: 14551}, + pos: position{line: 424, col: 11, offset: 14621}, name: "InlinePassthrough", }, &ruleRefExpr{ - pos: position{line: 425, col: 11, offset: 14580}, + pos: position{line: 425, col: 11, offset: 14650}, name: "Link", }, &ruleRefExpr{ - pos: position{line: 426, col: 11, offset: 14596}, + pos: position{line: 426, col: 11, offset: 14666}, name: "AttributeSubstitution", }, &ruleRefExpr{ - pos: position{line: 427, col: 11, offset: 14629}, + pos: position{line: 427, col: 11, offset: 14699}, name: "BoldText", }, &ruleRefExpr{ - pos: position{line: 428, col: 11, offset: 14649}, + pos: position{line: 428, col: 11, offset: 14719}, name: "ItalicText", }, &ruleRefExpr{ - pos: position{line: 429, col: 11, offset: 14671}, + pos: position{line: 429, col: 11, offset: 14741}, name: "MarkedText", }, &ruleRefExpr{ - pos: position{line: 430, col: 11, offset: 14693}, + pos: position{line: 430, col: 11, offset: 14763}, name: "SubscriptText", }, &ruleRefExpr{ - pos: position{line: 431, col: 11, offset: 14718}, + pos: position{line: 431, col: 11, offset: 14788}, name: "SuperscriptText", }, &seqExpr{ - pos: position{line: 432, col: 11, offset: 14745}, + pos: position{line: 432, col: 11, offset: 14815}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 432, col: 11, offset: 14745}, + pos: position{line: 432, col: 11, offset: 14815}, expr: &litMatcher{ - pos: position{line: 432, col: 12, offset: 14746}, + pos: position{line: 432, col: 12, offset: 14816}, val: "`'", ignoreCase: false, want: "\"`'\"", }, }, &ruleRefExpr{ - pos: position{line: 432, col: 17, offset: 14751}, + pos: position{line: 432, col: 17, offset: 14821}, name: "MonospaceText", }, }, }, &ruleRefExpr{ - pos: position{line: 433, col: 11, offset: 14776}, + pos: position{line: 433, col: 11, offset: 14846}, name: "DoubleQuotedString", }, &ruleRefExpr{ - pos: position{line: 434, col: 11, offset: 14806}, + pos: position{line: 434, col: 11, offset: 14876}, name: "ImpliedApostrophe", }, &ruleRefExpr{ - pos: position{line: 435, col: 11, offset: 14835}, + pos: position{line: 435, col: 11, offset: 14905}, name: "SingleQuotedStringFallbackCharacter", }, }, @@ -3314,33 +3368,33 @@ var g = &grammar{ }, { name: "SingleQuotedStringFallbackCharacter", - pos: position{line: 439, col: 1, offset: 14905}, + pos: position{line: 439, col: 1, offset: 14975}, expr: &choiceExpr{ - pos: position{line: 439, col: 41, offset: 14945}, + pos: position{line: 439, col: 41, offset: 15015}, alternatives: []interface{}{ &charClassMatcher{ - pos: position{line: 439, col: 41, offset: 14945}, + pos: position{line: 439, col: 41, offset: 15015}, val: "[^\\r\\n\\t `]", chars: []rune{'\r', '\n', '\t', ' ', '`'}, ignoreCase: false, inverted: true, }, &actionExpr{ - pos: position{line: 439, col: 55, offset: 14959}, + pos: position{line: 439, col: 55, offset: 15029}, run: (*parser).callonSingleQuotedStringFallbackCharacter3, expr: &seqExpr{ - pos: position{line: 439, col: 55, offset: 14959}, + pos: position{line: 439, col: 55, offset: 15029}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 439, col: 55, offset: 14959}, + pos: position{line: 439, col: 55, offset: 15029}, val: "`", ignoreCase: false, want: "\"`\"", }, ¬Expr{ - pos: position{line: 439, col: 59, offset: 14963}, + pos: position{line: 439, col: 59, offset: 15033}, expr: &litMatcher{ - pos: position{line: 439, col: 60, offset: 14964}, + pos: position{line: 439, col: 60, offset: 15034}, val: "'", ignoreCase: false, want: "\"'\"", @@ -3354,27 +3408,27 @@ var g = &grammar{ }, { name: "DoubleQuotedString", - pos: position{line: 443, col: 1, offset: 15027}, + pos: position{line: 443, col: 1, offset: 15097}, expr: &actionExpr{ - pos: position{line: 443, col: 23, offset: 15049}, + pos: position{line: 443, col: 23, offset: 15119}, run: (*parser).callonDoubleQuotedString1, expr: &seqExpr{ - pos: position{line: 443, col: 23, offset: 15049}, + pos: position{line: 443, col: 23, offset: 15119}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 443, col: 23, offset: 15049}, + pos: position{line: 443, col: 23, offset: 15119}, name: "DoubleQuoteStringStart", }, &labeledExpr{ - pos: position{line: 443, col: 46, offset: 15072}, + pos: position{line: 443, col: 46, offset: 15142}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 443, col: 55, offset: 15081}, + pos: position{line: 443, col: 55, offset: 15151}, name: "DoubleQuotedStringElements", }, }, &ruleRefExpr{ - pos: position{line: 443, col: 82, offset: 15108}, + pos: position{line: 443, col: 82, offset: 15178}, name: "DoubleQuoteStringEnd", }, }, @@ -3383,17 +3437,17 @@ var g = &grammar{ }, { name: "DoubleQuotedStringElements", - pos: position{line: 447, col: 1, offset: 15216}, + pos: position{line: 447, col: 1, offset: 15286}, expr: &actionExpr{ - pos: position{line: 447, col: 31, offset: 15246}, + pos: position{line: 447, col: 31, offset: 15316}, run: (*parser).callonDoubleQuotedStringElements1, expr: &labeledExpr{ - pos: position{line: 447, col: 31, offset: 15246}, + pos: position{line: 447, col: 31, offset: 15316}, label: "elements", expr: &oneOrMoreExpr{ - pos: position{line: 447, col: 41, offset: 15256}, + pos: position{line: 447, col: 41, offset: 15326}, expr: &ruleRefExpr{ - pos: position{line: 447, col: 41, offset: 15256}, + pos: position{line: 447, col: 41, offset: 15326}, name: "DoubleQuotedStringElement", }, }, @@ -3402,127 +3456,127 @@ var g = &grammar{ }, { name: "DoubleQuotedStringElement", - pos: position{line: 452, col: 1, offset: 15421}, + pos: position{line: 452, col: 1, offset: 15491}, expr: &actionExpr{ - pos: position{line: 452, col: 30, offset: 15450}, + pos: position{line: 452, col: 30, offset: 15520}, run: (*parser).callonDoubleQuotedStringElement1, expr: &labeledExpr{ - pos: position{line: 452, col: 30, offset: 15450}, + pos: position{line: 452, col: 30, offset: 15520}, label: "element", expr: &choiceExpr{ - pos: position{line: 453, col: 9, offset: 15469}, + pos: position{line: 453, col: 9, offset: 15539}, alternatives: []interface{}{ &seqExpr{ - pos: position{line: 453, col: 9, offset: 15469}, + pos: position{line: 453, col: 9, offset: 15539}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 453, col: 9, offset: 15469}, + pos: position{line: 453, col: 9, offset: 15539}, name: "LineBreak", }, ¬Expr{ - pos: position{line: 453, col: 19, offset: 15479}, + pos: position{line: 453, col: 19, offset: 15549}, expr: &ruleRefExpr{ - pos: position{line: 453, col: 20, offset: 15480}, + pos: position{line: 453, col: 20, offset: 15550}, name: "DoubleQuoteStringEnd", }, }, }, }, &seqExpr{ - pos: position{line: 454, col: 11, offset: 15537}, + pos: position{line: 454, col: 11, offset: 15607}, exprs: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 454, col: 11, offset: 15537}, + pos: position{line: 454, col: 11, offset: 15607}, expr: &ruleRefExpr{ - pos: position{line: 454, col: 11, offset: 15537}, + pos: position{line: 454, col: 11, offset: 15607}, name: "Space", }, }, ¬Expr{ - pos: position{line: 454, col: 18, offset: 15544}, + pos: position{line: 454, col: 18, offset: 15614}, expr: &ruleRefExpr{ - pos: position{line: 454, col: 19, offset: 15545}, + pos: position{line: 454, col: 19, offset: 15615}, name: "DoubleQuoteStringEnd", }, }, }, }, &ruleRefExpr{ - pos: position{line: 455, col: 11, offset: 15577}, + pos: position{line: 455, col: 11, offset: 15647}, name: "Symbol", }, &ruleRefExpr{ - pos: position{line: 456, col: 11, offset: 15595}, + pos: position{line: 456, col: 11, offset: 15665}, name: "InlineIcon", }, &ruleRefExpr{ - pos: position{line: 457, col: 11, offset: 15617}, + pos: position{line: 457, col: 11, offset: 15687}, name: "InlineImage", }, &ruleRefExpr{ - pos: position{line: 458, col: 11, offset: 15640}, + pos: position{line: 458, col: 11, offset: 15710}, name: "InlineFootnote", }, &ruleRefExpr{ - pos: position{line: 459, col: 11, offset: 15666}, + pos: position{line: 459, col: 11, offset: 15736}, name: "InlinePassthrough", }, &ruleRefExpr{ - pos: position{line: 460, col: 11, offset: 15695}, + pos: position{line: 460, col: 11, offset: 15765}, name: "Link", }, &ruleRefExpr{ - pos: position{line: 461, col: 11, offset: 15711}, + pos: position{line: 461, col: 11, offset: 15781}, name: "AttributeSubstitution", }, &ruleRefExpr{ - pos: position{line: 462, col: 11, offset: 15744}, + pos: position{line: 462, col: 11, offset: 15814}, name: "BoldText", }, &ruleRefExpr{ - pos: position{line: 463, col: 11, offset: 15764}, + pos: position{line: 463, col: 11, offset: 15834}, name: "ItalicText", }, &ruleRefExpr{ - pos: position{line: 464, col: 11, offset: 15786}, + pos: position{line: 464, col: 11, offset: 15856}, name: "MarkedText", }, &ruleRefExpr{ - pos: position{line: 465, col: 11, offset: 15808}, + pos: position{line: 465, col: 11, offset: 15878}, name: "SubscriptText", }, &ruleRefExpr{ - pos: position{line: 466, col: 11, offset: 15833}, + pos: position{line: 466, col: 11, offset: 15903}, name: "SuperscriptText", }, &seqExpr{ - pos: position{line: 467, col: 11, offset: 15860}, + pos: position{line: 467, col: 11, offset: 15930}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 467, col: 11, offset: 15860}, + pos: position{line: 467, col: 11, offset: 15930}, expr: &litMatcher{ - pos: position{line: 467, col: 12, offset: 15861}, + pos: position{line: 467, col: 12, offset: 15931}, val: "`\"", ignoreCase: false, want: "\"`\\\"\"", }, }, &ruleRefExpr{ - pos: position{line: 467, col: 18, offset: 15867}, + pos: position{line: 467, col: 18, offset: 15937}, name: "MonospaceText", }, }, }, &ruleRefExpr{ - pos: position{line: 468, col: 11, offset: 15892}, + pos: position{line: 468, col: 11, offset: 15962}, name: "SingleQuotedString", }, &ruleRefExpr{ - pos: position{line: 469, col: 11, offset: 15922}, + pos: position{line: 469, col: 11, offset: 15992}, name: "ImpliedApostrophe", }, &ruleRefExpr{ - pos: position{line: 470, col: 11, offset: 15951}, + pos: position{line: 470, col: 11, offset: 16021}, name: "DoubleQuotedStringFallbackCharacter", }, }, @@ -3532,20 +3586,20 @@ var g = &grammar{ }, { name: "DoubleQuoteStringStart", - pos: position{line: 474, col: 1, offset: 16029}, + pos: position{line: 474, col: 1, offset: 16099}, expr: &seqExpr{ - pos: position{line: 474, col: 27, offset: 16055}, + pos: position{line: 474, col: 27, offset: 16125}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 474, col: 27, offset: 16055}, + pos: position{line: 474, col: 27, offset: 16125}, val: "\"`", ignoreCase: false, want: "\"\\\"`\"", }, ¬Expr{ - pos: position{line: 474, col: 33, offset: 16061}, + pos: position{line: 474, col: 33, offset: 16131}, expr: &charClassMatcher{ - pos: position{line: 474, col: 34, offset: 16062}, + pos: position{line: 474, col: 34, offset: 16132}, val: "[ \\t\\r\\n]", chars: []rune{' ', '\t', '\r', '\n'}, ignoreCase: false, @@ -3557,9 +3611,9 @@ var g = &grammar{ }, { name: "DoubleQuoteStringEnd", - pos: position{line: 476, col: 1, offset: 16075}, + pos: position{line: 476, col: 1, offset: 16145}, expr: &litMatcher{ - pos: position{line: 476, col: 25, offset: 16099}, + pos: position{line: 476, col: 25, offset: 16169}, val: "`\"", ignoreCase: false, want: "\"`\\\"\"", @@ -3567,33 +3621,33 @@ var g = &grammar{ }, { name: "DoubleQuotedStringFallbackCharacter", - pos: position{line: 478, col: 1, offset: 16108}, + pos: position{line: 478, col: 1, offset: 16178}, expr: &actionExpr{ - pos: position{line: 478, col: 41, offset: 16148}, + pos: position{line: 478, col: 41, offset: 16218}, run: (*parser).callonDoubleQuotedStringFallbackCharacter1, expr: &choiceExpr{ - pos: position{line: 478, col: 42, offset: 16149}, + pos: position{line: 478, col: 42, offset: 16219}, alternatives: []interface{}{ &charClassMatcher{ - pos: position{line: 478, col: 42, offset: 16149}, + pos: position{line: 478, col: 42, offset: 16219}, val: "[^\\r\\n\\t `]", chars: []rune{'\r', '\n', '\t', ' ', '`'}, ignoreCase: false, inverted: true, }, &seqExpr{ - pos: position{line: 478, col: 56, offset: 16163}, + pos: position{line: 478, col: 56, offset: 16233}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 478, col: 56, offset: 16163}, + pos: position{line: 478, col: 56, offset: 16233}, val: "`", ignoreCase: false, want: "\"`\"", }, ¬Expr{ - pos: position{line: 478, col: 60, offset: 16167}, + pos: position{line: 478, col: 60, offset: 16237}, expr: &litMatcher{ - pos: position{line: 478, col: 61, offset: 16168}, + pos: position{line: 478, col: 61, offset: 16238}, val: "\"", ignoreCase: false, want: "\"\\\"\"", @@ -3607,34 +3661,34 @@ var g = &grammar{ }, { name: "Section", - pos: position{line: 485, col: 1, offset: 16340}, + pos: position{line: 485, col: 1, offset: 16410}, expr: &actionExpr{ - pos: position{line: 485, col: 12, offset: 16351}, + pos: position{line: 485, col: 12, offset: 16421}, run: (*parser).callonSection1, expr: &seqExpr{ - pos: position{line: 485, col: 12, offset: 16351}, + pos: position{line: 485, col: 12, offset: 16421}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 485, col: 12, offset: 16351}, + pos: position{line: 485, col: 12, offset: 16421}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 485, col: 23, offset: 16362}, + pos: position{line: 485, col: 23, offset: 16432}, expr: &ruleRefExpr{ - pos: position{line: 485, col: 24, offset: 16363}, + pos: position{line: 485, col: 24, offset: 16433}, name: "Attributes", }, }, }, &labeledExpr{ - pos: position{line: 486, col: 5, offset: 16381}, + pos: position{line: 486, col: 5, offset: 16451}, label: "level", expr: &actionExpr{ - pos: position{line: 486, col: 12, offset: 16388}, + pos: position{line: 486, col: 12, offset: 16458}, run: (*parser).callonSection7, expr: &oneOrMoreExpr{ - pos: position{line: 486, col: 12, offset: 16388}, + pos: position{line: 486, col: 12, offset: 16458}, expr: &litMatcher{ - pos: position{line: 486, col: 13, offset: 16389}, + pos: position{line: 486, col: 13, offset: 16459}, val: "=", ignoreCase: false, want: "\"=\"", @@ -3643,37 +3697,37 @@ var g = &grammar{ }, }, &andCodeExpr{ - pos: position{line: 490, col: 5, offset: 16484}, + pos: position{line: 490, col: 5, offset: 16554}, run: (*parser).callonSection10, }, &oneOrMoreExpr{ - pos: position{line: 494, col: 5, offset: 16640}, + pos: position{line: 494, col: 5, offset: 16710}, expr: &ruleRefExpr{ - pos: position{line: 494, col: 5, offset: 16640}, + pos: position{line: 494, col: 5, offset: 16710}, name: "Space", }, }, &labeledExpr{ - pos: position{line: 494, col: 12, offset: 16647}, + pos: position{line: 494, col: 12, offset: 16717}, label: "title", expr: &ruleRefExpr{ - pos: position{line: 494, col: 19, offset: 16654}, + pos: position{line: 494, col: 19, offset: 16724}, name: "TitleElements", }, }, &labeledExpr{ - pos: position{line: 494, col: 34, offset: 16669}, + pos: position{line: 494, col: 34, offset: 16739}, label: "id", expr: &zeroOrMoreExpr{ - pos: position{line: 494, col: 38, offset: 16673}, + pos: position{line: 494, col: 38, offset: 16743}, expr: &ruleRefExpr{ - pos: position{line: 494, col: 38, offset: 16673}, + pos: position{line: 494, col: 38, offset: 16743}, name: "InlineElementID", }, }, }, &ruleRefExpr{ - pos: position{line: 494, col: 56, offset: 16691}, + pos: position{line: 494, col: 56, offset: 16761}, name: "EOL", }, }, @@ -3682,34 +3736,34 @@ var g = &grammar{ }, { name: "TitleElements", - pos: position{line: 498, col: 1, offset: 16801}, + pos: position{line: 498, col: 1, offset: 16871}, expr: &actionExpr{ - pos: position{line: 498, col: 18, offset: 16818}, + pos: position{line: 498, col: 18, offset: 16888}, run: (*parser).callonTitleElements1, expr: &labeledExpr{ - pos: position{line: 498, col: 18, offset: 16818}, + pos: position{line: 498, col: 18, offset: 16888}, label: "elements", expr: &oneOrMoreExpr{ - pos: position{line: 498, col: 27, offset: 16827}, + pos: position{line: 498, col: 27, offset: 16897}, expr: &seqExpr{ - pos: position{line: 498, col: 28, offset: 16828}, + pos: position{line: 498, col: 28, offset: 16898}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 498, col: 28, offset: 16828}, + pos: position{line: 498, col: 28, offset: 16898}, expr: &ruleRefExpr{ - pos: position{line: 498, col: 29, offset: 16829}, + pos: position{line: 498, col: 29, offset: 16899}, name: "Newline", }, }, ¬Expr{ - pos: position{line: 498, col: 37, offset: 16837}, + pos: position{line: 498, col: 37, offset: 16907}, expr: &ruleRefExpr{ - pos: position{line: 498, col: 38, offset: 16838}, + pos: position{line: 498, col: 38, offset: 16908}, name: "InlineElementID", }, }, &ruleRefExpr{ - pos: position{line: 498, col: 54, offset: 16854}, + pos: position{line: 498, col: 54, offset: 16924}, name: "TitleElement", }, }, @@ -3720,77 +3774,77 @@ var g = &grammar{ }, { name: "TitleElement", - pos: position{line: 502, col: 1, offset: 16979}, + pos: position{line: 502, col: 1, offset: 17049}, expr: &actionExpr{ - pos: position{line: 502, col: 17, offset: 16995}, + pos: position{line: 502, col: 17, offset: 17065}, run: (*parser).callonTitleElement1, expr: &labeledExpr{ - pos: position{line: 502, col: 17, offset: 16995}, + pos: position{line: 502, col: 17, offset: 17065}, label: "element", expr: &choiceExpr{ - pos: position{line: 502, col: 26, offset: 17004}, + pos: position{line: 502, col: 26, offset: 17074}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 502, col: 26, offset: 17004}, + pos: position{line: 502, col: 26, offset: 17074}, name: "Word", }, &ruleRefExpr{ - pos: position{line: 503, col: 11, offset: 17020}, + pos: position{line: 503, col: 11, offset: 17090}, name: "LineBreak", }, &oneOrMoreExpr{ - pos: position{line: 504, col: 11, offset: 17066}, + pos: position{line: 504, col: 11, offset: 17136}, expr: &ruleRefExpr{ - pos: position{line: 504, col: 11, offset: 17066}, + pos: position{line: 504, col: 11, offset: 17136}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 505, col: 11, offset: 17085}, + pos: position{line: 505, col: 11, offset: 17155}, name: "CrossReference", }, &ruleRefExpr{ - pos: position{line: 506, col: 11, offset: 17111}, + pos: position{line: 506, col: 11, offset: 17181}, name: "InlinePassthrough", }, &ruleRefExpr{ - pos: position{line: 507, col: 11, offset: 17140}, + pos: position{line: 507, col: 11, offset: 17210}, name: "InlineIcon", }, &ruleRefExpr{ - pos: position{line: 508, col: 11, offset: 17162}, + pos: position{line: 508, col: 11, offset: 17232}, name: "InlineImage", }, &ruleRefExpr{ - pos: position{line: 509, col: 11, offset: 17185}, + pos: position{line: 509, col: 11, offset: 17255}, name: "Link", }, &ruleRefExpr{ - pos: position{line: 510, col: 11, offset: 17201}, + pos: position{line: 510, col: 11, offset: 17271}, name: "InlineFootnote", }, &ruleRefExpr{ - pos: position{line: 511, col: 11, offset: 17227}, + pos: position{line: 511, col: 11, offset: 17297}, name: "QuotedString", }, &ruleRefExpr{ - pos: position{line: 512, col: 11, offset: 17251}, + pos: position{line: 512, col: 11, offset: 17321}, name: "QuotedText", }, &ruleRefExpr{ - pos: position{line: 513, col: 11, offset: 17273}, + pos: position{line: 513, col: 11, offset: 17343}, name: "Symbol", }, &ruleRefExpr{ - pos: position{line: 514, col: 11, offset: 17291}, + pos: position{line: 514, col: 11, offset: 17361}, name: "AttributeSubstitution", }, &ruleRefExpr{ - pos: position{line: 515, col: 11, offset: 17324}, + pos: position{line: 515, col: 11, offset: 17394}, name: "ImpliedApostrophe", }, &ruleRefExpr{ - pos: position{line: 516, col: 11, offset: 17353}, + pos: position{line: 516, col: 11, offset: 17423}, name: "AnyChar", }, }, @@ -3800,18 +3854,18 @@ var g = &grammar{ }, { name: "TableOfContentsPlaceHolder", - pos: position{line: 523, col: 1, offset: 17511}, + pos: position{line: 523, col: 1, offset: 17581}, expr: &seqExpr{ - pos: position{line: 523, col: 31, offset: 17541}, + pos: position{line: 523, col: 31, offset: 17611}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 523, col: 31, offset: 17541}, + pos: position{line: 523, col: 31, offset: 17611}, val: "toc::[]", ignoreCase: false, want: "\"toc::[]\"", }, &ruleRefExpr{ - pos: position{line: 523, col: 41, offset: 17551}, + pos: position{line: 523, col: 41, offset: 17621}, name: "EOL", }, }, @@ -3819,40 +3873,40 @@ var g = &grammar{ }, { name: "UserMacroBlock", - pos: position{line: 528, col: 1, offset: 17667}, + pos: position{line: 528, col: 1, offset: 17737}, expr: &actionExpr{ - pos: position{line: 528, col: 19, offset: 17685}, + pos: position{line: 528, col: 19, offset: 17755}, run: (*parser).callonUserMacroBlock1, expr: &seqExpr{ - pos: position{line: 528, col: 19, offset: 17685}, + pos: position{line: 528, col: 19, offset: 17755}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 528, col: 19, offset: 17685}, + pos: position{line: 528, col: 19, offset: 17755}, label: "name", expr: &ruleRefExpr{ - pos: position{line: 528, col: 25, offset: 17691}, + pos: position{line: 528, col: 25, offset: 17761}, name: "UserMacroName", }, }, &litMatcher{ - pos: position{line: 528, col: 40, offset: 17706}, + pos: position{line: 528, col: 40, offset: 17776}, val: "::", ignoreCase: false, want: "\"::\"", }, &labeledExpr{ - pos: position{line: 528, col: 45, offset: 17711}, + pos: position{line: 528, col: 45, offset: 17781}, label: "value", expr: &ruleRefExpr{ - pos: position{line: 528, col: 52, offset: 17718}, + pos: position{line: 528, col: 52, offset: 17788}, name: "UserMacroValue", }, }, &labeledExpr{ - pos: position{line: 528, col: 68, offset: 17734}, + pos: position{line: 528, col: 68, offset: 17804}, label: "attrs", expr: &ruleRefExpr{ - pos: position{line: 528, col: 75, offset: 17741}, + pos: position{line: 528, col: 75, offset: 17811}, name: "UserMacroAttributes", }, }, @@ -3862,40 +3916,40 @@ var g = &grammar{ }, { name: "InlineUserMacro", - pos: position{line: 532, col: 1, offset: 17860}, + pos: position{line: 532, col: 1, offset: 17930}, expr: &actionExpr{ - pos: position{line: 532, col: 20, offset: 17879}, + pos: position{line: 532, col: 20, offset: 17949}, run: (*parser).callonInlineUserMacro1, expr: &seqExpr{ - pos: position{line: 532, col: 20, offset: 17879}, + pos: position{line: 532, col: 20, offset: 17949}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 532, col: 20, offset: 17879}, + pos: position{line: 532, col: 20, offset: 17949}, label: "name", expr: &ruleRefExpr{ - pos: position{line: 532, col: 26, offset: 17885}, + pos: position{line: 532, col: 26, offset: 17955}, name: "UserMacroName", }, }, &litMatcher{ - pos: position{line: 532, col: 41, offset: 17900}, + pos: position{line: 532, col: 41, offset: 17970}, val: ":", ignoreCase: false, want: "\":\"", }, &labeledExpr{ - pos: position{line: 532, col: 45, offset: 17904}, + pos: position{line: 532, col: 45, offset: 17974}, label: "value", expr: &ruleRefExpr{ - pos: position{line: 532, col: 52, offset: 17911}, + pos: position{line: 532, col: 52, offset: 17981}, name: "UserMacroValue", }, }, &labeledExpr{ - pos: position{line: 532, col: 68, offset: 17927}, + pos: position{line: 532, col: 68, offset: 17997}, label: "attrs", expr: &ruleRefExpr{ - pos: position{line: 532, col: 75, offset: 17934}, + pos: position{line: 532, col: 75, offset: 18004}, name: "UserMacroAttributes", }, }, @@ -3905,14 +3959,14 @@ var g = &grammar{ }, { name: "UserMacroName", - pos: position{line: 536, col: 1, offset: 18054}, + pos: position{line: 536, col: 1, offset: 18124}, expr: &actionExpr{ - pos: position{line: 536, col: 18, offset: 18071}, + pos: position{line: 536, col: 18, offset: 18141}, run: (*parser).callonUserMacroName1, expr: &oneOrMoreExpr{ - pos: position{line: 536, col: 19, offset: 18072}, + pos: position{line: 536, col: 19, offset: 18142}, expr: &charClassMatcher{ - pos: position{line: 536, col: 19, offset: 18072}, + pos: position{line: 536, col: 19, offset: 18142}, val: "[\\pL0-9_-]", chars: []rune{'_', '-'}, ranges: []rune{'0', '9'}, @@ -3925,14 +3979,14 @@ var g = &grammar{ }, { name: "UserMacroValue", - pos: position{line: 540, col: 1, offset: 18125}, + pos: position{line: 540, col: 1, offset: 18195}, expr: &actionExpr{ - pos: position{line: 540, col: 19, offset: 18143}, + pos: position{line: 540, col: 19, offset: 18213}, run: (*parser).callonUserMacroValue1, expr: &zeroOrMoreExpr{ - pos: position{line: 540, col: 19, offset: 18143}, + pos: position{line: 540, col: 19, offset: 18213}, expr: &charClassMatcher{ - pos: position{line: 540, col: 19, offset: 18143}, + pos: position{line: 540, col: 19, offset: 18213}, val: "[^:[ \\r\\n]", chars: []rune{':', '[', ' ', '\r', '\n'}, ignoreCase: false, @@ -3943,32 +3997,32 @@ var g = &grammar{ }, { name: "UserMacroAttributes", - pos: position{line: 544, col: 1, offset: 18195}, + pos: position{line: 544, col: 1, offset: 18265}, expr: &actionExpr{ - pos: position{line: 544, col: 24, offset: 18218}, + pos: position{line: 544, col: 24, offset: 18288}, run: (*parser).callonUserMacroAttributes1, expr: &seqExpr{ - pos: position{line: 544, col: 24, offset: 18218}, + pos: position{line: 544, col: 24, offset: 18288}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 544, col: 24, offset: 18218}, + pos: position{line: 544, col: 24, offset: 18288}, val: "[", ignoreCase: false, want: "\"[\"", }, &labeledExpr{ - pos: position{line: 544, col: 28, offset: 18222}, + pos: position{line: 544, col: 28, offset: 18292}, label: "attrs", expr: &zeroOrMoreExpr{ - pos: position{line: 544, col: 34, offset: 18228}, + pos: position{line: 544, col: 34, offset: 18298}, expr: &ruleRefExpr{ - pos: position{line: 544, col: 35, offset: 18229}, + pos: position{line: 544, col: 35, offset: 18299}, name: "GenericAttribute", }, }, }, &litMatcher{ - pos: position{line: 544, col: 54, offset: 18248}, + pos: position{line: 544, col: 54, offset: 18318}, val: "]", ignoreCase: false, want: "\"]\"", @@ -3979,41 +4033,41 @@ var g = &grammar{ }, { name: "FileInclusion", - pos: position{line: 551, col: 1, offset: 18437}, + pos: position{line: 551, col: 1, offset: 18507}, expr: &actionExpr{ - pos: position{line: 551, col: 18, offset: 18454}, + pos: position{line: 551, col: 18, offset: 18524}, run: (*parser).callonFileInclusion1, expr: &seqExpr{ - pos: position{line: 551, col: 18, offset: 18454}, + pos: position{line: 551, col: 18, offset: 18524}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 551, col: 18, offset: 18454}, + pos: position{line: 551, col: 18, offset: 18524}, label: "incl", expr: &actionExpr{ - pos: position{line: 551, col: 24, offset: 18460}, + pos: position{line: 551, col: 24, offset: 18530}, run: (*parser).callonFileInclusion4, expr: &seqExpr{ - pos: position{line: 551, col: 24, offset: 18460}, + pos: position{line: 551, col: 24, offset: 18530}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 551, col: 24, offset: 18460}, + pos: position{line: 551, col: 24, offset: 18530}, val: "include::", ignoreCase: false, want: "\"include::\"", }, &labeledExpr{ - pos: position{line: 551, col: 36, offset: 18472}, + pos: position{line: 551, col: 36, offset: 18542}, label: "path", expr: &ruleRefExpr{ - pos: position{line: 551, col: 42, offset: 18478}, + pos: position{line: 551, col: 42, offset: 18548}, name: "FileLocation", }, }, &labeledExpr{ - pos: position{line: 551, col: 56, offset: 18492}, + pos: position{line: 551, col: 56, offset: 18562}, label: "inlineAttributes", expr: &ruleRefExpr{ - pos: position{line: 551, col: 74, offset: 18510}, + pos: position{line: 551, col: 74, offset: 18580}, name: "FileIncludeAttributes", }, }, @@ -4022,14 +4076,14 @@ var g = &grammar{ }, }, &zeroOrMoreExpr{ - pos: position{line: 553, col: 8, offset: 18659}, + pos: position{line: 553, col: 8, offset: 18729}, expr: &ruleRefExpr{ - pos: position{line: 553, col: 8, offset: 18659}, + pos: position{line: 553, col: 8, offset: 18729}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 553, col: 15, offset: 18666}, + pos: position{line: 553, col: 15, offset: 18736}, name: "EOL", }, }, @@ -4038,37 +4092,37 @@ var g = &grammar{ }, { name: "FileIncludeAttributes", - pos: position{line: 557, col: 1, offset: 18722}, + pos: position{line: 557, col: 1, offset: 18792}, expr: &actionExpr{ - pos: position{line: 557, col: 26, offset: 18747}, + pos: position{line: 557, col: 26, offset: 18817}, run: (*parser).callonFileIncludeAttributes1, expr: &seqExpr{ - pos: position{line: 557, col: 26, offset: 18747}, + pos: position{line: 557, col: 26, offset: 18817}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 557, col: 26, offset: 18747}, + pos: position{line: 557, col: 26, offset: 18817}, val: "[", ignoreCase: false, want: "\"[\"", }, &labeledExpr{ - pos: position{line: 557, col: 30, offset: 18751}, + pos: position{line: 557, col: 30, offset: 18821}, label: "attrs", expr: &zeroOrMoreExpr{ - pos: position{line: 557, col: 36, offset: 18757}, + pos: position{line: 557, col: 36, offset: 18827}, expr: &choiceExpr{ - pos: position{line: 557, col: 37, offset: 18758}, + pos: position{line: 557, col: 37, offset: 18828}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 557, col: 37, offset: 18758}, + pos: position{line: 557, col: 37, offset: 18828}, name: "LineRangesAttribute", }, &ruleRefExpr{ - pos: position{line: 557, col: 59, offset: 18780}, + pos: position{line: 557, col: 59, offset: 18850}, name: "TagRangesAttribute", }, &ruleRefExpr{ - pos: position{line: 557, col: 80, offset: 18801}, + pos: position{line: 557, col: 80, offset: 18871}, name: "GenericAttribute", }, }, @@ -4076,7 +4130,7 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 557, col: 99, offset: 18820}, + pos: position{line: 557, col: 99, offset: 18890}, val: "]", ignoreCase: false, want: "\"]\"", @@ -4087,31 +4141,31 @@ var g = &grammar{ }, { name: "LineRangesAttribute", - pos: position{line: 561, col: 1, offset: 18896}, + pos: position{line: 561, col: 1, offset: 18966}, expr: &actionExpr{ - pos: position{line: 561, col: 24, offset: 18919}, + pos: position{line: 561, col: 24, offset: 18989}, run: (*parser).callonLineRangesAttribute1, expr: &seqExpr{ - pos: position{line: 561, col: 24, offset: 18919}, + pos: position{line: 561, col: 24, offset: 18989}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 561, col: 24, offset: 18919}, + pos: position{line: 561, col: 24, offset: 18989}, val: "lines=", ignoreCase: false, want: "\"lines=\"", }, &labeledExpr{ - pos: position{line: 561, col: 33, offset: 18928}, + pos: position{line: 561, col: 33, offset: 18998}, label: "lines", expr: &ruleRefExpr{ - pos: position{line: 561, col: 40, offset: 18935}, + pos: position{line: 561, col: 40, offset: 19005}, name: "LineRangesAttributeValue", }, }, &zeroOrOneExpr{ - pos: position{line: 561, col: 66, offset: 18961}, + pos: position{line: 561, col: 66, offset: 19031}, expr: &litMatcher{ - pos: position{line: 561, col: 66, offset: 18961}, + pos: position{line: 561, col: 66, offset: 19031}, val: ",", ignoreCase: false, want: "\",\"", @@ -4123,73 +4177,73 @@ var g = &grammar{ }, { name: "LineRangesAttributeValue", - pos: position{line: 565, col: 1, offset: 19024}, + pos: position{line: 565, col: 1, offset: 19094}, expr: &actionExpr{ - pos: position{line: 565, col: 29, offset: 19052}, + pos: position{line: 565, col: 29, offset: 19122}, run: (*parser).callonLineRangesAttributeValue1, expr: &seqExpr{ - pos: position{line: 565, col: 29, offset: 19052}, + pos: position{line: 565, col: 29, offset: 19122}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 565, col: 29, offset: 19052}, + pos: position{line: 565, col: 29, offset: 19122}, label: "value", expr: &choiceExpr{ - pos: position{line: 565, col: 36, offset: 19059}, + pos: position{line: 565, col: 36, offset: 19129}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 565, col: 36, offset: 19059}, + pos: position{line: 565, col: 36, offset: 19129}, name: "MultipleLineRanges", }, &ruleRefExpr{ - pos: position{line: 566, col: 11, offset: 19177}, + pos: position{line: 566, col: 11, offset: 19247}, name: "MultipleQuotedLineRanges", }, &ruleRefExpr{ - pos: position{line: 567, col: 11, offset: 19214}, + pos: position{line: 567, col: 11, offset: 19284}, name: "MultiLineRange", }, &ruleRefExpr{ - pos: position{line: 568, col: 11, offset: 19241}, + pos: position{line: 568, col: 11, offset: 19311}, name: "MultiLineQuotedRange", }, &ruleRefExpr{ - pos: position{line: 569, col: 11, offset: 19274}, + pos: position{line: 569, col: 11, offset: 19344}, name: "SingleLineQuotedRange", }, &ruleRefExpr{ - pos: position{line: 570, col: 11, offset: 19307}, + pos: position{line: 570, col: 11, offset: 19377}, name: "SingleLineRange", }, &ruleRefExpr{ - pos: position{line: 571, col: 11, offset: 19335}, + pos: position{line: 571, col: 11, offset: 19405}, name: "UndefinedLineRange", }, }, }, }, &zeroOrMoreExpr{ - pos: position{line: 571, col: 31, offset: 19355}, + pos: position{line: 571, col: 31, offset: 19425}, expr: &ruleRefExpr{ - pos: position{line: 571, col: 31, offset: 19355}, + pos: position{line: 571, col: 31, offset: 19425}, name: "Space", }, }, &choiceExpr{ - pos: position{line: 571, col: 39, offset: 19363}, + pos: position{line: 571, col: 39, offset: 19433}, alternatives: []interface{}{ &andExpr{ - pos: position{line: 571, col: 39, offset: 19363}, + pos: position{line: 571, col: 39, offset: 19433}, expr: &litMatcher{ - pos: position{line: 571, col: 40, offset: 19364}, + pos: position{line: 571, col: 40, offset: 19434}, val: ",", ignoreCase: false, want: "\",\"", }, }, &andExpr{ - pos: position{line: 571, col: 46, offset: 19370}, + pos: position{line: 571, col: 46, offset: 19440}, expr: &litMatcher{ - pos: position{line: 571, col: 47, offset: 19371}, + pos: position{line: 571, col: 47, offset: 19441}, val: "]", ignoreCase: false, want: "\"]\"", @@ -4203,59 +4257,59 @@ var g = &grammar{ }, { name: "MultipleLineRanges", - pos: position{line: 575, col: 1, offset: 19407}, + pos: position{line: 575, col: 1, offset: 19477}, expr: &actionExpr{ - pos: position{line: 575, col: 23, offset: 19429}, + pos: position{line: 575, col: 23, offset: 19499}, run: (*parser).callonMultipleLineRanges1, expr: &seqExpr{ - pos: position{line: 575, col: 23, offset: 19429}, + pos: position{line: 575, col: 23, offset: 19499}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 575, col: 23, offset: 19429}, + pos: position{line: 575, col: 23, offset: 19499}, label: "first", expr: &choiceExpr{ - pos: position{line: 575, col: 30, offset: 19436}, + pos: position{line: 575, col: 30, offset: 19506}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 575, col: 30, offset: 19436}, + pos: position{line: 575, col: 30, offset: 19506}, name: "MultiLineRange", }, &ruleRefExpr{ - pos: position{line: 575, col: 47, offset: 19453}, + pos: position{line: 575, col: 47, offset: 19523}, name: "SingleLineRange", }, }, }, }, &labeledExpr{ - pos: position{line: 576, col: 5, offset: 19476}, + pos: position{line: 576, col: 5, offset: 19546}, label: "others", expr: &oneOrMoreExpr{ - pos: position{line: 576, col: 12, offset: 19483}, + pos: position{line: 576, col: 12, offset: 19553}, expr: &actionExpr{ - pos: position{line: 576, col: 13, offset: 19484}, + pos: position{line: 576, col: 13, offset: 19554}, run: (*parser).callonMultipleLineRanges9, expr: &seqExpr{ - pos: position{line: 576, col: 13, offset: 19484}, + pos: position{line: 576, col: 13, offset: 19554}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 576, col: 13, offset: 19484}, + pos: position{line: 576, col: 13, offset: 19554}, val: ";", ignoreCase: false, want: "\";\"", }, &labeledExpr{ - pos: position{line: 576, col: 17, offset: 19488}, + pos: position{line: 576, col: 17, offset: 19558}, label: "other", expr: &choiceExpr{ - pos: position{line: 576, col: 24, offset: 19495}, + pos: position{line: 576, col: 24, offset: 19565}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 576, col: 24, offset: 19495}, + pos: position{line: 576, col: 24, offset: 19565}, name: "MultiLineRange", }, &ruleRefExpr{ - pos: position{line: 576, col: 41, offset: 19512}, + pos: position{line: 576, col: 41, offset: 19582}, name: "SingleLineRange", }, }, @@ -4272,65 +4326,65 @@ var g = &grammar{ }, { name: "MultipleQuotedLineRanges", - pos: position{line: 582, col: 1, offset: 19656}, + pos: position{line: 582, col: 1, offset: 19726}, expr: &actionExpr{ - pos: position{line: 582, col: 29, offset: 19684}, + pos: position{line: 582, col: 29, offset: 19754}, run: (*parser).callonMultipleQuotedLineRanges1, expr: &seqExpr{ - pos: position{line: 582, col: 29, offset: 19684}, + pos: position{line: 582, col: 29, offset: 19754}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 582, col: 29, offset: 19684}, + pos: position{line: 582, col: 29, offset: 19754}, val: "\"", ignoreCase: false, want: "\"\\\"\"", }, &labeledExpr{ - pos: position{line: 582, col: 34, offset: 19689}, + pos: position{line: 582, col: 34, offset: 19759}, label: "first", expr: &choiceExpr{ - pos: position{line: 582, col: 41, offset: 19696}, + pos: position{line: 582, col: 41, offset: 19766}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 582, col: 41, offset: 19696}, + pos: position{line: 582, col: 41, offset: 19766}, name: "MultiLineRange", }, &ruleRefExpr{ - pos: position{line: 582, col: 58, offset: 19713}, + pos: position{line: 582, col: 58, offset: 19783}, name: "SingleLineRange", }, }, }, }, &labeledExpr{ - pos: position{line: 583, col: 5, offset: 19736}, + pos: position{line: 583, col: 5, offset: 19806}, label: "others", expr: &oneOrMoreExpr{ - pos: position{line: 583, col: 12, offset: 19743}, + pos: position{line: 583, col: 12, offset: 19813}, expr: &actionExpr{ - pos: position{line: 583, col: 13, offset: 19744}, + pos: position{line: 583, col: 13, offset: 19814}, run: (*parser).callonMultipleQuotedLineRanges10, expr: &seqExpr{ - pos: position{line: 583, col: 13, offset: 19744}, + pos: position{line: 583, col: 13, offset: 19814}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 583, col: 13, offset: 19744}, + pos: position{line: 583, col: 13, offset: 19814}, val: ",", ignoreCase: false, want: "\",\"", }, &labeledExpr{ - pos: position{line: 583, col: 17, offset: 19748}, + pos: position{line: 583, col: 17, offset: 19818}, label: "other", expr: &choiceExpr{ - pos: position{line: 583, col: 24, offset: 19755}, + pos: position{line: 583, col: 24, offset: 19825}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 583, col: 24, offset: 19755}, + pos: position{line: 583, col: 24, offset: 19825}, name: "MultiLineRange", }, &ruleRefExpr{ - pos: position{line: 583, col: 41, offset: 19772}, + pos: position{line: 583, col: 41, offset: 19842}, name: "SingleLineRange", }, }, @@ -4342,7 +4396,7 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 585, col: 9, offset: 19827}, + pos: position{line: 585, col: 9, offset: 19897}, val: "\"", ignoreCase: false, want: "\"\\\"\"", @@ -4353,32 +4407,32 @@ var g = &grammar{ }, { name: "MultiLineRange", - pos: position{line: 589, col: 1, offset: 19921}, + pos: position{line: 589, col: 1, offset: 19991}, expr: &actionExpr{ - pos: position{line: 589, col: 19, offset: 19939}, + pos: position{line: 589, col: 19, offset: 20009}, run: (*parser).callonMultiLineRange1, expr: &seqExpr{ - pos: position{line: 589, col: 19, offset: 19939}, + pos: position{line: 589, col: 19, offset: 20009}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 589, col: 19, offset: 19939}, + pos: position{line: 589, col: 19, offset: 20009}, label: "start", expr: &ruleRefExpr{ - pos: position{line: 589, col: 26, offset: 19946}, + pos: position{line: 589, col: 26, offset: 20016}, name: "NUMBER", }, }, &litMatcher{ - pos: position{line: 589, col: 34, offset: 19954}, + pos: position{line: 589, col: 34, offset: 20024}, val: "..", ignoreCase: false, want: "\"..\"", }, &labeledExpr{ - pos: position{line: 589, col: 39, offset: 19959}, + pos: position{line: 589, col: 39, offset: 20029}, label: "end", expr: &ruleRefExpr{ - pos: position{line: 589, col: 44, offset: 19964}, + pos: position{line: 589, col: 44, offset: 20034}, name: "NUMBER", }, }, @@ -4388,43 +4442,43 @@ var g = &grammar{ }, { name: "MultiLineQuotedRange", - pos: position{line: 593, col: 1, offset: 20056}, + pos: position{line: 593, col: 1, offset: 20126}, expr: &actionExpr{ - pos: position{line: 593, col: 25, offset: 20080}, + pos: position{line: 593, col: 25, offset: 20150}, run: (*parser).callonMultiLineQuotedRange1, expr: &seqExpr{ - pos: position{line: 593, col: 25, offset: 20080}, + pos: position{line: 593, col: 25, offset: 20150}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 593, col: 25, offset: 20080}, + pos: position{line: 593, col: 25, offset: 20150}, val: "\"", ignoreCase: false, want: "\"\\\"\"", }, &labeledExpr{ - pos: position{line: 593, col: 30, offset: 20085}, + pos: position{line: 593, col: 30, offset: 20155}, label: "start", expr: &ruleRefExpr{ - pos: position{line: 593, col: 37, offset: 20092}, + pos: position{line: 593, col: 37, offset: 20162}, name: "NUMBER", }, }, &litMatcher{ - pos: position{line: 593, col: 45, offset: 20100}, + pos: position{line: 593, col: 45, offset: 20170}, val: "..", ignoreCase: false, want: "\"..\"", }, &labeledExpr{ - pos: position{line: 593, col: 50, offset: 20105}, + pos: position{line: 593, col: 50, offset: 20175}, label: "end", expr: &ruleRefExpr{ - pos: position{line: 593, col: 55, offset: 20110}, + pos: position{line: 593, col: 55, offset: 20180}, name: "NUMBER", }, }, &litMatcher{ - pos: position{line: 593, col: 63, offset: 20118}, + pos: position{line: 593, col: 63, offset: 20188}, val: "\"", ignoreCase: false, want: "\"\\\"\"", @@ -4435,15 +4489,15 @@ var g = &grammar{ }, { name: "SingleLineRange", - pos: position{line: 597, col: 1, offset: 20207}, + pos: position{line: 597, col: 1, offset: 20277}, expr: &actionExpr{ - pos: position{line: 597, col: 20, offset: 20226}, + pos: position{line: 597, col: 20, offset: 20296}, run: (*parser).callonSingleLineRange1, expr: &labeledExpr{ - pos: position{line: 597, col: 20, offset: 20226}, + pos: position{line: 597, col: 20, offset: 20296}, label: "singleline", expr: &ruleRefExpr{ - pos: position{line: 597, col: 32, offset: 20238}, + pos: position{line: 597, col: 32, offset: 20308}, name: "NUMBER", }, }, @@ -4451,29 +4505,29 @@ var g = &grammar{ }, { name: "SingleLineQuotedRange", - pos: position{line: 601, col: 1, offset: 20337}, + pos: position{line: 601, col: 1, offset: 20407}, expr: &actionExpr{ - pos: position{line: 601, col: 26, offset: 20362}, + pos: position{line: 601, col: 26, offset: 20432}, run: (*parser).callonSingleLineQuotedRange1, expr: &seqExpr{ - pos: position{line: 601, col: 26, offset: 20362}, + pos: position{line: 601, col: 26, offset: 20432}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 601, col: 26, offset: 20362}, + pos: position{line: 601, col: 26, offset: 20432}, val: "\"", ignoreCase: false, want: "\"\\\"\"", }, &labeledExpr{ - pos: position{line: 601, col: 31, offset: 20367}, + pos: position{line: 601, col: 31, offset: 20437}, label: "singleline", expr: &ruleRefExpr{ - pos: position{line: 601, col: 43, offset: 20379}, + pos: position{line: 601, col: 43, offset: 20449}, name: "NUMBER", }, }, &litMatcher{ - pos: position{line: 601, col: 51, offset: 20387}, + pos: position{line: 601, col: 51, offset: 20457}, val: "\"", ignoreCase: false, want: "\"\\\"\"", @@ -4484,14 +4538,14 @@ var g = &grammar{ }, { name: "UndefinedLineRange", - pos: position{line: 605, col: 1, offset: 20483}, + pos: position{line: 605, col: 1, offset: 20553}, expr: &actionExpr{ - pos: position{line: 605, col: 23, offset: 20505}, + pos: position{line: 605, col: 23, offset: 20575}, run: (*parser).callonUndefinedLineRange1, expr: &zeroOrMoreExpr{ - pos: position{line: 605, col: 23, offset: 20505}, + pos: position{line: 605, col: 23, offset: 20575}, expr: &charClassMatcher{ - pos: position{line: 605, col: 23, offset: 20505}, + pos: position{line: 605, col: 23, offset: 20575}, val: "[^\\], ]", chars: []rune{']', ',', ' '}, ignoreCase: false, @@ -4502,24 +4556,24 @@ var g = &grammar{ }, { name: "TagRangesAttribute", - pos: position{line: 609, col: 1, offset: 20554}, + pos: position{line: 609, col: 1, offset: 20624}, expr: &actionExpr{ - pos: position{line: 609, col: 23, offset: 20576}, + pos: position{line: 609, col: 23, offset: 20646}, run: (*parser).callonTagRangesAttribute1, expr: &seqExpr{ - pos: position{line: 609, col: 23, offset: 20576}, + pos: position{line: 609, col: 23, offset: 20646}, exprs: []interface{}{ &choiceExpr{ - pos: position{line: 609, col: 24, offset: 20577}, + pos: position{line: 609, col: 24, offset: 20647}, alternatives: []interface{}{ &litMatcher{ - pos: position{line: 609, col: 24, offset: 20577}, + pos: position{line: 609, col: 24, offset: 20647}, val: "tags=", ignoreCase: false, want: "\"tags=\"", }, &litMatcher{ - pos: position{line: 609, col: 34, offset: 20587}, + pos: position{line: 609, col: 34, offset: 20657}, val: "tag=", ignoreCase: false, want: "\"tag=\"", @@ -4527,17 +4581,17 @@ var g = &grammar{ }, }, &labeledExpr{ - pos: position{line: 609, col: 42, offset: 20595}, + pos: position{line: 609, col: 42, offset: 20665}, label: "tags", expr: &ruleRefExpr{ - pos: position{line: 609, col: 48, offset: 20601}, + pos: position{line: 609, col: 48, offset: 20671}, name: "TagRangesAttributeValue", }, }, &zeroOrOneExpr{ - pos: position{line: 609, col: 73, offset: 20626}, + pos: position{line: 609, col: 73, offset: 20696}, expr: &litMatcher{ - pos: position{line: 609, col: 73, offset: 20626}, + pos: position{line: 609, col: 73, offset: 20696}, val: ",", ignoreCase: false, want: "\",\"", @@ -4549,44 +4603,44 @@ var g = &grammar{ }, { name: "TagRangesAttributeValue", - pos: position{line: 613, col: 1, offset: 20779}, + pos: position{line: 613, col: 1, offset: 20849}, expr: &actionExpr{ - pos: position{line: 613, col: 28, offset: 20806}, + pos: position{line: 613, col: 28, offset: 20876}, run: (*parser).callonTagRangesAttributeValue1, expr: &seqExpr{ - pos: position{line: 613, col: 28, offset: 20806}, + pos: position{line: 613, col: 28, offset: 20876}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 613, col: 28, offset: 20806}, + pos: position{line: 613, col: 28, offset: 20876}, label: "value", expr: &ruleRefExpr{ - pos: position{line: 613, col: 35, offset: 20813}, + pos: position{line: 613, col: 35, offset: 20883}, name: "MultipleTagRanges", }, }, &zeroOrMoreExpr{ - pos: position{line: 613, col: 54, offset: 20832}, + pos: position{line: 613, col: 54, offset: 20902}, expr: &ruleRefExpr{ - pos: position{line: 613, col: 54, offset: 20832}, + pos: position{line: 613, col: 54, offset: 20902}, name: "Space", }, }, &choiceExpr{ - pos: position{line: 613, col: 62, offset: 20840}, + pos: position{line: 613, col: 62, offset: 20910}, alternatives: []interface{}{ &andExpr{ - pos: position{line: 613, col: 62, offset: 20840}, + pos: position{line: 613, col: 62, offset: 20910}, expr: &litMatcher{ - pos: position{line: 613, col: 63, offset: 20841}, + pos: position{line: 613, col: 63, offset: 20911}, val: ",", ignoreCase: false, want: "\",\"", }, }, &andExpr{ - pos: position{line: 613, col: 69, offset: 20847}, + pos: position{line: 613, col: 69, offset: 20917}, expr: &litMatcher{ - pos: position{line: 613, col: 70, offset: 20848}, + pos: position{line: 613, col: 70, offset: 20918}, val: "]", ignoreCase: false, want: "\"]\"", @@ -4600,43 +4654,43 @@ var g = &grammar{ }, { name: "MultipleTagRanges", - pos: position{line: 617, col: 1, offset: 20884}, + pos: position{line: 617, col: 1, offset: 20954}, expr: &actionExpr{ - pos: position{line: 617, col: 22, offset: 20905}, + pos: position{line: 617, col: 22, offset: 20975}, run: (*parser).callonMultipleTagRanges1, expr: &seqExpr{ - pos: position{line: 617, col: 22, offset: 20905}, + pos: position{line: 617, col: 22, offset: 20975}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 617, col: 22, offset: 20905}, + pos: position{line: 617, col: 22, offset: 20975}, label: "first", expr: &ruleRefExpr{ - pos: position{line: 617, col: 29, offset: 20912}, + pos: position{line: 617, col: 29, offset: 20982}, name: "TagRange", }, }, &labeledExpr{ - pos: position{line: 618, col: 5, offset: 20927}, + pos: position{line: 618, col: 5, offset: 20997}, label: "others", expr: &zeroOrMoreExpr{ - pos: position{line: 618, col: 12, offset: 20934}, + pos: position{line: 618, col: 12, offset: 21004}, expr: &actionExpr{ - pos: position{line: 618, col: 13, offset: 20935}, + pos: position{line: 618, col: 13, offset: 21005}, run: (*parser).callonMultipleTagRanges7, expr: &seqExpr{ - pos: position{line: 618, col: 13, offset: 20935}, + pos: position{line: 618, col: 13, offset: 21005}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 618, col: 13, offset: 20935}, + pos: position{line: 618, col: 13, offset: 21005}, val: ";", ignoreCase: false, want: "\";\"", }, &labeledExpr{ - pos: position{line: 618, col: 17, offset: 20939}, + pos: position{line: 618, col: 17, offset: 21009}, label: "other", expr: &ruleRefExpr{ - pos: position{line: 618, col: 24, offset: 20946}, + pos: position{line: 618, col: 24, offset: 21016}, name: "TagRange", }, }, @@ -4651,25 +4705,25 @@ var g = &grammar{ }, { name: "TagRange", - pos: position{line: 624, col: 1, offset: 21083}, + pos: position{line: 624, col: 1, offset: 21153}, expr: &choiceExpr{ - pos: position{line: 624, col: 13, offset: 21095}, + pos: position{line: 624, col: 13, offset: 21165}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 624, col: 13, offset: 21095}, + pos: position{line: 624, col: 13, offset: 21165}, run: (*parser).callonTagRange2, expr: &labeledExpr{ - pos: position{line: 624, col: 13, offset: 21095}, + pos: position{line: 624, col: 13, offset: 21165}, label: "tag", expr: &choiceExpr{ - pos: position{line: 624, col: 18, offset: 21100}, + pos: position{line: 624, col: 18, offset: 21170}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 624, col: 18, offset: 21100}, + pos: position{line: 624, col: 18, offset: 21170}, name: "Alphanums", }, &ruleRefExpr{ - pos: position{line: 624, col: 30, offset: 21112}, + pos: position{line: 624, col: 30, offset: 21182}, name: "TagWildcard", }, }, @@ -4677,29 +4731,29 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 626, col: 5, offset: 21182}, + pos: position{line: 626, col: 5, offset: 21252}, run: (*parser).callonTagRange7, expr: &seqExpr{ - pos: position{line: 626, col: 5, offset: 21182}, + pos: position{line: 626, col: 5, offset: 21252}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 626, col: 5, offset: 21182}, + pos: position{line: 626, col: 5, offset: 21252}, val: "!", ignoreCase: false, want: "\"!\"", }, &labeledExpr{ - pos: position{line: 626, col: 9, offset: 21186}, + pos: position{line: 626, col: 9, offset: 21256}, label: "tag", expr: &choiceExpr{ - pos: position{line: 626, col: 14, offset: 21191}, + pos: position{line: 626, col: 14, offset: 21261}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 626, col: 14, offset: 21191}, + pos: position{line: 626, col: 14, offset: 21261}, name: "Alphanums", }, &ruleRefExpr{ - pos: position{line: 626, col: 26, offset: 21203}, + pos: position{line: 626, col: 26, offset: 21273}, name: "TagWildcard", }, }, @@ -4713,23 +4767,23 @@ var g = &grammar{ }, { name: "TagWildcard", - pos: position{line: 630, col: 1, offset: 21275}, + pos: position{line: 630, col: 1, offset: 21345}, expr: &actionExpr{ - pos: position{line: 630, col: 16, offset: 21290}, + pos: position{line: 630, col: 16, offset: 21360}, run: (*parser).callonTagWildcard1, expr: &seqExpr{ - pos: position{line: 630, col: 16, offset: 21290}, + pos: position{line: 630, col: 16, offset: 21360}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 630, col: 16, offset: 21290}, + pos: position{line: 630, col: 16, offset: 21360}, label: "stars", expr: &actionExpr{ - pos: position{line: 630, col: 23, offset: 21297}, + pos: position{line: 630, col: 23, offset: 21367}, run: (*parser).callonTagWildcard4, expr: &oneOrMoreExpr{ - pos: position{line: 630, col: 23, offset: 21297}, + pos: position{line: 630, col: 23, offset: 21367}, expr: &litMatcher{ - pos: position{line: 630, col: 24, offset: 21298}, + pos: position{line: 630, col: 24, offset: 21368}, val: "*", ignoreCase: false, want: "\"*\"", @@ -4738,7 +4792,7 @@ var g = &grammar{ }, }, &andCodeExpr{ - pos: position{line: 633, col: 5, offset: 21355}, + pos: position{line: 633, col: 5, offset: 21425}, run: (*parser).callonTagWildcard7, }, }, @@ -4747,18 +4801,18 @@ var g = &grammar{ }, { name: "VerbatimFileContent", - pos: position{line: 641, col: 1, offset: 21605}, + pos: position{line: 641, col: 1, offset: 21675}, expr: &zeroOrMoreExpr{ - pos: position{line: 641, col: 24, offset: 21628}, + pos: position{line: 641, col: 24, offset: 21698}, expr: &choiceExpr{ - pos: position{line: 641, col: 25, offset: 21629}, + pos: position{line: 641, col: 25, offset: 21699}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 641, col: 25, offset: 21629}, + pos: position{line: 641, col: 25, offset: 21699}, name: "FileInclusion", }, &ruleRefExpr{ - pos: position{line: 641, col: 41, offset: 21645}, + pos: position{line: 641, col: 41, offset: 21715}, name: "VerbatimFileLine", }, }, @@ -4767,30 +4821,30 @@ var g = &grammar{ }, { name: "VerbatimFileLine", - pos: position{line: 643, col: 1, offset: 21667}, + pos: position{line: 643, col: 1, offset: 21737}, expr: &actionExpr{ - pos: position{line: 643, col: 21, offset: 21687}, + pos: position{line: 643, col: 21, offset: 21757}, run: (*parser).callonVerbatimFileLine1, expr: &seqExpr{ - pos: position{line: 643, col: 21, offset: 21687}, + pos: position{line: 643, col: 21, offset: 21757}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 643, col: 21, offset: 21687}, + pos: position{line: 643, col: 21, offset: 21757}, expr: &ruleRefExpr{ - pos: position{line: 643, col: 22, offset: 21688}, + pos: position{line: 643, col: 22, offset: 21758}, name: "EOF", }, }, &labeledExpr{ - pos: position{line: 643, col: 26, offset: 21692}, + pos: position{line: 643, col: 26, offset: 21762}, label: "content", expr: &actionExpr{ - pos: position{line: 643, col: 35, offset: 21701}, + pos: position{line: 643, col: 35, offset: 21771}, run: (*parser).callonVerbatimFileLine6, expr: &zeroOrMoreExpr{ - pos: position{line: 643, col: 35, offset: 21701}, + pos: position{line: 643, col: 35, offset: 21771}, expr: &charClassMatcher{ - pos: position{line: 643, col: 35, offset: 21701}, + pos: position{line: 643, col: 35, offset: 21771}, val: "[^\\r\\n]", chars: []rune{'\r', '\n'}, ignoreCase: false, @@ -4800,7 +4854,7 @@ var g = &grammar{ }, }, &ruleRefExpr{ - pos: position{line: 645, col: 12, offset: 21765}, + pos: position{line: 645, col: 12, offset: 21835}, name: "EOL", }, }, @@ -4809,34 +4863,34 @@ var g = &grammar{ }, { name: "IncludedFileLine", - pos: position{line: 652, col: 1, offset: 21971}, + pos: position{line: 652, col: 1, offset: 22041}, expr: &actionExpr{ - pos: position{line: 652, col: 21, offset: 21991}, + pos: position{line: 652, col: 21, offset: 22061}, run: (*parser).callonIncludedFileLine1, expr: &seqExpr{ - pos: position{line: 652, col: 21, offset: 21991}, + pos: position{line: 652, col: 21, offset: 22061}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 652, col: 21, offset: 21991}, + pos: position{line: 652, col: 21, offset: 22061}, label: "content", expr: &zeroOrMoreExpr{ - pos: position{line: 652, col: 29, offset: 21999}, + pos: position{line: 652, col: 29, offset: 22069}, expr: &choiceExpr{ - pos: position{line: 652, col: 30, offset: 22000}, + pos: position{line: 652, col: 30, offset: 22070}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 652, col: 30, offset: 22000}, + pos: position{line: 652, col: 30, offset: 22070}, name: "IncludedFileStartTag", }, &ruleRefExpr{ - pos: position{line: 652, col: 53, offset: 22023}, + pos: position{line: 652, col: 53, offset: 22093}, name: "IncludedFileEndTag", }, &actionExpr{ - pos: position{line: 652, col: 74, offset: 22044}, + pos: position{line: 652, col: 74, offset: 22114}, run: (*parser).callonIncludedFileLine8, expr: &anyMatcher{ - line: 652, col: 74, offset: 22044, + line: 652, col: 74, offset: 22114, }, }, }, @@ -4844,7 +4898,7 @@ var g = &grammar{ }, }, &ruleRefExpr{ - pos: position{line: 652, col: 107, offset: 22077}, + pos: position{line: 652, col: 107, offset: 22147}, name: "EOL", }, }, @@ -4853,33 +4907,33 @@ var g = &grammar{ }, { name: "IncludedFileStartTag", - pos: position{line: 656, col: 1, offset: 22152}, + pos: position{line: 656, col: 1, offset: 22222}, expr: &actionExpr{ - pos: position{line: 656, col: 25, offset: 22176}, + pos: position{line: 656, col: 25, offset: 22246}, run: (*parser).callonIncludedFileStartTag1, expr: &seqExpr{ - pos: position{line: 656, col: 25, offset: 22176}, + pos: position{line: 656, col: 25, offset: 22246}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 656, col: 25, offset: 22176}, + pos: position{line: 656, col: 25, offset: 22246}, val: "tag::", ignoreCase: false, want: "\"tag::\"", }, &labeledExpr{ - pos: position{line: 656, col: 33, offset: 22184}, + pos: position{line: 656, col: 33, offset: 22254}, label: "tag", expr: &actionExpr{ - pos: position{line: 656, col: 38, offset: 22189}, + pos: position{line: 656, col: 38, offset: 22259}, run: (*parser).callonIncludedFileStartTag5, expr: &ruleRefExpr{ - pos: position{line: 656, col: 38, offset: 22189}, + pos: position{line: 656, col: 38, offset: 22259}, name: "Alphanums", }, }, }, &litMatcher{ - pos: position{line: 656, col: 78, offset: 22229}, + pos: position{line: 656, col: 78, offset: 22299}, val: "[]", ignoreCase: false, want: "\"[]\"", @@ -4890,33 +4944,33 @@ var g = &grammar{ }, { name: "IncludedFileEndTag", - pos: position{line: 660, col: 1, offset: 22298}, + pos: position{line: 660, col: 1, offset: 22368}, expr: &actionExpr{ - pos: position{line: 660, col: 23, offset: 22320}, + pos: position{line: 660, col: 23, offset: 22390}, run: (*parser).callonIncludedFileEndTag1, expr: &seqExpr{ - pos: position{line: 660, col: 23, offset: 22320}, + pos: position{line: 660, col: 23, offset: 22390}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 660, col: 23, offset: 22320}, + pos: position{line: 660, col: 23, offset: 22390}, val: "end::", ignoreCase: false, want: "\"end::\"", }, &labeledExpr{ - pos: position{line: 660, col: 31, offset: 22328}, + pos: position{line: 660, col: 31, offset: 22398}, label: "tag", expr: &actionExpr{ - pos: position{line: 660, col: 36, offset: 22333}, + pos: position{line: 660, col: 36, offset: 22403}, run: (*parser).callonIncludedFileEndTag5, expr: &ruleRefExpr{ - pos: position{line: 660, col: 36, offset: 22333}, + pos: position{line: 660, col: 36, offset: 22403}, name: "Alphanums", }, }, }, &litMatcher{ - pos: position{line: 660, col: 76, offset: 22373}, + pos: position{line: 660, col: 76, offset: 22443}, val: "[]", ignoreCase: false, want: "\"[]\"", @@ -4927,32 +4981,32 @@ var g = &grammar{ }, { name: "ListParagraph", - pos: position{line: 667, col: 1, offset: 22544}, + pos: position{line: 667, col: 1, offset: 22614}, expr: &choiceExpr{ - pos: position{line: 667, col: 18, offset: 22561}, + pos: position{line: 667, col: 18, offset: 22631}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 667, col: 18, offset: 22561}, + pos: position{line: 667, col: 18, offset: 22631}, run: (*parser).callonListParagraph2, expr: &labeledExpr{ - pos: position{line: 667, col: 18, offset: 22561}, + pos: position{line: 667, col: 18, offset: 22631}, label: "comment", expr: &ruleRefExpr{ - pos: position{line: 667, col: 27, offset: 22570}, + pos: position{line: 667, col: 27, offset: 22640}, name: "SingleLineComment", }, }, }, &actionExpr{ - pos: position{line: 669, col: 9, offset: 22629}, + pos: position{line: 669, col: 9, offset: 22699}, run: (*parser).callonListParagraph5, expr: &labeledExpr{ - pos: position{line: 669, col: 9, offset: 22629}, + pos: position{line: 669, col: 9, offset: 22699}, label: "lines", expr: &oneOrMoreExpr{ - pos: position{line: 669, col: 15, offset: 22635}, + pos: position{line: 669, col: 15, offset: 22705}, expr: &ruleRefExpr{ - pos: position{line: 669, col: 16, offset: 22636}, + pos: position{line: 669, col: 16, offset: 22706}, name: "ListParagraphLine", }, }, @@ -4963,96 +5017,96 @@ var g = &grammar{ }, { name: "ListParagraphLine", - pos: position{line: 673, col: 1, offset: 22732}, + pos: position{line: 673, col: 1, offset: 22802}, expr: &actionExpr{ - pos: position{line: 673, col: 22, offset: 22753}, + pos: position{line: 673, col: 22, offset: 22823}, run: (*parser).callonListParagraphLine1, expr: &seqExpr{ - pos: position{line: 673, col: 22, offset: 22753}, + pos: position{line: 673, col: 22, offset: 22823}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 673, col: 22, offset: 22753}, + pos: position{line: 673, col: 22, offset: 22823}, expr: &ruleRefExpr{ - pos: position{line: 673, col: 23, offset: 22754}, + pos: position{line: 673, col: 23, offset: 22824}, name: "EOF", }, }, ¬Expr{ - pos: position{line: 674, col: 5, offset: 22763}, + pos: position{line: 674, col: 5, offset: 22833}, expr: &ruleRefExpr{ - pos: position{line: 674, col: 6, offset: 22764}, + pos: position{line: 674, col: 6, offset: 22834}, name: "BlankLine", }, }, ¬Expr{ - pos: position{line: 675, col: 5, offset: 22780}, + pos: position{line: 675, col: 5, offset: 22850}, expr: &ruleRefExpr{ - pos: position{line: 675, col: 6, offset: 22781}, + pos: position{line: 675, col: 6, offset: 22851}, name: "SingleLineComment", }, }, ¬Expr{ - pos: position{line: 676, col: 5, offset: 22804}, + pos: position{line: 676, col: 5, offset: 22874}, expr: &ruleRefExpr{ - pos: position{line: 676, col: 6, offset: 22805}, + pos: position{line: 676, col: 6, offset: 22875}, name: "OrderedListItemPrefix", }, }, ¬Expr{ - pos: position{line: 677, col: 5, offset: 22832}, + pos: position{line: 677, col: 5, offset: 22902}, expr: &ruleRefExpr{ - pos: position{line: 677, col: 6, offset: 22833}, + pos: position{line: 677, col: 6, offset: 22903}, name: "UnorderedListItemPrefix", }, }, ¬Expr{ - pos: position{line: 678, col: 5, offset: 22862}, + pos: position{line: 678, col: 5, offset: 22932}, expr: &ruleRefExpr{ - pos: position{line: 678, col: 6, offset: 22863}, + pos: position{line: 678, col: 6, offset: 22933}, name: "CalloutListItemPrefix", }, }, ¬Expr{ - pos: position{line: 679, col: 5, offset: 22890}, + pos: position{line: 679, col: 5, offset: 22960}, expr: &ruleRefExpr{ - pos: position{line: 679, col: 6, offset: 22891}, + pos: position{line: 679, col: 6, offset: 22961}, name: "ListItemContinuation", }, }, ¬Expr{ - pos: position{line: 680, col: 5, offset: 22917}, + pos: position{line: 680, col: 5, offset: 22987}, expr: &ruleRefExpr{ - pos: position{line: 680, col: 6, offset: 22918}, + pos: position{line: 680, col: 6, offset: 22988}, name: "ElementAttribute", }, }, ¬Expr{ - pos: position{line: 681, col: 5, offset: 22940}, + pos: position{line: 681, col: 5, offset: 23010}, expr: &ruleRefExpr{ - pos: position{line: 681, col: 6, offset: 22941}, + pos: position{line: 681, col: 6, offset: 23011}, name: "BlockDelimiter", }, }, ¬Expr{ - pos: position{line: 682, col: 5, offset: 22961}, + pos: position{line: 682, col: 5, offset: 23031}, expr: &ruleRefExpr{ - pos: position{line: 682, col: 6, offset: 22962}, + pos: position{line: 682, col: 6, offset: 23032}, name: "LabeledListItemPrefix", }, }, &labeledExpr{ - pos: position{line: 683, col: 5, offset: 22990}, + pos: position{line: 683, col: 5, offset: 23060}, label: "line", expr: &actionExpr{ - pos: position{line: 683, col: 11, offset: 22996}, + pos: position{line: 683, col: 11, offset: 23066}, run: (*parser).callonListParagraphLine24, expr: &labeledExpr{ - pos: position{line: 683, col: 11, offset: 22996}, + pos: position{line: 683, col: 11, offset: 23066}, label: "elements", expr: &oneOrMoreExpr{ - pos: position{line: 683, col: 20, offset: 23005}, + pos: position{line: 683, col: 20, offset: 23075}, expr: &ruleRefExpr{ - pos: position{line: 683, col: 21, offset: 23006}, + pos: position{line: 683, col: 21, offset: 23076}, name: "InlineElement", }, }, @@ -5060,7 +5114,7 @@ var g = &grammar{ }, }, &ruleRefExpr{ - pos: position{line: 685, col: 12, offset: 23107}, + pos: position{line: 685, col: 12, offset: 23177}, name: "EOL", }, }, @@ -5069,25 +5123,25 @@ var g = &grammar{ }, { name: "ListItemContinuation", - pos: position{line: 689, col: 1, offset: 23150}, + pos: position{line: 689, col: 1, offset: 23220}, expr: &seqExpr{ - pos: position{line: 689, col: 25, offset: 23174}, + pos: position{line: 689, col: 25, offset: 23244}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 689, col: 25, offset: 23174}, + pos: position{line: 689, col: 25, offset: 23244}, val: "+", ignoreCase: false, want: "\"+\"", }, &zeroOrMoreExpr{ - pos: position{line: 689, col: 29, offset: 23178}, + pos: position{line: 689, col: 29, offset: 23248}, expr: &ruleRefExpr{ - pos: position{line: 689, col: 29, offset: 23178}, + pos: position{line: 689, col: 29, offset: 23248}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 689, col: 36, offset: 23185}, + pos: position{line: 689, col: 36, offset: 23255}, name: "Newline", }, }, @@ -5095,22 +5149,22 @@ var g = &grammar{ }, { name: "ContinuedListItemElement", - pos: position{line: 691, col: 1, offset: 23259}, + pos: position{line: 691, col: 1, offset: 23329}, expr: &actionExpr{ - pos: position{line: 691, col: 29, offset: 23287}, + pos: position{line: 691, col: 29, offset: 23357}, run: (*parser).callonContinuedListItemElement1, expr: &seqExpr{ - pos: position{line: 691, col: 29, offset: 23287}, + pos: position{line: 691, col: 29, offset: 23357}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 691, col: 29, offset: 23287}, + pos: position{line: 691, col: 29, offset: 23357}, name: "ListItemContinuation", }, &labeledExpr{ - pos: position{line: 691, col: 50, offset: 23308}, + pos: position{line: 691, col: 50, offset: 23378}, label: "element", expr: &ruleRefExpr{ - pos: position{line: 691, col: 58, offset: 23316}, + pos: position{line: 691, col: 58, offset: 23386}, name: "ContinuedListItemContent", }, }, @@ -5120,84 +5174,84 @@ var g = &grammar{ }, { name: "ContinuedListItemContent", - pos: position{line: 695, col: 1, offset: 23426}, + pos: position{line: 695, col: 1, offset: 23496}, expr: &actionExpr{ - pos: position{line: 695, col: 29, offset: 23454}, + pos: position{line: 695, col: 29, offset: 23524}, run: (*parser).callonContinuedListItemContent1, expr: &seqExpr{ - pos: position{line: 695, col: 29, offset: 23454}, + pos: position{line: 695, col: 29, offset: 23524}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 695, col: 29, offset: 23454}, + pos: position{line: 695, col: 29, offset: 23524}, expr: &ruleRefExpr{ - pos: position{line: 695, col: 30, offset: 23455}, + pos: position{line: 695, col: 30, offset: 23525}, name: "EOF", }, }, &labeledExpr{ - pos: position{line: 696, col: 5, offset: 23465}, + pos: position{line: 696, col: 5, offset: 23535}, label: "content", expr: &choiceExpr{ - pos: position{line: 696, col: 14, offset: 23474}, + pos: position{line: 696, col: 14, offset: 23544}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 696, col: 14, offset: 23474}, + pos: position{line: 696, col: 14, offset: 23544}, name: "DelimitedBlock", }, &ruleRefExpr{ - pos: position{line: 697, col: 11, offset: 23500}, + pos: position{line: 697, col: 11, offset: 23570}, name: "FileInclusion", }, &ruleRefExpr{ - pos: position{line: 698, col: 11, offset: 23525}, + pos: position{line: 698, col: 11, offset: 23595}, name: "VerseParagraph", }, &ruleRefExpr{ - pos: position{line: 699, col: 11, offset: 23580}, + pos: position{line: 699, col: 11, offset: 23650}, name: "ImageBlock", }, &ruleRefExpr{ - pos: position{line: 700, col: 11, offset: 23602}, + pos: position{line: 700, col: 11, offset: 23672}, name: "ThematicBreak", }, &ruleRefExpr{ - pos: position{line: 701, col: 11, offset: 23627}, + pos: position{line: 701, col: 11, offset: 23697}, name: "OrderedListItem", }, &ruleRefExpr{ - pos: position{line: 702, col: 11, offset: 23655}, + pos: position{line: 702, col: 11, offset: 23725}, name: "UnorderedListItem", }, &ruleRefExpr{ - pos: position{line: 703, col: 11, offset: 23685}, + pos: position{line: 703, col: 11, offset: 23755}, name: "LabeledListItem", }, &ruleRefExpr{ - pos: position{line: 705, col: 11, offset: 23752}, + pos: position{line: 705, col: 11, offset: 23822}, name: "BlankLine", }, &ruleRefExpr{ - pos: position{line: 706, col: 11, offset: 23804}, + pos: position{line: 706, col: 11, offset: 23874}, name: "LiteralBlock", }, &ruleRefExpr{ - pos: position{line: 707, col: 11, offset: 23829}, + pos: position{line: 707, col: 11, offset: 23899}, name: "AttributeDeclaration", }, &ruleRefExpr{ - pos: position{line: 708, col: 11, offset: 23862}, + pos: position{line: 708, col: 11, offset: 23932}, name: "AttributeReset", }, &ruleRefExpr{ - pos: position{line: 709, col: 11, offset: 23889}, + pos: position{line: 709, col: 11, offset: 23959}, name: "TableOfContentsPlaceHolder", }, &ruleRefExpr{ - pos: position{line: 710, col: 11, offset: 23927}, + pos: position{line: 710, col: 11, offset: 23997}, name: "UserMacroBlock", }, &ruleRefExpr{ - pos: position{line: 711, col: 11, offset: 23953}, + pos: position{line: 711, col: 11, offset: 24023}, name: "ContinuedParagraph", }, }, @@ -5209,37 +5263,37 @@ var g = &grammar{ }, { name: "OrderedListItem", - pos: position{line: 718, col: 1, offset: 24123}, + pos: position{line: 718, col: 1, offset: 24193}, expr: &actionExpr{ - pos: position{line: 718, col: 20, offset: 24142}, + pos: position{line: 718, col: 20, offset: 24212}, run: (*parser).callonOrderedListItem1, expr: &seqExpr{ - pos: position{line: 718, col: 20, offset: 24142}, + pos: position{line: 718, col: 20, offset: 24212}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 718, col: 20, offset: 24142}, + pos: position{line: 718, col: 20, offset: 24212}, label: "attrs", expr: &zeroOrMoreExpr{ - pos: position{line: 718, col: 26, offset: 24148}, + pos: position{line: 718, col: 26, offset: 24218}, expr: &ruleRefExpr{ - pos: position{line: 718, col: 27, offset: 24149}, + pos: position{line: 718, col: 27, offset: 24219}, name: "BlockAttrs", }, }, }, &labeledExpr{ - pos: position{line: 718, col: 40, offset: 24162}, + pos: position{line: 718, col: 40, offset: 24232}, label: "prefix", expr: &ruleRefExpr{ - pos: position{line: 718, col: 48, offset: 24170}, + pos: position{line: 718, col: 48, offset: 24240}, name: "OrderedListItemPrefix", }, }, &labeledExpr{ - pos: position{line: 718, col: 71, offset: 24193}, + pos: position{line: 718, col: 71, offset: 24263}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 718, col: 80, offset: 24202}, + pos: position{line: 718, col: 80, offset: 24272}, name: "OrderedListItemContent", }, }, @@ -5249,42 +5303,42 @@ var g = &grammar{ }, { name: "OrderedListItemPrefix", - pos: position{line: 722, col: 1, offset: 24341}, + pos: position{line: 722, col: 1, offset: 24411}, expr: &actionExpr{ - pos: position{line: 723, col: 5, offset: 24372}, + pos: position{line: 723, col: 5, offset: 24442}, run: (*parser).callonOrderedListItemPrefix1, expr: &seqExpr{ - pos: position{line: 723, col: 5, offset: 24372}, + pos: position{line: 723, col: 5, offset: 24442}, exprs: []interface{}{ &zeroOrMoreExpr{ - pos: position{line: 723, col: 5, offset: 24372}, + pos: position{line: 723, col: 5, offset: 24442}, expr: &ruleRefExpr{ - pos: position{line: 723, col: 5, offset: 24372}, + pos: position{line: 723, col: 5, offset: 24442}, name: "Space", }, }, &labeledExpr{ - pos: position{line: 723, col: 12, offset: 24379}, + pos: position{line: 723, col: 12, offset: 24449}, label: "prefix", expr: &choiceExpr{ - pos: position{line: 725, col: 9, offset: 24444}, + pos: position{line: 725, col: 9, offset: 24514}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 725, col: 9, offset: 24444}, + pos: position{line: 725, col: 9, offset: 24514}, run: (*parser).callonOrderedListItemPrefix7, expr: &seqExpr{ - pos: position{line: 725, col: 9, offset: 24444}, + pos: position{line: 725, col: 9, offset: 24514}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 725, col: 9, offset: 24444}, + pos: position{line: 725, col: 9, offset: 24514}, label: "depth", expr: &actionExpr{ - pos: position{line: 725, col: 16, offset: 24451}, + pos: position{line: 725, col: 16, offset: 24521}, run: (*parser).callonOrderedListItemPrefix10, expr: &oneOrMoreExpr{ - pos: position{line: 725, col: 16, offset: 24451}, + pos: position{line: 725, col: 16, offset: 24521}, expr: &litMatcher{ - pos: position{line: 725, col: 17, offset: 24452}, + pos: position{line: 725, col: 17, offset: 24522}, val: ".", ignoreCase: false, want: "\".\"", @@ -5293,22 +5347,22 @@ var g = &grammar{ }, }, &andCodeExpr{ - pos: position{line: 729, col: 9, offset: 24556}, + pos: position{line: 729, col: 9, offset: 24626}, run: (*parser).callonOrderedListItemPrefix13, }, }, }, }, &actionExpr{ - pos: position{line: 748, col: 11, offset: 25292}, + pos: position{line: 748, col: 11, offset: 25362}, run: (*parser).callonOrderedListItemPrefix14, expr: &seqExpr{ - pos: position{line: 748, col: 11, offset: 25292}, + pos: position{line: 748, col: 11, offset: 25362}, exprs: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 748, col: 11, offset: 25292}, + pos: position{line: 748, col: 11, offset: 25362}, expr: &charClassMatcher{ - pos: position{line: 748, col: 12, offset: 25293}, + pos: position{line: 748, col: 12, offset: 25363}, val: "[0-9]", ranges: []rune{'0', '9'}, ignoreCase: false, @@ -5316,7 +5370,7 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 748, col: 20, offset: 25301}, + pos: position{line: 748, col: 20, offset: 25371}, val: ".", ignoreCase: false, want: "\".\"", @@ -5325,20 +5379,20 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 750, col: 13, offset: 25414}, + pos: position{line: 750, col: 13, offset: 25484}, run: (*parser).callonOrderedListItemPrefix19, expr: &seqExpr{ - pos: position{line: 750, col: 13, offset: 25414}, + pos: position{line: 750, col: 13, offset: 25484}, exprs: []interface{}{ &charClassMatcher{ - pos: position{line: 750, col: 14, offset: 25415}, + pos: position{line: 750, col: 14, offset: 25485}, val: "[a-z]", ranges: []rune{'a', 'z'}, ignoreCase: false, inverted: false, }, &litMatcher{ - pos: position{line: 750, col: 21, offset: 25422}, + pos: position{line: 750, col: 21, offset: 25492}, val: ".", ignoreCase: false, want: "\".\"", @@ -5347,20 +5401,20 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 752, col: 13, offset: 25538}, + pos: position{line: 752, col: 13, offset: 25608}, run: (*parser).callonOrderedListItemPrefix23, expr: &seqExpr{ - pos: position{line: 752, col: 13, offset: 25538}, + pos: position{line: 752, col: 13, offset: 25608}, exprs: []interface{}{ &charClassMatcher{ - pos: position{line: 752, col: 14, offset: 25539}, + pos: position{line: 752, col: 14, offset: 25609}, val: "[A-Z]", ranges: []rune{'A', 'Z'}, ignoreCase: false, inverted: false, }, &litMatcher{ - pos: position{line: 752, col: 21, offset: 25546}, + pos: position{line: 752, col: 21, offset: 25616}, val: ".", ignoreCase: false, want: "\".\"", @@ -5369,15 +5423,15 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 754, col: 13, offset: 25662}, + pos: position{line: 754, col: 13, offset: 25732}, run: (*parser).callonOrderedListItemPrefix27, expr: &seqExpr{ - pos: position{line: 754, col: 13, offset: 25662}, + pos: position{line: 754, col: 13, offset: 25732}, exprs: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 754, col: 13, offset: 25662}, + pos: position{line: 754, col: 13, offset: 25732}, expr: &charClassMatcher{ - pos: position{line: 754, col: 14, offset: 25663}, + pos: position{line: 754, col: 14, offset: 25733}, val: "[a-z]", ranges: []rune{'a', 'z'}, ignoreCase: false, @@ -5385,7 +5439,7 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 754, col: 22, offset: 25671}, + pos: position{line: 754, col: 22, offset: 25741}, val: ")", ignoreCase: false, want: "\")\"", @@ -5394,15 +5448,15 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 756, col: 13, offset: 25787}, + pos: position{line: 756, col: 13, offset: 25857}, run: (*parser).callonOrderedListItemPrefix32, expr: &seqExpr{ - pos: position{line: 756, col: 13, offset: 25787}, + pos: position{line: 756, col: 13, offset: 25857}, exprs: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 756, col: 13, offset: 25787}, + pos: position{line: 756, col: 13, offset: 25857}, expr: &charClassMatcher{ - pos: position{line: 756, col: 14, offset: 25788}, + pos: position{line: 756, col: 14, offset: 25858}, val: "[A-Z]", ranges: []rune{'A', 'Z'}, ignoreCase: false, @@ -5410,7 +5464,7 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 756, col: 22, offset: 25796}, + pos: position{line: 756, col: 22, offset: 25866}, val: ")", ignoreCase: false, want: "\")\"", @@ -5422,9 +5476,9 @@ var g = &grammar{ }, }, &oneOrMoreExpr{ - pos: position{line: 758, col: 12, offset: 25911}, + pos: position{line: 758, col: 12, offset: 25981}, expr: &ruleRefExpr{ - pos: position{line: 758, col: 12, offset: 25911}, + pos: position{line: 758, col: 12, offset: 25981}, name: "Space", }, }, @@ -5434,17 +5488,17 @@ var g = &grammar{ }, { name: "OrderedListItemContent", - pos: position{line: 762, col: 1, offset: 25950}, + pos: position{line: 762, col: 1, offset: 26020}, expr: &actionExpr{ - pos: position{line: 762, col: 27, offset: 25976}, + pos: position{line: 762, col: 27, offset: 26046}, run: (*parser).callonOrderedListItemContent1, expr: &labeledExpr{ - pos: position{line: 762, col: 27, offset: 25976}, + pos: position{line: 762, col: 27, offset: 26046}, label: "elements", expr: &oneOrMoreExpr{ - pos: position{line: 762, col: 37, offset: 25986}, + pos: position{line: 762, col: 37, offset: 26056}, expr: &ruleRefExpr{ - pos: position{line: 762, col: 37, offset: 25986}, + pos: position{line: 762, col: 37, offset: 26056}, name: "ListParagraph", }, }, @@ -5453,48 +5507,48 @@ var g = &grammar{ }, { name: "UnorderedListItem", - pos: position{line: 769, col: 1, offset: 26193}, + pos: position{line: 769, col: 1, offset: 26263}, expr: &actionExpr{ - pos: position{line: 769, col: 22, offset: 26214}, + pos: position{line: 769, col: 22, offset: 26284}, run: (*parser).callonUnorderedListItem1, expr: &seqExpr{ - pos: position{line: 769, col: 22, offset: 26214}, + pos: position{line: 769, col: 22, offset: 26284}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 769, col: 22, offset: 26214}, + pos: position{line: 769, col: 22, offset: 26284}, label: "attrs", expr: &zeroOrMoreExpr{ - pos: position{line: 769, col: 28, offset: 26220}, + pos: position{line: 769, col: 28, offset: 26290}, expr: &ruleRefExpr{ - pos: position{line: 769, col: 29, offset: 26221}, + pos: position{line: 769, col: 29, offset: 26291}, name: "BlockAttrs", }, }, }, &labeledExpr{ - pos: position{line: 769, col: 42, offset: 26234}, + pos: position{line: 769, col: 42, offset: 26304}, label: "prefix", expr: &ruleRefExpr{ - pos: position{line: 769, col: 50, offset: 26242}, + pos: position{line: 769, col: 50, offset: 26312}, name: "UnorderedListItemPrefix", }, }, &labeledExpr{ - pos: position{line: 769, col: 75, offset: 26267}, + pos: position{line: 769, col: 75, offset: 26337}, label: "checkstyle", expr: &zeroOrOneExpr{ - pos: position{line: 769, col: 86, offset: 26278}, + pos: position{line: 769, col: 86, offset: 26348}, expr: &ruleRefExpr{ - pos: position{line: 769, col: 87, offset: 26279}, + pos: position{line: 769, col: 87, offset: 26349}, name: "UnorderedListItemCheckStyle", }, }, }, &labeledExpr{ - pos: position{line: 769, col: 117, offset: 26309}, + pos: position{line: 769, col: 117, offset: 26379}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 769, col: 126, offset: 26318}, + pos: position{line: 769, col: 126, offset: 26388}, name: "UnorderedListItemContent", }, }, @@ -5504,42 +5558,42 @@ var g = &grammar{ }, { name: "UnorderedListItemPrefix", - pos: position{line: 773, col: 1, offset: 26475}, + pos: position{line: 773, col: 1, offset: 26545}, expr: &actionExpr{ - pos: position{line: 774, col: 5, offset: 26508}, + pos: position{line: 774, col: 5, offset: 26578}, run: (*parser).callonUnorderedListItemPrefix1, expr: &seqExpr{ - pos: position{line: 774, col: 5, offset: 26508}, + pos: position{line: 774, col: 5, offset: 26578}, exprs: []interface{}{ &zeroOrMoreExpr{ - pos: position{line: 774, col: 5, offset: 26508}, + pos: position{line: 774, col: 5, offset: 26578}, expr: &ruleRefExpr{ - pos: position{line: 774, col: 5, offset: 26508}, + pos: position{line: 774, col: 5, offset: 26578}, name: "Space", }, }, &labeledExpr{ - pos: position{line: 774, col: 12, offset: 26515}, + pos: position{line: 774, col: 12, offset: 26585}, label: "prefix", expr: &choiceExpr{ - pos: position{line: 774, col: 20, offset: 26523}, + pos: position{line: 774, col: 20, offset: 26593}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 776, col: 9, offset: 26582}, + pos: position{line: 776, col: 9, offset: 26652}, run: (*parser).callonUnorderedListItemPrefix7, expr: &seqExpr{ - pos: position{line: 776, col: 9, offset: 26582}, + pos: position{line: 776, col: 9, offset: 26652}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 776, col: 9, offset: 26582}, + pos: position{line: 776, col: 9, offset: 26652}, label: "depth", expr: &actionExpr{ - pos: position{line: 776, col: 16, offset: 26589}, + pos: position{line: 776, col: 16, offset: 26659}, run: (*parser).callonUnorderedListItemPrefix10, expr: &oneOrMoreExpr{ - pos: position{line: 776, col: 16, offset: 26589}, + pos: position{line: 776, col: 16, offset: 26659}, expr: &litMatcher{ - pos: position{line: 776, col: 17, offset: 26590}, + pos: position{line: 776, col: 17, offset: 26660}, val: "*", ignoreCase: false, want: "\"*\"", @@ -5548,20 +5602,20 @@ var g = &grammar{ }, }, &andCodeExpr{ - pos: position{line: 780, col: 9, offset: 26694}, + pos: position{line: 780, col: 9, offset: 26764}, run: (*parser).callonUnorderedListItemPrefix13, }, }, }, }, &labeledExpr{ - pos: position{line: 797, col: 14, offset: 27418}, + pos: position{line: 797, col: 14, offset: 27488}, label: "depth", expr: &actionExpr{ - pos: position{line: 797, col: 21, offset: 27425}, + pos: position{line: 797, col: 21, offset: 27495}, run: (*parser).callonUnorderedListItemPrefix15, expr: &litMatcher{ - pos: position{line: 797, col: 22, offset: 27426}, + pos: position{line: 797, col: 22, offset: 27496}, val: "-", ignoreCase: false, want: "\"-\"", @@ -5572,9 +5626,9 @@ var g = &grammar{ }, }, &oneOrMoreExpr{ - pos: position{line: 799, col: 13, offset: 27514}, + pos: position{line: 799, col: 13, offset: 27584}, expr: &ruleRefExpr{ - pos: position{line: 799, col: 13, offset: 27514}, + pos: position{line: 799, col: 13, offset: 27584}, name: "Space", }, }, @@ -5584,53 +5638,53 @@ var g = &grammar{ }, { name: "UnorderedListItemCheckStyle", - pos: position{line: 803, col: 1, offset: 27554}, + pos: position{line: 803, col: 1, offset: 27624}, expr: &actionExpr{ - pos: position{line: 803, col: 32, offset: 27585}, + pos: position{line: 803, col: 32, offset: 27655}, run: (*parser).callonUnorderedListItemCheckStyle1, expr: &seqExpr{ - pos: position{line: 803, col: 32, offset: 27585}, + pos: position{line: 803, col: 32, offset: 27655}, exprs: []interface{}{ &andExpr{ - pos: position{line: 803, col: 32, offset: 27585}, + pos: position{line: 803, col: 32, offset: 27655}, expr: &litMatcher{ - pos: position{line: 803, col: 33, offset: 27586}, + pos: position{line: 803, col: 33, offset: 27656}, val: "[", ignoreCase: false, want: "\"[\"", }, }, &labeledExpr{ - pos: position{line: 803, col: 37, offset: 27590}, + pos: position{line: 803, col: 37, offset: 27660}, label: "style", expr: &choiceExpr{ - pos: position{line: 804, col: 7, offset: 27605}, + pos: position{line: 804, col: 7, offset: 27675}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 804, col: 7, offset: 27605}, + pos: position{line: 804, col: 7, offset: 27675}, run: (*parser).callonUnorderedListItemCheckStyle7, expr: &litMatcher{ - pos: position{line: 804, col: 7, offset: 27605}, + pos: position{line: 804, col: 7, offset: 27675}, val: "[ ]", ignoreCase: false, want: "\"[ ]\"", }, }, &actionExpr{ - pos: position{line: 805, col: 7, offset: 27651}, + pos: position{line: 805, col: 7, offset: 27721}, run: (*parser).callonUnorderedListItemCheckStyle9, expr: &litMatcher{ - pos: position{line: 805, col: 7, offset: 27651}, + pos: position{line: 805, col: 7, offset: 27721}, val: "[*]", ignoreCase: false, want: "\"[*]\"", }, }, &actionExpr{ - pos: position{line: 806, col: 7, offset: 27695}, + pos: position{line: 806, col: 7, offset: 27765}, run: (*parser).callonUnorderedListItemCheckStyle11, expr: &litMatcher{ - pos: position{line: 806, col: 7, offset: 27695}, + pos: position{line: 806, col: 7, offset: 27765}, val: "[x]", ignoreCase: false, want: "\"[x]\"", @@ -5640,9 +5694,9 @@ var g = &grammar{ }, }, &oneOrMoreExpr{ - pos: position{line: 807, col: 7, offset: 27738}, + pos: position{line: 807, col: 7, offset: 27808}, expr: &ruleRefExpr{ - pos: position{line: 807, col: 7, offset: 27738}, + pos: position{line: 807, col: 7, offset: 27808}, name: "Space", }, }, @@ -5652,17 +5706,17 @@ var g = &grammar{ }, { name: "UnorderedListItemContent", - pos: position{line: 811, col: 1, offset: 27784}, + pos: position{line: 811, col: 1, offset: 27854}, expr: &actionExpr{ - pos: position{line: 811, col: 29, offset: 27812}, + pos: position{line: 811, col: 29, offset: 27882}, run: (*parser).callonUnorderedListItemContent1, expr: &labeledExpr{ - pos: position{line: 811, col: 29, offset: 27812}, + pos: position{line: 811, col: 29, offset: 27882}, label: "elements", expr: &oneOrMoreExpr{ - pos: position{line: 811, col: 39, offset: 27822}, + pos: position{line: 811, col: 39, offset: 27892}, expr: &ruleRefExpr{ - pos: position{line: 811, col: 39, offset: 27822}, + pos: position{line: 811, col: 39, offset: 27892}, name: "ListParagraph", }, }, @@ -5671,47 +5725,47 @@ var g = &grammar{ }, { name: "LabeledListItem", - pos: position{line: 818, col: 1, offset: 28145}, + pos: position{line: 818, col: 1, offset: 28215}, expr: &actionExpr{ - pos: position{line: 818, col: 20, offset: 28164}, + pos: position{line: 818, col: 20, offset: 28234}, run: (*parser).callonLabeledListItem1, expr: &seqExpr{ - pos: position{line: 818, col: 20, offset: 28164}, + pos: position{line: 818, col: 20, offset: 28234}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 818, col: 20, offset: 28164}, + pos: position{line: 818, col: 20, offset: 28234}, label: "attrs", expr: &zeroOrMoreExpr{ - pos: position{line: 818, col: 26, offset: 28170}, + pos: position{line: 818, col: 26, offset: 28240}, expr: &ruleRefExpr{ - pos: position{line: 818, col: 27, offset: 28171}, + pos: position{line: 818, col: 27, offset: 28241}, name: "BlockAttrs", }, }, }, &labeledExpr{ - pos: position{line: 818, col: 40, offset: 28184}, + pos: position{line: 818, col: 40, offset: 28254}, label: "term", expr: &ruleRefExpr{ - pos: position{line: 818, col: 46, offset: 28190}, + pos: position{line: 818, col: 46, offset: 28260}, name: "VerbatimLabeledListItemTerm", }, }, &labeledExpr{ - pos: position{line: 818, col: 75, offset: 28219}, + pos: position{line: 818, col: 75, offset: 28289}, label: "separator", expr: &ruleRefExpr{ - pos: position{line: 818, col: 86, offset: 28230}, + pos: position{line: 818, col: 86, offset: 28300}, name: "LabeledListItemSeparator", }, }, &labeledExpr{ - pos: position{line: 818, col: 112, offset: 28256}, + pos: position{line: 818, col: 112, offset: 28326}, label: "description", expr: &zeroOrOneExpr{ - pos: position{line: 818, col: 124, offset: 28268}, + pos: position{line: 818, col: 124, offset: 28338}, expr: &ruleRefExpr{ - pos: position{line: 818, col: 125, offset: 28269}, + pos: position{line: 818, col: 125, offset: 28339}, name: "LabeledListItemDescription", }, }, @@ -5722,16 +5776,16 @@ var g = &grammar{ }, { name: "LabeledListItemPrefix", - pos: position{line: 822, col: 1, offset: 28414}, + pos: position{line: 822, col: 1, offset: 28484}, expr: &seqExpr{ - pos: position{line: 822, col: 26, offset: 28439}, + pos: position{line: 822, col: 26, offset: 28509}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 822, col: 26, offset: 28439}, + pos: position{line: 822, col: 26, offset: 28509}, name: "VerbatimLabeledListItemTerm", }, &ruleRefExpr{ - pos: position{line: 822, col: 54, offset: 28467}, + pos: position{line: 822, col: 54, offset: 28537}, name: "LabeledListItemSeparator", }, }, @@ -5739,14 +5793,14 @@ var g = &grammar{ }, { name: "VerbatimLabeledListItemChars", - pos: position{line: 824, col: 1, offset: 28495}, + pos: position{line: 824, col: 1, offset: 28565}, expr: &choiceExpr{ - pos: position{line: 824, col: 33, offset: 28527}, + pos: position{line: 824, col: 33, offset: 28597}, alternatives: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 824, col: 33, offset: 28527}, + pos: position{line: 824, col: 33, offset: 28597}, expr: &charClassMatcher{ - pos: position{line: 824, col: 33, offset: 28527}, + pos: position{line: 824, col: 33, offset: 28597}, val: "[^:\\r\\n]", chars: []rune{':', '\r', '\n'}, ignoreCase: false, @@ -5754,18 +5808,18 @@ var g = &grammar{ }, }, &seqExpr{ - pos: position{line: 824, col: 45, offset: 28539}, + pos: position{line: 824, col: 45, offset: 28609}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 824, col: 45, offset: 28539}, + pos: position{line: 824, col: 45, offset: 28609}, val: ":", ignoreCase: false, want: "\":\"", }, ¬Expr{ - pos: position{line: 824, col: 49, offset: 28543}, + pos: position{line: 824, col: 49, offset: 28613}, expr: &litMatcher{ - pos: position{line: 824, col: 50, offset: 28544}, + pos: position{line: 824, col: 50, offset: 28614}, val: ":", ignoreCase: false, want: "\":\"", @@ -5778,20 +5832,20 @@ var g = &grammar{ }, { name: "VerbatimLabeledListItemTerm", - pos: position{line: 825, col: 1, offset: 28549}, + pos: position{line: 825, col: 1, offset: 28619}, expr: &actionExpr{ - pos: position{line: 825, col: 32, offset: 28580}, + pos: position{line: 825, col: 32, offset: 28650}, run: (*parser).callonVerbatimLabeledListItemTerm1, expr: &labeledExpr{ - pos: position{line: 825, col: 32, offset: 28580}, + pos: position{line: 825, col: 32, offset: 28650}, label: "content", expr: &actionExpr{ - pos: position{line: 825, col: 42, offset: 28590}, + pos: position{line: 825, col: 42, offset: 28660}, run: (*parser).callonVerbatimLabeledListItemTerm3, expr: &oneOrMoreExpr{ - pos: position{line: 825, col: 42, offset: 28590}, + pos: position{line: 825, col: 42, offset: 28660}, expr: &ruleRefExpr{ - pos: position{line: 825, col: 42, offset: 28590}, + pos: position{line: 825, col: 42, offset: 28660}, name: "VerbatimLabeledListItemChars", }, }, @@ -5801,36 +5855,36 @@ var g = &grammar{ }, { name: "LabeledListItemTerm", - pos: position{line: 831, col: 1, offset: 28751}, + pos: position{line: 831, col: 1, offset: 28821}, expr: &actionExpr{ - pos: position{line: 831, col: 24, offset: 28774}, + pos: position{line: 831, col: 24, offset: 28844}, run: (*parser).callonLabeledListItemTerm1, expr: &labeledExpr{ - pos: position{line: 831, col: 24, offset: 28774}, + pos: position{line: 831, col: 24, offset: 28844}, label: "elements", expr: &oneOrMoreExpr{ - pos: position{line: 831, col: 33, offset: 28783}, + pos: position{line: 831, col: 33, offset: 28853}, expr: &seqExpr{ - pos: position{line: 831, col: 34, offset: 28784}, + pos: position{line: 831, col: 34, offset: 28854}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 831, col: 34, offset: 28784}, + pos: position{line: 831, col: 34, offset: 28854}, expr: &ruleRefExpr{ - pos: position{line: 831, col: 35, offset: 28785}, + pos: position{line: 831, col: 35, offset: 28855}, name: "Newline", }, }, ¬Expr{ - pos: position{line: 831, col: 43, offset: 28793}, + pos: position{line: 831, col: 43, offset: 28863}, expr: &litMatcher{ - pos: position{line: 831, col: 44, offset: 28794}, + pos: position{line: 831, col: 44, offset: 28864}, val: "::", ignoreCase: false, want: "\"::\"", }, }, &ruleRefExpr{ - pos: position{line: 831, col: 49, offset: 28799}, + pos: position{line: 831, col: 49, offset: 28869}, name: "LabeledListItemTermElement", }, }, @@ -5841,85 +5895,85 @@ var g = &grammar{ }, { name: "LabeledListItemTermElement", - pos: position{line: 835, col: 1, offset: 28930}, + pos: position{line: 835, col: 1, offset: 29000}, expr: &actionExpr{ - pos: position{line: 835, col: 31, offset: 28960}, + pos: position{line: 835, col: 31, offset: 29030}, run: (*parser).callonLabeledListItemTermElement1, expr: &labeledExpr{ - pos: position{line: 835, col: 31, offset: 28960}, + pos: position{line: 835, col: 31, offset: 29030}, label: "element", expr: &choiceExpr{ - pos: position{line: 835, col: 40, offset: 28969}, + pos: position{line: 835, col: 40, offset: 29039}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 835, col: 40, offset: 28969}, + pos: position{line: 835, col: 40, offset: 29039}, name: "Word", }, &ruleRefExpr{ - pos: position{line: 836, col: 11, offset: 28985}, + pos: position{line: 836, col: 11, offset: 29055}, name: "LineBreak", }, &oneOrMoreExpr{ - pos: position{line: 837, col: 11, offset: 29035}, + pos: position{line: 837, col: 11, offset: 29105}, expr: &ruleRefExpr{ - pos: position{line: 837, col: 11, offset: 29035}, + pos: position{line: 837, col: 11, offset: 29105}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 838, col: 11, offset: 29054}, + pos: position{line: 838, col: 11, offset: 29124}, name: "CrossReference", }, &ruleRefExpr{ - pos: position{line: 839, col: 11, offset: 29080}, + pos: position{line: 839, col: 11, offset: 29150}, name: "ConcealedIndexTerm", }, &ruleRefExpr{ - pos: position{line: 840, col: 11, offset: 29110}, + pos: position{line: 840, col: 11, offset: 29180}, name: "IndexTerm", }, &ruleRefExpr{ - pos: position{line: 841, col: 11, offset: 29131}, + pos: position{line: 841, col: 11, offset: 29201}, name: "InlinePassthrough", }, &ruleRefExpr{ - pos: position{line: 842, col: 11, offset: 29160}, + pos: position{line: 842, col: 11, offset: 29230}, name: "InlineIcon", }, &ruleRefExpr{ - pos: position{line: 843, col: 11, offset: 29182}, + pos: position{line: 843, col: 11, offset: 29252}, name: "InlineImage", }, &ruleRefExpr{ - pos: position{line: 844, col: 11, offset: 29206}, + pos: position{line: 844, col: 11, offset: 29276}, name: "Link", }, &ruleRefExpr{ - pos: position{line: 845, col: 11, offset: 29222}, + pos: position{line: 845, col: 11, offset: 29292}, name: "InlineFootnote", }, &ruleRefExpr{ - pos: position{line: 846, col: 11, offset: 29248}, + pos: position{line: 846, col: 11, offset: 29318}, name: "QuotedString", }, &ruleRefExpr{ - pos: position{line: 847, col: 11, offset: 29272}, + pos: position{line: 847, col: 11, offset: 29342}, name: "QuotedText", }, &ruleRefExpr{ - pos: position{line: 848, col: 11, offset: 29294}, + pos: position{line: 848, col: 11, offset: 29364}, name: "Symbol", }, &ruleRefExpr{ - pos: position{line: 849, col: 11, offset: 29312}, + pos: position{line: 849, col: 11, offset: 29382}, name: "AttributeSubstitution", }, &ruleRefExpr{ - pos: position{line: 850, col: 11, offset: 29345}, + pos: position{line: 850, col: 11, offset: 29415}, name: "ImpliedApostrophe", }, &ruleRefExpr{ - pos: position{line: 851, col: 11, offset: 29374}, + pos: position{line: 851, col: 11, offset: 29444}, name: "AnyChar", }, }, @@ -5929,23 +5983,23 @@ var g = &grammar{ }, { name: "LabeledListItemSeparator", - pos: position{line: 855, col: 1, offset: 29417}, + pos: position{line: 855, col: 1, offset: 29487}, expr: &actionExpr{ - pos: position{line: 856, col: 5, offset: 29451}, + pos: position{line: 856, col: 5, offset: 29521}, run: (*parser).callonLabeledListItemSeparator1, expr: &seqExpr{ - pos: position{line: 856, col: 5, offset: 29451}, + pos: position{line: 856, col: 5, offset: 29521}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 856, col: 5, offset: 29451}, + pos: position{line: 856, col: 5, offset: 29521}, label: "separator", expr: &actionExpr{ - pos: position{line: 856, col: 16, offset: 29462}, + pos: position{line: 856, col: 16, offset: 29532}, run: (*parser).callonLabeledListItemSeparator4, expr: &oneOrMoreExpr{ - pos: position{line: 856, col: 16, offset: 29462}, + pos: position{line: 856, col: 16, offset: 29532}, expr: &litMatcher{ - pos: position{line: 856, col: 17, offset: 29463}, + pos: position{line: 856, col: 17, offset: 29533}, val: ":", ignoreCase: false, want: "\":\"", @@ -5954,30 +6008,30 @@ var g = &grammar{ }, }, &andCodeExpr{ - pos: position{line: 859, col: 5, offset: 29524}, + pos: position{line: 859, col: 5, offset: 29594}, run: (*parser).callonLabeledListItemSeparator7, }, &choiceExpr{ - pos: position{line: 863, col: 6, offset: 29704}, + pos: position{line: 863, col: 6, offset: 29774}, alternatives: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 863, col: 6, offset: 29704}, + pos: position{line: 863, col: 6, offset: 29774}, expr: &choiceExpr{ - pos: position{line: 863, col: 7, offset: 29705}, + pos: position{line: 863, col: 7, offset: 29775}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 863, col: 7, offset: 29705}, + pos: position{line: 863, col: 7, offset: 29775}, name: "Space", }, &ruleRefExpr{ - pos: position{line: 863, col: 15, offset: 29713}, + pos: position{line: 863, col: 15, offset: 29783}, name: "Newline", }, }, }, }, &ruleRefExpr{ - pos: position{line: 863, col: 27, offset: 29725}, + pos: position{line: 863, col: 27, offset: 29795}, name: "EOL", }, }, @@ -5988,17 +6042,17 @@ var g = &grammar{ }, { name: "LabeledListItemDescription", - pos: position{line: 867, col: 1, offset: 29769}, + pos: position{line: 867, col: 1, offset: 29839}, expr: &actionExpr{ - pos: position{line: 867, col: 31, offset: 29799}, + pos: position{line: 867, col: 31, offset: 29869}, run: (*parser).callonLabeledListItemDescription1, expr: &labeledExpr{ - pos: position{line: 867, col: 31, offset: 29799}, + pos: position{line: 867, col: 31, offset: 29869}, label: "elements", expr: &oneOrMoreExpr{ - pos: position{line: 867, col: 40, offset: 29808}, + pos: position{line: 867, col: 40, offset: 29878}, expr: &ruleRefExpr{ - pos: position{line: 867, col: 41, offset: 29809}, + pos: position{line: 867, col: 41, offset: 29879}, name: "ListParagraph", }, }, @@ -6007,55 +6061,55 @@ var g = &grammar{ }, { name: "AdmonitionKind", - pos: position{line: 874, col: 1, offset: 30007}, + pos: position{line: 874, col: 1, offset: 30077}, expr: &choiceExpr{ - pos: position{line: 874, col: 19, offset: 30025}, + pos: position{line: 874, col: 19, offset: 30095}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 874, col: 19, offset: 30025}, + pos: position{line: 874, col: 19, offset: 30095}, run: (*parser).callonAdmonitionKind2, expr: &litMatcher{ - pos: position{line: 874, col: 19, offset: 30025}, + pos: position{line: 874, col: 19, offset: 30095}, val: "TIP", ignoreCase: false, want: "\"TIP\"", }, }, &actionExpr{ - pos: position{line: 876, col: 9, offset: 30073}, + pos: position{line: 876, col: 9, offset: 30143}, run: (*parser).callonAdmonitionKind4, expr: &litMatcher{ - pos: position{line: 876, col: 9, offset: 30073}, + pos: position{line: 876, col: 9, offset: 30143}, val: "NOTE", ignoreCase: false, want: "\"NOTE\"", }, }, &actionExpr{ - pos: position{line: 878, col: 9, offset: 30123}, + pos: position{line: 878, col: 9, offset: 30193}, run: (*parser).callonAdmonitionKind6, expr: &litMatcher{ - pos: position{line: 878, col: 9, offset: 30123}, + pos: position{line: 878, col: 9, offset: 30193}, val: "IMPORTANT", ignoreCase: false, want: "\"IMPORTANT\"", }, }, &actionExpr{ - pos: position{line: 880, col: 9, offset: 30183}, + pos: position{line: 880, col: 9, offset: 30253}, run: (*parser).callonAdmonitionKind8, expr: &litMatcher{ - pos: position{line: 880, col: 9, offset: 30183}, + pos: position{line: 880, col: 9, offset: 30253}, val: "WARNING", ignoreCase: false, want: "\"WARNING\"", }, }, &actionExpr{ - pos: position{line: 882, col: 9, offset: 30239}, + pos: position{line: 882, col: 9, offset: 30309}, run: (*parser).callonAdmonitionKind10, expr: &litMatcher{ - pos: position{line: 882, col: 9, offset: 30239}, + pos: position{line: 882, col: 9, offset: 30309}, val: "CAUTION", ignoreCase: false, want: "\"CAUTION\"", @@ -6066,48 +6120,48 @@ var g = &grammar{ }, { name: "Paragraph", - pos: position{line: 891, col: 1, offset: 30555}, + pos: position{line: 891, col: 1, offset: 30625}, expr: &choiceExpr{ - pos: position{line: 893, col: 5, offset: 30604}, + pos: position{line: 893, col: 5, offset: 30674}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 893, col: 5, offset: 30604}, + pos: position{line: 893, col: 5, offset: 30674}, run: (*parser).callonParagraph2, expr: &seqExpr{ - pos: position{line: 893, col: 5, offset: 30604}, + pos: position{line: 893, col: 5, offset: 30674}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 893, col: 5, offset: 30604}, + pos: position{line: 893, col: 5, offset: 30674}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 893, col: 16, offset: 30615}, + pos: position{line: 893, col: 16, offset: 30685}, expr: &ruleRefExpr{ - pos: position{line: 893, col: 17, offset: 30616}, + pos: position{line: 893, col: 17, offset: 30686}, name: "Attributes", }, }, }, &labeledExpr{ - pos: position{line: 893, col: 30, offset: 30629}, + pos: position{line: 893, col: 30, offset: 30699}, label: "t", expr: &ruleRefExpr{ - pos: position{line: 893, col: 33, offset: 30632}, + pos: position{line: 893, col: 33, offset: 30702}, name: "AdmonitionKind", }, }, &litMatcher{ - pos: position{line: 893, col: 49, offset: 30648}, + pos: position{line: 893, col: 49, offset: 30718}, val: ": ", ignoreCase: false, want: "\": \"", }, &labeledExpr{ - pos: position{line: 893, col: 54, offset: 30653}, + pos: position{line: 893, col: 54, offset: 30723}, label: "lines", expr: &oneOrMoreExpr{ - pos: position{line: 893, col: 60, offset: 30659}, + pos: position{line: 893, col: 60, offset: 30729}, expr: &ruleRefExpr{ - pos: position{line: 893, col: 61, offset: 30660}, + pos: position{line: 893, col: 61, offset: 30730}, name: "InlineElements", }, }, @@ -6116,33 +6170,33 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 897, col: 5, offset: 30845}, + pos: position{line: 897, col: 5, offset: 30915}, run: (*parser).callonParagraph13, expr: &seqExpr{ - pos: position{line: 897, col: 5, offset: 30845}, + pos: position{line: 897, col: 5, offset: 30915}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 897, col: 5, offset: 30845}, + pos: position{line: 897, col: 5, offset: 30915}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 897, col: 16, offset: 30856}, + pos: position{line: 897, col: 16, offset: 30926}, expr: &ruleRefExpr{ - pos: position{line: 897, col: 17, offset: 30857}, + pos: position{line: 897, col: 17, offset: 30927}, name: "Attributes", }, }, }, &litMatcher{ - pos: position{line: 897, col: 30, offset: 30870}, + pos: position{line: 897, col: 30, offset: 30940}, val: "> ", ignoreCase: false, want: "\"> \"", }, &labeledExpr{ - pos: position{line: 897, col: 35, offset: 30875}, + pos: position{line: 897, col: 35, offset: 30945}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 897, col: 44, offset: 30884}, + pos: position{line: 897, col: 44, offset: 30954}, name: "MarkdownQuoteBlockVerbatimContent", }, }, @@ -6150,38 +6204,38 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 901, col: 5, offset: 31083}, + pos: position{line: 901, col: 5, offset: 31153}, run: (*parser).callonParagraph21, expr: &seqExpr{ - pos: position{line: 901, col: 5, offset: 31083}, + pos: position{line: 901, col: 5, offset: 31153}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 901, col: 5, offset: 31083}, + pos: position{line: 901, col: 5, offset: 31153}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 901, col: 16, offset: 31094}, + pos: position{line: 901, col: 16, offset: 31164}, expr: &ruleRefExpr{ - pos: position{line: 901, col: 17, offset: 31095}, + pos: position{line: 901, col: 17, offset: 31165}, name: "Attributes", }, }, }, &andCodeExpr{ - pos: position{line: 901, col: 30, offset: 31108}, + pos: position{line: 901, col: 30, offset: 31178}, run: (*parser).callonParagraph26, }, ¬Expr{ - pos: position{line: 908, col: 7, offset: 31394}, + pos: position{line: 908, col: 7, offset: 31464}, expr: &ruleRefExpr{ - pos: position{line: 908, col: 8, offset: 31395}, + pos: position{line: 908, col: 8, offset: 31465}, name: "BlockDelimiter", }, }, &labeledExpr{ - pos: position{line: 908, col: 23, offset: 31410}, + pos: position{line: 908, col: 23, offset: 31480}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 908, col: 32, offset: 31419}, + pos: position{line: 908, col: 32, offset: 31489}, name: "OpenPassthroughParagraphContent", }, }, @@ -6189,36 +6243,36 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 912, col: 5, offset: 31620}, + pos: position{line: 912, col: 5, offset: 31690}, run: (*parser).callonParagraph31, expr: &seqExpr{ - pos: position{line: 912, col: 5, offset: 31620}, + pos: position{line: 912, col: 5, offset: 31690}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 912, col: 5, offset: 31620}, + pos: position{line: 912, col: 5, offset: 31690}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 912, col: 16, offset: 31631}, + pos: position{line: 912, col: 16, offset: 31701}, expr: &ruleRefExpr{ - pos: position{line: 912, col: 17, offset: 31632}, + pos: position{line: 912, col: 17, offset: 31702}, name: "Attributes", }, }, }, ¬Expr{ - pos: position{line: 912, col: 30, offset: 31645}, + pos: position{line: 912, col: 30, offset: 31715}, expr: &ruleRefExpr{ - pos: position{line: 912, col: 31, offset: 31646}, + pos: position{line: 912, col: 31, offset: 31716}, name: "BlockDelimiter", }, }, &labeledExpr{ - pos: position{line: 912, col: 46, offset: 31661}, + pos: position{line: 912, col: 46, offset: 31731}, label: "lines", expr: &oneOrMoreExpr{ - pos: position{line: 912, col: 52, offset: 31667}, + pos: position{line: 912, col: 52, offset: 31737}, expr: &ruleRefExpr{ - pos: position{line: 912, col: 53, offset: 31668}, + pos: position{line: 912, col: 53, offset: 31738}, name: "InlineElements", }, }, @@ -6231,36 +6285,36 @@ var g = &grammar{ }, { name: "MarkdownQuoteBlockVerbatimContent", - pos: position{line: 916, col: 1, offset: 31768}, + pos: position{line: 916, col: 1, offset: 31838}, expr: &oneOrMoreExpr{ - pos: position{line: 916, col: 38, offset: 31805}, + pos: position{line: 916, col: 38, offset: 31875}, expr: &actionExpr{ - pos: position{line: 916, col: 39, offset: 31806}, + pos: position{line: 916, col: 39, offset: 31876}, run: (*parser).callonMarkdownQuoteBlockVerbatimContent2, expr: &seqExpr{ - pos: position{line: 916, col: 39, offset: 31806}, + pos: position{line: 916, col: 39, offset: 31876}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 916, col: 39, offset: 31806}, + pos: position{line: 916, col: 39, offset: 31876}, expr: &ruleRefExpr{ - pos: position{line: 916, col: 40, offset: 31807}, + pos: position{line: 916, col: 40, offset: 31877}, name: "BlankLine", }, }, &zeroOrOneExpr{ - pos: position{line: 916, col: 50, offset: 31817}, + pos: position{line: 916, col: 50, offset: 31887}, expr: &litMatcher{ - pos: position{line: 916, col: 50, offset: 31817}, + pos: position{line: 916, col: 50, offset: 31887}, val: "> ", ignoreCase: false, want: "\"> \"", }, }, &labeledExpr{ - pos: position{line: 916, col: 56, offset: 31823}, + pos: position{line: 916, col: 56, offset: 31893}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 916, col: 65, offset: 31832}, + pos: position{line: 916, col: 65, offset: 31902}, name: "VerbatimContent", }, }, @@ -6271,29 +6325,29 @@ var g = &grammar{ }, { name: "MarkdownQuoteBlockAttribution", - pos: position{line: 920, col: 1, offset: 31977}, + pos: position{line: 920, col: 1, offset: 32047}, expr: &actionExpr{ - pos: position{line: 920, col: 34, offset: 32010}, + pos: position{line: 920, col: 34, offset: 32080}, run: (*parser).callonMarkdownQuoteBlockAttribution1, expr: &seqExpr{ - pos: position{line: 920, col: 34, offset: 32010}, + pos: position{line: 920, col: 34, offset: 32080}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 920, col: 34, offset: 32010}, + pos: position{line: 920, col: 34, offset: 32080}, val: "-- ", ignoreCase: false, want: "\"-- \"", }, &labeledExpr{ - pos: position{line: 920, col: 40, offset: 32016}, + pos: position{line: 920, col: 40, offset: 32086}, label: "author", expr: &actionExpr{ - pos: position{line: 920, col: 48, offset: 32024}, + pos: position{line: 920, col: 48, offset: 32094}, run: (*parser).callonMarkdownQuoteBlockAttribution5, expr: &oneOrMoreExpr{ - pos: position{line: 920, col: 49, offset: 32025}, + pos: position{line: 920, col: 49, offset: 32095}, expr: &charClassMatcher{ - pos: position{line: 920, col: 49, offset: 32025}, + pos: position{line: 920, col: 49, offset: 32095}, val: "[^\\r\\n]", chars: []rune{'\r', '\n'}, ignoreCase: false, @@ -6303,7 +6357,7 @@ var g = &grammar{ }, }, &ruleRefExpr{ - pos: position{line: 922, col: 8, offset: 32077}, + pos: position{line: 922, col: 8, offset: 32147}, name: "EOL", }, }, @@ -6312,27 +6366,27 @@ var g = &grammar{ }, { name: "OpenPassthroughParagraphContent", - pos: position{line: 926, col: 1, offset: 32113}, + pos: position{line: 926, col: 1, offset: 32183}, expr: &oneOrMoreExpr{ - pos: position{line: 926, col: 36, offset: 32148}, + pos: position{line: 926, col: 36, offset: 32218}, expr: &actionExpr{ - pos: position{line: 926, col: 37, offset: 32149}, + pos: position{line: 926, col: 37, offset: 32219}, run: (*parser).callonOpenPassthroughParagraphContent2, expr: &seqExpr{ - pos: position{line: 926, col: 37, offset: 32149}, + pos: position{line: 926, col: 37, offset: 32219}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 926, col: 37, offset: 32149}, + pos: position{line: 926, col: 37, offset: 32219}, expr: &ruleRefExpr{ - pos: position{line: 926, col: 38, offset: 32150}, + pos: position{line: 926, col: 38, offset: 32220}, name: "BlankLine", }, }, &labeledExpr{ - pos: position{line: 926, col: 48, offset: 32160}, + pos: position{line: 926, col: 48, offset: 32230}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 926, col: 57, offset: 32169}, + pos: position{line: 926, col: 57, offset: 32239}, name: "VerbatimContent", }, }, @@ -6343,43 +6397,43 @@ var g = &grammar{ }, { name: "SimpleParagraph", - pos: position{line: 931, col: 1, offset: 32387}, + pos: position{line: 931, col: 1, offset: 32457}, expr: &actionExpr{ - pos: position{line: 931, col: 20, offset: 32406}, + pos: position{line: 931, col: 20, offset: 32476}, run: (*parser).callonSimpleParagraph1, expr: &seqExpr{ - pos: position{line: 931, col: 20, offset: 32406}, + pos: position{line: 931, col: 20, offset: 32476}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 931, col: 20, offset: 32406}, + pos: position{line: 931, col: 20, offset: 32476}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 931, col: 31, offset: 32417}, + pos: position{line: 931, col: 31, offset: 32487}, expr: &ruleRefExpr{ - pos: position{line: 931, col: 32, offset: 32418}, + pos: position{line: 931, col: 32, offset: 32488}, name: "Attributes", }, }, }, &andCodeExpr{ - pos: position{line: 932, col: 5, offset: 32437}, + pos: position{line: 932, col: 5, offset: 32507}, run: (*parser).callonSimpleParagraph6, }, &labeledExpr{ - pos: position{line: 940, col: 5, offset: 32731}, + pos: position{line: 940, col: 5, offset: 32801}, label: "firstLine", expr: &ruleRefExpr{ - pos: position{line: 940, col: 16, offset: 32742}, + pos: position{line: 940, col: 16, offset: 32812}, name: "FirstParagraphLine", }, }, &labeledExpr{ - pos: position{line: 941, col: 5, offset: 32766}, + pos: position{line: 941, col: 5, offset: 32836}, label: "otherLines", expr: &zeroOrMoreExpr{ - pos: position{line: 941, col: 16, offset: 32777}, + pos: position{line: 941, col: 16, offset: 32847}, expr: &ruleRefExpr{ - pos: position{line: 941, col: 17, offset: 32778}, + pos: position{line: 941, col: 17, offset: 32848}, name: "OtherParagraphLine", }, }, @@ -6390,27 +6444,27 @@ var g = &grammar{ }, { name: "FirstParagraphLine", - pos: position{line: 945, col: 1, offset: 32916}, + pos: position{line: 945, col: 1, offset: 32986}, expr: &actionExpr{ - pos: position{line: 946, col: 5, offset: 32944}, + pos: position{line: 946, col: 5, offset: 33014}, run: (*parser).callonFirstParagraphLine1, expr: &seqExpr{ - pos: position{line: 946, col: 5, offset: 32944}, + pos: position{line: 946, col: 5, offset: 33014}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 946, col: 5, offset: 32944}, + pos: position{line: 946, col: 5, offset: 33014}, label: "elements", expr: &seqExpr{ - pos: position{line: 946, col: 15, offset: 32954}, + pos: position{line: 946, col: 15, offset: 33024}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 946, col: 15, offset: 32954}, + pos: position{line: 946, col: 15, offset: 33024}, name: "Word", }, &zeroOrMoreExpr{ - pos: position{line: 946, col: 20, offset: 32959}, + pos: position{line: 946, col: 20, offset: 33029}, expr: &ruleRefExpr{ - pos: position{line: 946, col: 20, offset: 32959}, + pos: position{line: 946, col: 20, offset: 33029}, name: "InlineElement", }, }, @@ -6418,7 +6472,7 @@ var g = &grammar{ }, }, &ruleRefExpr{ - pos: position{line: 946, col: 36, offset: 32975}, + pos: position{line: 946, col: 36, offset: 33045}, name: "EOL", }, }, @@ -6427,15 +6481,15 @@ var g = &grammar{ }, { name: "OtherParagraphLine", - pos: position{line: 950, col: 1, offset: 33050}, + pos: position{line: 950, col: 1, offset: 33120}, expr: &actionExpr{ - pos: position{line: 950, col: 23, offset: 33072}, + pos: position{line: 950, col: 23, offset: 33142}, run: (*parser).callonOtherParagraphLine1, expr: &labeledExpr{ - pos: position{line: 950, col: 23, offset: 33072}, + pos: position{line: 950, col: 23, offset: 33142}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 950, col: 33, offset: 33082}, + pos: position{line: 950, col: 33, offset: 33152}, name: "InlineElements", }, }, @@ -6443,46 +6497,46 @@ var g = &grammar{ }, { name: "ContinuedParagraph", - pos: position{line: 955, col: 1, offset: 33207}, + pos: position{line: 955, col: 1, offset: 33277}, expr: &choiceExpr{ - pos: position{line: 957, col: 5, offset: 33265}, + pos: position{line: 957, col: 5, offset: 33335}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 957, col: 5, offset: 33265}, + pos: position{line: 957, col: 5, offset: 33335}, run: (*parser).callonContinuedParagraph2, expr: &seqExpr{ - pos: position{line: 957, col: 5, offset: 33265}, + pos: position{line: 957, col: 5, offset: 33335}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 957, col: 5, offset: 33265}, + pos: position{line: 957, col: 5, offset: 33335}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 957, col: 16, offset: 33276}, + pos: position{line: 957, col: 16, offset: 33346}, expr: &ruleRefExpr{ - pos: position{line: 957, col: 17, offset: 33277}, + pos: position{line: 957, col: 17, offset: 33347}, name: "Attributes", }, }, }, &labeledExpr{ - pos: position{line: 957, col: 30, offset: 33290}, + pos: position{line: 957, col: 30, offset: 33360}, label: "t", expr: &ruleRefExpr{ - pos: position{line: 957, col: 33, offset: 33293}, + pos: position{line: 957, col: 33, offset: 33363}, name: "AdmonitionKind", }, }, &litMatcher{ - pos: position{line: 957, col: 49, offset: 33309}, + pos: position{line: 957, col: 49, offset: 33379}, val: ": ", ignoreCase: false, want: "\": \"", }, &labeledExpr{ - pos: position{line: 957, col: 54, offset: 33314}, + pos: position{line: 957, col: 54, offset: 33384}, label: "lines", expr: &ruleRefExpr{ - pos: position{line: 957, col: 61, offset: 33321}, + pos: position{line: 957, col: 61, offset: 33391}, name: "ContinuedParagraphLines", }, }, @@ -6490,27 +6544,27 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 961, col: 5, offset: 33525}, + pos: position{line: 961, col: 5, offset: 33595}, run: (*parser).callonContinuedParagraph12, expr: &seqExpr{ - pos: position{line: 961, col: 5, offset: 33525}, + pos: position{line: 961, col: 5, offset: 33595}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 961, col: 5, offset: 33525}, + pos: position{line: 961, col: 5, offset: 33595}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 961, col: 16, offset: 33536}, + pos: position{line: 961, col: 16, offset: 33606}, expr: &ruleRefExpr{ - pos: position{line: 961, col: 17, offset: 33537}, + pos: position{line: 961, col: 17, offset: 33607}, name: "Attributes", }, }, }, &labeledExpr{ - pos: position{line: 961, col: 30, offset: 33550}, + pos: position{line: 961, col: 30, offset: 33620}, label: "lines", expr: &ruleRefExpr{ - pos: position{line: 961, col: 37, offset: 33557}, + pos: position{line: 961, col: 37, offset: 33627}, name: "ContinuedParagraphLines", }, }, @@ -6522,38 +6576,38 @@ var g = &grammar{ }, { name: "ContinuedParagraphLines", - pos: position{line: 965, col: 1, offset: 33662}, + pos: position{line: 965, col: 1, offset: 33732}, expr: &actionExpr{ - pos: position{line: 965, col: 28, offset: 33689}, + pos: position{line: 965, col: 28, offset: 33759}, run: (*parser).callonContinuedParagraphLines1, expr: &seqExpr{ - pos: position{line: 965, col: 28, offset: 33689}, + pos: position{line: 965, col: 28, offset: 33759}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 965, col: 28, offset: 33689}, + pos: position{line: 965, col: 28, offset: 33759}, label: "firstLine", expr: &ruleRefExpr{ - pos: position{line: 965, col: 39, offset: 33700}, + pos: position{line: 965, col: 39, offset: 33770}, name: "FirstParagraphLine", }, }, &labeledExpr{ - pos: position{line: 965, col: 59, offset: 33720}, + pos: position{line: 965, col: 59, offset: 33790}, label: "otherLines", expr: &zeroOrMoreExpr{ - pos: position{line: 965, col: 70, offset: 33731}, + pos: position{line: 965, col: 70, offset: 33801}, expr: &seqExpr{ - pos: position{line: 965, col: 71, offset: 33732}, + pos: position{line: 965, col: 71, offset: 33802}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 965, col: 71, offset: 33732}, + pos: position{line: 965, col: 71, offset: 33802}, expr: &ruleRefExpr{ - pos: position{line: 965, col: 72, offset: 33733}, + pos: position{line: 965, col: 72, offset: 33803}, name: "ListItemContinuation", }, }, &ruleRefExpr{ - pos: position{line: 965, col: 93, offset: 33754}, + pos: position{line: 965, col: 93, offset: 33824}, name: "OtherParagraphLine", }, }, @@ -6566,52 +6620,52 @@ var g = &grammar{ }, { name: "VerseParagraph", - pos: position{line: 969, col: 1, offset: 33864}, + pos: position{line: 969, col: 1, offset: 33934}, expr: &choiceExpr{ - pos: position{line: 971, col: 5, offset: 33918}, + pos: position{line: 971, col: 5, offset: 33988}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 971, col: 5, offset: 33918}, + pos: position{line: 971, col: 5, offset: 33988}, run: (*parser).callonVerseParagraph2, expr: &seqExpr{ - pos: position{line: 971, col: 5, offset: 33918}, + pos: position{line: 971, col: 5, offset: 33988}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 971, col: 5, offset: 33918}, + pos: position{line: 971, col: 5, offset: 33988}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 971, col: 16, offset: 33929}, + pos: position{line: 971, col: 16, offset: 33999}, expr: &ruleRefExpr{ - pos: position{line: 971, col: 17, offset: 33930}, + pos: position{line: 971, col: 17, offset: 34000}, name: "Attributes", }, }, }, &andCodeExpr{ - pos: position{line: 972, col: 5, offset: 33948}, + pos: position{line: 972, col: 5, offset: 34018}, run: (*parser).callonVerseParagraph7, }, &labeledExpr{ - pos: position{line: 979, col: 5, offset: 34160}, + pos: position{line: 979, col: 5, offset: 34230}, label: "t", expr: &ruleRefExpr{ - pos: position{line: 979, col: 8, offset: 34163}, + pos: position{line: 979, col: 8, offset: 34233}, name: "AdmonitionKind", }, }, &litMatcher{ - pos: position{line: 979, col: 24, offset: 34179}, + pos: position{line: 979, col: 24, offset: 34249}, val: ": ", ignoreCase: false, want: "\": \"", }, &labeledExpr{ - pos: position{line: 979, col: 29, offset: 34184}, + pos: position{line: 979, col: 29, offset: 34254}, label: "lines", expr: &oneOrMoreExpr{ - pos: position{line: 979, col: 35, offset: 34190}, + pos: position{line: 979, col: 35, offset: 34260}, expr: &ruleRefExpr{ - pos: position{line: 979, col: 36, offset: 34191}, + pos: position{line: 979, col: 36, offset: 34261}, name: "InlineElements", }, }, @@ -6620,33 +6674,33 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 983, col: 5, offset: 34387}, + pos: position{line: 983, col: 5, offset: 34457}, run: (*parser).callonVerseParagraph14, expr: &seqExpr{ - pos: position{line: 983, col: 5, offset: 34387}, + pos: position{line: 983, col: 5, offset: 34457}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 983, col: 5, offset: 34387}, + pos: position{line: 983, col: 5, offset: 34457}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 983, col: 16, offset: 34398}, + pos: position{line: 983, col: 16, offset: 34468}, expr: &ruleRefExpr{ - pos: position{line: 983, col: 17, offset: 34399}, + pos: position{line: 983, col: 17, offset: 34469}, name: "Attributes", }, }, }, &andCodeExpr{ - pos: position{line: 984, col: 5, offset: 34417}, + pos: position{line: 984, col: 5, offset: 34487}, run: (*parser).callonVerseParagraph19, }, &labeledExpr{ - pos: position{line: 991, col: 5, offset: 34629}, + pos: position{line: 991, col: 5, offset: 34699}, label: "lines", expr: &oneOrMoreExpr{ - pos: position{line: 991, col: 11, offset: 34635}, + pos: position{line: 991, col: 11, offset: 34705}, expr: &ruleRefExpr{ - pos: position{line: 991, col: 12, offset: 34636}, + pos: position{line: 991, col: 12, offset: 34706}, name: "InlineElements", }, }, @@ -6659,57 +6713,57 @@ var g = &grammar{ }, { name: "InlineElements", - pos: position{line: 995, col: 1, offset: 34741}, + pos: position{line: 995, col: 1, offset: 34811}, expr: &actionExpr{ - pos: position{line: 995, col: 19, offset: 34759}, + pos: position{line: 995, col: 19, offset: 34829}, run: (*parser).callonInlineElements1, expr: &seqExpr{ - pos: position{line: 995, col: 19, offset: 34759}, + pos: position{line: 995, col: 19, offset: 34829}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 995, col: 19, offset: 34759}, + pos: position{line: 995, col: 19, offset: 34829}, expr: &ruleRefExpr{ - pos: position{line: 995, col: 20, offset: 34760}, + pos: position{line: 995, col: 20, offset: 34830}, name: "BlankLine", }, }, &labeledExpr{ - pos: position{line: 996, col: 5, offset: 34775}, + pos: position{line: 996, col: 5, offset: 34845}, label: "elements", expr: &choiceExpr{ - pos: position{line: 996, col: 15, offset: 34785}, + pos: position{line: 996, col: 15, offset: 34855}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 996, col: 15, offset: 34785}, + pos: position{line: 996, col: 15, offset: 34855}, run: (*parser).callonInlineElements7, expr: &labeledExpr{ - pos: position{line: 996, col: 15, offset: 34785}, + pos: position{line: 996, col: 15, offset: 34855}, label: "comment", expr: &ruleRefExpr{ - pos: position{line: 996, col: 24, offset: 34794}, + pos: position{line: 996, col: 24, offset: 34864}, name: "SingleLineComment", }, }, }, &actionExpr{ - pos: position{line: 998, col: 9, offset: 34888}, + pos: position{line: 998, col: 9, offset: 34958}, run: (*parser).callonInlineElements10, expr: &seqExpr{ - pos: position{line: 998, col: 9, offset: 34888}, + pos: position{line: 998, col: 9, offset: 34958}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 998, col: 9, offset: 34888}, + pos: position{line: 998, col: 9, offset: 34958}, label: "elements", expr: &oneOrMoreExpr{ - pos: position{line: 998, col: 18, offset: 34897}, + pos: position{line: 998, col: 18, offset: 34967}, expr: &ruleRefExpr{ - pos: position{line: 998, col: 19, offset: 34898}, + pos: position{line: 998, col: 19, offset: 34968}, name: "InlineElement", }, }, }, &ruleRefExpr{ - pos: position{line: 998, col: 35, offset: 34914}, + pos: position{line: 998, col: 35, offset: 34984}, name: "EOL", }, }, @@ -6724,106 +6778,106 @@ var g = &grammar{ }, { name: "InlineElement", - pos: position{line: 1004, col: 1, offset: 35037}, + pos: position{line: 1004, col: 1, offset: 35107}, expr: &actionExpr{ - pos: position{line: 1005, col: 5, offset: 35061}, + pos: position{line: 1005, col: 5, offset: 35131}, run: (*parser).callonInlineElement1, expr: &labeledExpr{ - pos: position{line: 1005, col: 5, offset: 35061}, + pos: position{line: 1005, col: 5, offset: 35131}, label: "element", expr: &choiceExpr{ - pos: position{line: 1005, col: 14, offset: 35070}, + pos: position{line: 1005, col: 14, offset: 35140}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1005, col: 14, offset: 35070}, + pos: position{line: 1005, col: 14, offset: 35140}, name: "InlineWord", }, &ruleRefExpr{ - pos: position{line: 1006, col: 11, offset: 35122}, + pos: position{line: 1006, col: 11, offset: 35192}, name: "LineBreak", }, &oneOrMoreExpr{ - pos: position{line: 1007, col: 11, offset: 35168}, + pos: position{line: 1007, col: 11, offset: 35238}, expr: &ruleRefExpr{ - pos: position{line: 1007, col: 11, offset: 35168}, + pos: position{line: 1007, col: 11, offset: 35238}, name: "Space", }, }, &seqExpr{ - pos: position{line: 1008, col: 11, offset: 35187}, + pos: position{line: 1008, col: 11, offset: 35257}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1008, col: 11, offset: 35187}, + pos: position{line: 1008, col: 11, offset: 35257}, expr: &ruleRefExpr{ - pos: position{line: 1008, col: 12, offset: 35188}, + pos: position{line: 1008, col: 12, offset: 35258}, name: "EOL", }, }, &choiceExpr{ - pos: position{line: 1009, col: 13, offset: 35207}, + pos: position{line: 1009, col: 13, offset: 35277}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1009, col: 13, offset: 35207}, + pos: position{line: 1009, col: 13, offset: 35277}, name: "QuotedString", }, &ruleRefExpr{ - pos: position{line: 1010, col: 15, offset: 35235}, + pos: position{line: 1010, col: 15, offset: 35305}, name: "QuotedText", }, &ruleRefExpr{ - pos: position{line: 1011, col: 15, offset: 35261}, + pos: position{line: 1011, col: 15, offset: 35331}, name: "Symbol", }, &ruleRefExpr{ - pos: position{line: 1012, col: 15, offset: 35283}, + pos: position{line: 1012, col: 15, offset: 35353}, name: "InlineIcon", }, &ruleRefExpr{ - pos: position{line: 1013, col: 15, offset: 35309}, + pos: position{line: 1013, col: 15, offset: 35379}, name: "InlineImage", }, &ruleRefExpr{ - pos: position{line: 1014, col: 15, offset: 35337}, + pos: position{line: 1014, col: 15, offset: 35407}, name: "Link", }, &ruleRefExpr{ - pos: position{line: 1015, col: 15, offset: 35358}, + pos: position{line: 1015, col: 15, offset: 35428}, name: "InlinePassthrough", }, &ruleRefExpr{ - pos: position{line: 1016, col: 15, offset: 35392}, + pos: position{line: 1016, col: 15, offset: 35462}, name: "InlineFootnote", }, &ruleRefExpr{ - pos: position{line: 1017, col: 15, offset: 35423}, + pos: position{line: 1017, col: 15, offset: 35493}, name: "CrossReference", }, &ruleRefExpr{ - pos: position{line: 1018, col: 15, offset: 35454}, + pos: position{line: 1018, col: 15, offset: 35524}, name: "InlineUserMacro", }, &ruleRefExpr{ - pos: position{line: 1019, col: 15, offset: 35486}, + pos: position{line: 1019, col: 15, offset: 35556}, name: "AttributeSubstitution", }, &ruleRefExpr{ - pos: position{line: 1020, col: 15, offset: 35524}, + pos: position{line: 1020, col: 15, offset: 35594}, name: "InlineElementID", }, &ruleRefExpr{ - pos: position{line: 1021, col: 15, offset: 35555}, + pos: position{line: 1021, col: 15, offset: 35625}, name: "ConcealedIndexTerm", }, &ruleRefExpr{ - pos: position{line: 1022, col: 15, offset: 35589}, + pos: position{line: 1022, col: 15, offset: 35659}, name: "IndexTerm", }, &ruleRefExpr{ - pos: position{line: 1023, col: 15, offset: 35614}, + pos: position{line: 1023, col: 15, offset: 35684}, name: "ImpliedApostrophe", }, &ruleRefExpr{ - pos: position{line: 1024, col: 15, offset: 35647}, + pos: position{line: 1024, col: 15, offset: 35717}, name: "AnyChar", }, }, @@ -6837,34 +6891,34 @@ var g = &grammar{ }, { name: "LineBreak", - pos: position{line: 1031, col: 1, offset: 35877}, + pos: position{line: 1031, col: 1, offset: 35947}, expr: &actionExpr{ - pos: position{line: 1031, col: 14, offset: 35890}, + pos: position{line: 1031, col: 14, offset: 35960}, run: (*parser).callonLineBreak1, expr: &seqExpr{ - pos: position{line: 1031, col: 14, offset: 35890}, + pos: position{line: 1031, col: 14, offset: 35960}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1031, col: 14, offset: 35890}, + pos: position{line: 1031, col: 14, offset: 35960}, name: "Space", }, &litMatcher{ - pos: position{line: 1031, col: 20, offset: 35896}, + pos: position{line: 1031, col: 20, offset: 35966}, val: "+", ignoreCase: false, want: "\"+\"", }, &zeroOrMoreExpr{ - pos: position{line: 1031, col: 24, offset: 35900}, + pos: position{line: 1031, col: 24, offset: 35970}, expr: &ruleRefExpr{ - pos: position{line: 1031, col: 24, offset: 35900}, + pos: position{line: 1031, col: 24, offset: 35970}, name: "Space", }, }, &andExpr{ - pos: position{line: 1031, col: 31, offset: 35907}, + pos: position{line: 1031, col: 31, offset: 35977}, expr: &ruleRefExpr{ - pos: position{line: 1031, col: 32, offset: 35908}, + pos: position{line: 1031, col: 32, offset: 35978}, name: "EOL", }, }, @@ -6874,20 +6928,20 @@ var g = &grammar{ }, { name: "QuotedText", - pos: position{line: 1038, col: 1, offset: 36199}, + pos: position{line: 1038, col: 1, offset: 36269}, expr: &choiceExpr{ - pos: position{line: 1038, col: 15, offset: 36213}, + pos: position{line: 1038, col: 15, offset: 36283}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1038, col: 15, offset: 36213}, + pos: position{line: 1038, col: 15, offset: 36283}, name: "UnconstrainedQuotedText", }, &ruleRefExpr{ - pos: position{line: 1038, col: 41, offset: 36239}, + pos: position{line: 1038, col: 41, offset: 36309}, name: "ConstrainedQuotedText", }, &ruleRefExpr{ - pos: position{line: 1038, col: 65, offset: 36263}, + pos: position{line: 1038, col: 65, offset: 36333}, name: "EscapedQuotedText", }, }, @@ -6895,23 +6949,23 @@ var g = &grammar{ }, { name: "ConstrainedQuotedTextMarker", - pos: position{line: 1040, col: 1, offset: 36284}, + pos: position{line: 1040, col: 1, offset: 36354}, expr: &choiceExpr{ - pos: position{line: 1040, col: 32, offset: 36315}, + pos: position{line: 1040, col: 32, offset: 36385}, alternatives: []interface{}{ &seqExpr{ - pos: position{line: 1040, col: 32, offset: 36315}, + pos: position{line: 1040, col: 32, offset: 36385}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1040, col: 32, offset: 36315}, + pos: position{line: 1040, col: 32, offset: 36385}, val: "*", ignoreCase: false, want: "\"*\"", }, ¬Expr{ - pos: position{line: 1040, col: 36, offset: 36319}, + pos: position{line: 1040, col: 36, offset: 36389}, expr: &litMatcher{ - pos: position{line: 1040, col: 37, offset: 36320}, + pos: position{line: 1040, col: 37, offset: 36390}, val: "*", ignoreCase: false, want: "\"*\"", @@ -6920,18 +6974,18 @@ var g = &grammar{ }, }, &seqExpr{ - pos: position{line: 1040, col: 43, offset: 36326}, + pos: position{line: 1040, col: 43, offset: 36396}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1040, col: 43, offset: 36326}, + pos: position{line: 1040, col: 43, offset: 36396}, val: "_", ignoreCase: false, want: "\"_\"", }, ¬Expr{ - pos: position{line: 1040, col: 47, offset: 36330}, + pos: position{line: 1040, col: 47, offset: 36400}, expr: &litMatcher{ - pos: position{line: 1040, col: 48, offset: 36331}, + pos: position{line: 1040, col: 48, offset: 36401}, val: "_", ignoreCase: false, want: "\"_\"", @@ -6940,18 +6994,18 @@ var g = &grammar{ }, }, &seqExpr{ - pos: position{line: 1040, col: 54, offset: 36337}, + pos: position{line: 1040, col: 54, offset: 36407}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1040, col: 54, offset: 36337}, + pos: position{line: 1040, col: 54, offset: 36407}, val: "#", ignoreCase: false, want: "\"#\"", }, ¬Expr{ - pos: position{line: 1040, col: 58, offset: 36341}, + pos: position{line: 1040, col: 58, offset: 36411}, expr: &litMatcher{ - pos: position{line: 1040, col: 59, offset: 36342}, + pos: position{line: 1040, col: 59, offset: 36412}, val: "#", ignoreCase: false, want: "\"#\"", @@ -6960,18 +7014,18 @@ var g = &grammar{ }, }, &seqExpr{ - pos: position{line: 1040, col: 65, offset: 36348}, + pos: position{line: 1040, col: 65, offset: 36418}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1040, col: 65, offset: 36348}, + pos: position{line: 1040, col: 65, offset: 36418}, val: "`", ignoreCase: false, want: "\"`\"", }, ¬Expr{ - pos: position{line: 1040, col: 69, offset: 36352}, + pos: position{line: 1040, col: 69, offset: 36422}, expr: &litMatcher{ - pos: position{line: 1040, col: 70, offset: 36353}, + pos: position{line: 1040, col: 70, offset: 36423}, val: "`", ignoreCase: false, want: "\"`\"", @@ -6984,42 +7038,42 @@ var g = &grammar{ }, { name: "UnconstrainedQuotedTextPrefix", - pos: position{line: 1042, col: 1, offset: 36360}, + pos: position{line: 1042, col: 1, offset: 36430}, expr: &choiceExpr{ - pos: position{line: 1042, col: 34, offset: 36393}, + pos: position{line: 1042, col: 34, offset: 36463}, alternatives: []interface{}{ &litMatcher{ - pos: position{line: 1042, col: 34, offset: 36393}, + pos: position{line: 1042, col: 34, offset: 36463}, val: "**", ignoreCase: false, want: "\"**\"", }, &litMatcher{ - pos: position{line: 1042, col: 41, offset: 36400}, + pos: position{line: 1042, col: 41, offset: 36470}, val: "__", ignoreCase: false, want: "\"__\"", }, &litMatcher{ - pos: position{line: 1042, col: 48, offset: 36407}, + pos: position{line: 1042, col: 48, offset: 36477}, val: "``", ignoreCase: false, want: "\"``\"", }, &litMatcher{ - pos: position{line: 1042, col: 55, offset: 36414}, + pos: position{line: 1042, col: 55, offset: 36484}, val: "##", ignoreCase: false, want: "\"##\"", }, &litMatcher{ - pos: position{line: 1042, col: 62, offset: 36421}, + pos: position{line: 1042, col: 62, offset: 36491}, val: "^", ignoreCase: false, want: "\"^\"", }, &litMatcher{ - pos: position{line: 1042, col: 68, offset: 36427}, + pos: position{line: 1042, col: 68, offset: 36497}, val: "~", ignoreCase: false, want: "\"~\"", @@ -7029,42 +7083,42 @@ var g = &grammar{ }, { name: "ConstrainedQuotedText", - pos: position{line: 1044, col: 1, offset: 36434}, + pos: position{line: 1044, col: 1, offset: 36504}, expr: &actionExpr{ - pos: position{line: 1044, col: 26, offset: 36459}, + pos: position{line: 1044, col: 26, offset: 36529}, run: (*parser).callonConstrainedQuotedText1, expr: &labeledExpr{ - pos: position{line: 1044, col: 26, offset: 36459}, + pos: position{line: 1044, col: 26, offset: 36529}, label: "text", expr: &choiceExpr{ - pos: position{line: 1044, col: 32, offset: 36465}, + pos: position{line: 1044, col: 32, offset: 36535}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1044, col: 32, offset: 36465}, + pos: position{line: 1044, col: 32, offset: 36535}, name: "SingleQuoteBoldText", }, &ruleRefExpr{ - pos: position{line: 1045, col: 15, offset: 36501}, + pos: position{line: 1045, col: 15, offset: 36571}, name: "SingleQuoteItalicText", }, &ruleRefExpr{ - pos: position{line: 1046, col: 15, offset: 36538}, + pos: position{line: 1046, col: 15, offset: 36608}, name: "SingleQuoteMarkedText", }, &ruleRefExpr{ - pos: position{line: 1047, col: 15, offset: 36575}, + pos: position{line: 1047, col: 15, offset: 36645}, name: "SingleQuoteMonospaceText", }, &ruleRefExpr{ - pos: position{line: 1048, col: 15, offset: 36616}, + pos: position{line: 1048, col: 15, offset: 36686}, name: "SubscriptText", }, &ruleRefExpr{ - pos: position{line: 1049, col: 15, offset: 36646}, + pos: position{line: 1049, col: 15, offset: 36716}, name: "SuperscriptText", }, &ruleRefExpr{ - pos: position{line: 1050, col: 15, offset: 36678}, + pos: position{line: 1050, col: 15, offset: 36748}, name: "SubscriptOrSuperscriptPrefix", }, }, @@ -7074,24 +7128,24 @@ var g = &grammar{ }, { name: "UnconstrainedQuotedText", - pos: position{line: 1054, col: 1, offset: 36836}, + pos: position{line: 1054, col: 1, offset: 36906}, expr: &choiceExpr{ - pos: position{line: 1054, col: 28, offset: 36863}, + pos: position{line: 1054, col: 28, offset: 36933}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1054, col: 28, offset: 36863}, + pos: position{line: 1054, col: 28, offset: 36933}, name: "DoubleQuoteBoldText", }, &ruleRefExpr{ - pos: position{line: 1055, col: 15, offset: 36898}, + pos: position{line: 1055, col: 15, offset: 36968}, name: "DoubleQuoteItalicText", }, &ruleRefExpr{ - pos: position{line: 1056, col: 15, offset: 36935}, + pos: position{line: 1056, col: 15, offset: 37005}, name: "DoubleQuoteMarkedText", }, &ruleRefExpr{ - pos: position{line: 1057, col: 15, offset: 36972}, + pos: position{line: 1057, col: 15, offset: 37042}, name: "DoubleQuoteMonospaceText", }, }, @@ -7099,32 +7153,32 @@ var g = &grammar{ }, { name: "EscapedQuotedText", - pos: position{line: 1059, col: 1, offset: 37000}, + pos: position{line: 1059, col: 1, offset: 37070}, expr: &choiceExpr{ - pos: position{line: 1059, col: 22, offset: 37021}, + pos: position{line: 1059, col: 22, offset: 37091}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1059, col: 22, offset: 37021}, + pos: position{line: 1059, col: 22, offset: 37091}, name: "EscapedBoldText", }, &ruleRefExpr{ - pos: position{line: 1060, col: 15, offset: 37053}, + pos: position{line: 1060, col: 15, offset: 37123}, name: "EscapedItalicText", }, &ruleRefExpr{ - pos: position{line: 1061, col: 15, offset: 37086}, + pos: position{line: 1061, col: 15, offset: 37156}, name: "EscapedMarkedText", }, &ruleRefExpr{ - pos: position{line: 1062, col: 15, offset: 37119}, + pos: position{line: 1062, col: 15, offset: 37189}, name: "EscapedMonospaceText", }, &ruleRefExpr{ - pos: position{line: 1063, col: 15, offset: 37156}, + pos: position{line: 1063, col: 15, offset: 37226}, name: "EscapedSubscriptText", }, &ruleRefExpr{ - pos: position{line: 1064, col: 15, offset: 37193}, + pos: position{line: 1064, col: 15, offset: 37263}, name: "EscapedSuperscriptText", }, }, @@ -7132,21 +7186,21 @@ var g = &grammar{ }, { name: "SubscriptOrSuperscriptPrefix", - pos: position{line: 1066, col: 1, offset: 37219}, + pos: position{line: 1066, col: 1, offset: 37289}, expr: &choiceExpr{ - pos: position{line: 1066, col: 33, offset: 37251}, + pos: position{line: 1066, col: 33, offset: 37321}, alternatives: []interface{}{ &litMatcher{ - pos: position{line: 1066, col: 33, offset: 37251}, + pos: position{line: 1066, col: 33, offset: 37321}, val: "^", ignoreCase: false, want: "\"^\"", }, &actionExpr{ - pos: position{line: 1066, col: 39, offset: 37257}, + pos: position{line: 1066, col: 39, offset: 37327}, run: (*parser).callonSubscriptOrSuperscriptPrefix3, expr: &litMatcher{ - pos: position{line: 1066, col: 39, offset: 37257}, + pos: position{line: 1066, col: 39, offset: 37327}, val: "~", ignoreCase: false, want: "\"~\"", @@ -7157,14 +7211,14 @@ var g = &grammar{ }, { name: "OneOrMoreBackslashes", - pos: position{line: 1070, col: 1, offset: 37394}, + pos: position{line: 1070, col: 1, offset: 37464}, expr: &actionExpr{ - pos: position{line: 1070, col: 25, offset: 37418}, + pos: position{line: 1070, col: 25, offset: 37488}, run: (*parser).callonOneOrMoreBackslashes1, expr: &oneOrMoreExpr{ - pos: position{line: 1070, col: 25, offset: 37418}, + pos: position{line: 1070, col: 25, offset: 37488}, expr: &litMatcher{ - pos: position{line: 1070, col: 25, offset: 37418}, + pos: position{line: 1070, col: 25, offset: 37488}, val: "\\", ignoreCase: false, want: "\"\\\\\"", @@ -7174,23 +7228,23 @@ var g = &grammar{ }, { name: "TwoOrMoreBackslashes", - pos: position{line: 1074, col: 1, offset: 37463}, + pos: position{line: 1074, col: 1, offset: 37533}, expr: &actionExpr{ - pos: position{line: 1074, col: 25, offset: 37487}, + pos: position{line: 1074, col: 25, offset: 37557}, run: (*parser).callonTwoOrMoreBackslashes1, expr: &seqExpr{ - pos: position{line: 1074, col: 25, offset: 37487}, + pos: position{line: 1074, col: 25, offset: 37557}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1074, col: 25, offset: 37487}, + pos: position{line: 1074, col: 25, offset: 37557}, val: "\\\\", ignoreCase: false, want: "\"\\\\\\\\\"", }, &zeroOrMoreExpr{ - pos: position{line: 1074, col: 30, offset: 37492}, + pos: position{line: 1074, col: 30, offset: 37562}, expr: &litMatcher{ - pos: position{line: 1074, col: 30, offset: 37492}, + pos: position{line: 1074, col: 30, offset: 37562}, val: "\\", ignoreCase: false, want: "\"\\\\\"", @@ -7202,16 +7256,16 @@ var g = &grammar{ }, { name: "BoldText", - pos: position{line: 1082, col: 1, offset: 37597}, + pos: position{line: 1082, col: 1, offset: 37667}, expr: &choiceExpr{ - pos: position{line: 1082, col: 13, offset: 37609}, + pos: position{line: 1082, col: 13, offset: 37679}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1082, col: 13, offset: 37609}, + pos: position{line: 1082, col: 13, offset: 37679}, name: "DoubleQuoteBoldText", }, &ruleRefExpr{ - pos: position{line: 1082, col: 35, offset: 37631}, + pos: position{line: 1082, col: 35, offset: 37701}, name: "SingleQuoteBoldText", }, }, @@ -7219,40 +7273,40 @@ var g = &grammar{ }, { name: "DoubleQuoteBoldText", - pos: position{line: 1084, col: 1, offset: 37700}, + pos: position{line: 1084, col: 1, offset: 37770}, expr: &actionExpr{ - pos: position{line: 1084, col: 24, offset: 37723}, + pos: position{line: 1084, col: 24, offset: 37793}, run: (*parser).callonDoubleQuoteBoldText1, expr: &seqExpr{ - pos: position{line: 1084, col: 24, offset: 37723}, + pos: position{line: 1084, col: 24, offset: 37793}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1084, col: 24, offset: 37723}, + pos: position{line: 1084, col: 24, offset: 37793}, label: "attrs", expr: &zeroOrOneExpr{ - pos: position{line: 1084, col: 30, offset: 37729}, + pos: position{line: 1084, col: 30, offset: 37799}, expr: &ruleRefExpr{ - pos: position{line: 1084, col: 31, offset: 37730}, + pos: position{line: 1084, col: 31, offset: 37800}, name: "QuotedTextAttrs", }, }, }, &litMatcher{ - pos: position{line: 1084, col: 49, offset: 37748}, + pos: position{line: 1084, col: 49, offset: 37818}, val: "**", ignoreCase: false, want: "\"**\"", }, &labeledExpr{ - pos: position{line: 1084, col: 54, offset: 37753}, + pos: position{line: 1084, col: 54, offset: 37823}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1084, col: 64, offset: 37763}, + pos: position{line: 1084, col: 64, offset: 37833}, name: "DoubleQuoteBoldTextElements", }, }, &litMatcher{ - pos: position{line: 1084, col: 93, offset: 37792}, + pos: position{line: 1084, col: 93, offset: 37862}, val: "**", ignoreCase: false, want: "\"**\"", @@ -7263,37 +7317,37 @@ var g = &grammar{ }, { name: "DoubleQuoteBoldTextElements", - pos: position{line: 1088, col: 1, offset: 37883}, + pos: position{line: 1088, col: 1, offset: 37953}, expr: &seqExpr{ - pos: position{line: 1088, col: 32, offset: 37914}, + pos: position{line: 1088, col: 32, offset: 37984}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1088, col: 32, offset: 37914}, + pos: position{line: 1088, col: 32, offset: 37984}, name: "DoubleQuoteBoldTextElement", }, &zeroOrMoreExpr{ - pos: position{line: 1088, col: 59, offset: 37941}, + pos: position{line: 1088, col: 59, offset: 38011}, expr: &seqExpr{ - pos: position{line: 1088, col: 60, offset: 37942}, + pos: position{line: 1088, col: 60, offset: 38012}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1088, col: 60, offset: 37942}, + pos: position{line: 1088, col: 60, offset: 38012}, expr: &litMatcher{ - pos: position{line: 1088, col: 62, offset: 37944}, + pos: position{line: 1088, col: 62, offset: 38014}, val: "**", ignoreCase: false, want: "\"**\"", }, }, &choiceExpr{ - pos: position{line: 1088, col: 69, offset: 37951}, + pos: position{line: 1088, col: 69, offset: 38021}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1088, col: 69, offset: 37951}, + pos: position{line: 1088, col: 69, offset: 38021}, name: "Space", }, &ruleRefExpr{ - pos: position{line: 1088, col: 77, offset: 37959}, + pos: position{line: 1088, col: 77, offset: 38029}, name: "DoubleQuoteBoldTextElement", }, }, @@ -7306,88 +7360,88 @@ var g = &grammar{ }, { name: "DoubleQuoteBoldTextElement", - pos: position{line: 1090, col: 1, offset: 38026}, + pos: position{line: 1090, col: 1, offset: 38096}, expr: &choiceExpr{ - pos: position{line: 1090, col: 31, offset: 38056}, + pos: position{line: 1090, col: 31, offset: 38126}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1090, col: 31, offset: 38056}, + pos: position{line: 1090, col: 31, offset: 38126}, name: "Word", }, &seqExpr{ - pos: position{line: 1091, col: 11, offset: 38072}, + pos: position{line: 1091, col: 11, offset: 38142}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1091, col: 11, offset: 38072}, + pos: position{line: 1091, col: 11, offset: 38142}, name: "Newline", }, ¬Expr{ - pos: position{line: 1091, col: 19, offset: 38080}, + pos: position{line: 1091, col: 19, offset: 38150}, expr: &ruleRefExpr{ - pos: position{line: 1091, col: 20, offset: 38081}, + pos: position{line: 1091, col: 20, offset: 38151}, name: "Newline", }, }, }, }, &ruleRefExpr{ - pos: position{line: 1092, col: 11, offset: 38100}, + pos: position{line: 1092, col: 11, offset: 38170}, name: "SingleQuoteBoldText", }, &ruleRefExpr{ - pos: position{line: 1093, col: 11, offset: 38131}, + pos: position{line: 1093, col: 11, offset: 38201}, name: "QuotedString", }, &ruleRefExpr{ - pos: position{line: 1094, col: 11, offset: 38155}, + pos: position{line: 1094, col: 11, offset: 38225}, name: "ItalicText", }, &ruleRefExpr{ - pos: position{line: 1095, col: 11, offset: 38177}, + pos: position{line: 1095, col: 11, offset: 38247}, name: "MarkedText", }, &ruleRefExpr{ - pos: position{line: 1096, col: 11, offset: 38199}, + pos: position{line: 1096, col: 11, offset: 38269}, name: "MonospaceText", }, &ruleRefExpr{ - pos: position{line: 1097, col: 11, offset: 38224}, + pos: position{line: 1097, col: 11, offset: 38294}, name: "SubscriptText", }, &ruleRefExpr{ - pos: position{line: 1098, col: 11, offset: 38249}, + pos: position{line: 1098, col: 11, offset: 38319}, name: "SuperscriptText", }, &ruleRefExpr{ - pos: position{line: 1099, col: 11, offset: 38276}, + pos: position{line: 1099, col: 11, offset: 38346}, name: "Symbol", }, &ruleRefExpr{ - pos: position{line: 1100, col: 11, offset: 38294}, + pos: position{line: 1100, col: 11, offset: 38364}, name: "InlineIcon", }, &ruleRefExpr{ - pos: position{line: 1101, col: 11, offset: 38316}, + pos: position{line: 1101, col: 11, offset: 38386}, name: "InlineImage", }, &ruleRefExpr{ - pos: position{line: 1102, col: 11, offset: 38339}, + pos: position{line: 1102, col: 11, offset: 38409}, name: "Link", }, &ruleRefExpr{ - pos: position{line: 1103, col: 11, offset: 38355}, + pos: position{line: 1103, col: 11, offset: 38425}, name: "InlinePassthrough", }, &ruleRefExpr{ - pos: position{line: 1104, col: 11, offset: 38384}, + pos: position{line: 1104, col: 11, offset: 38454}, name: "AttributeSubstitution", }, &ruleRefExpr{ - pos: position{line: 1105, col: 11, offset: 38417}, + pos: position{line: 1105, col: 11, offset: 38487}, name: "ImpliedApostrophe", }, &ruleRefExpr{ - pos: position{line: 1106, col: 11, offset: 38446}, + pos: position{line: 1106, col: 11, offset: 38516}, name: "DoubleQuoteBoldTextFallbackCharacter", }, }, @@ -7395,31 +7449,31 @@ var g = &grammar{ }, { name: "DoubleQuoteBoldTextFallbackCharacter", - pos: position{line: 1109, col: 1, offset: 38488}, + pos: position{line: 1109, col: 1, offset: 38558}, expr: &choiceExpr{ - pos: position{line: 1110, col: 5, offset: 38533}, + pos: position{line: 1110, col: 5, offset: 38603}, alternatives: []interface{}{ &charClassMatcher{ - pos: position{line: 1110, col: 5, offset: 38533}, + pos: position{line: 1110, col: 5, offset: 38603}, val: "[^\\r\\n*]", chars: []rune{'\r', '\n', '*'}, ignoreCase: false, inverted: true, }, &actionExpr{ - pos: position{line: 1111, col: 7, offset: 38631}, + pos: position{line: 1111, col: 7, offset: 38701}, run: (*parser).callonDoubleQuoteBoldTextFallbackCharacter3, expr: &seqExpr{ - pos: position{line: 1111, col: 7, offset: 38631}, + pos: position{line: 1111, col: 7, offset: 38701}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1111, col: 7, offset: 38631}, + pos: position{line: 1111, col: 7, offset: 38701}, val: "**", ignoreCase: false, want: "\"**\"", }, &ruleRefExpr{ - pos: position{line: 1111, col: 12, offset: 38636}, + pos: position{line: 1111, col: 12, offset: 38706}, name: "Alphanums", }, }, @@ -7430,40 +7484,40 @@ var g = &grammar{ }, { name: "SingleQuoteBoldText", - pos: position{line: 1115, col: 1, offset: 38803}, + pos: position{line: 1115, col: 1, offset: 38873}, expr: &choiceExpr{ - pos: position{line: 1115, col: 24, offset: 38826}, + pos: position{line: 1115, col: 24, offset: 38896}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 1115, col: 24, offset: 38826}, + pos: position{line: 1115, col: 24, offset: 38896}, run: (*parser).callonSingleQuoteBoldText2, expr: &seqExpr{ - pos: position{line: 1115, col: 24, offset: 38826}, + pos: position{line: 1115, col: 24, offset: 38896}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1115, col: 24, offset: 38826}, + pos: position{line: 1115, col: 24, offset: 38896}, label: "attrs", expr: &zeroOrOneExpr{ - pos: position{line: 1115, col: 30, offset: 38832}, + pos: position{line: 1115, col: 30, offset: 38902}, expr: &ruleRefExpr{ - pos: position{line: 1115, col: 31, offset: 38833}, + pos: position{line: 1115, col: 31, offset: 38903}, name: "QuotedTextAttrs", }, }, }, &seqExpr{ - pos: position{line: 1115, col: 51, offset: 38853}, + pos: position{line: 1115, col: 51, offset: 38923}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1115, col: 51, offset: 38853}, + pos: position{line: 1115, col: 51, offset: 38923}, val: "*", ignoreCase: false, want: "\"*\"", }, ¬Expr{ - pos: position{line: 1115, col: 55, offset: 38857}, + pos: position{line: 1115, col: 55, offset: 38927}, expr: &litMatcher{ - pos: position{line: 1115, col: 56, offset: 38858}, + pos: position{line: 1115, col: 56, offset: 38928}, val: "*", ignoreCase: false, want: "\"*\"", @@ -7472,25 +7526,25 @@ var g = &grammar{ }, }, &labeledExpr{ - pos: position{line: 1115, col: 61, offset: 38863}, + pos: position{line: 1115, col: 61, offset: 38933}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1115, col: 71, offset: 38873}, + pos: position{line: 1115, col: 71, offset: 38943}, name: "SingleQuoteBoldTextElements", }, }, &litMatcher{ - pos: position{line: 1115, col: 100, offset: 38902}, + pos: position{line: 1115, col: 100, offset: 38972}, val: "*", ignoreCase: false, want: "\"*\"", }, &andExpr{ - pos: position{line: 1115, col: 104, offset: 38906}, + pos: position{line: 1115, col: 104, offset: 38976}, expr: ¬Expr{ - pos: position{line: 1115, col: 106, offset: 38908}, + pos: position{line: 1115, col: 106, offset: 38978}, expr: &ruleRefExpr{ - pos: position{line: 1115, col: 107, offset: 38909}, + pos: position{line: 1115, col: 107, offset: 38979}, name: "Alphanum", }, }, @@ -7499,49 +7553,49 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1117, col: 5, offset: 39105}, + pos: position{line: 1117, col: 5, offset: 39175}, run: (*parser).callonSingleQuoteBoldText17, expr: &seqExpr{ - pos: position{line: 1117, col: 5, offset: 39105}, + pos: position{line: 1117, col: 5, offset: 39175}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1117, col: 5, offset: 39105}, + pos: position{line: 1117, col: 5, offset: 39175}, label: "attrs", expr: &zeroOrOneExpr{ - pos: position{line: 1117, col: 11, offset: 39111}, + pos: position{line: 1117, col: 11, offset: 39181}, expr: &ruleRefExpr{ - pos: position{line: 1117, col: 12, offset: 39112}, + pos: position{line: 1117, col: 12, offset: 39182}, name: "QuotedTextAttrs", }, }, }, &litMatcher{ - pos: position{line: 1117, col: 30, offset: 39130}, + pos: position{line: 1117, col: 30, offset: 39200}, val: "*", ignoreCase: false, want: "\"*\"", }, &labeledExpr{ - pos: position{line: 1117, col: 34, offset: 39134}, + pos: position{line: 1117, col: 34, offset: 39204}, label: "elements", expr: &seqExpr{ - pos: position{line: 1117, col: 44, offset: 39144}, + pos: position{line: 1117, col: 44, offset: 39214}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1117, col: 44, offset: 39144}, + pos: position{line: 1117, col: 44, offset: 39214}, val: "*", ignoreCase: false, want: "\"*\"", }, &ruleRefExpr{ - pos: position{line: 1117, col: 48, offset: 39148}, + pos: position{line: 1117, col: 48, offset: 39218}, name: "SingleQuoteBoldTextElements", }, }, }, }, &litMatcher{ - pos: position{line: 1117, col: 77, offset: 39177}, + pos: position{line: 1117, col: 77, offset: 39247}, val: "*", ignoreCase: false, want: "\"*\"", @@ -7554,21 +7608,21 @@ var g = &grammar{ }, { name: "SingleQuoteBoldTextElements", - pos: position{line: 1121, col: 1, offset: 39387}, + pos: position{line: 1121, col: 1, offset: 39457}, expr: &seqExpr{ - pos: position{line: 1121, col: 32, offset: 39418}, + pos: position{line: 1121, col: 32, offset: 39488}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1121, col: 32, offset: 39418}, + pos: position{line: 1121, col: 32, offset: 39488}, expr: &ruleRefExpr{ - pos: position{line: 1121, col: 33, offset: 39419}, + pos: position{line: 1121, col: 33, offset: 39489}, name: "Space", }, }, &oneOrMoreExpr{ - pos: position{line: 1121, col: 39, offset: 39425}, + pos: position{line: 1121, col: 39, offset: 39495}, expr: &ruleRefExpr{ - pos: position{line: 1121, col: 39, offset: 39425}, + pos: position{line: 1121, col: 39, offset: 39495}, name: "SingleQuoteBoldTextElement", }, }, @@ -7577,63 +7631,63 @@ var g = &grammar{ }, { name: "SingleQuoteBoldTextElement", - pos: position{line: 1123, col: 1, offset: 39456}, + pos: position{line: 1123, col: 1, offset: 39526}, expr: &choiceExpr{ - pos: position{line: 1123, col: 31, offset: 39486}, + pos: position{line: 1123, col: 31, offset: 39556}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1123, col: 31, offset: 39486}, + pos: position{line: 1123, col: 31, offset: 39556}, name: "Word", }, &seqExpr{ - pos: position{line: 1124, col: 11, offset: 39502}, + pos: position{line: 1124, col: 11, offset: 39572}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1124, col: 11, offset: 39502}, + pos: position{line: 1124, col: 11, offset: 39572}, name: "Newline", }, ¬Expr{ - pos: position{line: 1124, col: 19, offset: 39510}, + pos: position{line: 1124, col: 19, offset: 39580}, expr: &ruleRefExpr{ - pos: position{line: 1124, col: 20, offset: 39511}, + pos: position{line: 1124, col: 20, offset: 39581}, name: "Newline", }, }, }, }, &ruleRefExpr{ - pos: position{line: 1125, col: 11, offset: 39530}, + pos: position{line: 1125, col: 11, offset: 39600}, name: "DoubleQuoteBoldText", }, &ruleRefExpr{ - pos: position{line: 1126, col: 11, offset: 39561}, + pos: position{line: 1126, col: 11, offset: 39631}, name: "QuotedString", }, &seqExpr{ - pos: position{line: 1127, col: 11, offset: 39585}, + pos: position{line: 1127, col: 11, offset: 39655}, exprs: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 1127, col: 11, offset: 39585}, + pos: position{line: 1127, col: 11, offset: 39655}, expr: &ruleRefExpr{ - pos: position{line: 1127, col: 11, offset: 39585}, + pos: position{line: 1127, col: 11, offset: 39655}, name: "Space", }, }, &zeroOrOneExpr{ - pos: position{line: 1127, col: 18, offset: 39592}, + pos: position{line: 1127, col: 18, offset: 39662}, expr: &seqExpr{ - pos: position{line: 1127, col: 19, offset: 39593}, + pos: position{line: 1127, col: 19, offset: 39663}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1127, col: 19, offset: 39593}, + pos: position{line: 1127, col: 19, offset: 39663}, val: "*", ignoreCase: false, want: "\"*\"", }, ¬Expr{ - pos: position{line: 1127, col: 23, offset: 39597}, + pos: position{line: 1127, col: 23, offset: 39667}, expr: &litMatcher{ - pos: position{line: 1127, col: 24, offset: 39598}, + pos: position{line: 1127, col: 24, offset: 39668}, val: "*", ignoreCase: false, want: "\"*\"", @@ -7645,55 +7699,55 @@ var g = &grammar{ }, }, &ruleRefExpr{ - pos: position{line: 1128, col: 11, offset: 39615}, + pos: position{line: 1128, col: 11, offset: 39685}, name: "ItalicText", }, &ruleRefExpr{ - pos: position{line: 1129, col: 11, offset: 39637}, + pos: position{line: 1129, col: 11, offset: 39707}, name: "MarkedText", }, &ruleRefExpr{ - pos: position{line: 1130, col: 11, offset: 39659}, + pos: position{line: 1130, col: 11, offset: 39729}, name: "MonospaceText", }, &ruleRefExpr{ - pos: position{line: 1131, col: 11, offset: 39684}, + pos: position{line: 1131, col: 11, offset: 39754}, name: "SubscriptText", }, &ruleRefExpr{ - pos: position{line: 1132, col: 11, offset: 39709}, + pos: position{line: 1132, col: 11, offset: 39779}, name: "SuperscriptText", }, &ruleRefExpr{ - pos: position{line: 1133, col: 11, offset: 39736}, + pos: position{line: 1133, col: 11, offset: 39806}, name: "Symbol", }, &ruleRefExpr{ - pos: position{line: 1134, col: 11, offset: 39754}, + pos: position{line: 1134, col: 11, offset: 39824}, name: "InlineIcon", }, &ruleRefExpr{ - pos: position{line: 1135, col: 11, offset: 39776}, + pos: position{line: 1135, col: 11, offset: 39846}, name: "InlineImage", }, &ruleRefExpr{ - pos: position{line: 1136, col: 11, offset: 39800}, + pos: position{line: 1136, col: 11, offset: 39870}, name: "Link", }, &ruleRefExpr{ - pos: position{line: 1137, col: 11, offset: 39818}, + pos: position{line: 1137, col: 11, offset: 39888}, name: "InlinePassthrough", }, &ruleRefExpr{ - pos: position{line: 1138, col: 11, offset: 39847}, + pos: position{line: 1138, col: 11, offset: 39917}, name: "AttributeSubstitution", }, &ruleRefExpr{ - pos: position{line: 1139, col: 11, offset: 39880}, + pos: position{line: 1139, col: 11, offset: 39950}, name: "ImpliedApostrophe", }, &ruleRefExpr{ - pos: position{line: 1140, col: 11, offset: 39909}, + pos: position{line: 1140, col: 11, offset: 39979}, name: "SingleQuoteBoldTextFallbackCharacter", }, }, @@ -7701,31 +7755,31 @@ var g = &grammar{ }, { name: "SingleQuoteBoldTextFallbackCharacter", - pos: position{line: 1142, col: 1, offset: 39949}, + pos: position{line: 1142, col: 1, offset: 40019}, expr: &choiceExpr{ - pos: position{line: 1143, col: 5, offset: 39994}, + pos: position{line: 1143, col: 5, offset: 40064}, alternatives: []interface{}{ &charClassMatcher{ - pos: position{line: 1143, col: 5, offset: 39994}, + pos: position{line: 1143, col: 5, offset: 40064}, val: "[^\\r\\n*]", chars: []rune{'\r', '\n', '*'}, ignoreCase: false, inverted: true, }, &actionExpr{ - pos: position{line: 1144, col: 7, offset: 40092}, + pos: position{line: 1144, col: 7, offset: 40162}, run: (*parser).callonSingleQuoteBoldTextFallbackCharacter3, expr: &seqExpr{ - pos: position{line: 1144, col: 7, offset: 40092}, + pos: position{line: 1144, col: 7, offset: 40162}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1144, col: 7, offset: 40092}, + pos: position{line: 1144, col: 7, offset: 40162}, val: "*", ignoreCase: false, want: "\"*\"", }, &ruleRefExpr{ - pos: position{line: 1144, col: 11, offset: 40096}, + pos: position{line: 1144, col: 11, offset: 40166}, name: "Alphanums", }, }, @@ -7736,40 +7790,40 @@ var g = &grammar{ }, { name: "EscapedBoldText", - pos: position{line: 1148, col: 1, offset: 40263}, + pos: position{line: 1148, col: 1, offset: 40333}, expr: &choiceExpr{ - pos: position{line: 1149, col: 5, offset: 40288}, + pos: position{line: 1149, col: 5, offset: 40358}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 1149, col: 5, offset: 40288}, + pos: position{line: 1149, col: 5, offset: 40358}, run: (*parser).callonEscapedBoldText2, expr: &seqExpr{ - pos: position{line: 1149, col: 5, offset: 40288}, + pos: position{line: 1149, col: 5, offset: 40358}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1149, col: 5, offset: 40288}, + pos: position{line: 1149, col: 5, offset: 40358}, label: "backslashes", expr: &ruleRefExpr{ - pos: position{line: 1149, col: 18, offset: 40301}, + pos: position{line: 1149, col: 18, offset: 40371}, name: "TwoOrMoreBackslashes", }, }, &litMatcher{ - pos: position{line: 1149, col: 40, offset: 40323}, + pos: position{line: 1149, col: 40, offset: 40393}, val: "**", ignoreCase: false, want: "\"**\"", }, &labeledExpr{ - pos: position{line: 1149, col: 45, offset: 40328}, + pos: position{line: 1149, col: 45, offset: 40398}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1149, col: 55, offset: 40338}, + pos: position{line: 1149, col: 55, offset: 40408}, name: "DoubleQuoteBoldTextElements", }, }, &litMatcher{ - pos: position{line: 1149, col: 84, offset: 40367}, + pos: position{line: 1149, col: 84, offset: 40437}, val: "**", ignoreCase: false, want: "\"**\"", @@ -7778,35 +7832,35 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1151, col: 9, offset: 40526}, + pos: position{line: 1151, col: 9, offset: 40596}, run: (*parser).callonEscapedBoldText10, expr: &seqExpr{ - pos: position{line: 1151, col: 9, offset: 40526}, + pos: position{line: 1151, col: 9, offset: 40596}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1151, col: 9, offset: 40526}, + pos: position{line: 1151, col: 9, offset: 40596}, label: "backslashes", expr: &ruleRefExpr{ - pos: position{line: 1151, col: 22, offset: 40539}, + pos: position{line: 1151, col: 22, offset: 40609}, name: "OneOrMoreBackslashes", }, }, &litMatcher{ - pos: position{line: 1151, col: 44, offset: 40561}, + pos: position{line: 1151, col: 44, offset: 40631}, val: "**", ignoreCase: false, want: "\"**\"", }, &labeledExpr{ - pos: position{line: 1151, col: 49, offset: 40566}, + pos: position{line: 1151, col: 49, offset: 40636}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1151, col: 59, offset: 40576}, + pos: position{line: 1151, col: 59, offset: 40646}, name: "SingleQuoteBoldTextElements", }, }, &litMatcher{ - pos: position{line: 1151, col: 88, offset: 40605}, + pos: position{line: 1151, col: 88, offset: 40675}, val: "*", ignoreCase: false, want: "\"*\"", @@ -7815,35 +7869,35 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1154, col: 9, offset: 40808}, + pos: position{line: 1154, col: 9, offset: 40878}, run: (*parser).callonEscapedBoldText18, expr: &seqExpr{ - pos: position{line: 1154, col: 9, offset: 40808}, + pos: position{line: 1154, col: 9, offset: 40878}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1154, col: 9, offset: 40808}, + pos: position{line: 1154, col: 9, offset: 40878}, label: "backslashes", expr: &ruleRefExpr{ - pos: position{line: 1154, col: 22, offset: 40821}, + pos: position{line: 1154, col: 22, offset: 40891}, name: "OneOrMoreBackslashes", }, }, &litMatcher{ - pos: position{line: 1154, col: 44, offset: 40843}, + pos: position{line: 1154, col: 44, offset: 40913}, val: "*", ignoreCase: false, want: "\"*\"", }, &labeledExpr{ - pos: position{line: 1154, col: 48, offset: 40847}, + pos: position{line: 1154, col: 48, offset: 40917}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1154, col: 58, offset: 40857}, + pos: position{line: 1154, col: 58, offset: 40927}, name: "SingleQuoteBoldTextElements", }, }, &litMatcher{ - pos: position{line: 1154, col: 87, offset: 40886}, + pos: position{line: 1154, col: 87, offset: 40956}, val: "*", ignoreCase: false, want: "\"*\"", @@ -7856,16 +7910,16 @@ var g = &grammar{ }, { name: "ItalicText", - pos: position{line: 1162, col: 1, offset: 41102}, + pos: position{line: 1162, col: 1, offset: 41172}, expr: &choiceExpr{ - pos: position{line: 1162, col: 15, offset: 41116}, + pos: position{line: 1162, col: 15, offset: 41186}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1162, col: 15, offset: 41116}, + pos: position{line: 1162, col: 15, offset: 41186}, name: "DoubleQuoteItalicText", }, &ruleRefExpr{ - pos: position{line: 1162, col: 39, offset: 41140}, + pos: position{line: 1162, col: 39, offset: 41210}, name: "SingleQuoteItalicText", }, }, @@ -7873,40 +7927,40 @@ var g = &grammar{ }, { name: "DoubleQuoteItalicText", - pos: position{line: 1164, col: 1, offset: 41165}, + pos: position{line: 1164, col: 1, offset: 41235}, expr: &actionExpr{ - pos: position{line: 1164, col: 26, offset: 41190}, + pos: position{line: 1164, col: 26, offset: 41260}, run: (*parser).callonDoubleQuoteItalicText1, expr: &seqExpr{ - pos: position{line: 1164, col: 26, offset: 41190}, + pos: position{line: 1164, col: 26, offset: 41260}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1164, col: 26, offset: 41190}, + pos: position{line: 1164, col: 26, offset: 41260}, label: "attrs", expr: &zeroOrOneExpr{ - pos: position{line: 1164, col: 32, offset: 41196}, + pos: position{line: 1164, col: 32, offset: 41266}, expr: &ruleRefExpr{ - pos: position{line: 1164, col: 33, offset: 41197}, + pos: position{line: 1164, col: 33, offset: 41267}, name: "QuotedTextAttrs", }, }, }, &litMatcher{ - pos: position{line: 1164, col: 51, offset: 41215}, + pos: position{line: 1164, col: 51, offset: 41285}, val: "__", ignoreCase: false, want: "\"__\"", }, &labeledExpr{ - pos: position{line: 1164, col: 56, offset: 41220}, + pos: position{line: 1164, col: 56, offset: 41290}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1164, col: 66, offset: 41230}, + pos: position{line: 1164, col: 66, offset: 41300}, name: "DoubleQuoteItalicTextElements", }, }, &litMatcher{ - pos: position{line: 1164, col: 97, offset: 41261}, + pos: position{line: 1164, col: 97, offset: 41331}, val: "__", ignoreCase: false, want: "\"__\"", @@ -7917,37 +7971,37 @@ var g = &grammar{ }, { name: "DoubleQuoteItalicTextElements", - pos: position{line: 1168, col: 1, offset: 41399}, + pos: position{line: 1168, col: 1, offset: 41469}, expr: &seqExpr{ - pos: position{line: 1168, col: 34, offset: 41432}, + pos: position{line: 1168, col: 34, offset: 41502}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1168, col: 34, offset: 41432}, + pos: position{line: 1168, col: 34, offset: 41502}, name: "DoubleQuoteItalicTextElement", }, &zeroOrMoreExpr{ - pos: position{line: 1168, col: 63, offset: 41461}, + pos: position{line: 1168, col: 63, offset: 41531}, expr: &seqExpr{ - pos: position{line: 1168, col: 64, offset: 41462}, + pos: position{line: 1168, col: 64, offset: 41532}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1168, col: 64, offset: 41462}, + pos: position{line: 1168, col: 64, offset: 41532}, expr: &litMatcher{ - pos: position{line: 1168, col: 66, offset: 41464}, + pos: position{line: 1168, col: 66, offset: 41534}, val: "__", ignoreCase: false, want: "\"__\"", }, }, &choiceExpr{ - pos: position{line: 1168, col: 73, offset: 41471}, + pos: position{line: 1168, col: 73, offset: 41541}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1168, col: 73, offset: 41471}, + pos: position{line: 1168, col: 73, offset: 41541}, name: "Space", }, &ruleRefExpr{ - pos: position{line: 1168, col: 81, offset: 41479}, + pos: position{line: 1168, col: 81, offset: 41549}, name: "DoubleQuoteItalicTextElement", }, }, @@ -7960,84 +8014,84 @@ var g = &grammar{ }, { name: "DoubleQuoteItalicTextElement", - pos: position{line: 1170, col: 1, offset: 41548}, + pos: position{line: 1170, col: 1, offset: 41618}, expr: &choiceExpr{ - pos: position{line: 1170, col: 33, offset: 41580}, + pos: position{line: 1170, col: 33, offset: 41650}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1170, col: 33, offset: 41580}, + pos: position{line: 1170, col: 33, offset: 41650}, name: "Word", }, &seqExpr{ - pos: position{line: 1171, col: 11, offset: 41596}, + pos: position{line: 1171, col: 11, offset: 41666}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1171, col: 11, offset: 41596}, + pos: position{line: 1171, col: 11, offset: 41666}, name: "Newline", }, ¬Expr{ - pos: position{line: 1171, col: 19, offset: 41604}, + pos: position{line: 1171, col: 19, offset: 41674}, expr: &ruleRefExpr{ - pos: position{line: 1171, col: 20, offset: 41605}, + pos: position{line: 1171, col: 20, offset: 41675}, name: "Newline", }, }, }, }, &ruleRefExpr{ - pos: position{line: 1172, col: 11, offset: 41624}, + pos: position{line: 1172, col: 11, offset: 41694}, name: "SingleQuoteItalicText", }, &ruleRefExpr{ - pos: position{line: 1173, col: 11, offset: 41657}, + pos: position{line: 1173, col: 11, offset: 41727}, name: "QuotedString", }, &ruleRefExpr{ - pos: position{line: 1174, col: 11, offset: 41681}, + pos: position{line: 1174, col: 11, offset: 41751}, name: "BoldText", }, &ruleRefExpr{ - pos: position{line: 1175, col: 11, offset: 41701}, + pos: position{line: 1175, col: 11, offset: 41771}, name: "MarkedText", }, &ruleRefExpr{ - pos: position{line: 1176, col: 11, offset: 41723}, + pos: position{line: 1176, col: 11, offset: 41793}, name: "MonospaceText", }, &ruleRefExpr{ - pos: position{line: 1177, col: 11, offset: 41748}, + pos: position{line: 1177, col: 11, offset: 41818}, name: "SubscriptText", }, &ruleRefExpr{ - pos: position{line: 1178, col: 11, offset: 41773}, + pos: position{line: 1178, col: 11, offset: 41843}, name: "SuperscriptText", }, &ruleRefExpr{ - pos: position{line: 1179, col: 11, offset: 41800}, + pos: position{line: 1179, col: 11, offset: 41870}, name: "Symbol", }, &ruleRefExpr{ - pos: position{line: 1180, col: 11, offset: 41818}, + pos: position{line: 1180, col: 11, offset: 41888}, name: "InlineIcon", }, &ruleRefExpr{ - pos: position{line: 1181, col: 11, offset: 41840}, + pos: position{line: 1181, col: 11, offset: 41910}, name: "InlineImage", }, &ruleRefExpr{ - pos: position{line: 1182, col: 11, offset: 41864}, + pos: position{line: 1182, col: 11, offset: 41934}, name: "Link", }, &ruleRefExpr{ - pos: position{line: 1183, col: 11, offset: 41881}, + pos: position{line: 1183, col: 11, offset: 41951}, name: "InlinePassthrough", }, &ruleRefExpr{ - pos: position{line: 1184, col: 11, offset: 41910}, + pos: position{line: 1184, col: 11, offset: 41980}, name: "ImpliedApostrophe", }, &ruleRefExpr{ - pos: position{line: 1185, col: 11, offset: 41939}, + pos: position{line: 1185, col: 11, offset: 42009}, name: "DoubleQuoteItalicTextFallbackCharacter", }, }, @@ -8045,31 +8099,31 @@ var g = &grammar{ }, { name: "DoubleQuoteItalicTextFallbackCharacter", - pos: position{line: 1187, col: 1, offset: 41981}, + pos: position{line: 1187, col: 1, offset: 42051}, expr: &choiceExpr{ - pos: position{line: 1188, col: 5, offset: 42028}, + pos: position{line: 1188, col: 5, offset: 42098}, alternatives: []interface{}{ &charClassMatcher{ - pos: position{line: 1188, col: 5, offset: 42028}, + pos: position{line: 1188, col: 5, offset: 42098}, val: "[^\\r\\n_]", chars: []rune{'\r', '\n', '_'}, ignoreCase: false, inverted: true, }, &actionExpr{ - pos: position{line: 1189, col: 7, offset: 42128}, + pos: position{line: 1189, col: 7, offset: 42198}, run: (*parser).callonDoubleQuoteItalicTextFallbackCharacter3, expr: &seqExpr{ - pos: position{line: 1189, col: 7, offset: 42128}, + pos: position{line: 1189, col: 7, offset: 42198}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1189, col: 7, offset: 42128}, + pos: position{line: 1189, col: 7, offset: 42198}, val: "__", ignoreCase: false, want: "\"__\"", }, &ruleRefExpr{ - pos: position{line: 1189, col: 12, offset: 42133}, + pos: position{line: 1189, col: 12, offset: 42203}, name: "Alphanums", }, }, @@ -8080,40 +8134,40 @@ var g = &grammar{ }, { name: "SingleQuoteItalicText", - pos: position{line: 1193, col: 1, offset: 42302}, + pos: position{line: 1193, col: 1, offset: 42372}, expr: &choiceExpr{ - pos: position{line: 1193, col: 26, offset: 42327}, + pos: position{line: 1193, col: 26, offset: 42397}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 1193, col: 26, offset: 42327}, + pos: position{line: 1193, col: 26, offset: 42397}, run: (*parser).callonSingleQuoteItalicText2, expr: &seqExpr{ - pos: position{line: 1193, col: 26, offset: 42327}, + pos: position{line: 1193, col: 26, offset: 42397}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1193, col: 26, offset: 42327}, + pos: position{line: 1193, col: 26, offset: 42397}, label: "attrs", expr: &zeroOrOneExpr{ - pos: position{line: 1193, col: 32, offset: 42333}, + pos: position{line: 1193, col: 32, offset: 42403}, expr: &ruleRefExpr{ - pos: position{line: 1193, col: 33, offset: 42334}, + pos: position{line: 1193, col: 33, offset: 42404}, name: "QuotedTextAttrs", }, }, }, &seqExpr{ - pos: position{line: 1193, col: 52, offset: 42353}, + pos: position{line: 1193, col: 52, offset: 42423}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1193, col: 52, offset: 42353}, + pos: position{line: 1193, col: 52, offset: 42423}, val: "_", ignoreCase: false, want: "\"_\"", }, ¬Expr{ - pos: position{line: 1193, col: 56, offset: 42357}, + pos: position{line: 1193, col: 56, offset: 42427}, expr: &litMatcher{ - pos: position{line: 1193, col: 57, offset: 42358}, + pos: position{line: 1193, col: 57, offset: 42428}, val: "_", ignoreCase: false, want: "\"_\"", @@ -8122,15 +8176,15 @@ var g = &grammar{ }, }, &labeledExpr{ - pos: position{line: 1193, col: 62, offset: 42363}, + pos: position{line: 1193, col: 62, offset: 42433}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1193, col: 72, offset: 42373}, + pos: position{line: 1193, col: 72, offset: 42443}, name: "SingleQuoteItalicTextElements", }, }, &litMatcher{ - pos: position{line: 1193, col: 103, offset: 42404}, + pos: position{line: 1193, col: 103, offset: 42474}, val: "_", ignoreCase: false, want: "\"_\"", @@ -8139,49 +8193,49 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1195, col: 5, offset: 42596}, + pos: position{line: 1195, col: 5, offset: 42666}, run: (*parser).callonSingleQuoteItalicText14, expr: &seqExpr{ - pos: position{line: 1195, col: 5, offset: 42596}, + pos: position{line: 1195, col: 5, offset: 42666}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1195, col: 5, offset: 42596}, + pos: position{line: 1195, col: 5, offset: 42666}, label: "attrs", expr: &zeroOrOneExpr{ - pos: position{line: 1195, col: 11, offset: 42602}, + pos: position{line: 1195, col: 11, offset: 42672}, expr: &ruleRefExpr{ - pos: position{line: 1195, col: 12, offset: 42603}, + pos: position{line: 1195, col: 12, offset: 42673}, name: "QuotedTextAttrs", }, }, }, &litMatcher{ - pos: position{line: 1195, col: 30, offset: 42621}, + pos: position{line: 1195, col: 30, offset: 42691}, val: "_", ignoreCase: false, want: "\"_\"", }, &labeledExpr{ - pos: position{line: 1195, col: 34, offset: 42625}, + pos: position{line: 1195, col: 34, offset: 42695}, label: "elements", expr: &seqExpr{ - pos: position{line: 1195, col: 44, offset: 42635}, + pos: position{line: 1195, col: 44, offset: 42705}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1195, col: 44, offset: 42635}, + pos: position{line: 1195, col: 44, offset: 42705}, val: "_", ignoreCase: false, want: "\"_\"", }, &ruleRefExpr{ - pos: position{line: 1195, col: 48, offset: 42639}, + pos: position{line: 1195, col: 48, offset: 42709}, name: "SingleQuoteItalicTextElements", }, }, }, }, &litMatcher{ - pos: position{line: 1195, col: 79, offset: 42670}, + pos: position{line: 1195, col: 79, offset: 42740}, val: "_", ignoreCase: false, want: "\"_\"", @@ -8194,21 +8248,21 @@ var g = &grammar{ }, { name: "SingleQuoteItalicTextElements", - pos: position{line: 1199, col: 1, offset: 42884}, + pos: position{line: 1199, col: 1, offset: 42954}, expr: &seqExpr{ - pos: position{line: 1199, col: 34, offset: 42917}, + pos: position{line: 1199, col: 34, offset: 42987}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1199, col: 34, offset: 42917}, + pos: position{line: 1199, col: 34, offset: 42987}, expr: &ruleRefExpr{ - pos: position{line: 1199, col: 35, offset: 42918}, + pos: position{line: 1199, col: 35, offset: 42988}, name: "Space", }, }, &oneOrMoreExpr{ - pos: position{line: 1199, col: 41, offset: 42924}, + pos: position{line: 1199, col: 41, offset: 42994}, expr: &ruleRefExpr{ - pos: position{line: 1199, col: 41, offset: 42924}, + pos: position{line: 1199, col: 41, offset: 42994}, name: "SingleQuoteItalicTextElement", }, }, @@ -8217,63 +8271,63 @@ var g = &grammar{ }, { name: "SingleQuoteItalicTextElement", - pos: position{line: 1201, col: 1, offset: 42957}, + pos: position{line: 1201, col: 1, offset: 43027}, expr: &choiceExpr{ - pos: position{line: 1201, col: 33, offset: 42989}, + pos: position{line: 1201, col: 33, offset: 43059}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1201, col: 33, offset: 42989}, + pos: position{line: 1201, col: 33, offset: 43059}, name: "Word", }, &seqExpr{ - pos: position{line: 1202, col: 11, offset: 43005}, + pos: position{line: 1202, col: 11, offset: 43075}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1202, col: 11, offset: 43005}, + pos: position{line: 1202, col: 11, offset: 43075}, name: "Newline", }, ¬Expr{ - pos: position{line: 1202, col: 19, offset: 43013}, + pos: position{line: 1202, col: 19, offset: 43083}, expr: &ruleRefExpr{ - pos: position{line: 1202, col: 20, offset: 43014}, + pos: position{line: 1202, col: 20, offset: 43084}, name: "Newline", }, }, }, }, &ruleRefExpr{ - pos: position{line: 1203, col: 11, offset: 43033}, + pos: position{line: 1203, col: 11, offset: 43103}, name: "DoubleQuoteItalicText", }, &ruleRefExpr{ - pos: position{line: 1204, col: 11, offset: 43066}, + pos: position{line: 1204, col: 11, offset: 43136}, name: "QuotedString", }, &seqExpr{ - pos: position{line: 1205, col: 11, offset: 43090}, + pos: position{line: 1205, col: 11, offset: 43160}, exprs: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 1205, col: 11, offset: 43090}, + pos: position{line: 1205, col: 11, offset: 43160}, expr: &ruleRefExpr{ - pos: position{line: 1205, col: 11, offset: 43090}, + pos: position{line: 1205, col: 11, offset: 43160}, name: "Space", }, }, &zeroOrOneExpr{ - pos: position{line: 1205, col: 18, offset: 43097}, + pos: position{line: 1205, col: 18, offset: 43167}, expr: &seqExpr{ - pos: position{line: 1205, col: 19, offset: 43098}, + pos: position{line: 1205, col: 19, offset: 43168}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1205, col: 19, offset: 43098}, + pos: position{line: 1205, col: 19, offset: 43168}, val: "_", ignoreCase: false, want: "\"_\"", }, ¬Expr{ - pos: position{line: 1205, col: 23, offset: 43102}, + pos: position{line: 1205, col: 23, offset: 43172}, expr: &litMatcher{ - pos: position{line: 1205, col: 24, offset: 43103}, + pos: position{line: 1205, col: 24, offset: 43173}, val: "_", ignoreCase: false, want: "\"_\"", @@ -8285,55 +8339,55 @@ var g = &grammar{ }, }, &ruleRefExpr{ - pos: position{line: 1206, col: 11, offset: 43120}, + pos: position{line: 1206, col: 11, offset: 43190}, name: "BoldText", }, &ruleRefExpr{ - pos: position{line: 1207, col: 11, offset: 43140}, + pos: position{line: 1207, col: 11, offset: 43210}, name: "MarkedText", }, &ruleRefExpr{ - pos: position{line: 1208, col: 11, offset: 43162}, + pos: position{line: 1208, col: 11, offset: 43232}, name: "MonospaceText", }, &ruleRefExpr{ - pos: position{line: 1209, col: 11, offset: 43187}, + pos: position{line: 1209, col: 11, offset: 43257}, name: "SubscriptText", }, &ruleRefExpr{ - pos: position{line: 1210, col: 11, offset: 43212}, + pos: position{line: 1210, col: 11, offset: 43282}, name: "SuperscriptText", }, &ruleRefExpr{ - pos: position{line: 1211, col: 11, offset: 43239}, + pos: position{line: 1211, col: 11, offset: 43309}, name: "Symbol", }, &ruleRefExpr{ - pos: position{line: 1212, col: 11, offset: 43257}, + pos: position{line: 1212, col: 11, offset: 43327}, name: "InlineIcon", }, &ruleRefExpr{ - pos: position{line: 1213, col: 11, offset: 43279}, + pos: position{line: 1213, col: 11, offset: 43349}, name: "InlineImage", }, &ruleRefExpr{ - pos: position{line: 1214, col: 11, offset: 43303}, + pos: position{line: 1214, col: 11, offset: 43373}, name: "Link", }, &ruleRefExpr{ - pos: position{line: 1215, col: 11, offset: 43321}, + pos: position{line: 1215, col: 11, offset: 43391}, name: "InlinePassthrough", }, &ruleRefExpr{ - pos: position{line: 1216, col: 11, offset: 43351}, + pos: position{line: 1216, col: 11, offset: 43421}, name: "AttributeSubstitution", }, &ruleRefExpr{ - pos: position{line: 1217, col: 11, offset: 43384}, + pos: position{line: 1217, col: 11, offset: 43454}, name: "ImpliedApostrophe", }, &ruleRefExpr{ - pos: position{line: 1218, col: 11, offset: 43413}, + pos: position{line: 1218, col: 11, offset: 43483}, name: "SingleQuoteItalicTextFallbackCharacter", }, }, @@ -8341,31 +8395,31 @@ var g = &grammar{ }, { name: "SingleQuoteItalicTextFallbackCharacter", - pos: position{line: 1220, col: 1, offset: 43455}, + pos: position{line: 1220, col: 1, offset: 43525}, expr: &choiceExpr{ - pos: position{line: 1221, col: 5, offset: 43502}, + pos: position{line: 1221, col: 5, offset: 43572}, alternatives: []interface{}{ &charClassMatcher{ - pos: position{line: 1221, col: 5, offset: 43502}, + pos: position{line: 1221, col: 5, offset: 43572}, val: "[^\\r\\n_]", chars: []rune{'\r', '\n', '_'}, ignoreCase: false, inverted: true, }, &actionExpr{ - pos: position{line: 1222, col: 7, offset: 43602}, + pos: position{line: 1222, col: 7, offset: 43672}, run: (*parser).callonSingleQuoteItalicTextFallbackCharacter3, expr: &seqExpr{ - pos: position{line: 1222, col: 7, offset: 43602}, + pos: position{line: 1222, col: 7, offset: 43672}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1222, col: 7, offset: 43602}, + pos: position{line: 1222, col: 7, offset: 43672}, val: "_", ignoreCase: false, want: "\"_\"", }, &ruleRefExpr{ - pos: position{line: 1222, col: 11, offset: 43606}, + pos: position{line: 1222, col: 11, offset: 43676}, name: "Alphanums", }, }, @@ -8376,40 +8430,40 @@ var g = &grammar{ }, { name: "EscapedItalicText", - pos: position{line: 1226, col: 1, offset: 43776}, + pos: position{line: 1226, col: 1, offset: 43846}, expr: &choiceExpr{ - pos: position{line: 1227, col: 5, offset: 43803}, + pos: position{line: 1227, col: 5, offset: 43873}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 1227, col: 5, offset: 43803}, + pos: position{line: 1227, col: 5, offset: 43873}, run: (*parser).callonEscapedItalicText2, expr: &seqExpr{ - pos: position{line: 1227, col: 5, offset: 43803}, + pos: position{line: 1227, col: 5, offset: 43873}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1227, col: 5, offset: 43803}, + pos: position{line: 1227, col: 5, offset: 43873}, label: "backslashes", expr: &ruleRefExpr{ - pos: position{line: 1227, col: 18, offset: 43816}, + pos: position{line: 1227, col: 18, offset: 43886}, name: "TwoOrMoreBackslashes", }, }, &litMatcher{ - pos: position{line: 1227, col: 40, offset: 43838}, + pos: position{line: 1227, col: 40, offset: 43908}, val: "__", ignoreCase: false, want: "\"__\"", }, &labeledExpr{ - pos: position{line: 1227, col: 45, offset: 43843}, + pos: position{line: 1227, col: 45, offset: 43913}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1227, col: 55, offset: 43853}, + pos: position{line: 1227, col: 55, offset: 43923}, name: "DoubleQuoteItalicTextElements", }, }, &litMatcher{ - pos: position{line: 1227, col: 86, offset: 43884}, + pos: position{line: 1227, col: 86, offset: 43954}, val: "__", ignoreCase: false, want: "\"__\"", @@ -8418,35 +8472,35 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1229, col: 9, offset: 44043}, + pos: position{line: 1229, col: 9, offset: 44113}, run: (*parser).callonEscapedItalicText10, expr: &seqExpr{ - pos: position{line: 1229, col: 9, offset: 44043}, + pos: position{line: 1229, col: 9, offset: 44113}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1229, col: 9, offset: 44043}, + pos: position{line: 1229, col: 9, offset: 44113}, label: "backslashes", expr: &ruleRefExpr{ - pos: position{line: 1229, col: 22, offset: 44056}, + pos: position{line: 1229, col: 22, offset: 44126}, name: "OneOrMoreBackslashes", }, }, &litMatcher{ - pos: position{line: 1229, col: 44, offset: 44078}, + pos: position{line: 1229, col: 44, offset: 44148}, val: "__", ignoreCase: false, want: "\"__\"", }, &labeledExpr{ - pos: position{line: 1229, col: 49, offset: 44083}, + pos: position{line: 1229, col: 49, offset: 44153}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1229, col: 59, offset: 44093}, + pos: position{line: 1229, col: 59, offset: 44163}, name: "SingleQuoteItalicTextElements", }, }, &litMatcher{ - pos: position{line: 1229, col: 90, offset: 44124}, + pos: position{line: 1229, col: 90, offset: 44194}, val: "_", ignoreCase: false, want: "\"_\"", @@ -8455,35 +8509,35 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1232, col: 9, offset: 44327}, + pos: position{line: 1232, col: 9, offset: 44397}, run: (*parser).callonEscapedItalicText18, expr: &seqExpr{ - pos: position{line: 1232, col: 9, offset: 44327}, + pos: position{line: 1232, col: 9, offset: 44397}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1232, col: 9, offset: 44327}, + pos: position{line: 1232, col: 9, offset: 44397}, label: "backslashes", expr: &ruleRefExpr{ - pos: position{line: 1232, col: 22, offset: 44340}, + pos: position{line: 1232, col: 22, offset: 44410}, name: "OneOrMoreBackslashes", }, }, &litMatcher{ - pos: position{line: 1232, col: 44, offset: 44362}, + pos: position{line: 1232, col: 44, offset: 44432}, val: "_", ignoreCase: false, want: "\"_\"", }, &labeledExpr{ - pos: position{line: 1232, col: 48, offset: 44366}, + pos: position{line: 1232, col: 48, offset: 44436}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1232, col: 58, offset: 44376}, + pos: position{line: 1232, col: 58, offset: 44446}, name: "SingleQuoteItalicTextElements", }, }, &litMatcher{ - pos: position{line: 1232, col: 89, offset: 44407}, + pos: position{line: 1232, col: 89, offset: 44477}, val: "_", ignoreCase: false, want: "\"_\"", @@ -8496,16 +8550,16 @@ var g = &grammar{ }, { name: "MonospaceText", - pos: position{line: 1239, col: 1, offset: 44624}, + pos: position{line: 1239, col: 1, offset: 44694}, expr: &choiceExpr{ - pos: position{line: 1239, col: 18, offset: 44641}, + pos: position{line: 1239, col: 18, offset: 44711}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1239, col: 18, offset: 44641}, + pos: position{line: 1239, col: 18, offset: 44711}, name: "DoubleQuoteMonospaceText", }, &ruleRefExpr{ - pos: position{line: 1239, col: 45, offset: 44668}, + pos: position{line: 1239, col: 45, offset: 44738}, name: "SingleQuoteMonospaceText", }, }, @@ -8513,40 +8567,40 @@ var g = &grammar{ }, { name: "DoubleQuoteMonospaceText", - pos: position{line: 1241, col: 1, offset: 44696}, + pos: position{line: 1241, col: 1, offset: 44766}, expr: &actionExpr{ - pos: position{line: 1241, col: 29, offset: 44724}, + pos: position{line: 1241, col: 29, offset: 44794}, run: (*parser).callonDoubleQuoteMonospaceText1, expr: &seqExpr{ - pos: position{line: 1241, col: 29, offset: 44724}, + pos: position{line: 1241, col: 29, offset: 44794}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1241, col: 29, offset: 44724}, + pos: position{line: 1241, col: 29, offset: 44794}, label: "attrs", expr: &zeroOrOneExpr{ - pos: position{line: 1241, col: 35, offset: 44730}, + pos: position{line: 1241, col: 35, offset: 44800}, expr: &ruleRefExpr{ - pos: position{line: 1241, col: 36, offset: 44731}, + pos: position{line: 1241, col: 36, offset: 44801}, name: "QuotedTextAttrs", }, }, }, &litMatcher{ - pos: position{line: 1241, col: 54, offset: 44749}, + pos: position{line: 1241, col: 54, offset: 44819}, val: "``", ignoreCase: false, want: "\"``\"", }, &labeledExpr{ - pos: position{line: 1241, col: 59, offset: 44754}, + pos: position{line: 1241, col: 59, offset: 44824}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1241, col: 69, offset: 44764}, + pos: position{line: 1241, col: 69, offset: 44834}, name: "DoubleQuoteMonospaceTextElements", }, }, &litMatcher{ - pos: position{line: 1241, col: 103, offset: 44798}, + pos: position{line: 1241, col: 103, offset: 44868}, val: "``", ignoreCase: false, want: "\"``\"", @@ -8557,37 +8611,37 @@ var g = &grammar{ }, { name: "DoubleQuoteMonospaceTextElements", - pos: position{line: 1245, col: 1, offset: 44939}, + pos: position{line: 1245, col: 1, offset: 45009}, expr: &seqExpr{ - pos: position{line: 1245, col: 37, offset: 44975}, + pos: position{line: 1245, col: 37, offset: 45045}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1245, col: 37, offset: 44975}, + pos: position{line: 1245, col: 37, offset: 45045}, name: "DoubleQuoteMonospaceTextElement", }, &zeroOrMoreExpr{ - pos: position{line: 1245, col: 69, offset: 45007}, + pos: position{line: 1245, col: 69, offset: 45077}, expr: &seqExpr{ - pos: position{line: 1245, col: 70, offset: 45008}, + pos: position{line: 1245, col: 70, offset: 45078}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1245, col: 70, offset: 45008}, + pos: position{line: 1245, col: 70, offset: 45078}, expr: &litMatcher{ - pos: position{line: 1245, col: 72, offset: 45010}, + pos: position{line: 1245, col: 72, offset: 45080}, val: "``", ignoreCase: false, want: "\"``\"", }, }, &choiceExpr{ - pos: position{line: 1245, col: 79, offset: 45017}, + pos: position{line: 1245, col: 79, offset: 45087}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1245, col: 79, offset: 45017}, + pos: position{line: 1245, col: 79, offset: 45087}, name: "Space", }, &ruleRefExpr{ - pos: position{line: 1245, col: 87, offset: 45025}, + pos: position{line: 1245, col: 87, offset: 45095}, name: "DoubleQuoteMonospaceTextElement", }, }, @@ -8600,84 +8654,84 @@ var g = &grammar{ }, { name: "DoubleQuoteMonospaceTextElement", - pos: position{line: 1247, col: 1, offset: 45096}, + pos: position{line: 1247, col: 1, offset: 45166}, expr: &choiceExpr{ - pos: position{line: 1247, col: 36, offset: 45131}, + pos: position{line: 1247, col: 36, offset: 45201}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1247, col: 36, offset: 45131}, + pos: position{line: 1247, col: 36, offset: 45201}, name: "Word", }, &seqExpr{ - pos: position{line: 1248, col: 11, offset: 45147}, + pos: position{line: 1248, col: 11, offset: 45217}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1248, col: 11, offset: 45147}, + pos: position{line: 1248, col: 11, offset: 45217}, name: "Newline", }, ¬Expr{ - pos: position{line: 1248, col: 19, offset: 45155}, + pos: position{line: 1248, col: 19, offset: 45225}, expr: &ruleRefExpr{ - pos: position{line: 1248, col: 20, offset: 45156}, + pos: position{line: 1248, col: 20, offset: 45226}, name: "Newline", }, }, }, }, &ruleRefExpr{ - pos: position{line: 1249, col: 11, offset: 45175}, + pos: position{line: 1249, col: 11, offset: 45245}, name: "Symbol", }, &ruleRefExpr{ - pos: position{line: 1250, col: 11, offset: 45193}, + pos: position{line: 1250, col: 11, offset: 45263}, name: "SingleQuoteMonospaceText", }, &ruleRefExpr{ - pos: position{line: 1251, col: 11, offset: 45229}, + pos: position{line: 1251, col: 11, offset: 45299}, name: "QuotedString", }, &ruleRefExpr{ - pos: position{line: 1252, col: 11, offset: 45253}, + pos: position{line: 1252, col: 11, offset: 45323}, name: "BoldText", }, &ruleRefExpr{ - pos: position{line: 1253, col: 11, offset: 45273}, + pos: position{line: 1253, col: 11, offset: 45343}, name: "ItalicText", }, &ruleRefExpr{ - pos: position{line: 1254, col: 11, offset: 45295}, + pos: position{line: 1254, col: 11, offset: 45365}, name: "MarkedText", }, &ruleRefExpr{ - pos: position{line: 1255, col: 11, offset: 45317}, + pos: position{line: 1255, col: 11, offset: 45387}, name: "SubscriptText", }, &ruleRefExpr{ - pos: position{line: 1256, col: 11, offset: 45342}, + pos: position{line: 1256, col: 11, offset: 45412}, name: "SuperscriptText", }, &ruleRefExpr{ - pos: position{line: 1257, col: 11, offset: 45369}, + pos: position{line: 1257, col: 11, offset: 45439}, name: "InlineIcon", }, &ruleRefExpr{ - pos: position{line: 1258, col: 11, offset: 45391}, + pos: position{line: 1258, col: 11, offset: 45461}, name: "InlineImage", }, &ruleRefExpr{ - pos: position{line: 1259, col: 11, offset: 45414}, + pos: position{line: 1259, col: 11, offset: 45484}, name: "Link", }, &ruleRefExpr{ - pos: position{line: 1260, col: 11, offset: 45430}, + pos: position{line: 1260, col: 11, offset: 45500}, name: "InlinePassthrough", }, &ruleRefExpr{ - pos: position{line: 1261, col: 11, offset: 45460}, + pos: position{line: 1261, col: 11, offset: 45530}, name: "ImpliedApostrophe", }, &ruleRefExpr{ - pos: position{line: 1262, col: 11, offset: 45489}, + pos: position{line: 1262, col: 11, offset: 45559}, name: "DoubleQuoteMonospaceTextFallbackCharacter", }, }, @@ -8685,31 +8739,31 @@ var g = &grammar{ }, { name: "DoubleQuoteMonospaceTextFallbackCharacter", - pos: position{line: 1264, col: 1, offset: 45534}, + pos: position{line: 1264, col: 1, offset: 45604}, expr: &choiceExpr{ - pos: position{line: 1265, col: 5, offset: 45584}, + pos: position{line: 1265, col: 5, offset: 45654}, alternatives: []interface{}{ &charClassMatcher{ - pos: position{line: 1265, col: 5, offset: 45584}, + pos: position{line: 1265, col: 5, offset: 45654}, val: "[^\\r\\n`]", chars: []rune{'\r', '\n', '`'}, ignoreCase: false, inverted: true, }, &actionExpr{ - pos: position{line: 1266, col: 7, offset: 45687}, + pos: position{line: 1266, col: 7, offset: 45757}, run: (*parser).callonDoubleQuoteMonospaceTextFallbackCharacter3, expr: &seqExpr{ - pos: position{line: 1266, col: 7, offset: 45687}, + pos: position{line: 1266, col: 7, offset: 45757}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1266, col: 7, offset: 45687}, + pos: position{line: 1266, col: 7, offset: 45757}, val: "``", ignoreCase: false, want: "\"``\"", }, &ruleRefExpr{ - pos: position{line: 1266, col: 12, offset: 45692}, + pos: position{line: 1266, col: 12, offset: 45762}, name: "Alphanums", }, }, @@ -8720,40 +8774,40 @@ var g = &grammar{ }, { name: "SingleQuoteMonospaceText", - pos: position{line: 1270, col: 1, offset: 45864}, + pos: position{line: 1270, col: 1, offset: 45934}, expr: &choiceExpr{ - pos: position{line: 1270, col: 29, offset: 45892}, + pos: position{line: 1270, col: 29, offset: 45962}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 1270, col: 29, offset: 45892}, + pos: position{line: 1270, col: 29, offset: 45962}, run: (*parser).callonSingleQuoteMonospaceText2, expr: &seqExpr{ - pos: position{line: 1270, col: 29, offset: 45892}, + pos: position{line: 1270, col: 29, offset: 45962}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1270, col: 29, offset: 45892}, + pos: position{line: 1270, col: 29, offset: 45962}, label: "attrs", expr: &zeroOrOneExpr{ - pos: position{line: 1270, col: 35, offset: 45898}, + pos: position{line: 1270, col: 35, offset: 45968}, expr: &ruleRefExpr{ - pos: position{line: 1270, col: 36, offset: 45899}, + pos: position{line: 1270, col: 36, offset: 45969}, name: "QuotedTextAttrs", }, }, }, &seqExpr{ - pos: position{line: 1270, col: 55, offset: 45918}, + pos: position{line: 1270, col: 55, offset: 45988}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1270, col: 55, offset: 45918}, + pos: position{line: 1270, col: 55, offset: 45988}, val: "`", ignoreCase: false, want: "\"`\"", }, ¬Expr{ - pos: position{line: 1270, col: 59, offset: 45922}, + pos: position{line: 1270, col: 59, offset: 45992}, expr: &litMatcher{ - pos: position{line: 1270, col: 60, offset: 45923}, + pos: position{line: 1270, col: 60, offset: 45993}, val: "`", ignoreCase: false, want: "\"`\"", @@ -8762,15 +8816,15 @@ var g = &grammar{ }, }, &labeledExpr{ - pos: position{line: 1270, col: 65, offset: 45928}, + pos: position{line: 1270, col: 65, offset: 45998}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1270, col: 75, offset: 45938}, + pos: position{line: 1270, col: 75, offset: 46008}, name: "SingleQuoteMonospaceTextElements", }, }, &litMatcher{ - pos: position{line: 1270, col: 109, offset: 45972}, + pos: position{line: 1270, col: 109, offset: 46042}, val: "`", ignoreCase: false, want: "\"`\"", @@ -8779,49 +8833,49 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1272, col: 5, offset: 46167}, + pos: position{line: 1272, col: 5, offset: 46237}, run: (*parser).callonSingleQuoteMonospaceText14, expr: &seqExpr{ - pos: position{line: 1272, col: 5, offset: 46167}, + pos: position{line: 1272, col: 5, offset: 46237}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1272, col: 5, offset: 46167}, + pos: position{line: 1272, col: 5, offset: 46237}, label: "attrs", expr: &zeroOrOneExpr{ - pos: position{line: 1272, col: 11, offset: 46173}, + pos: position{line: 1272, col: 11, offset: 46243}, expr: &ruleRefExpr{ - pos: position{line: 1272, col: 12, offset: 46174}, + pos: position{line: 1272, col: 12, offset: 46244}, name: "QuotedTextAttrs", }, }, }, &litMatcher{ - pos: position{line: 1272, col: 30, offset: 46192}, + pos: position{line: 1272, col: 30, offset: 46262}, val: "`", ignoreCase: false, want: "\"`\"", }, &labeledExpr{ - pos: position{line: 1272, col: 34, offset: 46196}, + pos: position{line: 1272, col: 34, offset: 46266}, label: "elements", expr: &seqExpr{ - pos: position{line: 1272, col: 44, offset: 46206}, + pos: position{line: 1272, col: 44, offset: 46276}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1272, col: 44, offset: 46206}, + pos: position{line: 1272, col: 44, offset: 46276}, val: "`", ignoreCase: false, want: "\"`\"", }, &ruleRefExpr{ - pos: position{line: 1272, col: 48, offset: 46210}, + pos: position{line: 1272, col: 48, offset: 46280}, name: "SingleQuoteMonospaceTextElements", }, }, }, }, &litMatcher{ - pos: position{line: 1272, col: 82, offset: 46244}, + pos: position{line: 1272, col: 82, offset: 46314}, val: "`", ignoreCase: false, want: "\"`\"", @@ -8834,21 +8888,21 @@ var g = &grammar{ }, { name: "SingleQuoteMonospaceTextElements", - pos: position{line: 1276, col: 1, offset: 46462}, + pos: position{line: 1276, col: 1, offset: 46532}, expr: &seqExpr{ - pos: position{line: 1276, col: 37, offset: 46498}, + pos: position{line: 1276, col: 37, offset: 46568}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1276, col: 37, offset: 46498}, + pos: position{line: 1276, col: 37, offset: 46568}, expr: &ruleRefExpr{ - pos: position{line: 1276, col: 38, offset: 46499}, + pos: position{line: 1276, col: 38, offset: 46569}, name: "Space", }, }, &oneOrMoreExpr{ - pos: position{line: 1276, col: 44, offset: 46505}, + pos: position{line: 1276, col: 44, offset: 46575}, expr: &ruleRefExpr{ - pos: position{line: 1276, col: 44, offset: 46505}, + pos: position{line: 1276, col: 44, offset: 46575}, name: "SingleQuoteMonospaceTextElement", }, }, @@ -8857,63 +8911,63 @@ var g = &grammar{ }, { name: "SingleQuoteMonospaceTextElement", - pos: position{line: 1278, col: 1, offset: 46541}, + pos: position{line: 1278, col: 1, offset: 46611}, expr: &choiceExpr{ - pos: position{line: 1278, col: 37, offset: 46577}, + pos: position{line: 1278, col: 37, offset: 46647}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1278, col: 37, offset: 46577}, + pos: position{line: 1278, col: 37, offset: 46647}, name: "Word", }, &seqExpr{ - pos: position{line: 1279, col: 11, offset: 46593}, + pos: position{line: 1279, col: 11, offset: 46663}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1279, col: 11, offset: 46593}, + pos: position{line: 1279, col: 11, offset: 46663}, name: "Newline", }, ¬Expr{ - pos: position{line: 1279, col: 19, offset: 46601}, + pos: position{line: 1279, col: 19, offset: 46671}, expr: &ruleRefExpr{ - pos: position{line: 1279, col: 20, offset: 46602}, + pos: position{line: 1279, col: 20, offset: 46672}, name: "Newline", }, }, }, }, &ruleRefExpr{ - pos: position{line: 1280, col: 11, offset: 46621}, + pos: position{line: 1280, col: 11, offset: 46691}, name: "DoubleQuoteMonospaceText", }, &ruleRefExpr{ - pos: position{line: 1281, col: 11, offset: 46657}, + pos: position{line: 1281, col: 11, offset: 46727}, name: "QuotedString", }, &seqExpr{ - pos: position{line: 1282, col: 11, offset: 46681}, + pos: position{line: 1282, col: 11, offset: 46751}, exprs: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 1282, col: 11, offset: 46681}, + pos: position{line: 1282, col: 11, offset: 46751}, expr: &ruleRefExpr{ - pos: position{line: 1282, col: 11, offset: 46681}, + pos: position{line: 1282, col: 11, offset: 46751}, name: "Space", }, }, &zeroOrOneExpr{ - pos: position{line: 1282, col: 18, offset: 46688}, + pos: position{line: 1282, col: 18, offset: 46758}, expr: &seqExpr{ - pos: position{line: 1282, col: 19, offset: 46689}, + pos: position{line: 1282, col: 19, offset: 46759}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1282, col: 19, offset: 46689}, + pos: position{line: 1282, col: 19, offset: 46759}, val: "`", ignoreCase: false, want: "\"`\"", }, ¬Expr{ - pos: position{line: 1282, col: 23, offset: 46693}, + pos: position{line: 1282, col: 23, offset: 46763}, expr: &litMatcher{ - pos: position{line: 1282, col: 24, offset: 46694}, + pos: position{line: 1282, col: 24, offset: 46764}, val: "`", ignoreCase: false, want: "\"`\"", @@ -8925,69 +8979,69 @@ var g = &grammar{ }, }, &ruleRefExpr{ - pos: position{line: 1283, col: 11, offset: 46823}, + pos: position{line: 1283, col: 11, offset: 46893}, name: "BoldText", }, &ruleRefExpr{ - pos: position{line: 1284, col: 11, offset: 46843}, + pos: position{line: 1284, col: 11, offset: 46913}, name: "ItalicText", }, &ruleRefExpr{ - pos: position{line: 1285, col: 11, offset: 46865}, + pos: position{line: 1285, col: 11, offset: 46935}, name: "MarkedText", }, &ruleRefExpr{ - pos: position{line: 1286, col: 11, offset: 46887}, + pos: position{line: 1286, col: 11, offset: 46957}, name: "SubscriptText", }, &ruleRefExpr{ - pos: position{line: 1287, col: 11, offset: 46912}, + pos: position{line: 1287, col: 11, offset: 46982}, name: "SuperscriptText", }, &seqExpr{ - pos: position{line: 1288, col: 11, offset: 46939}, + pos: position{line: 1288, col: 11, offset: 47009}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1288, col: 11, offset: 46939}, + pos: position{line: 1288, col: 11, offset: 47009}, expr: &litMatcher{ - pos: position{line: 1288, col: 12, offset: 46940}, + pos: position{line: 1288, col: 12, offset: 47010}, val: "`", ignoreCase: false, want: "\"`\"", }, }, &ruleRefExpr{ - pos: position{line: 1288, col: 16, offset: 46944}, + pos: position{line: 1288, col: 16, offset: 47014}, name: "Symbol", }, }, }, &ruleRefExpr{ - pos: position{line: 1289, col: 11, offset: 46962}, + pos: position{line: 1289, col: 11, offset: 47032}, name: "InlineIcon", }, &ruleRefExpr{ - pos: position{line: 1290, col: 11, offset: 46984}, + pos: position{line: 1290, col: 11, offset: 47054}, name: "InlineImage", }, &ruleRefExpr{ - pos: position{line: 1291, col: 11, offset: 47008}, + pos: position{line: 1291, col: 11, offset: 47078}, name: "Link", }, &ruleRefExpr{ - pos: position{line: 1292, col: 11, offset: 47025}, + pos: position{line: 1292, col: 11, offset: 47095}, name: "InlinePassthrough", }, &ruleRefExpr{ - pos: position{line: 1293, col: 11, offset: 47055}, + pos: position{line: 1293, col: 11, offset: 47125}, name: "AttributeSubstitution", }, &ruleRefExpr{ - pos: position{line: 1294, col: 11, offset: 47088}, + pos: position{line: 1294, col: 11, offset: 47158}, name: "ImpliedApostrophe", }, &ruleRefExpr{ - pos: position{line: 1295, col: 11, offset: 47117}, + pos: position{line: 1295, col: 11, offset: 47187}, name: "SingleQuoteMonospaceTextFallbackCharacter", }, }, @@ -8995,31 +9049,31 @@ var g = &grammar{ }, { name: "SingleQuoteMonospaceTextFallbackCharacter", - pos: position{line: 1297, col: 1, offset: 47162}, + pos: position{line: 1297, col: 1, offset: 47232}, expr: &choiceExpr{ - pos: position{line: 1298, col: 5, offset: 47212}, + pos: position{line: 1298, col: 5, offset: 47282}, alternatives: []interface{}{ &charClassMatcher{ - pos: position{line: 1298, col: 5, offset: 47212}, + pos: position{line: 1298, col: 5, offset: 47282}, val: "[^\\r\\n`]", chars: []rune{'\r', '\n', '`'}, ignoreCase: false, inverted: true, }, &actionExpr{ - pos: position{line: 1299, col: 7, offset: 47315}, + pos: position{line: 1299, col: 7, offset: 47385}, run: (*parser).callonSingleQuoteMonospaceTextFallbackCharacter3, expr: &seqExpr{ - pos: position{line: 1299, col: 7, offset: 47315}, + pos: position{line: 1299, col: 7, offset: 47385}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1299, col: 7, offset: 47315}, + pos: position{line: 1299, col: 7, offset: 47385}, val: "`", ignoreCase: false, want: "\"`\"", }, &ruleRefExpr{ - pos: position{line: 1299, col: 11, offset: 47319}, + pos: position{line: 1299, col: 11, offset: 47389}, name: "Alphanums", }, }, @@ -9030,40 +9084,40 @@ var g = &grammar{ }, { name: "EscapedMonospaceText", - pos: position{line: 1303, col: 1, offset: 47492}, + pos: position{line: 1303, col: 1, offset: 47562}, expr: &choiceExpr{ - pos: position{line: 1304, col: 5, offset: 47522}, + pos: position{line: 1304, col: 5, offset: 47592}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 1304, col: 5, offset: 47522}, + pos: position{line: 1304, col: 5, offset: 47592}, run: (*parser).callonEscapedMonospaceText2, expr: &seqExpr{ - pos: position{line: 1304, col: 5, offset: 47522}, + pos: position{line: 1304, col: 5, offset: 47592}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1304, col: 5, offset: 47522}, + pos: position{line: 1304, col: 5, offset: 47592}, label: "backslashes", expr: &ruleRefExpr{ - pos: position{line: 1304, col: 18, offset: 47535}, + pos: position{line: 1304, col: 18, offset: 47605}, name: "TwoOrMoreBackslashes", }, }, &litMatcher{ - pos: position{line: 1304, col: 40, offset: 47557}, + pos: position{line: 1304, col: 40, offset: 47627}, val: "``", ignoreCase: false, want: "\"``\"", }, &labeledExpr{ - pos: position{line: 1304, col: 45, offset: 47562}, + pos: position{line: 1304, col: 45, offset: 47632}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1304, col: 55, offset: 47572}, + pos: position{line: 1304, col: 55, offset: 47642}, name: "DoubleQuoteMonospaceTextElements", }, }, &litMatcher{ - pos: position{line: 1304, col: 89, offset: 47606}, + pos: position{line: 1304, col: 89, offset: 47676}, val: "``", ignoreCase: false, want: "\"``\"", @@ -9072,35 +9126,35 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1306, col: 9, offset: 47765}, + pos: position{line: 1306, col: 9, offset: 47835}, run: (*parser).callonEscapedMonospaceText10, expr: &seqExpr{ - pos: position{line: 1306, col: 9, offset: 47765}, + pos: position{line: 1306, col: 9, offset: 47835}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1306, col: 9, offset: 47765}, + pos: position{line: 1306, col: 9, offset: 47835}, label: "backslashes", expr: &ruleRefExpr{ - pos: position{line: 1306, col: 22, offset: 47778}, + pos: position{line: 1306, col: 22, offset: 47848}, name: "OneOrMoreBackslashes", }, }, &litMatcher{ - pos: position{line: 1306, col: 44, offset: 47800}, + pos: position{line: 1306, col: 44, offset: 47870}, val: "``", ignoreCase: false, want: "\"``\"", }, &labeledExpr{ - pos: position{line: 1306, col: 49, offset: 47805}, + pos: position{line: 1306, col: 49, offset: 47875}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1306, col: 59, offset: 47815}, + pos: position{line: 1306, col: 59, offset: 47885}, name: "SingleQuoteMonospaceTextElements", }, }, &litMatcher{ - pos: position{line: 1306, col: 93, offset: 47849}, + pos: position{line: 1306, col: 93, offset: 47919}, val: "`", ignoreCase: false, want: "\"`\"", @@ -9109,35 +9163,35 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1309, col: 9, offset: 48052}, + pos: position{line: 1309, col: 9, offset: 48122}, run: (*parser).callonEscapedMonospaceText18, expr: &seqExpr{ - pos: position{line: 1309, col: 9, offset: 48052}, + pos: position{line: 1309, col: 9, offset: 48122}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1309, col: 9, offset: 48052}, + pos: position{line: 1309, col: 9, offset: 48122}, label: "backslashes", expr: &ruleRefExpr{ - pos: position{line: 1309, col: 22, offset: 48065}, + pos: position{line: 1309, col: 22, offset: 48135}, name: "OneOrMoreBackslashes", }, }, &litMatcher{ - pos: position{line: 1309, col: 44, offset: 48087}, + pos: position{line: 1309, col: 44, offset: 48157}, val: "`", ignoreCase: false, want: "\"`\"", }, &labeledExpr{ - pos: position{line: 1309, col: 48, offset: 48091}, + pos: position{line: 1309, col: 48, offset: 48161}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1309, col: 58, offset: 48101}, + pos: position{line: 1309, col: 58, offset: 48171}, name: "SingleQuoteMonospaceTextElements", }, }, &litMatcher{ - pos: position{line: 1309, col: 92, offset: 48135}, + pos: position{line: 1309, col: 92, offset: 48205}, val: "`", ignoreCase: false, want: "\"`\"", @@ -9150,16 +9204,16 @@ var g = &grammar{ }, { name: "MarkedText", - pos: position{line: 1317, col: 1, offset: 48351}, + pos: position{line: 1317, col: 1, offset: 48421}, expr: &choiceExpr{ - pos: position{line: 1317, col: 15, offset: 48365}, + pos: position{line: 1317, col: 15, offset: 48435}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1317, col: 15, offset: 48365}, + pos: position{line: 1317, col: 15, offset: 48435}, name: "DoubleQuoteMarkedText", }, &ruleRefExpr{ - pos: position{line: 1317, col: 39, offset: 48389}, + pos: position{line: 1317, col: 39, offset: 48459}, name: "SingleQuoteMarkedText", }, }, @@ -9167,40 +9221,40 @@ var g = &grammar{ }, { name: "DoubleQuoteMarkedText", - pos: position{line: 1319, col: 1, offset: 48414}, + pos: position{line: 1319, col: 1, offset: 48484}, expr: &actionExpr{ - pos: position{line: 1319, col: 26, offset: 48439}, + pos: position{line: 1319, col: 26, offset: 48509}, run: (*parser).callonDoubleQuoteMarkedText1, expr: &seqExpr{ - pos: position{line: 1319, col: 26, offset: 48439}, + pos: position{line: 1319, col: 26, offset: 48509}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1319, col: 26, offset: 48439}, + pos: position{line: 1319, col: 26, offset: 48509}, label: "attrs", expr: &zeroOrOneExpr{ - pos: position{line: 1319, col: 32, offset: 48445}, + pos: position{line: 1319, col: 32, offset: 48515}, expr: &ruleRefExpr{ - pos: position{line: 1319, col: 33, offset: 48446}, + pos: position{line: 1319, col: 33, offset: 48516}, name: "QuotedTextAttrs", }, }, }, &litMatcher{ - pos: position{line: 1319, col: 51, offset: 48464}, + pos: position{line: 1319, col: 51, offset: 48534}, val: "##", ignoreCase: false, want: "\"##\"", }, &labeledExpr{ - pos: position{line: 1319, col: 56, offset: 48469}, + pos: position{line: 1319, col: 56, offset: 48539}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1319, col: 66, offset: 48479}, + pos: position{line: 1319, col: 66, offset: 48549}, name: "DoubleQuoteMarkedTextElements", }, }, &litMatcher{ - pos: position{line: 1319, col: 97, offset: 48510}, + pos: position{line: 1319, col: 97, offset: 48580}, val: "##", ignoreCase: false, want: "\"##\"", @@ -9211,37 +9265,37 @@ var g = &grammar{ }, { name: "DoubleQuoteMarkedTextElements", - pos: position{line: 1323, col: 1, offset: 48648}, + pos: position{line: 1323, col: 1, offset: 48718}, expr: &seqExpr{ - pos: position{line: 1323, col: 34, offset: 48681}, + pos: position{line: 1323, col: 34, offset: 48751}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1323, col: 34, offset: 48681}, + pos: position{line: 1323, col: 34, offset: 48751}, name: "DoubleQuoteMarkedTextElement", }, &zeroOrMoreExpr{ - pos: position{line: 1323, col: 63, offset: 48710}, + pos: position{line: 1323, col: 63, offset: 48780}, expr: &seqExpr{ - pos: position{line: 1323, col: 64, offset: 48711}, + pos: position{line: 1323, col: 64, offset: 48781}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1323, col: 64, offset: 48711}, + pos: position{line: 1323, col: 64, offset: 48781}, expr: &litMatcher{ - pos: position{line: 1323, col: 66, offset: 48713}, + pos: position{line: 1323, col: 66, offset: 48783}, val: "##", ignoreCase: false, want: "\"##\"", }, }, &choiceExpr{ - pos: position{line: 1323, col: 73, offset: 48720}, + pos: position{line: 1323, col: 73, offset: 48790}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1323, col: 73, offset: 48720}, + pos: position{line: 1323, col: 73, offset: 48790}, name: "Space", }, &ruleRefExpr{ - pos: position{line: 1323, col: 81, offset: 48728}, + pos: position{line: 1323, col: 81, offset: 48798}, name: "DoubleQuoteMarkedTextElement", }, }, @@ -9254,84 +9308,84 @@ var g = &grammar{ }, { name: "DoubleQuoteMarkedTextElement", - pos: position{line: 1325, col: 1, offset: 48797}, + pos: position{line: 1325, col: 1, offset: 48867}, expr: &choiceExpr{ - pos: position{line: 1325, col: 33, offset: 48829}, + pos: position{line: 1325, col: 33, offset: 48899}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1325, col: 33, offset: 48829}, + pos: position{line: 1325, col: 33, offset: 48899}, name: "Word", }, &ruleRefExpr{ - pos: position{line: 1326, col: 11, offset: 48845}, + pos: position{line: 1326, col: 11, offset: 48915}, name: "SingleQuoteMarkedText", }, &seqExpr{ - pos: position{line: 1327, col: 11, offset: 48878}, + pos: position{line: 1327, col: 11, offset: 48948}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1327, col: 11, offset: 48878}, + pos: position{line: 1327, col: 11, offset: 48948}, name: "Newline", }, ¬Expr{ - pos: position{line: 1327, col: 19, offset: 48886}, + pos: position{line: 1327, col: 19, offset: 48956}, expr: &ruleRefExpr{ - pos: position{line: 1327, col: 20, offset: 48887}, + pos: position{line: 1327, col: 20, offset: 48957}, name: "Newline", }, }, }, }, &ruleRefExpr{ - pos: position{line: 1328, col: 11, offset: 48906}, + pos: position{line: 1328, col: 11, offset: 48976}, name: "QuotedString", }, &ruleRefExpr{ - pos: position{line: 1329, col: 11, offset: 48930}, + pos: position{line: 1329, col: 11, offset: 49000}, name: "BoldText", }, &ruleRefExpr{ - pos: position{line: 1330, col: 11, offset: 48950}, + pos: position{line: 1330, col: 11, offset: 49020}, name: "ItalicText", }, &ruleRefExpr{ - pos: position{line: 1331, col: 11, offset: 48972}, + pos: position{line: 1331, col: 11, offset: 49042}, name: "MonospaceText", }, &ruleRefExpr{ - pos: position{line: 1332, col: 11, offset: 48997}, + pos: position{line: 1332, col: 11, offset: 49067}, name: "SubscriptText", }, &ruleRefExpr{ - pos: position{line: 1333, col: 11, offset: 49022}, + pos: position{line: 1333, col: 11, offset: 49092}, name: "SuperscriptText", }, &ruleRefExpr{ - pos: position{line: 1334, col: 11, offset: 49049}, + pos: position{line: 1334, col: 11, offset: 49119}, name: "Symbol", }, &ruleRefExpr{ - pos: position{line: 1335, col: 11, offset: 49067}, + pos: position{line: 1335, col: 11, offset: 49137}, name: "InlineIcon", }, &ruleRefExpr{ - pos: position{line: 1336, col: 11, offset: 49089}, + pos: position{line: 1336, col: 11, offset: 49159}, name: "InlineImage", }, &ruleRefExpr{ - pos: position{line: 1337, col: 11, offset: 49112}, + pos: position{line: 1337, col: 11, offset: 49182}, name: "Link", }, &ruleRefExpr{ - pos: position{line: 1338, col: 11, offset: 49128}, + pos: position{line: 1338, col: 11, offset: 49198}, name: "InlinePassthrough", }, &ruleRefExpr{ - pos: position{line: 1339, col: 11, offset: 49157}, + pos: position{line: 1339, col: 11, offset: 49227}, name: "ImpliedApostrophe", }, &ruleRefExpr{ - pos: position{line: 1340, col: 11, offset: 49186}, + pos: position{line: 1340, col: 11, offset: 49256}, name: "DoubleQuoteMarkedTextFallbackCharacter", }, }, @@ -9339,31 +9393,31 @@ var g = &grammar{ }, { name: "DoubleQuoteMarkedTextFallbackCharacter", - pos: position{line: 1342, col: 1, offset: 49228}, + pos: position{line: 1342, col: 1, offset: 49298}, expr: &choiceExpr{ - pos: position{line: 1343, col: 5, offset: 49275}, + pos: position{line: 1343, col: 5, offset: 49345}, alternatives: []interface{}{ &charClassMatcher{ - pos: position{line: 1343, col: 5, offset: 49275}, + pos: position{line: 1343, col: 5, offset: 49345}, val: "[^\\r\\n#]", chars: []rune{'\r', '\n', '#'}, ignoreCase: false, inverted: true, }, &actionExpr{ - pos: position{line: 1344, col: 7, offset: 49375}, + pos: position{line: 1344, col: 7, offset: 49445}, run: (*parser).callonDoubleQuoteMarkedTextFallbackCharacter3, expr: &seqExpr{ - pos: position{line: 1344, col: 7, offset: 49375}, + pos: position{line: 1344, col: 7, offset: 49445}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1344, col: 7, offset: 49375}, + pos: position{line: 1344, col: 7, offset: 49445}, val: "##", ignoreCase: false, want: "\"##\"", }, &ruleRefExpr{ - pos: position{line: 1344, col: 12, offset: 49380}, + pos: position{line: 1344, col: 12, offset: 49450}, name: "Alphanums", }, }, @@ -9374,40 +9428,40 @@ var g = &grammar{ }, { name: "SingleQuoteMarkedText", - pos: position{line: 1348, col: 1, offset: 49549}, + pos: position{line: 1348, col: 1, offset: 49619}, expr: &choiceExpr{ - pos: position{line: 1348, col: 26, offset: 49574}, + pos: position{line: 1348, col: 26, offset: 49644}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 1348, col: 26, offset: 49574}, + pos: position{line: 1348, col: 26, offset: 49644}, run: (*parser).callonSingleQuoteMarkedText2, expr: &seqExpr{ - pos: position{line: 1348, col: 26, offset: 49574}, + pos: position{line: 1348, col: 26, offset: 49644}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1348, col: 26, offset: 49574}, + pos: position{line: 1348, col: 26, offset: 49644}, label: "attrs", expr: &zeroOrOneExpr{ - pos: position{line: 1348, col: 32, offset: 49580}, + pos: position{line: 1348, col: 32, offset: 49650}, expr: &ruleRefExpr{ - pos: position{line: 1348, col: 33, offset: 49581}, + pos: position{line: 1348, col: 33, offset: 49651}, name: "QuotedTextAttrs", }, }, }, &seqExpr{ - pos: position{line: 1348, col: 52, offset: 49600}, + pos: position{line: 1348, col: 52, offset: 49670}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1348, col: 52, offset: 49600}, + pos: position{line: 1348, col: 52, offset: 49670}, val: "#", ignoreCase: false, want: "\"#\"", }, ¬Expr{ - pos: position{line: 1348, col: 56, offset: 49604}, + pos: position{line: 1348, col: 56, offset: 49674}, expr: &litMatcher{ - pos: position{line: 1348, col: 57, offset: 49605}, + pos: position{line: 1348, col: 57, offset: 49675}, val: "#", ignoreCase: false, want: "\"#\"", @@ -9416,15 +9470,15 @@ var g = &grammar{ }, }, &labeledExpr{ - pos: position{line: 1348, col: 62, offset: 49610}, + pos: position{line: 1348, col: 62, offset: 49680}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1348, col: 72, offset: 49620}, + pos: position{line: 1348, col: 72, offset: 49690}, name: "SingleQuoteMarkedTextElements", }, }, &litMatcher{ - pos: position{line: 1348, col: 103, offset: 49651}, + pos: position{line: 1348, col: 103, offset: 49721}, val: "#", ignoreCase: false, want: "\"#\"", @@ -9433,49 +9487,49 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1350, col: 5, offset: 49843}, + pos: position{line: 1350, col: 5, offset: 49913}, run: (*parser).callonSingleQuoteMarkedText14, expr: &seqExpr{ - pos: position{line: 1350, col: 5, offset: 49843}, + pos: position{line: 1350, col: 5, offset: 49913}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1350, col: 5, offset: 49843}, + pos: position{line: 1350, col: 5, offset: 49913}, label: "attrs", expr: &zeroOrOneExpr{ - pos: position{line: 1350, col: 11, offset: 49849}, + pos: position{line: 1350, col: 11, offset: 49919}, expr: &ruleRefExpr{ - pos: position{line: 1350, col: 12, offset: 49850}, + pos: position{line: 1350, col: 12, offset: 49920}, name: "QuotedTextAttrs", }, }, }, &litMatcher{ - pos: position{line: 1350, col: 30, offset: 49868}, + pos: position{line: 1350, col: 30, offset: 49938}, val: "#", ignoreCase: false, want: "\"#\"", }, &labeledExpr{ - pos: position{line: 1350, col: 34, offset: 49872}, + pos: position{line: 1350, col: 34, offset: 49942}, label: "elements", expr: &seqExpr{ - pos: position{line: 1350, col: 44, offset: 49882}, + pos: position{line: 1350, col: 44, offset: 49952}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1350, col: 44, offset: 49882}, + pos: position{line: 1350, col: 44, offset: 49952}, val: "#", ignoreCase: false, want: "\"#\"", }, &ruleRefExpr{ - pos: position{line: 1350, col: 48, offset: 49886}, + pos: position{line: 1350, col: 48, offset: 49956}, name: "SingleQuoteMarkedTextElements", }, }, }, }, &litMatcher{ - pos: position{line: 1350, col: 79, offset: 49917}, + pos: position{line: 1350, col: 79, offset: 49987}, val: "#", ignoreCase: false, want: "\"#\"", @@ -9488,21 +9542,21 @@ var g = &grammar{ }, { name: "SingleQuoteMarkedTextElements", - pos: position{line: 1354, col: 1, offset: 50130}, + pos: position{line: 1354, col: 1, offset: 50200}, expr: &seqExpr{ - pos: position{line: 1354, col: 34, offset: 50163}, + pos: position{line: 1354, col: 34, offset: 50233}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1354, col: 34, offset: 50163}, + pos: position{line: 1354, col: 34, offset: 50233}, expr: &ruleRefExpr{ - pos: position{line: 1354, col: 35, offset: 50164}, + pos: position{line: 1354, col: 35, offset: 50234}, name: "Space", }, }, &oneOrMoreExpr{ - pos: position{line: 1354, col: 41, offset: 50170}, + pos: position{line: 1354, col: 41, offset: 50240}, expr: &ruleRefExpr{ - pos: position{line: 1354, col: 41, offset: 50170}, + pos: position{line: 1354, col: 41, offset: 50240}, name: "SingleQuoteMarkedTextElement", }, }, @@ -9511,63 +9565,63 @@ var g = &grammar{ }, { name: "SingleQuoteMarkedTextElement", - pos: position{line: 1356, col: 1, offset: 50203}, + pos: position{line: 1356, col: 1, offset: 50273}, expr: &choiceExpr{ - pos: position{line: 1356, col: 33, offset: 50235}, + pos: position{line: 1356, col: 33, offset: 50305}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1356, col: 33, offset: 50235}, + pos: position{line: 1356, col: 33, offset: 50305}, name: "Word", }, &ruleRefExpr{ - pos: position{line: 1357, col: 11, offset: 50251}, + pos: position{line: 1357, col: 11, offset: 50321}, name: "DoubleQuoteMarkedText", }, &seqExpr{ - pos: position{line: 1358, col: 11, offset: 50284}, + pos: position{line: 1358, col: 11, offset: 50354}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1358, col: 11, offset: 50284}, + pos: position{line: 1358, col: 11, offset: 50354}, name: "Newline", }, ¬Expr{ - pos: position{line: 1358, col: 19, offset: 50292}, + pos: position{line: 1358, col: 19, offset: 50362}, expr: &ruleRefExpr{ - pos: position{line: 1358, col: 20, offset: 50293}, + pos: position{line: 1358, col: 20, offset: 50363}, name: "Newline", }, }, }, }, &ruleRefExpr{ - pos: position{line: 1359, col: 11, offset: 50312}, + pos: position{line: 1359, col: 11, offset: 50382}, name: "QuotedString", }, &seqExpr{ - pos: position{line: 1360, col: 11, offset: 50336}, + pos: position{line: 1360, col: 11, offset: 50406}, exprs: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 1360, col: 11, offset: 50336}, + pos: position{line: 1360, col: 11, offset: 50406}, expr: &ruleRefExpr{ - pos: position{line: 1360, col: 11, offset: 50336}, + pos: position{line: 1360, col: 11, offset: 50406}, name: "Space", }, }, &zeroOrOneExpr{ - pos: position{line: 1360, col: 18, offset: 50343}, + pos: position{line: 1360, col: 18, offset: 50413}, expr: &seqExpr{ - pos: position{line: 1360, col: 19, offset: 50344}, + pos: position{line: 1360, col: 19, offset: 50414}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1360, col: 19, offset: 50344}, + pos: position{line: 1360, col: 19, offset: 50414}, val: "#", ignoreCase: false, want: "\"#\"", }, ¬Expr{ - pos: position{line: 1360, col: 23, offset: 50348}, + pos: position{line: 1360, col: 23, offset: 50418}, expr: &litMatcher{ - pos: position{line: 1360, col: 24, offset: 50349}, + pos: position{line: 1360, col: 24, offset: 50419}, val: "#", ignoreCase: false, want: "\"#\"", @@ -9579,55 +9633,55 @@ var g = &grammar{ }, }, &ruleRefExpr{ - pos: position{line: 1361, col: 11, offset: 50366}, + pos: position{line: 1361, col: 11, offset: 50436}, name: "BoldText", }, &ruleRefExpr{ - pos: position{line: 1362, col: 11, offset: 50386}, + pos: position{line: 1362, col: 11, offset: 50456}, name: "ItalicText", }, &ruleRefExpr{ - pos: position{line: 1363, col: 11, offset: 50408}, + pos: position{line: 1363, col: 11, offset: 50478}, name: "MonospaceText", }, &ruleRefExpr{ - pos: position{line: 1364, col: 11, offset: 50433}, + pos: position{line: 1364, col: 11, offset: 50503}, name: "SubscriptText", }, &ruleRefExpr{ - pos: position{line: 1365, col: 11, offset: 50458}, + pos: position{line: 1365, col: 11, offset: 50528}, name: "SuperscriptText", }, &ruleRefExpr{ - pos: position{line: 1366, col: 11, offset: 50485}, + pos: position{line: 1366, col: 11, offset: 50555}, name: "Symbol", }, &ruleRefExpr{ - pos: position{line: 1367, col: 11, offset: 50503}, + pos: position{line: 1367, col: 11, offset: 50573}, name: "InlineIcon", }, &ruleRefExpr{ - pos: position{line: 1368, col: 11, offset: 50525}, + pos: position{line: 1368, col: 11, offset: 50595}, name: "InlineImage", }, &ruleRefExpr{ - pos: position{line: 1369, col: 11, offset: 50548}, + pos: position{line: 1369, col: 11, offset: 50618}, name: "Link", }, &ruleRefExpr{ - pos: position{line: 1370, col: 11, offset: 50564}, + pos: position{line: 1370, col: 11, offset: 50634}, name: "InlinePassthrough", }, &ruleRefExpr{ - pos: position{line: 1371, col: 11, offset: 50593}, + pos: position{line: 1371, col: 11, offset: 50663}, name: "AttributeSubstitution", }, &ruleRefExpr{ - pos: position{line: 1372, col: 11, offset: 50626}, + pos: position{line: 1372, col: 11, offset: 50696}, name: "ImpliedApostrophe", }, &ruleRefExpr{ - pos: position{line: 1373, col: 11, offset: 50655}, + pos: position{line: 1373, col: 11, offset: 50725}, name: "SingleQuoteMarkedTextFallbackCharacter", }, }, @@ -9635,31 +9689,31 @@ var g = &grammar{ }, { name: "SingleQuoteMarkedTextFallbackCharacter", - pos: position{line: 1375, col: 1, offset: 50697}, + pos: position{line: 1375, col: 1, offset: 50767}, expr: &choiceExpr{ - pos: position{line: 1376, col: 5, offset: 50744}, + pos: position{line: 1376, col: 5, offset: 50814}, alternatives: []interface{}{ &charClassMatcher{ - pos: position{line: 1376, col: 5, offset: 50744}, + pos: position{line: 1376, col: 5, offset: 50814}, val: "[^\\r\\n#]", chars: []rune{'\r', '\n', '#'}, ignoreCase: false, inverted: true, }, &actionExpr{ - pos: position{line: 1377, col: 7, offset: 50842}, + pos: position{line: 1377, col: 7, offset: 50912}, run: (*parser).callonSingleQuoteMarkedTextFallbackCharacter3, expr: &seqExpr{ - pos: position{line: 1377, col: 7, offset: 50842}, + pos: position{line: 1377, col: 7, offset: 50912}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1377, col: 7, offset: 50842}, + pos: position{line: 1377, col: 7, offset: 50912}, val: "#", ignoreCase: false, want: "\"#\"", }, &ruleRefExpr{ - pos: position{line: 1377, col: 11, offset: 50846}, + pos: position{line: 1377, col: 11, offset: 50916}, name: "Alphanums", }, }, @@ -9670,40 +9724,40 @@ var g = &grammar{ }, { name: "EscapedMarkedText", - pos: position{line: 1381, col: 1, offset: 51013}, + pos: position{line: 1381, col: 1, offset: 51083}, expr: &choiceExpr{ - pos: position{line: 1382, col: 5, offset: 51039}, + pos: position{line: 1382, col: 5, offset: 51109}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 1382, col: 5, offset: 51039}, + pos: position{line: 1382, col: 5, offset: 51109}, run: (*parser).callonEscapedMarkedText2, expr: &seqExpr{ - pos: position{line: 1382, col: 5, offset: 51039}, + pos: position{line: 1382, col: 5, offset: 51109}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1382, col: 5, offset: 51039}, + pos: position{line: 1382, col: 5, offset: 51109}, label: "backslashes", expr: &ruleRefExpr{ - pos: position{line: 1382, col: 18, offset: 51052}, + pos: position{line: 1382, col: 18, offset: 51122}, name: "TwoOrMoreBackslashes", }, }, &litMatcher{ - pos: position{line: 1382, col: 40, offset: 51074}, + pos: position{line: 1382, col: 40, offset: 51144}, val: "##", ignoreCase: false, want: "\"##\"", }, &labeledExpr{ - pos: position{line: 1382, col: 45, offset: 51079}, + pos: position{line: 1382, col: 45, offset: 51149}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1382, col: 55, offset: 51089}, + pos: position{line: 1382, col: 55, offset: 51159}, name: "DoubleQuoteMarkedTextElements", }, }, &litMatcher{ - pos: position{line: 1382, col: 86, offset: 51120}, + pos: position{line: 1382, col: 86, offset: 51190}, val: "##", ignoreCase: false, want: "\"##\"", @@ -9712,35 +9766,35 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1384, col: 9, offset: 51279}, + pos: position{line: 1384, col: 9, offset: 51349}, run: (*parser).callonEscapedMarkedText10, expr: &seqExpr{ - pos: position{line: 1384, col: 9, offset: 51279}, + pos: position{line: 1384, col: 9, offset: 51349}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1384, col: 9, offset: 51279}, + pos: position{line: 1384, col: 9, offset: 51349}, label: "backslashes", expr: &ruleRefExpr{ - pos: position{line: 1384, col: 22, offset: 51292}, + pos: position{line: 1384, col: 22, offset: 51362}, name: "OneOrMoreBackslashes", }, }, &litMatcher{ - pos: position{line: 1384, col: 44, offset: 51314}, + pos: position{line: 1384, col: 44, offset: 51384}, val: "##", ignoreCase: false, want: "\"##\"", }, &labeledExpr{ - pos: position{line: 1384, col: 49, offset: 51319}, + pos: position{line: 1384, col: 49, offset: 51389}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1384, col: 59, offset: 51329}, + pos: position{line: 1384, col: 59, offset: 51399}, name: "SingleQuoteMarkedTextElements", }, }, &litMatcher{ - pos: position{line: 1384, col: 90, offset: 51360}, + pos: position{line: 1384, col: 90, offset: 51430}, val: "#", ignoreCase: false, want: "\"#\"", @@ -9749,35 +9803,35 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1387, col: 9, offset: 51563}, + pos: position{line: 1387, col: 9, offset: 51633}, run: (*parser).callonEscapedMarkedText18, expr: &seqExpr{ - pos: position{line: 1387, col: 9, offset: 51563}, + pos: position{line: 1387, col: 9, offset: 51633}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1387, col: 9, offset: 51563}, + pos: position{line: 1387, col: 9, offset: 51633}, label: "backslashes", expr: &ruleRefExpr{ - pos: position{line: 1387, col: 22, offset: 51576}, + pos: position{line: 1387, col: 22, offset: 51646}, name: "OneOrMoreBackslashes", }, }, &litMatcher{ - pos: position{line: 1387, col: 44, offset: 51598}, + pos: position{line: 1387, col: 44, offset: 51668}, val: "#", ignoreCase: false, want: "\"#\"", }, &labeledExpr{ - pos: position{line: 1387, col: 48, offset: 51602}, + pos: position{line: 1387, col: 48, offset: 51672}, label: "elements", expr: &ruleRefExpr{ - pos: position{line: 1387, col: 58, offset: 51612}, + pos: position{line: 1387, col: 58, offset: 51682}, name: "SingleQuoteMarkedTextElements", }, }, &litMatcher{ - pos: position{line: 1387, col: 89, offset: 51643}, + pos: position{line: 1387, col: 89, offset: 51713}, val: "#", ignoreCase: false, want: "\"#\"", @@ -9790,40 +9844,40 @@ var g = &grammar{ }, { name: "SubscriptText", - pos: position{line: 1392, col: 1, offset: 51798}, + pos: position{line: 1392, col: 1, offset: 51868}, expr: &actionExpr{ - pos: position{line: 1392, col: 18, offset: 51815}, + pos: position{line: 1392, col: 18, offset: 51885}, run: (*parser).callonSubscriptText1, expr: &seqExpr{ - pos: position{line: 1392, col: 18, offset: 51815}, + pos: position{line: 1392, col: 18, offset: 51885}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1392, col: 18, offset: 51815}, + pos: position{line: 1392, col: 18, offset: 51885}, label: "attrs", expr: &zeroOrOneExpr{ - pos: position{line: 1392, col: 24, offset: 51821}, + pos: position{line: 1392, col: 24, offset: 51891}, expr: &ruleRefExpr{ - pos: position{line: 1392, col: 25, offset: 51822}, + pos: position{line: 1392, col: 25, offset: 51892}, name: "QuotedTextAttrs", }, }, }, &litMatcher{ - pos: position{line: 1392, col: 43, offset: 51840}, + pos: position{line: 1392, col: 43, offset: 51910}, val: "~", ignoreCase: false, want: "\"~\"", }, &labeledExpr{ - pos: position{line: 1392, col: 47, offset: 51844}, + pos: position{line: 1392, col: 47, offset: 51914}, label: "element", expr: &ruleRefExpr{ - pos: position{line: 1392, col: 56, offset: 51853}, + pos: position{line: 1392, col: 56, offset: 51923}, name: "SubscriptTextElement", }, }, &litMatcher{ - pos: position{line: 1392, col: 78, offset: 51875}, + pos: position{line: 1392, col: 78, offset: 51945}, val: "~", ignoreCase: false, want: "\"~\"", @@ -9834,16 +9888,16 @@ var g = &grammar{ }, { name: "SubscriptTextElement", - pos: position{line: 1396, col: 1, offset: 51975}, + pos: position{line: 1396, col: 1, offset: 52045}, expr: &choiceExpr{ - pos: position{line: 1396, col: 25, offset: 51999}, + pos: position{line: 1396, col: 25, offset: 52069}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1396, col: 25, offset: 51999}, + pos: position{line: 1396, col: 25, offset: 52069}, name: "QuotedText", }, &ruleRefExpr{ - pos: position{line: 1396, col: 38, offset: 52012}, + pos: position{line: 1396, col: 38, offset: 52082}, name: "NonSubscriptText", }, }, @@ -9851,14 +9905,14 @@ var g = &grammar{ }, { name: "NonSubscriptText", - pos: position{line: 1398, col: 1, offset: 52033}, + pos: position{line: 1398, col: 1, offset: 52103}, expr: &actionExpr{ - pos: position{line: 1398, col: 21, offset: 52053}, + pos: position{line: 1398, col: 21, offset: 52123}, run: (*parser).callonNonSubscriptText1, expr: &oneOrMoreExpr{ - pos: position{line: 1398, col: 21, offset: 52053}, + pos: position{line: 1398, col: 21, offset: 52123}, expr: &charClassMatcher{ - pos: position{line: 1398, col: 21, offset: 52053}, + pos: position{line: 1398, col: 21, offset: 52123}, val: "[^\\r\\n ~]", chars: []rune{'\r', '\n', ' ', '~'}, ignoreCase: false, @@ -9869,37 +9923,37 @@ var g = &grammar{ }, { name: "EscapedSubscriptText", - pos: position{line: 1402, col: 1, offset: 52134}, + pos: position{line: 1402, col: 1, offset: 52204}, expr: &actionExpr{ - pos: position{line: 1402, col: 25, offset: 52158}, + pos: position{line: 1402, col: 25, offset: 52228}, run: (*parser).callonEscapedSubscriptText1, expr: &seqExpr{ - pos: position{line: 1402, col: 25, offset: 52158}, + pos: position{line: 1402, col: 25, offset: 52228}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1402, col: 25, offset: 52158}, + pos: position{line: 1402, col: 25, offset: 52228}, label: "backslashes", expr: &ruleRefExpr{ - pos: position{line: 1402, col: 38, offset: 52171}, + pos: position{line: 1402, col: 38, offset: 52241}, name: "OneOrMoreBackslashes", }, }, &litMatcher{ - pos: position{line: 1402, col: 60, offset: 52193}, + pos: position{line: 1402, col: 60, offset: 52263}, val: "~", ignoreCase: false, want: "\"~\"", }, &labeledExpr{ - pos: position{line: 1402, col: 64, offset: 52197}, + pos: position{line: 1402, col: 64, offset: 52267}, label: "element", expr: &ruleRefExpr{ - pos: position{line: 1402, col: 73, offset: 52206}, + pos: position{line: 1402, col: 73, offset: 52276}, name: "SubscriptTextElement", }, }, &litMatcher{ - pos: position{line: 1402, col: 95, offset: 52228}, + pos: position{line: 1402, col: 95, offset: 52298}, val: "~", ignoreCase: false, want: "\"~\"", @@ -9910,40 +9964,40 @@ var g = &grammar{ }, { name: "SuperscriptText", - pos: position{line: 1406, col: 1, offset: 52361}, + pos: position{line: 1406, col: 1, offset: 52431}, expr: &actionExpr{ - pos: position{line: 1406, col: 20, offset: 52380}, + pos: position{line: 1406, col: 20, offset: 52450}, run: (*parser).callonSuperscriptText1, expr: &seqExpr{ - pos: position{line: 1406, col: 20, offset: 52380}, + pos: position{line: 1406, col: 20, offset: 52450}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1406, col: 20, offset: 52380}, + pos: position{line: 1406, col: 20, offset: 52450}, label: "attrs", expr: &zeroOrOneExpr{ - pos: position{line: 1406, col: 26, offset: 52386}, + pos: position{line: 1406, col: 26, offset: 52456}, expr: &ruleRefExpr{ - pos: position{line: 1406, col: 27, offset: 52387}, + pos: position{line: 1406, col: 27, offset: 52457}, name: "QuotedTextAttrs", }, }, }, &litMatcher{ - pos: position{line: 1406, col: 45, offset: 52405}, + pos: position{line: 1406, col: 45, offset: 52475}, val: "^", ignoreCase: false, want: "\"^\"", }, &labeledExpr{ - pos: position{line: 1406, col: 49, offset: 52409}, + pos: position{line: 1406, col: 49, offset: 52479}, label: "element", expr: &ruleRefExpr{ - pos: position{line: 1406, col: 58, offset: 52418}, + pos: position{line: 1406, col: 58, offset: 52488}, name: "SuperscriptTextElement", }, }, &litMatcher{ - pos: position{line: 1406, col: 82, offset: 52442}, + pos: position{line: 1406, col: 82, offset: 52512}, val: "^", ignoreCase: false, want: "\"^\"", @@ -9954,16 +10008,16 @@ var g = &grammar{ }, { name: "SuperscriptTextElement", - pos: position{line: 1410, col: 1, offset: 52544}, + pos: position{line: 1410, col: 1, offset: 52614}, expr: &choiceExpr{ - pos: position{line: 1410, col: 27, offset: 52570}, + pos: position{line: 1410, col: 27, offset: 52640}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1410, col: 27, offset: 52570}, + pos: position{line: 1410, col: 27, offset: 52640}, name: "QuotedText", }, &ruleRefExpr{ - pos: position{line: 1410, col: 40, offset: 52583}, + pos: position{line: 1410, col: 40, offset: 52653}, name: "NonSuperscriptText", }, }, @@ -9971,14 +10025,14 @@ var g = &grammar{ }, { name: "NonSuperscriptText", - pos: position{line: 1412, col: 1, offset: 52606}, + pos: position{line: 1412, col: 1, offset: 52676}, expr: &actionExpr{ - pos: position{line: 1412, col: 23, offset: 52628}, + pos: position{line: 1412, col: 23, offset: 52698}, run: (*parser).callonNonSuperscriptText1, expr: &oneOrMoreExpr{ - pos: position{line: 1412, col: 23, offset: 52628}, + pos: position{line: 1412, col: 23, offset: 52698}, expr: &charClassMatcher{ - pos: position{line: 1412, col: 23, offset: 52628}, + pos: position{line: 1412, col: 23, offset: 52698}, val: "[^\\r\\n ^]", chars: []rune{'\r', '\n', ' ', '^'}, ignoreCase: false, @@ -9989,37 +10043,37 @@ var g = &grammar{ }, { name: "EscapedSuperscriptText", - pos: position{line: 1416, col: 1, offset: 52709}, + pos: position{line: 1416, col: 1, offset: 52779}, expr: &actionExpr{ - pos: position{line: 1416, col: 27, offset: 52735}, + pos: position{line: 1416, col: 27, offset: 52805}, run: (*parser).callonEscapedSuperscriptText1, expr: &seqExpr{ - pos: position{line: 1416, col: 27, offset: 52735}, + pos: position{line: 1416, col: 27, offset: 52805}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1416, col: 27, offset: 52735}, + pos: position{line: 1416, col: 27, offset: 52805}, label: "backslashes", expr: &ruleRefExpr{ - pos: position{line: 1416, col: 40, offset: 52748}, + pos: position{line: 1416, col: 40, offset: 52818}, name: "OneOrMoreBackslashes", }, }, &litMatcher{ - pos: position{line: 1416, col: 62, offset: 52770}, + pos: position{line: 1416, col: 62, offset: 52840}, val: "^", ignoreCase: false, want: "\"^\"", }, &labeledExpr{ - pos: position{line: 1416, col: 66, offset: 52774}, + pos: position{line: 1416, col: 66, offset: 52844}, label: "element", expr: &ruleRefExpr{ - pos: position{line: 1416, col: 75, offset: 52783}, + pos: position{line: 1416, col: 75, offset: 52853}, name: "SuperscriptTextElement", }, }, &litMatcher{ - pos: position{line: 1416, col: 99, offset: 52807}, + pos: position{line: 1416, col: 99, offset: 52877}, val: "^", ignoreCase: false, want: "\"^\"", @@ -10030,20 +10084,20 @@ var g = &grammar{ }, { name: "InlinePassthrough", - pos: position{line: 1423, col: 1, offset: 53056}, + pos: position{line: 1423, col: 1, offset: 53126}, expr: &choiceExpr{ - pos: position{line: 1423, col: 22, offset: 53077}, + pos: position{line: 1423, col: 22, offset: 53147}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1423, col: 22, offset: 53077}, + pos: position{line: 1423, col: 22, offset: 53147}, name: "TriplePlusPassthrough", }, &ruleRefExpr{ - pos: position{line: 1423, col: 46, offset: 53101}, + pos: position{line: 1423, col: 46, offset: 53171}, name: "SinglePlusPassthrough", }, &ruleRefExpr{ - pos: position{line: 1423, col: 70, offset: 53125}, + pos: position{line: 1423, col: 70, offset: 53195}, name: "PassthroughMacro", }, }, @@ -10051,9 +10105,9 @@ var g = &grammar{ }, { name: "SinglePlusPassthroughPrefix", - pos: position{line: 1425, col: 1, offset: 53145}, + pos: position{line: 1425, col: 1, offset: 53215}, expr: &litMatcher{ - pos: position{line: 1425, col: 32, offset: 53176}, + pos: position{line: 1425, col: 32, offset: 53246}, val: "+", ignoreCase: false, want: "\"+\"", @@ -10061,33 +10115,33 @@ var g = &grammar{ }, { name: "SinglePlusPassthrough", - pos: position{line: 1427, col: 1, offset: 53183}, + pos: position{line: 1427, col: 1, offset: 53253}, expr: &actionExpr{ - pos: position{line: 1427, col: 26, offset: 53208}, + pos: position{line: 1427, col: 26, offset: 53278}, run: (*parser).callonSinglePlusPassthrough1, expr: &seqExpr{ - pos: position{line: 1427, col: 26, offset: 53208}, + pos: position{line: 1427, col: 26, offset: 53278}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1427, col: 26, offset: 53208}, + pos: position{line: 1427, col: 26, offset: 53278}, name: "SinglePlusPassthroughPrefix", }, &labeledExpr{ - pos: position{line: 1427, col: 54, offset: 53236}, + pos: position{line: 1427, col: 54, offset: 53306}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1427, col: 63, offset: 53245}, + pos: position{line: 1427, col: 63, offset: 53315}, name: "SinglePlusPassthroughContent", }, }, &ruleRefExpr{ - pos: position{line: 1427, col: 93, offset: 53275}, + pos: position{line: 1427, col: 93, offset: 53345}, name: "SinglePlusPassthroughPrefix", }, ¬Expr{ - pos: position{line: 1427, col: 121, offset: 53303}, + pos: position{line: 1427, col: 121, offset: 53373}, expr: &ruleRefExpr{ - pos: position{line: 1427, col: 122, offset: 53304}, + pos: position{line: 1427, col: 122, offset: 53374}, name: "Alphanum", }, }, @@ -10097,85 +10151,85 @@ var g = &grammar{ }, { name: "SinglePlusPassthroughContent", - pos: position{line: 1431, col: 1, offset: 53413}, + pos: position{line: 1431, col: 1, offset: 53483}, expr: &choiceExpr{ - pos: position{line: 1431, col: 33, offset: 53445}, + pos: position{line: 1431, col: 33, offset: 53515}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 1431, col: 34, offset: 53446}, + pos: position{line: 1431, col: 34, offset: 53516}, run: (*parser).callonSinglePlusPassthroughContent2, expr: &seqExpr{ - pos: position{line: 1431, col: 34, offset: 53446}, + pos: position{line: 1431, col: 34, offset: 53516}, exprs: []interface{}{ &seqExpr{ - pos: position{line: 1431, col: 35, offset: 53447}, + pos: position{line: 1431, col: 35, offset: 53517}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1431, col: 35, offset: 53447}, + pos: position{line: 1431, col: 35, offset: 53517}, expr: &ruleRefExpr{ - pos: position{line: 1431, col: 36, offset: 53448}, + pos: position{line: 1431, col: 36, offset: 53518}, name: "SinglePlusPassthroughPrefix", }, }, ¬Expr{ - pos: position{line: 1431, col: 64, offset: 53476}, + pos: position{line: 1431, col: 64, offset: 53546}, expr: &ruleRefExpr{ - pos: position{line: 1431, col: 65, offset: 53477}, + pos: position{line: 1431, col: 65, offset: 53547}, name: "Space", }, }, ¬Expr{ - pos: position{line: 1431, col: 71, offset: 53483}, + pos: position{line: 1431, col: 71, offset: 53553}, expr: &ruleRefExpr{ - pos: position{line: 1431, col: 72, offset: 53484}, + pos: position{line: 1431, col: 72, offset: 53554}, name: "Newline", }, }, &anyMatcher{ - line: 1431, col: 80, offset: 53492, + line: 1431, col: 80, offset: 53562, }, }, }, &zeroOrMoreExpr{ - pos: position{line: 1431, col: 83, offset: 53495}, + pos: position{line: 1431, col: 83, offset: 53565}, expr: &seqExpr{ - pos: position{line: 1431, col: 84, offset: 53496}, + pos: position{line: 1431, col: 84, offset: 53566}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1431, col: 84, offset: 53496}, + pos: position{line: 1431, col: 84, offset: 53566}, expr: &seqExpr{ - pos: position{line: 1431, col: 86, offset: 53498}, + pos: position{line: 1431, col: 86, offset: 53568}, exprs: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 1431, col: 86, offset: 53498}, + pos: position{line: 1431, col: 86, offset: 53568}, expr: &ruleRefExpr{ - pos: position{line: 1431, col: 86, offset: 53498}, + pos: position{line: 1431, col: 86, offset: 53568}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1431, col: 93, offset: 53505}, + pos: position{line: 1431, col: 93, offset: 53575}, name: "SinglePlusPassthroughPrefix", }, }, }, }, ¬Expr{ - pos: position{line: 1431, col: 122, offset: 53534}, + pos: position{line: 1431, col: 122, offset: 53604}, expr: &ruleRefExpr{ - pos: position{line: 1431, col: 123, offset: 53535}, + pos: position{line: 1431, col: 123, offset: 53605}, name: "SinglePlusPassthroughPrefix", }, }, ¬Expr{ - pos: position{line: 1431, col: 151, offset: 53563}, + pos: position{line: 1431, col: 151, offset: 53633}, expr: &ruleRefExpr{ - pos: position{line: 1431, col: 152, offset: 53564}, + pos: position{line: 1431, col: 152, offset: 53634}, name: "Newline", }, }, &anyMatcher{ - line: 1431, col: 160, offset: 53572, + line: 1431, col: 160, offset: 53642, }, }, }, @@ -10184,34 +10238,34 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1433, col: 7, offset: 53716}, + pos: position{line: 1433, col: 7, offset: 53786}, run: (*parser).callonSinglePlusPassthroughContent24, expr: &seqExpr{ - pos: position{line: 1433, col: 8, offset: 53717}, + pos: position{line: 1433, col: 8, offset: 53787}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1433, col: 8, offset: 53717}, + pos: position{line: 1433, col: 8, offset: 53787}, expr: &ruleRefExpr{ - pos: position{line: 1433, col: 9, offset: 53718}, + pos: position{line: 1433, col: 9, offset: 53788}, name: "Space", }, }, ¬Expr{ - pos: position{line: 1433, col: 15, offset: 53724}, + pos: position{line: 1433, col: 15, offset: 53794}, expr: &ruleRefExpr{ - pos: position{line: 1433, col: 16, offset: 53725}, + pos: position{line: 1433, col: 16, offset: 53795}, name: "Newline", }, }, ¬Expr{ - pos: position{line: 1433, col: 24, offset: 53733}, + pos: position{line: 1433, col: 24, offset: 53803}, expr: &ruleRefExpr{ - pos: position{line: 1433, col: 25, offset: 53734}, + pos: position{line: 1433, col: 25, offset: 53804}, name: "SinglePlusPassthroughPrefix", }, }, &anyMatcher{ - line: 1433, col: 53, offset: 53762, + line: 1433, col: 53, offset: 53832, }, }, }, @@ -10221,9 +10275,9 @@ var g = &grammar{ }, { name: "TriplePlusPassthroughPrefix", - pos: position{line: 1437, col: 1, offset: 53848}, + pos: position{line: 1437, col: 1, offset: 53918}, expr: &litMatcher{ - pos: position{line: 1437, col: 32, offset: 53879}, + pos: position{line: 1437, col: 32, offset: 53949}, val: "+++", ignoreCase: false, want: "\"+++\"", @@ -10231,33 +10285,33 @@ var g = &grammar{ }, { name: "TriplePlusPassthrough", - pos: position{line: 1439, col: 1, offset: 53888}, + pos: position{line: 1439, col: 1, offset: 53958}, expr: &actionExpr{ - pos: position{line: 1439, col: 26, offset: 53913}, + pos: position{line: 1439, col: 26, offset: 53983}, run: (*parser).callonTriplePlusPassthrough1, expr: &seqExpr{ - pos: position{line: 1439, col: 26, offset: 53913}, + pos: position{line: 1439, col: 26, offset: 53983}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1439, col: 26, offset: 53913}, + pos: position{line: 1439, col: 26, offset: 53983}, name: "TriplePlusPassthroughPrefix", }, &labeledExpr{ - pos: position{line: 1439, col: 54, offset: 53941}, + pos: position{line: 1439, col: 54, offset: 54011}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1439, col: 63, offset: 53950}, + pos: position{line: 1439, col: 63, offset: 54020}, name: "TriplePlusPassthroughContent", }, }, &ruleRefExpr{ - pos: position{line: 1439, col: 93, offset: 53980}, + pos: position{line: 1439, col: 93, offset: 54050}, name: "TriplePlusPassthroughPrefix", }, ¬Expr{ - pos: position{line: 1439, col: 121, offset: 54008}, + pos: position{line: 1439, col: 121, offset: 54078}, expr: &ruleRefExpr{ - pos: position{line: 1439, col: 122, offset: 54009}, + pos: position{line: 1439, col: 122, offset: 54079}, name: "Alphanum", }, }, @@ -10267,63 +10321,63 @@ var g = &grammar{ }, { name: "TriplePlusPassthroughContent", - pos: position{line: 1443, col: 1, offset: 54118}, + pos: position{line: 1443, col: 1, offset: 54188}, expr: &choiceExpr{ - pos: position{line: 1443, col: 33, offset: 54150}, + pos: position{line: 1443, col: 33, offset: 54220}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 1443, col: 34, offset: 54151}, + pos: position{line: 1443, col: 34, offset: 54221}, run: (*parser).callonTriplePlusPassthroughContent2, expr: &zeroOrMoreExpr{ - pos: position{line: 1443, col: 34, offset: 54151}, + pos: position{line: 1443, col: 34, offset: 54221}, expr: &seqExpr{ - pos: position{line: 1443, col: 35, offset: 54152}, + pos: position{line: 1443, col: 35, offset: 54222}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1443, col: 35, offset: 54152}, + pos: position{line: 1443, col: 35, offset: 54222}, expr: &ruleRefExpr{ - pos: position{line: 1443, col: 36, offset: 54153}, + pos: position{line: 1443, col: 36, offset: 54223}, name: "TriplePlusPassthroughPrefix", }, }, &anyMatcher{ - line: 1443, col: 64, offset: 54181, + line: 1443, col: 64, offset: 54251, }, }, }, }, }, &actionExpr{ - pos: position{line: 1445, col: 7, offset: 54348}, + pos: position{line: 1445, col: 7, offset: 54418}, run: (*parser).callonTriplePlusPassthroughContent8, expr: &zeroOrOneExpr{ - pos: position{line: 1445, col: 7, offset: 54348}, + pos: position{line: 1445, col: 7, offset: 54418}, expr: &seqExpr{ - pos: position{line: 1445, col: 8, offset: 54349}, + pos: position{line: 1445, col: 8, offset: 54419}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1445, col: 8, offset: 54349}, + pos: position{line: 1445, col: 8, offset: 54419}, expr: &ruleRefExpr{ - pos: position{line: 1445, col: 9, offset: 54350}, + pos: position{line: 1445, col: 9, offset: 54420}, name: "Space", }, }, ¬Expr{ - pos: position{line: 1445, col: 15, offset: 54356}, + pos: position{line: 1445, col: 15, offset: 54426}, expr: &ruleRefExpr{ - pos: position{line: 1445, col: 16, offset: 54357}, + pos: position{line: 1445, col: 16, offset: 54427}, name: "Newline", }, }, ¬Expr{ - pos: position{line: 1445, col: 24, offset: 54365}, + pos: position{line: 1445, col: 24, offset: 54435}, expr: &ruleRefExpr{ - pos: position{line: 1445, col: 25, offset: 54366}, + pos: position{line: 1445, col: 25, offset: 54436}, name: "TriplePlusPassthroughPrefix", }, }, &anyMatcher{ - line: 1445, col: 53, offset: 54394, + line: 1445, col: 53, offset: 54464, }, }, }, @@ -10334,35 +10388,35 @@ var g = &grammar{ }, { name: "PassthroughMacro", - pos: position{line: 1449, col: 1, offset: 54481}, + pos: position{line: 1449, col: 1, offset: 54551}, expr: &choiceExpr{ - pos: position{line: 1449, col: 21, offset: 54501}, + pos: position{line: 1449, col: 21, offset: 54571}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 1449, col: 21, offset: 54501}, + pos: position{line: 1449, col: 21, offset: 54571}, run: (*parser).callonPassthroughMacro2, expr: &seqExpr{ - pos: position{line: 1449, col: 21, offset: 54501}, + pos: position{line: 1449, col: 21, offset: 54571}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1449, col: 21, offset: 54501}, + pos: position{line: 1449, col: 21, offset: 54571}, val: "pass:[", ignoreCase: false, want: "\"pass:[\"", }, &labeledExpr{ - pos: position{line: 1449, col: 30, offset: 54510}, + pos: position{line: 1449, col: 30, offset: 54580}, label: "content", expr: &zeroOrMoreExpr{ - pos: position{line: 1449, col: 38, offset: 54518}, + pos: position{line: 1449, col: 38, offset: 54588}, expr: &ruleRefExpr{ - pos: position{line: 1449, col: 39, offset: 54519}, + pos: position{line: 1449, col: 39, offset: 54589}, name: "PassthroughMacroCharacter", }, }, }, &litMatcher{ - pos: position{line: 1449, col: 67, offset: 54547}, + pos: position{line: 1449, col: 67, offset: 54617}, val: "]", ignoreCase: false, want: "\"]\"", @@ -10371,31 +10425,31 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1451, col: 5, offset: 54645}, + pos: position{line: 1451, col: 5, offset: 54715}, run: (*parser).callonPassthroughMacro9, expr: &seqExpr{ - pos: position{line: 1451, col: 5, offset: 54645}, + pos: position{line: 1451, col: 5, offset: 54715}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1451, col: 5, offset: 54645}, + pos: position{line: 1451, col: 5, offset: 54715}, val: "pass:q[", ignoreCase: false, want: "\"pass:q[\"", }, &labeledExpr{ - pos: position{line: 1451, col: 15, offset: 54655}, + pos: position{line: 1451, col: 15, offset: 54725}, label: "content", expr: &zeroOrMoreExpr{ - pos: position{line: 1451, col: 23, offset: 54663}, + pos: position{line: 1451, col: 23, offset: 54733}, expr: &choiceExpr{ - pos: position{line: 1451, col: 24, offset: 54664}, + pos: position{line: 1451, col: 24, offset: 54734}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1451, col: 24, offset: 54664}, + pos: position{line: 1451, col: 24, offset: 54734}, name: "QuotedText", }, &ruleRefExpr{ - pos: position{line: 1451, col: 37, offset: 54677}, + pos: position{line: 1451, col: 37, offset: 54747}, name: "PassthroughMacroCharacter", }, }, @@ -10403,7 +10457,7 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 1451, col: 65, offset: 54705}, + pos: position{line: 1451, col: 65, offset: 54775}, val: "]", ignoreCase: false, want: "\"]\"", @@ -10416,12 +10470,12 @@ var g = &grammar{ }, { name: "PassthroughMacroCharacter", - pos: position{line: 1455, col: 1, offset: 54805}, + pos: position{line: 1455, col: 1, offset: 54875}, expr: &actionExpr{ - pos: position{line: 1455, col: 30, offset: 54834}, + pos: position{line: 1455, col: 30, offset: 54904}, run: (*parser).callonPassthroughMacroCharacter1, expr: &charClassMatcher{ - pos: position{line: 1455, col: 30, offset: 54834}, + pos: position{line: 1455, col: 30, offset: 54904}, val: "[^\\]]", chars: []rune{']'}, ignoreCase: false, @@ -10431,16 +10485,16 @@ var g = &grammar{ }, { name: "CrossReference", - pos: position{line: 1462, col: 1, offset: 55014}, + pos: position{line: 1462, col: 1, offset: 55084}, expr: &choiceExpr{ - pos: position{line: 1462, col: 19, offset: 55032}, + pos: position{line: 1462, col: 19, offset: 55102}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1462, col: 19, offset: 55032}, + pos: position{line: 1462, col: 19, offset: 55102}, name: "InternalCrossReference", }, &ruleRefExpr{ - pos: position{line: 1462, col: 44, offset: 55057}, + pos: position{line: 1462, col: 44, offset: 55127}, name: "ExternalCrossReference", }, }, @@ -10448,53 +10502,53 @@ var g = &grammar{ }, { name: "InternalCrossReference", - pos: position{line: 1464, col: 1, offset: 55084}, + pos: position{line: 1464, col: 1, offset: 55154}, expr: &choiceExpr{ - pos: position{line: 1464, col: 27, offset: 55110}, + pos: position{line: 1464, col: 27, offset: 55180}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 1464, col: 27, offset: 55110}, + pos: position{line: 1464, col: 27, offset: 55180}, run: (*parser).callonInternalCrossReference2, expr: &seqExpr{ - pos: position{line: 1464, col: 27, offset: 55110}, + pos: position{line: 1464, col: 27, offset: 55180}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1464, col: 27, offset: 55110}, + pos: position{line: 1464, col: 27, offset: 55180}, val: "<<", ignoreCase: false, want: "\"<<\"", }, &labeledExpr{ - pos: position{line: 1464, col: 32, offset: 55115}, + pos: position{line: 1464, col: 32, offset: 55185}, label: "id", expr: &ruleRefExpr{ - pos: position{line: 1464, col: 36, offset: 55119}, + pos: position{line: 1464, col: 36, offset: 55189}, name: "ID", }, }, &zeroOrMoreExpr{ - pos: position{line: 1464, col: 40, offset: 55123}, + pos: position{line: 1464, col: 40, offset: 55193}, expr: &ruleRefExpr{ - pos: position{line: 1464, col: 40, offset: 55123}, + pos: position{line: 1464, col: 40, offset: 55193}, name: "Space", }, }, &litMatcher{ - pos: position{line: 1464, col: 47, offset: 55130}, + pos: position{line: 1464, col: 47, offset: 55200}, val: ",", ignoreCase: false, want: "\",\"", }, &labeledExpr{ - pos: position{line: 1464, col: 51, offset: 55134}, + pos: position{line: 1464, col: 51, offset: 55204}, label: "label", expr: &ruleRefExpr{ - pos: position{line: 1464, col: 58, offset: 55141}, + pos: position{line: 1464, col: 58, offset: 55211}, name: "CrossReferenceLabel", }, }, &litMatcher{ - pos: position{line: 1464, col: 79, offset: 55162}, + pos: position{line: 1464, col: 79, offset: 55232}, val: ">>", ignoreCase: false, want: "\">>\"", @@ -10503,27 +10557,27 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1466, col: 5, offset: 55247}, + pos: position{line: 1466, col: 5, offset: 55317}, run: (*parser).callonInternalCrossReference13, expr: &seqExpr{ - pos: position{line: 1466, col: 5, offset: 55247}, + pos: position{line: 1466, col: 5, offset: 55317}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1466, col: 5, offset: 55247}, + pos: position{line: 1466, col: 5, offset: 55317}, val: "<<", ignoreCase: false, want: "\"<<\"", }, &labeledExpr{ - pos: position{line: 1466, col: 10, offset: 55252}, + pos: position{line: 1466, col: 10, offset: 55322}, label: "id", expr: &ruleRefExpr{ - pos: position{line: 1466, col: 14, offset: 55256}, + pos: position{line: 1466, col: 14, offset: 55326}, name: "ID", }, }, &litMatcher{ - pos: position{line: 1466, col: 18, offset: 55260}, + pos: position{line: 1466, col: 18, offset: 55330}, val: ">>", ignoreCase: false, want: "\">>\"", @@ -10536,32 +10590,32 @@ var g = &grammar{ }, { name: "ExternalCrossReference", - pos: position{line: 1470, col: 1, offset: 55336}, + pos: position{line: 1470, col: 1, offset: 55406}, expr: &actionExpr{ - pos: position{line: 1470, col: 27, offset: 55362}, + pos: position{line: 1470, col: 27, offset: 55432}, run: (*parser).callonExternalCrossReference1, expr: &seqExpr{ - pos: position{line: 1470, col: 27, offset: 55362}, + pos: position{line: 1470, col: 27, offset: 55432}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1470, col: 27, offset: 55362}, + pos: position{line: 1470, col: 27, offset: 55432}, val: "xref:", ignoreCase: false, want: "\"xref:\"", }, &labeledExpr{ - pos: position{line: 1470, col: 35, offset: 55370}, + pos: position{line: 1470, col: 35, offset: 55440}, label: "url", expr: &ruleRefExpr{ - pos: position{line: 1470, col: 40, offset: 55375}, + pos: position{line: 1470, col: 40, offset: 55445}, name: "FileLocation", }, }, &labeledExpr{ - pos: position{line: 1470, col: 54, offset: 55389}, + pos: position{line: 1470, col: 54, offset: 55459}, label: "inlineAttributes", expr: &ruleRefExpr{ - pos: position{line: 1470, col: 72, offset: 55407}, + pos: position{line: 1470, col: 72, offset: 55477}, name: "LinkAttributes", }, }, @@ -10571,24 +10625,24 @@ var g = &grammar{ }, { name: "CrossReferenceLabel", - pos: position{line: 1474, col: 1, offset: 55534}, + pos: position{line: 1474, col: 1, offset: 55604}, expr: &ruleRefExpr{ - pos: position{line: 1474, col: 24, offset: 55557}, + pos: position{line: 1474, col: 24, offset: 55627}, name: "ElementTitleContent", }, }, { name: "Link", - pos: position{line: 1479, col: 1, offset: 55684}, + pos: position{line: 1479, col: 1, offset: 55754}, expr: &choiceExpr{ - pos: position{line: 1479, col: 9, offset: 55692}, + pos: position{line: 1479, col: 9, offset: 55762}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1479, col: 9, offset: 55692}, + pos: position{line: 1479, col: 9, offset: 55762}, name: "RelativeLink", }, &ruleRefExpr{ - pos: position{line: 1479, col: 24, offset: 55707}, + pos: position{line: 1479, col: 24, offset: 55777}, name: "ExternalLink", }, }, @@ -10596,32 +10650,32 @@ var g = &grammar{ }, { name: "RelativeLink", - pos: position{line: 1482, col: 1, offset: 55791}, + pos: position{line: 1482, col: 1, offset: 55861}, expr: &actionExpr{ - pos: position{line: 1482, col: 17, offset: 55807}, + pos: position{line: 1482, col: 17, offset: 55877}, run: (*parser).callonRelativeLink1, expr: &seqExpr{ - pos: position{line: 1482, col: 17, offset: 55807}, + pos: position{line: 1482, col: 17, offset: 55877}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1482, col: 17, offset: 55807}, + pos: position{line: 1482, col: 17, offset: 55877}, val: "link:", ignoreCase: false, want: "\"link:\"", }, &labeledExpr{ - pos: position{line: 1482, col: 25, offset: 55815}, + pos: position{line: 1482, col: 25, offset: 55885}, label: "url", expr: &ruleRefExpr{ - pos: position{line: 1482, col: 30, offset: 55820}, + pos: position{line: 1482, col: 30, offset: 55890}, name: "Location", }, }, &labeledExpr{ - pos: position{line: 1482, col: 40, offset: 55830}, + pos: position{line: 1482, col: 40, offset: 55900}, label: "inlineAttributes", expr: &ruleRefExpr{ - pos: position{line: 1482, col: 58, offset: 55848}, + pos: position{line: 1482, col: 58, offset: 55918}, name: "LinkAttributes", }, }, @@ -10631,28 +10685,28 @@ var g = &grammar{ }, { name: "ExternalLink", - pos: position{line: 1486, col: 1, offset: 55963}, + pos: position{line: 1486, col: 1, offset: 56033}, expr: &actionExpr{ - pos: position{line: 1486, col: 17, offset: 55979}, + pos: position{line: 1486, col: 17, offset: 56049}, run: (*parser).callonExternalLink1, expr: &seqExpr{ - pos: position{line: 1486, col: 17, offset: 55979}, + pos: position{line: 1486, col: 17, offset: 56049}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1486, col: 17, offset: 55979}, + pos: position{line: 1486, col: 17, offset: 56049}, label: "url", expr: &ruleRefExpr{ - pos: position{line: 1486, col: 22, offset: 55984}, + pos: position{line: 1486, col: 22, offset: 56054}, name: "LocationWithScheme", }, }, &labeledExpr{ - pos: position{line: 1486, col: 42, offset: 56004}, + pos: position{line: 1486, col: 42, offset: 56074}, label: "inlineAttributes", expr: &zeroOrOneExpr{ - pos: position{line: 1486, col: 59, offset: 56021}, + pos: position{line: 1486, col: 59, offset: 56091}, expr: &ruleRefExpr{ - pos: position{line: 1486, col: 60, offset: 56022}, + pos: position{line: 1486, col: 60, offset: 56092}, name: "LinkAttributes", }, }, @@ -10663,50 +10717,50 @@ var g = &grammar{ }, { name: "LinkAttributes", - pos: position{line: 1490, col: 1, offset: 56119}, + pos: position{line: 1490, col: 1, offset: 56189}, expr: &actionExpr{ - pos: position{line: 1490, col: 19, offset: 56137}, + pos: position{line: 1490, col: 19, offset: 56207}, run: (*parser).callonLinkAttributes1, expr: &seqExpr{ - pos: position{line: 1490, col: 19, offset: 56137}, + pos: position{line: 1490, col: 19, offset: 56207}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1490, col: 19, offset: 56137}, + pos: position{line: 1490, col: 19, offset: 56207}, val: "[", ignoreCase: false, want: "\"[\"", }, &labeledExpr{ - pos: position{line: 1490, col: 23, offset: 56141}, + pos: position{line: 1490, col: 23, offset: 56211}, label: "firstAttr", expr: &zeroOrMoreExpr{ - pos: position{line: 1490, col: 33, offset: 56151}, + pos: position{line: 1490, col: 33, offset: 56221}, expr: &ruleRefExpr{ - pos: position{line: 1490, col: 34, offset: 56152}, + pos: position{line: 1490, col: 34, offset: 56222}, name: "FirstLinkAttributeElement", }, }, }, &zeroOrMoreExpr{ - pos: position{line: 1491, col: 5, offset: 56185}, + pos: position{line: 1491, col: 5, offset: 56255}, expr: &ruleRefExpr{ - pos: position{line: 1491, col: 5, offset: 56185}, + pos: position{line: 1491, col: 5, offset: 56255}, name: "Space", }, }, &labeledExpr{ - pos: position{line: 1491, col: 12, offset: 56192}, + pos: position{line: 1491, col: 12, offset: 56262}, label: "otherattrs", expr: &zeroOrMoreExpr{ - pos: position{line: 1491, col: 23, offset: 56203}, + pos: position{line: 1491, col: 23, offset: 56273}, expr: &ruleRefExpr{ - pos: position{line: 1491, col: 24, offset: 56204}, + pos: position{line: 1491, col: 24, offset: 56274}, name: "GenericAttribute", }, }, }, &litMatcher{ - pos: position{line: 1491, col: 43, offset: 56223}, + pos: position{line: 1491, col: 43, offset: 56293}, val: "]", ignoreCase: false, want: "\"]\"", @@ -10717,46 +10771,46 @@ var g = &grammar{ }, { name: "FirstLinkAttributeElement", - pos: position{line: 1495, col: 1, offset: 56344}, + pos: position{line: 1495, col: 1, offset: 56414}, expr: &actionExpr{ - pos: position{line: 1495, col: 30, offset: 56373}, + pos: position{line: 1495, col: 30, offset: 56443}, run: (*parser).callonFirstLinkAttributeElement1, expr: &labeledExpr{ - pos: position{line: 1495, col: 30, offset: 56373}, + pos: position{line: 1495, col: 30, offset: 56443}, label: "element", expr: &choiceExpr{ - pos: position{line: 1497, col: 5, offset: 56426}, + pos: position{line: 1497, col: 5, offset: 56496}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 1497, col: 6, offset: 56427}, + pos: position{line: 1497, col: 6, offset: 56497}, run: (*parser).callonFirstLinkAttributeElement4, expr: &seqExpr{ - pos: position{line: 1497, col: 6, offset: 56427}, + pos: position{line: 1497, col: 6, offset: 56497}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1497, col: 6, offset: 56427}, + pos: position{line: 1497, col: 6, offset: 56497}, val: "\"", ignoreCase: false, want: "\"\\\"\"", }, &labeledExpr{ - pos: position{line: 1497, col: 11, offset: 56432}, + pos: position{line: 1497, col: 11, offset: 56502}, label: "elements", expr: &oneOrMoreExpr{ - pos: position{line: 1497, col: 20, offset: 56441}, + pos: position{line: 1497, col: 20, offset: 56511}, expr: &choiceExpr{ - pos: position{line: 1497, col: 21, offset: 56442}, + pos: position{line: 1497, col: 21, offset: 56512}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1497, col: 21, offset: 56442}, + pos: position{line: 1497, col: 21, offset: 56512}, name: "QuotedString", }, &ruleRefExpr{ - pos: position{line: 1497, col: 36, offset: 56457}, + pos: position{line: 1497, col: 36, offset: 56527}, name: "QuotedText", }, &ruleRefExpr{ - pos: position{line: 1497, col: 49, offset: 56470}, + pos: position{line: 1497, col: 49, offset: 56540}, name: "QuotedAttributeChar", }, }, @@ -10764,17 +10818,17 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 1497, col: 71, offset: 56492}, + pos: position{line: 1497, col: 71, offset: 56562}, val: "\"", ignoreCase: false, want: "\"\\\"\"", }, &andExpr{ - pos: position{line: 1497, col: 76, offset: 56497}, + pos: position{line: 1497, col: 76, offset: 56567}, expr: ¬Expr{ - pos: position{line: 1497, col: 78, offset: 56499}, + pos: position{line: 1497, col: 78, offset: 56569}, expr: &litMatcher{ - pos: position{line: 1497, col: 79, offset: 56500}, + pos: position{line: 1497, col: 79, offset: 56570}, val: "=", ignoreCase: false, want: "\"=\"", @@ -10782,9 +10836,9 @@ var g = &grammar{ }, }, &zeroOrOneExpr{ - pos: position{line: 1497, col: 84, offset: 56505}, + pos: position{line: 1497, col: 84, offset: 56575}, expr: &litMatcher{ - pos: position{line: 1497, col: 84, offset: 56505}, + pos: position{line: 1497, col: 84, offset: 56575}, val: ",", ignoreCase: false, want: "\",\"", @@ -10794,29 +10848,29 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1501, col: 6, offset: 56636}, + pos: position{line: 1501, col: 6, offset: 56706}, run: (*parser).callonFirstLinkAttributeElement19, expr: &seqExpr{ - pos: position{line: 1501, col: 6, offset: 56636}, + pos: position{line: 1501, col: 6, offset: 56706}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1501, col: 6, offset: 56636}, + pos: position{line: 1501, col: 6, offset: 56706}, label: "elements", expr: &oneOrMoreExpr{ - pos: position{line: 1501, col: 15, offset: 56645}, + pos: position{line: 1501, col: 15, offset: 56715}, expr: &choiceExpr{ - pos: position{line: 1501, col: 16, offset: 56646}, + pos: position{line: 1501, col: 16, offset: 56716}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1501, col: 16, offset: 56646}, + pos: position{line: 1501, col: 16, offset: 56716}, name: "QuotedString", }, &ruleRefExpr{ - pos: position{line: 1501, col: 31, offset: 56661}, + pos: position{line: 1501, col: 31, offset: 56731}, name: "QuotedText", }, &ruleRefExpr{ - pos: position{line: 1501, col: 44, offset: 56674}, + pos: position{line: 1501, col: 44, offset: 56744}, name: "UnquotedAttributeChar", }, }, @@ -10824,11 +10878,11 @@ var g = &grammar{ }, }, &andExpr{ - pos: position{line: 1501, col: 68, offset: 56698}, + pos: position{line: 1501, col: 68, offset: 56768}, expr: ¬Expr{ - pos: position{line: 1501, col: 70, offset: 56700}, + pos: position{line: 1501, col: 70, offset: 56770}, expr: &litMatcher{ - pos: position{line: 1501, col: 71, offset: 56701}, + pos: position{line: 1501, col: 71, offset: 56771}, val: "=", ignoreCase: false, want: "\"=\"", @@ -10836,9 +10890,9 @@ var g = &grammar{ }, }, &zeroOrOneExpr{ - pos: position{line: 1501, col: 76, offset: 56706}, + pos: position{line: 1501, col: 76, offset: 56776}, expr: &litMatcher{ - pos: position{line: 1501, col: 76, offset: 56706}, + pos: position{line: 1501, col: 76, offset: 56776}, val: ",", ignoreCase: false, want: "\",\"", @@ -10854,12 +10908,12 @@ var g = &grammar{ }, { name: "AttributeChar", - pos: position{line: 1507, col: 1, offset: 56826}, + pos: position{line: 1507, col: 1, offset: 56896}, expr: &actionExpr{ - pos: position{line: 1507, col: 18, offset: 56843}, + pos: position{line: 1507, col: 18, offset: 56913}, run: (*parser).callonAttributeChar1, expr: &charClassMatcher{ - pos: position{line: 1507, col: 18, offset: 56843}, + pos: position{line: 1507, col: 18, offset: 56913}, val: "[^\\r\\n\"=\\],]", chars: []rune{'\r', '\n', '"', '=', ']', ','}, ignoreCase: false, @@ -10869,12 +10923,12 @@ var g = &grammar{ }, { name: "QuotedAttributeChar", - pos: position{line: 1511, col: 1, offset: 56933}, + pos: position{line: 1511, col: 1, offset: 57003}, expr: &actionExpr{ - pos: position{line: 1511, col: 24, offset: 56956}, + pos: position{line: 1511, col: 24, offset: 57026}, run: (*parser).callonQuotedAttributeChar1, expr: &charClassMatcher{ - pos: position{line: 1511, col: 24, offset: 56956}, + pos: position{line: 1511, col: 24, offset: 57026}, val: "[^\\r\\n\"=\\]]", chars: []rune{'\r', '\n', '"', '=', ']'}, ignoreCase: false, @@ -10884,12 +10938,12 @@ var g = &grammar{ }, { name: "UnquotedAttributeChar", - pos: position{line: 1515, col: 1, offset: 57053}, + pos: position{line: 1515, col: 1, offset: 57123}, expr: &actionExpr{ - pos: position{line: 1515, col: 26, offset: 57078}, + pos: position{line: 1515, col: 26, offset: 57148}, run: (*parser).callonUnquotedAttributeChar1, expr: &charClassMatcher{ - pos: position{line: 1515, col: 26, offset: 57078}, + pos: position{line: 1515, col: 26, offset: 57148}, val: "[^\\r\\n\"=\\],]", chars: []rune{'\r', '\n', '"', '=', ']', ','}, ignoreCase: false, @@ -10899,54 +10953,54 @@ var g = &grammar{ }, { name: "InlineLinks", - pos: position{line: 1520, col: 1, offset: 57239}, + pos: position{line: 1520, col: 1, offset: 57309}, expr: &actionExpr{ - pos: position{line: 1521, col: 5, offset: 57259}, + pos: position{line: 1521, col: 5, offset: 57329}, run: (*parser).callonInlineLinks1, expr: &seqExpr{ - pos: position{line: 1521, col: 5, offset: 57259}, + pos: position{line: 1521, col: 5, offset: 57329}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1521, col: 5, offset: 57259}, + pos: position{line: 1521, col: 5, offset: 57329}, label: "elements", expr: &oneOrMoreExpr{ - pos: position{line: 1521, col: 14, offset: 57268}, + pos: position{line: 1521, col: 14, offset: 57338}, expr: &choiceExpr{ - pos: position{line: 1521, col: 15, offset: 57269}, + pos: position{line: 1521, col: 15, offset: 57339}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1521, col: 15, offset: 57269}, + pos: position{line: 1521, col: 15, offset: 57339}, name: "Word", }, &ruleRefExpr{ - pos: position{line: 1522, col: 11, offset: 57285}, + pos: position{line: 1522, col: 11, offset: 57355}, name: "Symbol", }, &oneOrMoreExpr{ - pos: position{line: 1523, col: 11, offset: 57303}, + pos: position{line: 1523, col: 11, offset: 57373}, expr: &ruleRefExpr{ - pos: position{line: 1523, col: 11, offset: 57303}, + pos: position{line: 1523, col: 11, offset: 57373}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1524, col: 11, offset: 57322}, + pos: position{line: 1524, col: 11, offset: 57392}, name: "ResolvedLink", }, &ruleRefExpr{ - pos: position{line: 1525, col: 11, offset: 57347}, + pos: position{line: 1525, col: 11, offset: 57417}, name: "Parenthesis", }, &ruleRefExpr{ - pos: position{line: 1526, col: 11, offset: 57370}, + pos: position{line: 1526, col: 11, offset: 57440}, name: "ImpliedApostrophe", }, &ruleRefExpr{ - pos: position{line: 1527, col: 11, offset: 57399}, + pos: position{line: 1527, col: 11, offset: 57469}, name: "AnyChar", }, &ruleRefExpr{ - pos: position{line: 1528, col: 11, offset: 57418}, + pos: position{line: 1528, col: 11, offset: 57488}, name: "Newline", }, }, @@ -10954,7 +11008,7 @@ var g = &grammar{ }, }, &ruleRefExpr{ - pos: position{line: 1528, col: 21, offset: 57428}, + pos: position{line: 1528, col: 21, offset: 57498}, name: "EOF", }, }, @@ -10963,16 +11017,16 @@ var g = &grammar{ }, { name: "ResolvedLink", - pos: position{line: 1532, col: 1, offset: 57502}, + pos: position{line: 1532, col: 1, offset: 57572}, expr: &choiceExpr{ - pos: position{line: 1532, col: 17, offset: 57518}, + pos: position{line: 1532, col: 17, offset: 57588}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1532, col: 17, offset: 57518}, + pos: position{line: 1532, col: 17, offset: 57588}, name: "ResolvedRelativeLink", }, &ruleRefExpr{ - pos: position{line: 1532, col: 40, offset: 57541}, + pos: position{line: 1532, col: 40, offset: 57611}, name: "ResolvedExternalLink", }, }, @@ -10980,41 +11034,41 @@ var g = &grammar{ }, { name: "ResolvedRelativeLink", - pos: position{line: 1535, col: 1, offset: 57672}, + pos: position{line: 1535, col: 1, offset: 57742}, expr: &actionExpr{ - pos: position{line: 1535, col: 25, offset: 57696}, + pos: position{line: 1535, col: 25, offset: 57766}, run: (*parser).callonResolvedRelativeLink1, expr: &seqExpr{ - pos: position{line: 1535, col: 25, offset: 57696}, + pos: position{line: 1535, col: 25, offset: 57766}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1535, col: 25, offset: 57696}, + pos: position{line: 1535, col: 25, offset: 57766}, val: "link:", ignoreCase: false, want: "\"link:\"", }, &labeledExpr{ - pos: position{line: 1535, col: 33, offset: 57704}, + pos: position{line: 1535, col: 33, offset: 57774}, label: "url", expr: &choiceExpr{ - pos: position{line: 1535, col: 38, offset: 57709}, + pos: position{line: 1535, col: 38, offset: 57779}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1535, col: 38, offset: 57709}, + pos: position{line: 1535, col: 38, offset: 57779}, name: "ResolvedLocation", }, &ruleRefExpr{ - pos: position{line: 1535, col: 57, offset: 57728}, + pos: position{line: 1535, col: 57, offset: 57798}, name: "ResolvedFileLocation", }, }, }, }, &labeledExpr{ - pos: position{line: 1535, col: 79, offset: 57750}, + pos: position{line: 1535, col: 79, offset: 57820}, label: "inlineAttributes", expr: &ruleRefExpr{ - pos: position{line: 1535, col: 97, offset: 57768}, + pos: position{line: 1535, col: 97, offset: 57838}, name: "LinkAttributes", }, }, @@ -11024,28 +11078,28 @@ var g = &grammar{ }, { name: "ResolvedExternalLink", - pos: position{line: 1539, col: 1, offset: 57883}, + pos: position{line: 1539, col: 1, offset: 57953}, expr: &actionExpr{ - pos: position{line: 1539, col: 25, offset: 57907}, + pos: position{line: 1539, col: 25, offset: 57977}, run: (*parser).callonResolvedExternalLink1, expr: &seqExpr{ - pos: position{line: 1539, col: 25, offset: 57907}, + pos: position{line: 1539, col: 25, offset: 57977}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1539, col: 25, offset: 57907}, + pos: position{line: 1539, col: 25, offset: 57977}, label: "url", expr: &ruleRefExpr{ - pos: position{line: 1539, col: 30, offset: 57912}, + pos: position{line: 1539, col: 30, offset: 57982}, name: "ResolvedLocation", }, }, &labeledExpr{ - pos: position{line: 1539, col: 48, offset: 57930}, + pos: position{line: 1539, col: 48, offset: 58000}, label: "inlineAttributes", expr: &zeroOrOneExpr{ - pos: position{line: 1539, col: 65, offset: 57947}, + pos: position{line: 1539, col: 65, offset: 58017}, expr: &ruleRefExpr{ - pos: position{line: 1539, col: 66, offset: 57948}, + pos: position{line: 1539, col: 66, offset: 58018}, name: "LinkAttributes", }, }, @@ -11056,55 +11110,55 @@ var g = &grammar{ }, { name: "ImageBlock", - pos: position{line: 1546, col: 1, offset: 58150}, + pos: position{line: 1546, col: 1, offset: 58220}, expr: &actionExpr{ - pos: position{line: 1546, col: 15, offset: 58164}, + pos: position{line: 1546, col: 15, offset: 58234}, run: (*parser).callonImageBlock1, expr: &seqExpr{ - pos: position{line: 1546, col: 15, offset: 58164}, + pos: position{line: 1546, col: 15, offset: 58234}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1546, col: 15, offset: 58164}, + pos: position{line: 1546, col: 15, offset: 58234}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 1546, col: 26, offset: 58175}, + pos: position{line: 1546, col: 26, offset: 58245}, expr: &ruleRefExpr{ - pos: position{line: 1546, col: 27, offset: 58176}, + pos: position{line: 1546, col: 27, offset: 58246}, name: "Attributes", }, }, }, &litMatcher{ - pos: position{line: 1546, col: 40, offset: 58189}, + pos: position{line: 1546, col: 40, offset: 58259}, val: "image::", ignoreCase: false, want: "\"image::\"", }, &labeledExpr{ - pos: position{line: 1546, col: 50, offset: 58199}, + pos: position{line: 1546, col: 50, offset: 58269}, label: "path", expr: &ruleRefExpr{ - pos: position{line: 1546, col: 56, offset: 58205}, + pos: position{line: 1546, col: 56, offset: 58275}, name: "Location", }, }, &labeledExpr{ - pos: position{line: 1546, col: 66, offset: 58215}, + pos: position{line: 1546, col: 66, offset: 58285}, label: "inlineAttributes", expr: &ruleRefExpr{ - pos: position{line: 1546, col: 84, offset: 58233}, + pos: position{line: 1546, col: 84, offset: 58303}, name: "ImageAttributes", }, }, &zeroOrMoreExpr{ - pos: position{line: 1546, col: 101, offset: 58250}, + pos: position{line: 1546, col: 101, offset: 58320}, expr: &ruleRefExpr{ - pos: position{line: 1546, col: 101, offset: 58250}, + pos: position{line: 1546, col: 101, offset: 58320}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1546, col: 108, offset: 58257}, + pos: position{line: 1546, col: 108, offset: 58327}, name: "EOL", }, }, @@ -11113,41 +11167,41 @@ var g = &grammar{ }, { name: "InlineImage", - pos: position{line: 1550, col: 1, offset: 58373}, + pos: position{line: 1550, col: 1, offset: 58443}, expr: &actionExpr{ - pos: position{line: 1550, col: 16, offset: 58388}, + pos: position{line: 1550, col: 16, offset: 58458}, run: (*parser).callonInlineImage1, expr: &seqExpr{ - pos: position{line: 1550, col: 16, offset: 58388}, + pos: position{line: 1550, col: 16, offset: 58458}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1550, col: 16, offset: 58388}, + pos: position{line: 1550, col: 16, offset: 58458}, val: "image:", ignoreCase: false, want: "\"image:\"", }, ¬Expr{ - pos: position{line: 1550, col: 25, offset: 58397}, + pos: position{line: 1550, col: 25, offset: 58467}, expr: &litMatcher{ - pos: position{line: 1550, col: 26, offset: 58398}, + pos: position{line: 1550, col: 26, offset: 58468}, val: ":", ignoreCase: false, want: "\":\"", }, }, &labeledExpr{ - pos: position{line: 1550, col: 30, offset: 58402}, + pos: position{line: 1550, col: 30, offset: 58472}, label: "path", expr: &ruleRefExpr{ - pos: position{line: 1550, col: 36, offset: 58408}, + pos: position{line: 1550, col: 36, offset: 58478}, name: "Location", }, }, &labeledExpr{ - pos: position{line: 1550, col: 46, offset: 58418}, + pos: position{line: 1550, col: 46, offset: 58488}, label: "inlineAttributes", expr: &ruleRefExpr{ - pos: position{line: 1550, col: 64, offset: 58436}, + pos: position{line: 1550, col: 64, offset: 58506}, name: "ImageAttributes", }, }, @@ -11157,99 +11211,99 @@ var g = &grammar{ }, { name: "ImageAttributes", - pos: position{line: 1554, col: 1, offset: 58554}, + pos: position{line: 1554, col: 1, offset: 58624}, expr: &actionExpr{ - pos: position{line: 1554, col: 20, offset: 58573}, + pos: position{line: 1554, col: 20, offset: 58643}, run: (*parser).callonImageAttributes1, expr: &seqExpr{ - pos: position{line: 1554, col: 20, offset: 58573}, + pos: position{line: 1554, col: 20, offset: 58643}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1554, col: 20, offset: 58573}, + pos: position{line: 1554, col: 20, offset: 58643}, val: "[", ignoreCase: false, want: "\"[\"", }, &labeledExpr{ - pos: position{line: 1554, col: 24, offset: 58577}, + pos: position{line: 1554, col: 24, offset: 58647}, label: "alt", expr: &zeroOrOneExpr{ - pos: position{line: 1554, col: 28, offset: 58581}, + pos: position{line: 1554, col: 28, offset: 58651}, expr: &ruleRefExpr{ - pos: position{line: 1554, col: 29, offset: 58582}, + pos: position{line: 1554, col: 29, offset: 58652}, name: "StandaloneAttributeValue", }, }, }, &zeroOrOneExpr{ - pos: position{line: 1554, col: 56, offset: 58609}, + pos: position{line: 1554, col: 56, offset: 58679}, expr: &litMatcher{ - pos: position{line: 1554, col: 56, offset: 58609}, + pos: position{line: 1554, col: 56, offset: 58679}, val: ",", ignoreCase: false, want: "\",\"", }, }, &labeledExpr{ - pos: position{line: 1554, col: 61, offset: 58614}, + pos: position{line: 1554, col: 61, offset: 58684}, label: "width", expr: &zeroOrOneExpr{ - pos: position{line: 1554, col: 67, offset: 58620}, + pos: position{line: 1554, col: 67, offset: 58690}, expr: &ruleRefExpr{ - pos: position{line: 1554, col: 68, offset: 58621}, + pos: position{line: 1554, col: 68, offset: 58691}, name: "StandaloneAttributeValue", }, }, }, &zeroOrOneExpr{ - pos: position{line: 1554, col: 95, offset: 58648}, + pos: position{line: 1554, col: 95, offset: 58718}, expr: &litMatcher{ - pos: position{line: 1554, col: 95, offset: 58648}, + pos: position{line: 1554, col: 95, offset: 58718}, val: ",", ignoreCase: false, want: "\",\"", }, }, &labeledExpr{ - pos: position{line: 1554, col: 100, offset: 58653}, + pos: position{line: 1554, col: 100, offset: 58723}, label: "height", expr: &zeroOrOneExpr{ - pos: position{line: 1554, col: 107, offset: 58660}, + pos: position{line: 1554, col: 107, offset: 58730}, expr: &ruleRefExpr{ - pos: position{line: 1554, col: 108, offset: 58661}, + pos: position{line: 1554, col: 108, offset: 58731}, name: "StandaloneAttributeValue", }, }, }, &zeroOrOneExpr{ - pos: position{line: 1554, col: 135, offset: 58688}, + pos: position{line: 1554, col: 135, offset: 58758}, expr: &litMatcher{ - pos: position{line: 1554, col: 135, offset: 58688}, + pos: position{line: 1554, col: 135, offset: 58758}, val: ",", ignoreCase: false, want: "\",\"", }, }, &zeroOrMoreExpr{ - pos: position{line: 1554, col: 140, offset: 58693}, + pos: position{line: 1554, col: 140, offset: 58763}, expr: &ruleRefExpr{ - pos: position{line: 1554, col: 140, offset: 58693}, + pos: position{line: 1554, col: 140, offset: 58763}, name: "Space", }, }, &labeledExpr{ - pos: position{line: 1554, col: 147, offset: 58700}, + pos: position{line: 1554, col: 147, offset: 58770}, label: "otherattrs", expr: &zeroOrMoreExpr{ - pos: position{line: 1554, col: 158, offset: 58711}, + pos: position{line: 1554, col: 158, offset: 58781}, expr: &ruleRefExpr{ - pos: position{line: 1554, col: 159, offset: 58712}, + pos: position{line: 1554, col: 159, offset: 58782}, name: "GenericAttribute", }, }, }, &litMatcher{ - pos: position{line: 1554, col: 178, offset: 58731}, + pos: position{line: 1554, col: 178, offset: 58801}, val: "]", ignoreCase: false, want: "\"]\"", @@ -11260,29 +11314,29 @@ var g = &grammar{ }, { name: "InlineIcon", - pos: position{line: 1561, col: 1, offset: 59023}, + pos: position{line: 1561, col: 1, offset: 59093}, expr: &actionExpr{ - pos: position{line: 1561, col: 15, offset: 59037}, + pos: position{line: 1561, col: 15, offset: 59107}, run: (*parser).callonInlineIcon1, expr: &seqExpr{ - pos: position{line: 1561, col: 15, offset: 59037}, + pos: position{line: 1561, col: 15, offset: 59107}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1561, col: 15, offset: 59037}, + pos: position{line: 1561, col: 15, offset: 59107}, val: "icon:", ignoreCase: false, want: "\"icon:\"", }, &labeledExpr{ - pos: position{line: 1561, col: 23, offset: 59045}, + pos: position{line: 1561, col: 23, offset: 59115}, label: "iconClass", expr: &actionExpr{ - pos: position{line: 1561, col: 34, offset: 59056}, + pos: position{line: 1561, col: 34, offset: 59126}, run: (*parser).callonInlineIcon5, expr: &oneOrMoreExpr{ - pos: position{line: 1561, col: 34, offset: 59056}, + pos: position{line: 1561, col: 34, offset: 59126}, expr: &charClassMatcher{ - pos: position{line: 1561, col: 34, offset: 59056}, + pos: position{line: 1561, col: 34, offset: 59126}, val: "[\\pL0-9_-]", chars: []rune{'_', '-'}, ranges: []rune{'0', '9'}, @@ -11294,10 +11348,10 @@ var g = &grammar{ }, }, &labeledExpr{ - pos: position{line: 1561, col: 78, offset: 59100}, + pos: position{line: 1561, col: 78, offset: 59170}, label: "inlineAttributes", expr: &ruleRefExpr{ - pos: position{line: 1561, col: 96, offset: 59118}, + pos: position{line: 1561, col: 96, offset: 59188}, name: "IconAttributes", }, }, @@ -11307,59 +11361,59 @@ var g = &grammar{ }, { name: "IconAttributes", - pos: position{line: 1565, col: 1, offset: 59225}, + pos: position{line: 1565, col: 1, offset: 59295}, expr: &actionExpr{ - pos: position{line: 1565, col: 19, offset: 59243}, + pos: position{line: 1565, col: 19, offset: 59313}, run: (*parser).callonIconAttributes1, expr: &seqExpr{ - pos: position{line: 1565, col: 19, offset: 59243}, + pos: position{line: 1565, col: 19, offset: 59313}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1565, col: 19, offset: 59243}, + pos: position{line: 1565, col: 19, offset: 59313}, val: "[", ignoreCase: false, want: "\"[\"", }, &labeledExpr{ - pos: position{line: 1565, col: 23, offset: 59247}, + pos: position{line: 1565, col: 23, offset: 59317}, label: "size", expr: &zeroOrOneExpr{ - pos: position{line: 1565, col: 28, offset: 59252}, + pos: position{line: 1565, col: 28, offset: 59322}, expr: &ruleRefExpr{ - pos: position{line: 1565, col: 29, offset: 59253}, + pos: position{line: 1565, col: 29, offset: 59323}, name: "StandaloneAttributeValue", }, }, }, &zeroOrOneExpr{ - pos: position{line: 1565, col: 56, offset: 59280}, + pos: position{line: 1565, col: 56, offset: 59350}, expr: &litMatcher{ - pos: position{line: 1565, col: 56, offset: 59280}, + pos: position{line: 1565, col: 56, offset: 59350}, val: ",", ignoreCase: false, want: "\",\"", }, }, &zeroOrMoreExpr{ - pos: position{line: 1565, col: 61, offset: 59285}, + pos: position{line: 1565, col: 61, offset: 59355}, expr: &ruleRefExpr{ - pos: position{line: 1565, col: 61, offset: 59285}, + pos: position{line: 1565, col: 61, offset: 59355}, name: "Space", }, }, &labeledExpr{ - pos: position{line: 1565, col: 68, offset: 59292}, + pos: position{line: 1565, col: 68, offset: 59362}, label: "others", expr: &zeroOrMoreExpr{ - pos: position{line: 1565, col: 75, offset: 59299}, + pos: position{line: 1565, col: 75, offset: 59369}, expr: &ruleRefExpr{ - pos: position{line: 1565, col: 76, offset: 59300}, + pos: position{line: 1565, col: 76, offset: 59370}, name: "GenericAttribute", }, }, }, &litMatcher{ - pos: position{line: 1565, col: 95, offset: 59319}, + pos: position{line: 1565, col: 95, offset: 59389}, val: "]", ignoreCase: false, want: "\"]\"", @@ -11370,32 +11424,32 @@ var g = &grammar{ }, { name: "InlineFootnote", - pos: position{line: 1572, col: 1, offset: 59597}, + pos: position{line: 1572, col: 1, offset: 59667}, expr: &choiceExpr{ - pos: position{line: 1572, col: 19, offset: 59615}, + pos: position{line: 1572, col: 19, offset: 59685}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 1572, col: 19, offset: 59615}, + pos: position{line: 1572, col: 19, offset: 59685}, run: (*parser).callonInlineFootnote2, expr: &seqExpr{ - pos: position{line: 1572, col: 19, offset: 59615}, + pos: position{line: 1572, col: 19, offset: 59685}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1572, col: 19, offset: 59615}, + pos: position{line: 1572, col: 19, offset: 59685}, val: "footnote:[", ignoreCase: false, want: "\"footnote:[\"", }, &labeledExpr{ - pos: position{line: 1572, col: 32, offset: 59628}, + pos: position{line: 1572, col: 32, offset: 59698}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1572, col: 41, offset: 59637}, + pos: position{line: 1572, col: 41, offset: 59707}, name: "FootnoteContent", }, }, &litMatcher{ - pos: position{line: 1572, col: 58, offset: 59654}, + pos: position{line: 1572, col: 58, offset: 59724}, val: "]", ignoreCase: false, want: "\"]\"", @@ -11404,44 +11458,44 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1574, col: 5, offset: 59724}, + pos: position{line: 1574, col: 5, offset: 59794}, run: (*parser).callonInlineFootnote8, expr: &seqExpr{ - pos: position{line: 1574, col: 5, offset: 59724}, + pos: position{line: 1574, col: 5, offset: 59794}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1574, col: 5, offset: 59724}, + pos: position{line: 1574, col: 5, offset: 59794}, val: "footnote:", ignoreCase: false, want: "\"footnote:\"", }, &labeledExpr{ - pos: position{line: 1574, col: 17, offset: 59736}, + pos: position{line: 1574, col: 17, offset: 59806}, label: "ref", expr: &ruleRefExpr{ - pos: position{line: 1574, col: 22, offset: 59741}, + pos: position{line: 1574, col: 22, offset: 59811}, name: "FootnoteRef", }, }, &litMatcher{ - pos: position{line: 1574, col: 35, offset: 59754}, + pos: position{line: 1574, col: 35, offset: 59824}, val: "[", ignoreCase: false, want: "\"[\"", }, &labeledExpr{ - pos: position{line: 1574, col: 39, offset: 59758}, + pos: position{line: 1574, col: 39, offset: 59828}, label: "content", expr: &zeroOrOneExpr{ - pos: position{line: 1574, col: 47, offset: 59766}, + pos: position{line: 1574, col: 47, offset: 59836}, expr: &ruleRefExpr{ - pos: position{line: 1574, col: 48, offset: 59767}, + pos: position{line: 1574, col: 48, offset: 59837}, name: "FootnoteContent", }, }, }, &litMatcher{ - pos: position{line: 1574, col: 66, offset: 59785}, + pos: position{line: 1574, col: 66, offset: 59855}, val: "]", ignoreCase: false, want: "\"]\"", @@ -11454,37 +11508,37 @@ var g = &grammar{ }, { name: "FootnoteRef", - pos: position{line: 1578, col: 1, offset: 59850}, + pos: position{line: 1578, col: 1, offset: 59920}, expr: &ruleRefExpr{ - pos: position{line: 1578, col: 16, offset: 59865}, + pos: position{line: 1578, col: 16, offset: 59935}, name: "Alphanums", }, }, { name: "FootnoteContent", - pos: position{line: 1580, col: 1, offset: 59878}, + pos: position{line: 1580, col: 1, offset: 59948}, expr: &actionExpr{ - pos: position{line: 1580, col: 20, offset: 59897}, + pos: position{line: 1580, col: 20, offset: 59967}, run: (*parser).callonFootnoteContent1, expr: &labeledExpr{ - pos: position{line: 1580, col: 20, offset: 59897}, + pos: position{line: 1580, col: 20, offset: 59967}, label: "elements", expr: &oneOrMoreExpr{ - pos: position{line: 1580, col: 29, offset: 59906}, + pos: position{line: 1580, col: 29, offset: 59976}, expr: &seqExpr{ - pos: position{line: 1580, col: 30, offset: 59907}, + pos: position{line: 1580, col: 30, offset: 59977}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1580, col: 30, offset: 59907}, + pos: position{line: 1580, col: 30, offset: 59977}, expr: &litMatcher{ - pos: position{line: 1580, col: 31, offset: 59908}, + pos: position{line: 1580, col: 31, offset: 59978}, val: "]", ignoreCase: false, want: "\"]\"", }, }, &ruleRefExpr{ - pos: position{line: 1580, col: 35, offset: 59912}, + pos: position{line: 1580, col: 35, offset: 59982}, name: "InlineElement", }, }, @@ -11495,60 +11549,60 @@ var g = &grammar{ }, { name: "DelimitedBlock", - pos: position{line: 1587, col: 1, offset: 60243}, + pos: position{line: 1587, col: 1, offset: 60313}, expr: &actionExpr{ - pos: position{line: 1587, col: 19, offset: 60261}, + pos: position{line: 1587, col: 19, offset: 60331}, run: (*parser).callonDelimitedBlock1, expr: &seqExpr{ - pos: position{line: 1587, col: 19, offset: 60261}, + pos: position{line: 1587, col: 19, offset: 60331}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1587, col: 19, offset: 60261}, + pos: position{line: 1587, col: 19, offset: 60331}, expr: &ruleRefExpr{ - pos: position{line: 1587, col: 20, offset: 60262}, + pos: position{line: 1587, col: 20, offset: 60332}, name: "Alphanum", }, }, &labeledExpr{ - pos: position{line: 1588, col: 5, offset: 60351}, + pos: position{line: 1588, col: 5, offset: 60421}, label: "block", expr: &choiceExpr{ - pos: position{line: 1588, col: 12, offset: 60358}, + pos: position{line: 1588, col: 12, offset: 60428}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1588, col: 12, offset: 60358}, + pos: position{line: 1588, col: 12, offset: 60428}, name: "FencedBlock", }, &ruleRefExpr{ - pos: position{line: 1589, col: 11, offset: 60382}, + pos: position{line: 1589, col: 11, offset: 60452}, name: "ListingBlock", }, &ruleRefExpr{ - pos: position{line: 1590, col: 11, offset: 60407}, + pos: position{line: 1590, col: 11, offset: 60477}, name: "ExampleBlock", }, &ruleRefExpr{ - pos: position{line: 1591, col: 11, offset: 60432}, + pos: position{line: 1591, col: 11, offset: 60502}, name: "QuoteBlock", }, &ruleRefExpr{ - pos: position{line: 1592, col: 11, offset: 60454}, + pos: position{line: 1592, col: 11, offset: 60524}, name: "SidebarBlock", }, &ruleRefExpr{ - pos: position{line: 1593, col: 11, offset: 60478}, + pos: position{line: 1593, col: 11, offset: 60548}, name: "SingleLineComment", }, &ruleRefExpr{ - pos: position{line: 1594, col: 11, offset: 60507}, + pos: position{line: 1594, col: 11, offset: 60577}, name: "PassthroughBlock", }, &ruleRefExpr{ - pos: position{line: 1595, col: 11, offset: 60535}, + pos: position{line: 1595, col: 11, offset: 60605}, name: "Table", }, &ruleRefExpr{ - pos: position{line: 1596, col: 11, offset: 60552}, + pos: position{line: 1596, col: 11, offset: 60622}, name: "CommentBlock", }, }, @@ -11560,52 +11614,52 @@ var g = &grammar{ }, { name: "BlockDelimiter", - pos: position{line: 1600, col: 1, offset: 60597}, + pos: position{line: 1600, col: 1, offset: 60667}, expr: &choiceExpr{ - pos: position{line: 1600, col: 19, offset: 60615}, + pos: position{line: 1600, col: 19, offset: 60685}, alternatives: []interface{}{ &seqExpr{ - pos: position{line: 1600, col: 19, offset: 60615}, + pos: position{line: 1600, col: 19, offset: 60685}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1600, col: 19, offset: 60615}, + pos: position{line: 1600, col: 19, offset: 60685}, expr: &ruleRefExpr{ - pos: position{line: 1600, col: 21, offset: 60617}, + pos: position{line: 1600, col: 21, offset: 60687}, name: "Alphanum", }, }, &ruleRefExpr{ - pos: position{line: 1600, col: 31, offset: 60627}, + pos: position{line: 1600, col: 31, offset: 60697}, name: "LiteralBlockDelimiter", }, }, }, &ruleRefExpr{ - pos: position{line: 1601, col: 19, offset: 60699}, + pos: position{line: 1601, col: 19, offset: 60769}, name: "FencedBlockDelimiter", }, &ruleRefExpr{ - pos: position{line: 1602, col: 19, offset: 60740}, + pos: position{line: 1602, col: 19, offset: 60810}, name: "ListingBlockDelimiter", }, &ruleRefExpr{ - pos: position{line: 1603, col: 19, offset: 60782}, + pos: position{line: 1603, col: 19, offset: 60852}, name: "ExampleBlockDelimiter", }, &ruleRefExpr{ - pos: position{line: 1604, col: 19, offset: 60824}, + pos: position{line: 1604, col: 19, offset: 60894}, name: "CommentBlockDelimiter", }, &ruleRefExpr{ - pos: position{line: 1605, col: 19, offset: 60866}, + pos: position{line: 1605, col: 19, offset: 60936}, name: "QuoteBlockDelimiter", }, &ruleRefExpr{ - pos: position{line: 1606, col: 19, offset: 60905}, + pos: position{line: 1606, col: 19, offset: 60975}, name: "SidebarBlockDelimiter", }, &ruleRefExpr{ - pos: position{line: 1607, col: 19, offset: 60946}, + pos: position{line: 1607, col: 19, offset: 61016}, name: "PassthroughBlockDelimiter", }, }, @@ -11613,16 +11667,16 @@ var g = &grammar{ }, { name: "VerbatimContent", - pos: position{line: 1609, col: 1, offset: 60975}, + pos: position{line: 1609, col: 1, offset: 61045}, expr: &choiceExpr{ - pos: position{line: 1609, col: 20, offset: 60994}, + pos: position{line: 1609, col: 20, offset: 61064}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1609, col: 20, offset: 60994}, + pos: position{line: 1609, col: 20, offset: 61064}, name: "FileInclusion", }, &ruleRefExpr{ - pos: position{line: 1609, col: 36, offset: 61010}, + pos: position{line: 1609, col: 36, offset: 61080}, name: "VerbatimLine", }, }, @@ -11630,41 +11684,41 @@ var g = &grammar{ }, { name: "VerbatimLine", - pos: position{line: 1611, col: 1, offset: 61026}, + pos: position{line: 1611, col: 1, offset: 61096}, expr: &actionExpr{ - pos: position{line: 1611, col: 17, offset: 61042}, + pos: position{line: 1611, col: 17, offset: 61112}, run: (*parser).callonVerbatimLine1, expr: &seqExpr{ - pos: position{line: 1611, col: 17, offset: 61042}, + pos: position{line: 1611, col: 17, offset: 61112}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1611, col: 17, offset: 61042}, + pos: position{line: 1611, col: 17, offset: 61112}, expr: &ruleRefExpr{ - pos: position{line: 1611, col: 18, offset: 61043}, + pos: position{line: 1611, col: 18, offset: 61113}, name: "EOF", }, }, &labeledExpr{ - pos: position{line: 1611, col: 22, offset: 61047}, + pos: position{line: 1611, col: 22, offset: 61117}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1611, col: 31, offset: 61056}, + pos: position{line: 1611, col: 31, offset: 61126}, name: "VerbatimLineContent", }, }, &labeledExpr{ - pos: position{line: 1611, col: 52, offset: 61077}, + pos: position{line: 1611, col: 52, offset: 61147}, label: "callouts", expr: &zeroOrOneExpr{ - pos: position{line: 1611, col: 61, offset: 61086}, + pos: position{line: 1611, col: 61, offset: 61156}, expr: &ruleRefExpr{ - pos: position{line: 1611, col: 62, offset: 61087}, + pos: position{line: 1611, col: 62, offset: 61157}, name: "Callouts", }, }, }, &ruleRefExpr{ - pos: position{line: 1611, col: 73, offset: 61098}, + pos: position{line: 1611, col: 73, offset: 61168}, name: "EOL", }, }, @@ -11673,36 +11727,36 @@ var g = &grammar{ }, { name: "VerbatimLineContent", - pos: position{line: 1615, col: 1, offset: 61172}, + pos: position{line: 1615, col: 1, offset: 61242}, expr: &actionExpr{ - pos: position{line: 1615, col: 24, offset: 61195}, + pos: position{line: 1615, col: 24, offset: 61265}, run: (*parser).callonVerbatimLineContent1, expr: &zeroOrMoreExpr{ - pos: position{line: 1615, col: 24, offset: 61195}, + pos: position{line: 1615, col: 24, offset: 61265}, expr: &seqExpr{ - pos: position{line: 1615, col: 25, offset: 61196}, + pos: position{line: 1615, col: 25, offset: 61266}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1615, col: 25, offset: 61196}, + pos: position{line: 1615, col: 25, offset: 61266}, expr: &ruleRefExpr{ - pos: position{line: 1615, col: 26, offset: 61197}, + pos: position{line: 1615, col: 26, offset: 61267}, name: "Callouts", }, }, &choiceExpr{ - pos: position{line: 1615, col: 36, offset: 61207}, + pos: position{line: 1615, col: 36, offset: 61277}, alternatives: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 1615, col: 36, offset: 61207}, + pos: position{line: 1615, col: 36, offset: 61277}, expr: &ruleRefExpr{ - pos: position{line: 1615, col: 36, offset: 61207}, + pos: position{line: 1615, col: 36, offset: 61277}, name: "Space", }, }, &oneOrMoreExpr{ - pos: position{line: 1615, col: 45, offset: 61216}, + pos: position{line: 1615, col: 45, offset: 61286}, expr: &charClassMatcher{ - pos: position{line: 1615, col: 45, offset: 61216}, + pos: position{line: 1615, col: 45, offset: 61286}, val: "[^ \\r\\n]", chars: []rune{' ', '\r', '\n'}, ignoreCase: false, @@ -11718,40 +11772,40 @@ var g = &grammar{ }, { name: "Callouts", - pos: position{line: 1619, col: 1, offset: 61270}, + pos: position{line: 1619, col: 1, offset: 61340}, expr: &oneOrMoreExpr{ - pos: position{line: 1619, col: 13, offset: 61282}, + pos: position{line: 1619, col: 13, offset: 61352}, expr: &ruleRefExpr{ - pos: position{line: 1619, col: 13, offset: 61282}, + pos: position{line: 1619, col: 13, offset: 61352}, name: "Callout", }, }, }, { name: "Callout", - pos: position{line: 1621, col: 1, offset: 61294}, + pos: position{line: 1621, col: 1, offset: 61364}, expr: &actionExpr{ - pos: position{line: 1621, col: 12, offset: 61305}, + pos: position{line: 1621, col: 12, offset: 61375}, run: (*parser).callonCallout1, expr: &seqExpr{ - pos: position{line: 1621, col: 12, offset: 61305}, + pos: position{line: 1621, col: 12, offset: 61375}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1621, col: 12, offset: 61305}, + pos: position{line: 1621, col: 12, offset: 61375}, val: "<", ignoreCase: false, want: "\"<\"", }, &labeledExpr{ - pos: position{line: 1621, col: 16, offset: 61309}, + pos: position{line: 1621, col: 16, offset: 61379}, label: "ref", expr: &actionExpr{ - pos: position{line: 1621, col: 21, offset: 61314}, + pos: position{line: 1621, col: 21, offset: 61384}, run: (*parser).callonCallout5, expr: &oneOrMoreExpr{ - pos: position{line: 1621, col: 21, offset: 61314}, + pos: position{line: 1621, col: 21, offset: 61384}, expr: &charClassMatcher{ - pos: position{line: 1621, col: 21, offset: 61314}, + pos: position{line: 1621, col: 21, offset: 61384}, val: "[0-9]", ranges: []rune{'0', '9'}, ignoreCase: false, @@ -11761,29 +11815,29 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 1621, col: 69, offset: 61362}, + pos: position{line: 1621, col: 69, offset: 61432}, val: ">", ignoreCase: false, want: "\">\"", }, &zeroOrMoreExpr{ - pos: position{line: 1621, col: 73, offset: 61366}, + pos: position{line: 1621, col: 73, offset: 61436}, expr: &ruleRefExpr{ - pos: position{line: 1621, col: 73, offset: 61366}, + pos: position{line: 1621, col: 73, offset: 61436}, name: "Space", }, }, &andExpr{ - pos: position{line: 1621, col: 80, offset: 61373}, + pos: position{line: 1621, col: 80, offset: 61443}, expr: &choiceExpr{ - pos: position{line: 1621, col: 82, offset: 61375}, + pos: position{line: 1621, col: 82, offset: 61445}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1621, col: 82, offset: 61375}, + pos: position{line: 1621, col: 82, offset: 61445}, name: "EOL", }, &ruleRefExpr{ - pos: position{line: 1621, col: 88, offset: 61381}, + pos: position{line: 1621, col: 88, offset: 61451}, name: "Callout", }, }, @@ -11795,28 +11849,28 @@ var g = &grammar{ }, { name: "CalloutListItem", - pos: position{line: 1625, col: 1, offset: 61438}, + pos: position{line: 1625, col: 1, offset: 61508}, expr: &actionExpr{ - pos: position{line: 1625, col: 20, offset: 61457}, + pos: position{line: 1625, col: 20, offset: 61527}, run: (*parser).callonCalloutListItem1, expr: &seqExpr{ - pos: position{line: 1625, col: 20, offset: 61457}, + pos: position{line: 1625, col: 20, offset: 61527}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1625, col: 20, offset: 61457}, + pos: position{line: 1625, col: 20, offset: 61527}, label: "ref", expr: &ruleRefExpr{ - pos: position{line: 1625, col: 25, offset: 61462}, + pos: position{line: 1625, col: 25, offset: 61532}, name: "CalloutListItemPrefix", }, }, &labeledExpr{ - pos: position{line: 1625, col: 48, offset: 61485}, + pos: position{line: 1625, col: 48, offset: 61555}, label: "description", expr: &oneOrMoreExpr{ - pos: position{line: 1625, col: 61, offset: 61498}, + pos: position{line: 1625, col: 61, offset: 61568}, expr: &ruleRefExpr{ - pos: position{line: 1625, col: 61, offset: 61498}, + pos: position{line: 1625, col: 61, offset: 61568}, name: "ListParagraph", }, }, @@ -11827,29 +11881,29 @@ var g = &grammar{ }, { name: "CalloutListItemPrefix", - pos: position{line: 1629, col: 1, offset: 61599}, + pos: position{line: 1629, col: 1, offset: 61669}, expr: &actionExpr{ - pos: position{line: 1629, col: 26, offset: 61624}, + pos: position{line: 1629, col: 26, offset: 61694}, run: (*parser).callonCalloutListItemPrefix1, expr: &seqExpr{ - pos: position{line: 1629, col: 26, offset: 61624}, + pos: position{line: 1629, col: 26, offset: 61694}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1629, col: 26, offset: 61624}, + pos: position{line: 1629, col: 26, offset: 61694}, val: "<", ignoreCase: false, want: "\"<\"", }, &labeledExpr{ - pos: position{line: 1629, col: 30, offset: 61628}, + pos: position{line: 1629, col: 30, offset: 61698}, label: "ref", expr: &actionExpr{ - pos: position{line: 1629, col: 35, offset: 61633}, + pos: position{line: 1629, col: 35, offset: 61703}, run: (*parser).callonCalloutListItemPrefix5, expr: &oneOrMoreExpr{ - pos: position{line: 1629, col: 35, offset: 61633}, + pos: position{line: 1629, col: 35, offset: 61703}, expr: &charClassMatcher{ - pos: position{line: 1629, col: 35, offset: 61633}, + pos: position{line: 1629, col: 35, offset: 61703}, val: "[0-9]", ranges: []rune{'0', '9'}, ignoreCase: false, @@ -11859,15 +11913,15 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 1629, col: 83, offset: 61681}, + pos: position{line: 1629, col: 83, offset: 61751}, val: ">", ignoreCase: false, want: "\">\"", }, &oneOrMoreExpr{ - pos: position{line: 1629, col: 87, offset: 61685}, + pos: position{line: 1629, col: 87, offset: 61755}, expr: &ruleRefExpr{ - pos: position{line: 1629, col: 87, offset: 61685}, + pos: position{line: 1629, col: 87, offset: 61755}, name: "Space", }, }, @@ -11877,25 +11931,25 @@ var g = &grammar{ }, { name: "FencedBlockDelimiter", - pos: position{line: 1636, col: 1, offset: 61919}, + pos: position{line: 1636, col: 1, offset: 61989}, expr: &seqExpr{ - pos: position{line: 1636, col: 25, offset: 61943}, + pos: position{line: 1636, col: 25, offset: 62013}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1636, col: 25, offset: 61943}, + pos: position{line: 1636, col: 25, offset: 62013}, val: "```", ignoreCase: false, want: "\"```\"", }, &zeroOrMoreExpr{ - pos: position{line: 1636, col: 31, offset: 61949}, + pos: position{line: 1636, col: 31, offset: 62019}, expr: &ruleRefExpr{ - pos: position{line: 1636, col: 31, offset: 61949}, + pos: position{line: 1636, col: 31, offset: 62019}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1636, col: 38, offset: 61956}, + pos: position{line: 1636, col: 38, offset: 62026}, name: "EOL", }, }, @@ -11903,25 +11957,25 @@ var g = &grammar{ }, { name: "FencedBlockStartDelimiter", - pos: position{line: 1638, col: 1, offset: 62018}, + pos: position{line: 1638, col: 1, offset: 62088}, expr: &seqExpr{ - pos: position{line: 1638, col: 30, offset: 62047}, + pos: position{line: 1638, col: 30, offset: 62117}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1638, col: 30, offset: 62047}, + pos: position{line: 1638, col: 30, offset: 62117}, val: "```", ignoreCase: false, want: "\"```\"", }, &zeroOrMoreExpr{ - pos: position{line: 1638, col: 36, offset: 62053}, + pos: position{line: 1638, col: 36, offset: 62123}, expr: &ruleRefExpr{ - pos: position{line: 1638, col: 36, offset: 62053}, + pos: position{line: 1638, col: 36, offset: 62123}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1638, col: 43, offset: 62060}, + pos: position{line: 1638, col: 43, offset: 62130}, name: "EOL", }, }, @@ -11929,34 +11983,34 @@ var g = &grammar{ }, { name: "FencedBlockEndDelimiter", - pos: position{line: 1640, col: 1, offset: 62067}, + pos: position{line: 1640, col: 1, offset: 62137}, expr: &choiceExpr{ - pos: position{line: 1640, col: 28, offset: 62094}, + pos: position{line: 1640, col: 28, offset: 62164}, alternatives: []interface{}{ &seqExpr{ - pos: position{line: 1640, col: 29, offset: 62095}, + pos: position{line: 1640, col: 29, offset: 62165}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1640, col: 29, offset: 62095}, + pos: position{line: 1640, col: 29, offset: 62165}, val: "```", ignoreCase: false, want: "\"```\"", }, &zeroOrMoreExpr{ - pos: position{line: 1640, col: 35, offset: 62101}, + pos: position{line: 1640, col: 35, offset: 62171}, expr: &ruleRefExpr{ - pos: position{line: 1640, col: 35, offset: 62101}, + pos: position{line: 1640, col: 35, offset: 62171}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1640, col: 42, offset: 62108}, + pos: position{line: 1640, col: 42, offset: 62178}, name: "EOL", }, }, }, &ruleRefExpr{ - pos: position{line: 1640, col: 49, offset: 62115}, + pos: position{line: 1640, col: 49, offset: 62185}, name: "EOF", }, }, @@ -11964,38 +12018,38 @@ var g = &grammar{ }, { name: "FencedBlock", - pos: position{line: 1642, col: 1, offset: 62122}, + pos: position{line: 1642, col: 1, offset: 62192}, expr: &actionExpr{ - pos: position{line: 1642, col: 16, offset: 62137}, + pos: position{line: 1642, col: 16, offset: 62207}, run: (*parser).callonFencedBlock1, expr: &seqExpr{ - pos: position{line: 1642, col: 16, offset: 62137}, + pos: position{line: 1642, col: 16, offset: 62207}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1642, col: 16, offset: 62137}, + pos: position{line: 1642, col: 16, offset: 62207}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 1642, col: 27, offset: 62148}, + pos: position{line: 1642, col: 27, offset: 62218}, expr: &ruleRefExpr{ - pos: position{line: 1642, col: 28, offset: 62149}, + pos: position{line: 1642, col: 28, offset: 62219}, name: "Attributes", }, }, }, &ruleRefExpr{ - pos: position{line: 1642, col: 41, offset: 62162}, + pos: position{line: 1642, col: 41, offset: 62232}, name: "FencedBlockStartDelimiter", }, &labeledExpr{ - pos: position{line: 1642, col: 67, offset: 62188}, + pos: position{line: 1642, col: 67, offset: 62258}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1642, col: 76, offset: 62197}, + pos: position{line: 1642, col: 76, offset: 62267}, name: "FencedBlockVerbatimContent", }, }, &ruleRefExpr{ - pos: position{line: 1642, col: 104, offset: 62225}, + pos: position{line: 1642, col: 104, offset: 62295}, name: "FencedBlockEndDelimiter", }, }, @@ -12004,27 +12058,27 @@ var g = &grammar{ }, { name: "FencedBlockVerbatimContent", - pos: position{line: 1646, col: 1, offset: 62344}, + pos: position{line: 1646, col: 1, offset: 62414}, expr: &zeroOrMoreExpr{ - pos: position{line: 1646, col: 31, offset: 62374}, + pos: position{line: 1646, col: 31, offset: 62444}, expr: &actionExpr{ - pos: position{line: 1646, col: 32, offset: 62375}, + pos: position{line: 1646, col: 32, offset: 62445}, run: (*parser).callonFencedBlockVerbatimContent2, expr: &seqExpr{ - pos: position{line: 1646, col: 32, offset: 62375}, + pos: position{line: 1646, col: 32, offset: 62445}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1646, col: 32, offset: 62375}, + pos: position{line: 1646, col: 32, offset: 62445}, expr: &ruleRefExpr{ - pos: position{line: 1646, col: 33, offset: 62376}, + pos: position{line: 1646, col: 33, offset: 62446}, name: "FencedBlockEndDelimiter", }, }, &labeledExpr{ - pos: position{line: 1646, col: 57, offset: 62400}, + pos: position{line: 1646, col: 57, offset: 62470}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1646, col: 66, offset: 62409}, + pos: position{line: 1646, col: 66, offset: 62479}, name: "VerbatimContent", }, }, @@ -12035,25 +12089,25 @@ var g = &grammar{ }, { name: "ListingBlockDelimiter", - pos: position{line: 1653, col: 1, offset: 62753}, + pos: position{line: 1653, col: 1, offset: 62823}, expr: &seqExpr{ - pos: position{line: 1653, col: 26, offset: 62778}, + pos: position{line: 1653, col: 26, offset: 62848}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1653, col: 26, offset: 62778}, + pos: position{line: 1653, col: 26, offset: 62848}, val: "----", ignoreCase: false, want: "\"----\"", }, &zeroOrMoreExpr{ - pos: position{line: 1653, col: 33, offset: 62785}, + pos: position{line: 1653, col: 33, offset: 62855}, expr: &ruleRefExpr{ - pos: position{line: 1653, col: 33, offset: 62785}, + pos: position{line: 1653, col: 33, offset: 62855}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1653, col: 40, offset: 62792}, + pos: position{line: 1653, col: 40, offset: 62862}, name: "EOL", }, }, @@ -12061,25 +12115,25 @@ var g = &grammar{ }, { name: "ListingBlockStartDelimiter", - pos: position{line: 1655, col: 1, offset: 62799}, + pos: position{line: 1655, col: 1, offset: 62869}, expr: &seqExpr{ - pos: position{line: 1655, col: 31, offset: 62829}, + pos: position{line: 1655, col: 31, offset: 62899}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1655, col: 31, offset: 62829}, + pos: position{line: 1655, col: 31, offset: 62899}, val: "----", ignoreCase: false, want: "\"----\"", }, &zeroOrMoreExpr{ - pos: position{line: 1655, col: 38, offset: 62836}, + pos: position{line: 1655, col: 38, offset: 62906}, expr: &ruleRefExpr{ - pos: position{line: 1655, col: 38, offset: 62836}, + pos: position{line: 1655, col: 38, offset: 62906}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1655, col: 45, offset: 62843}, + pos: position{line: 1655, col: 45, offset: 62913}, name: "EOL", }, }, @@ -12087,34 +12141,34 @@ var g = &grammar{ }, { name: "ListingBlockEndDelimiter", - pos: position{line: 1657, col: 1, offset: 62850}, + pos: position{line: 1657, col: 1, offset: 62920}, expr: &choiceExpr{ - pos: position{line: 1657, col: 29, offset: 62878}, + pos: position{line: 1657, col: 29, offset: 62948}, alternatives: []interface{}{ &seqExpr{ - pos: position{line: 1657, col: 30, offset: 62879}, + pos: position{line: 1657, col: 30, offset: 62949}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1657, col: 30, offset: 62879}, + pos: position{line: 1657, col: 30, offset: 62949}, val: "----", ignoreCase: false, want: "\"----\"", }, &zeroOrMoreExpr{ - pos: position{line: 1657, col: 37, offset: 62886}, + pos: position{line: 1657, col: 37, offset: 62956}, expr: &ruleRefExpr{ - pos: position{line: 1657, col: 37, offset: 62886}, + pos: position{line: 1657, col: 37, offset: 62956}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1657, col: 44, offset: 62893}, + pos: position{line: 1657, col: 44, offset: 62963}, name: "EOL", }, }, }, &ruleRefExpr{ - pos: position{line: 1657, col: 51, offset: 62900}, + pos: position{line: 1657, col: 51, offset: 62970}, name: "EOF", }, }, @@ -12122,38 +12176,38 @@ var g = &grammar{ }, { name: "ListingBlock", - pos: position{line: 1659, col: 1, offset: 62907}, + pos: position{line: 1659, col: 1, offset: 62977}, expr: &actionExpr{ - pos: position{line: 1659, col: 17, offset: 62923}, + pos: position{line: 1659, col: 17, offset: 62993}, run: (*parser).callonListingBlock1, expr: &seqExpr{ - pos: position{line: 1659, col: 17, offset: 62923}, + pos: position{line: 1659, col: 17, offset: 62993}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1659, col: 17, offset: 62923}, + pos: position{line: 1659, col: 17, offset: 62993}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 1659, col: 28, offset: 62934}, + pos: position{line: 1659, col: 28, offset: 63004}, expr: &ruleRefExpr{ - pos: position{line: 1659, col: 29, offset: 62935}, + pos: position{line: 1659, col: 29, offset: 63005}, name: "Attributes", }, }, }, &ruleRefExpr{ - pos: position{line: 1659, col: 42, offset: 62948}, + pos: position{line: 1659, col: 42, offset: 63018}, name: "ListingBlockStartDelimiter", }, &labeledExpr{ - pos: position{line: 1659, col: 69, offset: 62975}, + pos: position{line: 1659, col: 69, offset: 63045}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1659, col: 78, offset: 62984}, + pos: position{line: 1659, col: 78, offset: 63054}, name: "ListingBlockVerbatimContent", }, }, &ruleRefExpr{ - pos: position{line: 1659, col: 107, offset: 63013}, + pos: position{line: 1659, col: 107, offset: 63083}, name: "ListingBlockEndDelimiter", }, }, @@ -12162,27 +12216,27 @@ var g = &grammar{ }, { name: "ListingBlockVerbatimContent", - pos: position{line: 1663, col: 1, offset: 63134}, + pos: position{line: 1663, col: 1, offset: 63204}, expr: &zeroOrMoreExpr{ - pos: position{line: 1663, col: 32, offset: 63165}, + pos: position{line: 1663, col: 32, offset: 63235}, expr: &actionExpr{ - pos: position{line: 1663, col: 33, offset: 63166}, + pos: position{line: 1663, col: 33, offset: 63236}, run: (*parser).callonListingBlockVerbatimContent2, expr: &seqExpr{ - pos: position{line: 1663, col: 33, offset: 63166}, + pos: position{line: 1663, col: 33, offset: 63236}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1663, col: 33, offset: 63166}, + pos: position{line: 1663, col: 33, offset: 63236}, expr: &ruleRefExpr{ - pos: position{line: 1663, col: 34, offset: 63167}, + pos: position{line: 1663, col: 34, offset: 63237}, name: "ListingBlockEndDelimiter", }, }, &labeledExpr{ - pos: position{line: 1663, col: 59, offset: 63192}, + pos: position{line: 1663, col: 59, offset: 63262}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1663, col: 68, offset: 63201}, + pos: position{line: 1663, col: 68, offset: 63271}, name: "VerbatimContent", }, }, @@ -12193,25 +12247,25 @@ var g = &grammar{ }, { name: "ExampleBlockDelimiter", - pos: position{line: 1670, col: 1, offset: 63545}, + pos: position{line: 1670, col: 1, offset: 63615}, expr: &seqExpr{ - pos: position{line: 1670, col: 26, offset: 63570}, + pos: position{line: 1670, col: 26, offset: 63640}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1670, col: 26, offset: 63570}, + pos: position{line: 1670, col: 26, offset: 63640}, val: "====", ignoreCase: false, want: "\"====\"", }, &zeroOrMoreExpr{ - pos: position{line: 1670, col: 33, offset: 63577}, + pos: position{line: 1670, col: 33, offset: 63647}, expr: &ruleRefExpr{ - pos: position{line: 1670, col: 33, offset: 63577}, + pos: position{line: 1670, col: 33, offset: 63647}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1670, col: 40, offset: 63584}, + pos: position{line: 1670, col: 40, offset: 63654}, name: "EOL", }, }, @@ -12219,25 +12273,25 @@ var g = &grammar{ }, { name: "ExampleBlockStartDelimiter", - pos: position{line: 1672, col: 1, offset: 63591}, + pos: position{line: 1672, col: 1, offset: 63661}, expr: &seqExpr{ - pos: position{line: 1672, col: 31, offset: 63621}, + pos: position{line: 1672, col: 31, offset: 63691}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1672, col: 31, offset: 63621}, + pos: position{line: 1672, col: 31, offset: 63691}, val: "====", ignoreCase: false, want: "\"====\"", }, &zeroOrMoreExpr{ - pos: position{line: 1672, col: 38, offset: 63628}, + pos: position{line: 1672, col: 38, offset: 63698}, expr: &ruleRefExpr{ - pos: position{line: 1672, col: 38, offset: 63628}, + pos: position{line: 1672, col: 38, offset: 63698}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1672, col: 45, offset: 63635}, + pos: position{line: 1672, col: 45, offset: 63705}, name: "EOL", }, }, @@ -12245,34 +12299,34 @@ var g = &grammar{ }, { name: "ExampleBlockEndDelimiter", - pos: position{line: 1674, col: 1, offset: 63642}, + pos: position{line: 1674, col: 1, offset: 63712}, expr: &choiceExpr{ - pos: position{line: 1674, col: 29, offset: 63670}, + pos: position{line: 1674, col: 29, offset: 63740}, alternatives: []interface{}{ &seqExpr{ - pos: position{line: 1674, col: 30, offset: 63671}, + pos: position{line: 1674, col: 30, offset: 63741}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1674, col: 30, offset: 63671}, + pos: position{line: 1674, col: 30, offset: 63741}, val: "====", ignoreCase: false, want: "\"====\"", }, &zeroOrMoreExpr{ - pos: position{line: 1674, col: 37, offset: 63678}, + pos: position{line: 1674, col: 37, offset: 63748}, expr: &ruleRefExpr{ - pos: position{line: 1674, col: 37, offset: 63678}, + pos: position{line: 1674, col: 37, offset: 63748}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1674, col: 44, offset: 63685}, + pos: position{line: 1674, col: 44, offset: 63755}, name: "EOL", }, }, }, &ruleRefExpr{ - pos: position{line: 1674, col: 51, offset: 63692}, + pos: position{line: 1674, col: 51, offset: 63762}, name: "EOF", }, }, @@ -12280,38 +12334,38 @@ var g = &grammar{ }, { name: "ExampleBlock", - pos: position{line: 1676, col: 1, offset: 63699}, + pos: position{line: 1676, col: 1, offset: 63769}, expr: &actionExpr{ - pos: position{line: 1676, col: 17, offset: 63715}, + pos: position{line: 1676, col: 17, offset: 63785}, run: (*parser).callonExampleBlock1, expr: &seqExpr{ - pos: position{line: 1676, col: 17, offset: 63715}, + pos: position{line: 1676, col: 17, offset: 63785}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1676, col: 17, offset: 63715}, + pos: position{line: 1676, col: 17, offset: 63785}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 1676, col: 28, offset: 63726}, + pos: position{line: 1676, col: 28, offset: 63796}, expr: &ruleRefExpr{ - pos: position{line: 1676, col: 29, offset: 63727}, + pos: position{line: 1676, col: 29, offset: 63797}, name: "Attributes", }, }, }, &ruleRefExpr{ - pos: position{line: 1676, col: 42, offset: 63740}, + pos: position{line: 1676, col: 42, offset: 63810}, name: "ExampleBlockStartDelimiter", }, &labeledExpr{ - pos: position{line: 1676, col: 69, offset: 63767}, + pos: position{line: 1676, col: 69, offset: 63837}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1676, col: 78, offset: 63776}, + pos: position{line: 1676, col: 78, offset: 63846}, name: "ExampleBlockVerbatimContent", }, }, &ruleRefExpr{ - pos: position{line: 1676, col: 107, offset: 63805}, + pos: position{line: 1676, col: 107, offset: 63875}, name: "ExampleBlockEndDelimiter", }, }, @@ -12320,27 +12374,27 @@ var g = &grammar{ }, { name: "ExampleBlockVerbatimContent", - pos: position{line: 1680, col: 1, offset: 63926}, + pos: position{line: 1680, col: 1, offset: 63996}, expr: &zeroOrMoreExpr{ - pos: position{line: 1680, col: 32, offset: 63957}, + pos: position{line: 1680, col: 32, offset: 64027}, expr: &actionExpr{ - pos: position{line: 1680, col: 33, offset: 63958}, + pos: position{line: 1680, col: 33, offset: 64028}, run: (*parser).callonExampleBlockVerbatimContent2, expr: &seqExpr{ - pos: position{line: 1680, col: 33, offset: 63958}, + pos: position{line: 1680, col: 33, offset: 64028}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1680, col: 33, offset: 63958}, + pos: position{line: 1680, col: 33, offset: 64028}, expr: &ruleRefExpr{ - pos: position{line: 1680, col: 34, offset: 63959}, + pos: position{line: 1680, col: 34, offset: 64029}, name: "ExampleBlockEndDelimiter", }, }, &labeledExpr{ - pos: position{line: 1680, col: 59, offset: 63984}, + pos: position{line: 1680, col: 59, offset: 64054}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1680, col: 68, offset: 63993}, + pos: position{line: 1680, col: 68, offset: 64063}, name: "VerbatimContent", }, }, @@ -12351,25 +12405,25 @@ var g = &grammar{ }, { name: "QuoteBlockDelimiter", - pos: position{line: 1687, col: 1, offset: 64335}, + pos: position{line: 1687, col: 1, offset: 64405}, expr: &seqExpr{ - pos: position{line: 1687, col: 24, offset: 64358}, + pos: position{line: 1687, col: 24, offset: 64428}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1687, col: 24, offset: 64358}, + pos: position{line: 1687, col: 24, offset: 64428}, val: "____", ignoreCase: false, want: "\"____\"", }, &zeroOrMoreExpr{ - pos: position{line: 1687, col: 31, offset: 64365}, + pos: position{line: 1687, col: 31, offset: 64435}, expr: &ruleRefExpr{ - pos: position{line: 1687, col: 31, offset: 64365}, + pos: position{line: 1687, col: 31, offset: 64435}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1687, col: 38, offset: 64372}, + pos: position{line: 1687, col: 38, offset: 64442}, name: "EOL", }, }, @@ -12377,25 +12431,25 @@ var g = &grammar{ }, { name: "QuoteBlockStartDelimiter", - pos: position{line: 1689, col: 1, offset: 64404}, + pos: position{line: 1689, col: 1, offset: 64474}, expr: &seqExpr{ - pos: position{line: 1689, col: 29, offset: 64432}, + pos: position{line: 1689, col: 29, offset: 64502}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1689, col: 29, offset: 64432}, + pos: position{line: 1689, col: 29, offset: 64502}, val: "____", ignoreCase: false, want: "\"____\"", }, &zeroOrMoreExpr{ - pos: position{line: 1689, col: 36, offset: 64439}, + pos: position{line: 1689, col: 36, offset: 64509}, expr: &ruleRefExpr{ - pos: position{line: 1689, col: 36, offset: 64439}, + pos: position{line: 1689, col: 36, offset: 64509}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1689, col: 43, offset: 64446}, + pos: position{line: 1689, col: 43, offset: 64516}, name: "EOL", }, }, @@ -12403,34 +12457,34 @@ var g = &grammar{ }, { name: "QuoteBlockEndDelimiter", - pos: position{line: 1691, col: 1, offset: 64478}, + pos: position{line: 1691, col: 1, offset: 64548}, expr: &choiceExpr{ - pos: position{line: 1691, col: 27, offset: 64504}, + pos: position{line: 1691, col: 27, offset: 64574}, alternatives: []interface{}{ &seqExpr{ - pos: position{line: 1691, col: 28, offset: 64505}, + pos: position{line: 1691, col: 28, offset: 64575}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1691, col: 28, offset: 64505}, + pos: position{line: 1691, col: 28, offset: 64575}, val: "____", ignoreCase: false, want: "\"____\"", }, &zeroOrMoreExpr{ - pos: position{line: 1691, col: 35, offset: 64512}, + pos: position{line: 1691, col: 35, offset: 64582}, expr: &ruleRefExpr{ - pos: position{line: 1691, col: 35, offset: 64512}, + pos: position{line: 1691, col: 35, offset: 64582}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1691, col: 42, offset: 64519}, + pos: position{line: 1691, col: 42, offset: 64589}, name: "EOL", }, }, }, &ruleRefExpr{ - pos: position{line: 1691, col: 49, offset: 64526}, + pos: position{line: 1691, col: 49, offset: 64596}, name: "EOF", }, }, @@ -12438,38 +12492,38 @@ var g = &grammar{ }, { name: "QuoteBlock", - pos: position{line: 1693, col: 1, offset: 64558}, + pos: position{line: 1693, col: 1, offset: 64628}, expr: &actionExpr{ - pos: position{line: 1693, col: 15, offset: 64572}, + pos: position{line: 1693, col: 15, offset: 64642}, run: (*parser).callonQuoteBlock1, expr: &seqExpr{ - pos: position{line: 1693, col: 15, offset: 64572}, + pos: position{line: 1693, col: 15, offset: 64642}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1693, col: 15, offset: 64572}, + pos: position{line: 1693, col: 15, offset: 64642}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 1693, col: 26, offset: 64583}, + pos: position{line: 1693, col: 26, offset: 64653}, expr: &ruleRefExpr{ - pos: position{line: 1693, col: 27, offset: 64584}, + pos: position{line: 1693, col: 27, offset: 64654}, name: "Attributes", }, }, }, &ruleRefExpr{ - pos: position{line: 1693, col: 40, offset: 64597}, + pos: position{line: 1693, col: 40, offset: 64667}, name: "QuoteBlockStartDelimiter", }, &labeledExpr{ - pos: position{line: 1693, col: 65, offset: 64622}, + pos: position{line: 1693, col: 65, offset: 64692}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1693, col: 74, offset: 64631}, + pos: position{line: 1693, col: 74, offset: 64701}, name: "QuoteBlockVerbatimElement", }, }, &ruleRefExpr{ - pos: position{line: 1693, col: 101, offset: 64658}, + pos: position{line: 1693, col: 101, offset: 64728}, name: "QuoteBlockEndDelimiter", }, }, @@ -12478,27 +12532,27 @@ var g = &grammar{ }, { name: "QuoteBlockVerbatimElement", - pos: position{line: 1697, col: 1, offset: 64775}, + pos: position{line: 1697, col: 1, offset: 64845}, expr: &zeroOrMoreExpr{ - pos: position{line: 1697, col: 30, offset: 64804}, + pos: position{line: 1697, col: 30, offset: 64874}, expr: &actionExpr{ - pos: position{line: 1697, col: 31, offset: 64805}, + pos: position{line: 1697, col: 31, offset: 64875}, run: (*parser).callonQuoteBlockVerbatimElement2, expr: &seqExpr{ - pos: position{line: 1697, col: 31, offset: 64805}, + pos: position{line: 1697, col: 31, offset: 64875}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1697, col: 31, offset: 64805}, + pos: position{line: 1697, col: 31, offset: 64875}, expr: &ruleRefExpr{ - pos: position{line: 1697, col: 32, offset: 64806}, + pos: position{line: 1697, col: 32, offset: 64876}, name: "QuoteBlockEndDelimiter", }, }, &labeledExpr{ - pos: position{line: 1697, col: 55, offset: 64829}, + pos: position{line: 1697, col: 55, offset: 64899}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1697, col: 64, offset: 64838}, + pos: position{line: 1697, col: 64, offset: 64908}, name: "VerbatimContent", }, }, @@ -12509,25 +12563,25 @@ var g = &grammar{ }, { name: "SidebarBlockDelimiter", - pos: position{line: 1704, col: 1, offset: 65182}, + pos: position{line: 1704, col: 1, offset: 65252}, expr: &seqExpr{ - pos: position{line: 1704, col: 26, offset: 65207}, + pos: position{line: 1704, col: 26, offset: 65277}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1704, col: 26, offset: 65207}, + pos: position{line: 1704, col: 26, offset: 65277}, val: "****", ignoreCase: false, want: "\"****\"", }, &zeroOrMoreExpr{ - pos: position{line: 1704, col: 33, offset: 65214}, + pos: position{line: 1704, col: 33, offset: 65284}, expr: &ruleRefExpr{ - pos: position{line: 1704, col: 33, offset: 65214}, + pos: position{line: 1704, col: 33, offset: 65284}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1704, col: 40, offset: 65221}, + pos: position{line: 1704, col: 40, offset: 65291}, name: "EOL", }, }, @@ -12535,25 +12589,25 @@ var g = &grammar{ }, { name: "SidebarBlockStartDelimiter", - pos: position{line: 1706, col: 1, offset: 65228}, + pos: position{line: 1706, col: 1, offset: 65298}, expr: &seqExpr{ - pos: position{line: 1706, col: 31, offset: 65258}, + pos: position{line: 1706, col: 31, offset: 65328}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1706, col: 31, offset: 65258}, + pos: position{line: 1706, col: 31, offset: 65328}, val: "****", ignoreCase: false, want: "\"****\"", }, &zeroOrMoreExpr{ - pos: position{line: 1706, col: 38, offset: 65265}, + pos: position{line: 1706, col: 38, offset: 65335}, expr: &ruleRefExpr{ - pos: position{line: 1706, col: 38, offset: 65265}, + pos: position{line: 1706, col: 38, offset: 65335}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1706, col: 45, offset: 65272}, + pos: position{line: 1706, col: 45, offset: 65342}, name: "EOL", }, }, @@ -12561,34 +12615,34 @@ var g = &grammar{ }, { name: "SidebarBlockEndDelimiter", - pos: position{line: 1708, col: 1, offset: 65279}, + pos: position{line: 1708, col: 1, offset: 65349}, expr: &choiceExpr{ - pos: position{line: 1708, col: 29, offset: 65307}, + pos: position{line: 1708, col: 29, offset: 65377}, alternatives: []interface{}{ &seqExpr{ - pos: position{line: 1708, col: 30, offset: 65308}, + pos: position{line: 1708, col: 30, offset: 65378}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1708, col: 30, offset: 65308}, + pos: position{line: 1708, col: 30, offset: 65378}, val: "****", ignoreCase: false, want: "\"****\"", }, &zeroOrMoreExpr{ - pos: position{line: 1708, col: 37, offset: 65315}, + pos: position{line: 1708, col: 37, offset: 65385}, expr: &ruleRefExpr{ - pos: position{line: 1708, col: 37, offset: 65315}, + pos: position{line: 1708, col: 37, offset: 65385}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1708, col: 44, offset: 65322}, + pos: position{line: 1708, col: 44, offset: 65392}, name: "EOL", }, }, }, &ruleRefExpr{ - pos: position{line: 1708, col: 51, offset: 65329}, + pos: position{line: 1708, col: 51, offset: 65399}, name: "EOF", }, }, @@ -12596,38 +12650,38 @@ var g = &grammar{ }, { name: "SidebarBlock", - pos: position{line: 1710, col: 1, offset: 65336}, + pos: position{line: 1710, col: 1, offset: 65406}, expr: &actionExpr{ - pos: position{line: 1710, col: 17, offset: 65352}, + pos: position{line: 1710, col: 17, offset: 65422}, run: (*parser).callonSidebarBlock1, expr: &seqExpr{ - pos: position{line: 1710, col: 17, offset: 65352}, + pos: position{line: 1710, col: 17, offset: 65422}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1710, col: 17, offset: 65352}, + pos: position{line: 1710, col: 17, offset: 65422}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 1710, col: 28, offset: 65363}, + pos: position{line: 1710, col: 28, offset: 65433}, expr: &ruleRefExpr{ - pos: position{line: 1710, col: 29, offset: 65364}, + pos: position{line: 1710, col: 29, offset: 65434}, name: "Attributes", }, }, }, &ruleRefExpr{ - pos: position{line: 1710, col: 42, offset: 65377}, + pos: position{line: 1710, col: 42, offset: 65447}, name: "SidebarBlockStartDelimiter", }, &labeledExpr{ - pos: position{line: 1710, col: 69, offset: 65404}, + pos: position{line: 1710, col: 69, offset: 65474}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1710, col: 78, offset: 65413}, + pos: position{line: 1710, col: 78, offset: 65483}, name: "SidebarBlockVerbatimContent", }, }, &ruleRefExpr{ - pos: position{line: 1710, col: 107, offset: 65442}, + pos: position{line: 1710, col: 107, offset: 65512}, name: "SidebarBlockEndDelimiter", }, }, @@ -12636,27 +12690,27 @@ var g = &grammar{ }, { name: "SidebarBlockVerbatimContent", - pos: position{line: 1714, col: 1, offset: 65563}, + pos: position{line: 1714, col: 1, offset: 65633}, expr: &zeroOrMoreExpr{ - pos: position{line: 1714, col: 32, offset: 65594}, + pos: position{line: 1714, col: 32, offset: 65664}, expr: &actionExpr{ - pos: position{line: 1714, col: 33, offset: 65595}, + pos: position{line: 1714, col: 33, offset: 65665}, run: (*parser).callonSidebarBlockVerbatimContent2, expr: &seqExpr{ - pos: position{line: 1714, col: 33, offset: 65595}, + pos: position{line: 1714, col: 33, offset: 65665}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1714, col: 33, offset: 65595}, + pos: position{line: 1714, col: 33, offset: 65665}, expr: &ruleRefExpr{ - pos: position{line: 1714, col: 34, offset: 65596}, + pos: position{line: 1714, col: 34, offset: 65666}, name: "SidebarBlockEndDelimiter", }, }, &labeledExpr{ - pos: position{line: 1714, col: 59, offset: 65621}, + pos: position{line: 1714, col: 59, offset: 65691}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1714, col: 68, offset: 65630}, + pos: position{line: 1714, col: 68, offset: 65700}, name: "VerbatimContent", }, }, @@ -12667,25 +12721,25 @@ var g = &grammar{ }, { name: "PassthroughBlockDelimiter", - pos: position{line: 1721, col: 1, offset: 65978}, + pos: position{line: 1721, col: 1, offset: 66048}, expr: &seqExpr{ - pos: position{line: 1721, col: 30, offset: 66007}, + pos: position{line: 1721, col: 30, offset: 66077}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1721, col: 30, offset: 66007}, + pos: position{line: 1721, col: 30, offset: 66077}, val: "++++", ignoreCase: false, want: "\"++++\"", }, &zeroOrMoreExpr{ - pos: position{line: 1721, col: 37, offset: 66014}, + pos: position{line: 1721, col: 37, offset: 66084}, expr: &ruleRefExpr{ - pos: position{line: 1721, col: 37, offset: 66014}, + pos: position{line: 1721, col: 37, offset: 66084}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1721, col: 44, offset: 66021}, + pos: position{line: 1721, col: 44, offset: 66091}, name: "EOL", }, }, @@ -12693,25 +12747,25 @@ var g = &grammar{ }, { name: "PassthroughBlockStartDelimiter", - pos: position{line: 1723, col: 1, offset: 66028}, + pos: position{line: 1723, col: 1, offset: 66098}, expr: &seqExpr{ - pos: position{line: 1723, col: 35, offset: 66062}, + pos: position{line: 1723, col: 35, offset: 66132}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1723, col: 35, offset: 66062}, + pos: position{line: 1723, col: 35, offset: 66132}, val: "++++", ignoreCase: false, want: "\"++++\"", }, &zeroOrMoreExpr{ - pos: position{line: 1723, col: 42, offset: 66069}, + pos: position{line: 1723, col: 42, offset: 66139}, expr: &ruleRefExpr{ - pos: position{line: 1723, col: 42, offset: 66069}, + pos: position{line: 1723, col: 42, offset: 66139}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1723, col: 49, offset: 66076}, + pos: position{line: 1723, col: 49, offset: 66146}, name: "EOL", }, }, @@ -12719,34 +12773,34 @@ var g = &grammar{ }, { name: "PassthroughBlockEndDelimiter", - pos: position{line: 1725, col: 1, offset: 66083}, + pos: position{line: 1725, col: 1, offset: 66153}, expr: &choiceExpr{ - pos: position{line: 1725, col: 33, offset: 66115}, + pos: position{line: 1725, col: 33, offset: 66185}, alternatives: []interface{}{ &seqExpr{ - pos: position{line: 1725, col: 34, offset: 66116}, + pos: position{line: 1725, col: 34, offset: 66186}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1725, col: 34, offset: 66116}, + pos: position{line: 1725, col: 34, offset: 66186}, val: "++++", ignoreCase: false, want: "\"++++\"", }, &zeroOrMoreExpr{ - pos: position{line: 1725, col: 41, offset: 66123}, + pos: position{line: 1725, col: 41, offset: 66193}, expr: &ruleRefExpr{ - pos: position{line: 1725, col: 41, offset: 66123}, + pos: position{line: 1725, col: 41, offset: 66193}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1725, col: 48, offset: 66130}, + pos: position{line: 1725, col: 48, offset: 66200}, name: "EOL", }, }, }, &ruleRefExpr{ - pos: position{line: 1725, col: 55, offset: 66137}, + pos: position{line: 1725, col: 55, offset: 66207}, name: "EOF", }, }, @@ -12754,38 +12808,38 @@ var g = &grammar{ }, { name: "PassthroughBlock", - pos: position{line: 1727, col: 1, offset: 66144}, + pos: position{line: 1727, col: 1, offset: 66214}, expr: &actionExpr{ - pos: position{line: 1727, col: 21, offset: 66164}, + pos: position{line: 1727, col: 21, offset: 66234}, run: (*parser).callonPassthroughBlock1, expr: &seqExpr{ - pos: position{line: 1727, col: 21, offset: 66164}, + pos: position{line: 1727, col: 21, offset: 66234}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1727, col: 21, offset: 66164}, + pos: position{line: 1727, col: 21, offset: 66234}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 1727, col: 32, offset: 66175}, + pos: position{line: 1727, col: 32, offset: 66245}, expr: &ruleRefExpr{ - pos: position{line: 1727, col: 33, offset: 66176}, + pos: position{line: 1727, col: 33, offset: 66246}, name: "Attributes", }, }, }, &ruleRefExpr{ - pos: position{line: 1727, col: 46, offset: 66189}, + pos: position{line: 1727, col: 46, offset: 66259}, name: "PassthroughBlockStartDelimiter", }, &labeledExpr{ - pos: position{line: 1727, col: 77, offset: 66220}, + pos: position{line: 1727, col: 77, offset: 66290}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1727, col: 86, offset: 66229}, + pos: position{line: 1727, col: 86, offset: 66299}, name: "PassthroughBlockVerbatimContent", }, }, &ruleRefExpr{ - pos: position{line: 1727, col: 119, offset: 66262}, + pos: position{line: 1727, col: 119, offset: 66332}, name: "PassthroughBlockEndDelimiter", }, }, @@ -12794,27 +12848,27 @@ var g = &grammar{ }, { name: "PassthroughBlockVerbatimContent", - pos: position{line: 1731, col: 1, offset: 66391}, + pos: position{line: 1731, col: 1, offset: 66461}, expr: &zeroOrMoreExpr{ - pos: position{line: 1731, col: 36, offset: 66426}, + pos: position{line: 1731, col: 36, offset: 66496}, expr: &actionExpr{ - pos: position{line: 1731, col: 37, offset: 66427}, + pos: position{line: 1731, col: 37, offset: 66497}, run: (*parser).callonPassthroughBlockVerbatimContent2, expr: &seqExpr{ - pos: position{line: 1731, col: 37, offset: 66427}, + pos: position{line: 1731, col: 37, offset: 66497}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1731, col: 37, offset: 66427}, + pos: position{line: 1731, col: 37, offset: 66497}, expr: &ruleRefExpr{ - pos: position{line: 1731, col: 38, offset: 66428}, + pos: position{line: 1731, col: 38, offset: 66498}, name: "PassthroughBlockEndDelimiter", }, }, &labeledExpr{ - pos: position{line: 1731, col: 67, offset: 66457}, + pos: position{line: 1731, col: 67, offset: 66527}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1731, col: 76, offset: 66466}, + pos: position{line: 1731, col: 76, offset: 66536}, name: "VerbatimContent", }, }, @@ -12825,48 +12879,48 @@ var g = &grammar{ }, { name: "ThematicBreak", - pos: position{line: 1736, col: 1, offset: 66630}, + pos: position{line: 1736, col: 1, offset: 66700}, expr: &actionExpr{ - pos: position{line: 1736, col: 18, offset: 66647}, + pos: position{line: 1736, col: 18, offset: 66717}, run: (*parser).callonThematicBreak1, expr: &seqExpr{ - pos: position{line: 1736, col: 18, offset: 66647}, + pos: position{line: 1736, col: 18, offset: 66717}, exprs: []interface{}{ &choiceExpr{ - pos: position{line: 1736, col: 19, offset: 66648}, + pos: position{line: 1736, col: 19, offset: 66718}, alternatives: []interface{}{ &litMatcher{ - pos: position{line: 1736, col: 19, offset: 66648}, + pos: position{line: 1736, col: 19, offset: 66718}, val: "***", ignoreCase: false, want: "\"***\"", }, &litMatcher{ - pos: position{line: 1736, col: 27, offset: 66656}, + pos: position{line: 1736, col: 27, offset: 66726}, val: "* * *", ignoreCase: false, want: "\"* * *\"", }, &litMatcher{ - pos: position{line: 1736, col: 37, offset: 66666}, + pos: position{line: 1736, col: 37, offset: 66736}, val: "---", ignoreCase: false, want: "\"---\"", }, &litMatcher{ - pos: position{line: 1736, col: 45, offset: 66674}, + pos: position{line: 1736, col: 45, offset: 66744}, val: "- - -", ignoreCase: false, want: "\"- - -\"", }, &litMatcher{ - pos: position{line: 1736, col: 55, offset: 66684}, + pos: position{line: 1736, col: 55, offset: 66754}, val: "___", ignoreCase: false, want: "\"___\"", }, &litMatcher{ - pos: position{line: 1736, col: 63, offset: 66692}, + pos: position{line: 1736, col: 63, offset: 66762}, val: "_ _ _", ignoreCase: false, want: "\"_ _ _\"", @@ -12874,7 +12928,7 @@ var g = &grammar{ }, }, &ruleRefExpr{ - pos: position{line: 1736, col: 72, offset: 66701}, + pos: position{line: 1736, col: 72, offset: 66771}, name: "EOL", }, }, @@ -12883,91 +12937,91 @@ var g = &grammar{ }, { name: "NormalBlockContent", - pos: position{line: 1744, col: 1, offset: 66959}, + pos: position{line: 1744, col: 1, offset: 67029}, expr: &zeroOrMoreExpr{ - pos: position{line: 1744, col: 23, offset: 66981}, + pos: position{line: 1744, col: 23, offset: 67051}, expr: &ruleRefExpr{ - pos: position{line: 1744, col: 23, offset: 66981}, + pos: position{line: 1744, col: 23, offset: 67051}, name: "NormalBlockElement", }, }, }, { name: "NormalBlockElement", - pos: position{line: 1746, col: 1, offset: 67004}, + pos: position{line: 1746, col: 1, offset: 67074}, expr: &actionExpr{ - pos: position{line: 1747, col: 5, offset: 67032}, + pos: position{line: 1747, col: 5, offset: 67102}, run: (*parser).callonNormalBlockElement1, expr: &seqExpr{ - pos: position{line: 1747, col: 5, offset: 67032}, + pos: position{line: 1747, col: 5, offset: 67102}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1747, col: 5, offset: 67032}, + pos: position{line: 1747, col: 5, offset: 67102}, expr: &ruleRefExpr{ - pos: position{line: 1747, col: 6, offset: 67033}, + pos: position{line: 1747, col: 6, offset: 67103}, name: "EOF", }, }, &labeledExpr{ - pos: position{line: 1747, col: 10, offset: 67037}, + pos: position{line: 1747, col: 10, offset: 67107}, label: "element", expr: &choiceExpr{ - pos: position{line: 1747, col: 19, offset: 67046}, + pos: position{line: 1747, col: 19, offset: 67116}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1747, col: 19, offset: 67046}, + pos: position{line: 1747, col: 19, offset: 67116}, name: "BlankLine", }, &ruleRefExpr{ - pos: position{line: 1748, col: 15, offset: 67072}, + pos: position{line: 1748, col: 15, offset: 67142}, name: "FileInclusion", }, &ruleRefExpr{ - pos: position{line: 1749, col: 15, offset: 67101}, + pos: position{line: 1749, col: 15, offset: 67171}, name: "ImageBlock", }, &ruleRefExpr{ - pos: position{line: 1750, col: 15, offset: 67127}, + pos: position{line: 1750, col: 15, offset: 67197}, name: "ThematicBreak", }, &ruleRefExpr{ - pos: position{line: 1751, col: 15, offset: 67156}, + pos: position{line: 1751, col: 15, offset: 67226}, name: "OrderedListItem", }, &ruleRefExpr{ - pos: position{line: 1752, col: 15, offset: 67188}, + pos: position{line: 1752, col: 15, offset: 67258}, name: "UnorderedListItem", }, &ruleRefExpr{ - pos: position{line: 1753, col: 15, offset: 67222}, + pos: position{line: 1753, col: 15, offset: 67292}, name: "LabeledListItem", }, &ruleRefExpr{ - pos: position{line: 1754, col: 15, offset: 67254}, + pos: position{line: 1754, col: 15, offset: 67324}, name: "ContinuedListItemElement", }, &ruleRefExpr{ - pos: position{line: 1755, col: 15, offset: 67294}, + pos: position{line: 1755, col: 15, offset: 67364}, name: "DelimitedBlock", }, &ruleRefExpr{ - pos: position{line: 1756, col: 15, offset: 67324}, + pos: position{line: 1756, col: 15, offset: 67394}, name: "LiteralBlock", }, &ruleRefExpr{ - pos: position{line: 1757, col: 15, offset: 67353}, + pos: position{line: 1757, col: 15, offset: 67423}, name: "AttributeDeclaration", }, &ruleRefExpr{ - pos: position{line: 1758, col: 15, offset: 67390}, + pos: position{line: 1758, col: 15, offset: 67460}, name: "AttributeReset", }, &ruleRefExpr{ - pos: position{line: 1759, col: 15, offset: 67421}, + pos: position{line: 1759, col: 15, offset: 67491}, name: "TableOfContentsPlaceHolder", }, &ruleRefExpr{ - pos: position{line: 1760, col: 15, offset: 67463}, + pos: position{line: 1760, col: 15, offset: 67533}, name: "Paragraph", }, }, @@ -12979,43 +13033,43 @@ var g = &grammar{ }, { name: "VerseBlockContent", - pos: position{line: 1764, col: 1, offset: 67516}, + pos: position{line: 1764, col: 1, offset: 67586}, expr: &zeroOrMoreExpr{ - pos: position{line: 1764, col: 22, offset: 67537}, + pos: position{line: 1764, col: 22, offset: 67607}, expr: &ruleRefExpr{ - pos: position{line: 1764, col: 22, offset: 67537}, + pos: position{line: 1764, col: 22, offset: 67607}, name: "VerseBlockElement", }, }, }, { name: "VerseBlockElement", - pos: position{line: 1766, col: 1, offset: 67559}, + pos: position{line: 1766, col: 1, offset: 67629}, expr: &actionExpr{ - pos: position{line: 1766, col: 22, offset: 67580}, + pos: position{line: 1766, col: 22, offset: 67650}, run: (*parser).callonVerseBlockElement1, expr: &seqExpr{ - pos: position{line: 1766, col: 22, offset: 67580}, + pos: position{line: 1766, col: 22, offset: 67650}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1766, col: 22, offset: 67580}, + pos: position{line: 1766, col: 22, offset: 67650}, expr: &ruleRefExpr{ - pos: position{line: 1766, col: 23, offset: 67581}, + pos: position{line: 1766, col: 23, offset: 67651}, name: "EOF", }, }, &labeledExpr{ - pos: position{line: 1766, col: 27, offset: 67585}, + pos: position{line: 1766, col: 27, offset: 67655}, label: "element", expr: &choiceExpr{ - pos: position{line: 1766, col: 36, offset: 67594}, + pos: position{line: 1766, col: 36, offset: 67664}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1766, col: 36, offset: 67594}, + pos: position{line: 1766, col: 36, offset: 67664}, name: "BlankLine", }, &ruleRefExpr{ - pos: position{line: 1766, col: 48, offset: 67606}, + pos: position{line: 1766, col: 48, offset: 67676}, name: "VerseBlockParagraph", }, }, @@ -13027,17 +13081,17 @@ var g = &grammar{ }, { name: "VerseBlockParagraph", - pos: position{line: 1770, col: 1, offset: 67660}, + pos: position{line: 1770, col: 1, offset: 67730}, expr: &actionExpr{ - pos: position{line: 1770, col: 24, offset: 67683}, + pos: position{line: 1770, col: 24, offset: 67753}, run: (*parser).callonVerseBlockParagraph1, expr: &labeledExpr{ - pos: position{line: 1770, col: 24, offset: 67683}, + pos: position{line: 1770, col: 24, offset: 67753}, label: "lines", expr: &oneOrMoreExpr{ - pos: position{line: 1770, col: 30, offset: 67689}, + pos: position{line: 1770, col: 30, offset: 67759}, expr: &ruleRefExpr{ - pos: position{line: 1770, col: 31, offset: 67690}, + pos: position{line: 1770, col: 31, offset: 67760}, name: "VerseBlockParagraphLine", }, }, @@ -13046,26 +13100,26 @@ var g = &grammar{ }, { name: "VerseBlockParagraphLine", - pos: position{line: 1774, col: 1, offset: 67784}, + pos: position{line: 1774, col: 1, offset: 67854}, expr: &actionExpr{ - pos: position{line: 1774, col: 28, offset: 67811}, + pos: position{line: 1774, col: 28, offset: 67881}, run: (*parser).callonVerseBlockParagraphLine1, expr: &seqExpr{ - pos: position{line: 1774, col: 28, offset: 67811}, + pos: position{line: 1774, col: 28, offset: 67881}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1774, col: 28, offset: 67811}, + pos: position{line: 1774, col: 28, offset: 67881}, label: "elements", expr: &oneOrMoreExpr{ - pos: position{line: 1774, col: 37, offset: 67820}, + pos: position{line: 1774, col: 37, offset: 67890}, expr: &ruleRefExpr{ - pos: position{line: 1774, col: 38, offset: 67821}, + pos: position{line: 1774, col: 38, offset: 67891}, name: "InlineElement", }, }, }, &ruleRefExpr{ - pos: position{line: 1774, col: 54, offset: 67837}, + pos: position{line: 1774, col: 54, offset: 67907}, name: "EOL", }, }, @@ -13074,62 +13128,62 @@ var g = &grammar{ }, { name: "Table", - pos: position{line: 1781, col: 1, offset: 68086}, + pos: position{line: 1781, col: 1, offset: 68156}, expr: &actionExpr{ - pos: position{line: 1781, col: 10, offset: 68095}, + pos: position{line: 1781, col: 10, offset: 68165}, run: (*parser).callonTable1, expr: &seqExpr{ - pos: position{line: 1781, col: 10, offset: 68095}, + pos: position{line: 1781, col: 10, offset: 68165}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1781, col: 10, offset: 68095}, + pos: position{line: 1781, col: 10, offset: 68165}, label: "attrs", expr: &zeroOrOneExpr{ - pos: position{line: 1781, col: 16, offset: 68101}, + pos: position{line: 1781, col: 16, offset: 68171}, expr: &zeroOrMoreExpr{ - pos: position{line: 1781, col: 17, offset: 68102}, + pos: position{line: 1781, col: 17, offset: 68172}, expr: &ruleRefExpr{ - pos: position{line: 1781, col: 17, offset: 68102}, + pos: position{line: 1781, col: 17, offset: 68172}, name: "BlockAttrs", }, }, }, }, &ruleRefExpr{ - pos: position{line: 1781, col: 31, offset: 68116}, + pos: position{line: 1781, col: 31, offset: 68186}, name: "TableDelimiter", }, &labeledExpr{ - pos: position{line: 1782, col: 5, offset: 68136}, + pos: position{line: 1782, col: 5, offset: 68206}, label: "header", expr: &zeroOrOneExpr{ - pos: position{line: 1782, col: 12, offset: 68143}, + pos: position{line: 1782, col: 12, offset: 68213}, expr: &ruleRefExpr{ - pos: position{line: 1782, col: 13, offset: 68144}, + pos: position{line: 1782, col: 13, offset: 68214}, name: "TableLineHeader", }, }, }, &labeledExpr{ - pos: position{line: 1783, col: 5, offset: 68167}, + pos: position{line: 1783, col: 5, offset: 68237}, label: "lines", expr: &zeroOrMoreExpr{ - pos: position{line: 1783, col: 11, offset: 68173}, + pos: position{line: 1783, col: 11, offset: 68243}, expr: &ruleRefExpr{ - pos: position{line: 1783, col: 12, offset: 68174}, + pos: position{line: 1783, col: 12, offset: 68244}, name: "TableLine", }, }, }, &choiceExpr{ - pos: position{line: 1784, col: 6, offset: 68192}, + pos: position{line: 1784, col: 6, offset: 68262}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1784, col: 6, offset: 68192}, + pos: position{line: 1784, col: 6, offset: 68262}, name: "TableDelimiter", }, &ruleRefExpr{ - pos: position{line: 1784, col: 23, offset: 68209}, + pos: position{line: 1784, col: 23, offset: 68279}, name: "EOF", }, }, @@ -13140,20 +13194,20 @@ var g = &grammar{ }, { name: "TableCellSeparator", - pos: position{line: 1788, col: 1, offset: 68323}, + pos: position{line: 1788, col: 1, offset: 68393}, expr: &seqExpr{ - pos: position{line: 1788, col: 23, offset: 68345}, + pos: position{line: 1788, col: 23, offset: 68415}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1788, col: 23, offset: 68345}, + pos: position{line: 1788, col: 23, offset: 68415}, val: "|", ignoreCase: false, want: "\"|\"", }, &zeroOrMoreExpr{ - pos: position{line: 1788, col: 27, offset: 68349}, + pos: position{line: 1788, col: 27, offset: 68419}, expr: &ruleRefExpr{ - pos: position{line: 1788, col: 27, offset: 68349}, + pos: position{line: 1788, col: 27, offset: 68419}, name: "Space", }, }, @@ -13162,25 +13216,25 @@ var g = &grammar{ }, { name: "TableDelimiter", - pos: position{line: 1790, col: 1, offset: 68359}, + pos: position{line: 1790, col: 1, offset: 68429}, expr: &seqExpr{ - pos: position{line: 1790, col: 19, offset: 68377}, + pos: position{line: 1790, col: 19, offset: 68447}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1790, col: 19, offset: 68377}, + pos: position{line: 1790, col: 19, offset: 68447}, val: "|===", ignoreCase: false, want: "\"|===\"", }, &zeroOrMoreExpr{ - pos: position{line: 1790, col: 26, offset: 68384}, + pos: position{line: 1790, col: 26, offset: 68454}, expr: &ruleRefExpr{ - pos: position{line: 1790, col: 26, offset: 68384}, + pos: position{line: 1790, col: 26, offset: 68454}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1790, col: 33, offset: 68391}, + pos: position{line: 1790, col: 33, offset: 68461}, name: "EOL", }, }, @@ -13188,37 +13242,37 @@ var g = &grammar{ }, { name: "TableLineHeader", - pos: position{line: 1793, col: 1, offset: 68462}, + pos: position{line: 1793, col: 1, offset: 68532}, expr: &actionExpr{ - pos: position{line: 1793, col: 20, offset: 68481}, + pos: position{line: 1793, col: 20, offset: 68551}, run: (*parser).callonTableLineHeader1, expr: &seqExpr{ - pos: position{line: 1793, col: 20, offset: 68481}, + pos: position{line: 1793, col: 20, offset: 68551}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1793, col: 20, offset: 68481}, + pos: position{line: 1793, col: 20, offset: 68551}, expr: &ruleRefExpr{ - pos: position{line: 1793, col: 21, offset: 68482}, + pos: position{line: 1793, col: 21, offset: 68552}, name: "TableDelimiter", }, }, &labeledExpr{ - pos: position{line: 1793, col: 36, offset: 68497}, + pos: position{line: 1793, col: 36, offset: 68567}, label: "cells", expr: &oneOrMoreExpr{ - pos: position{line: 1793, col: 42, offset: 68503}, + pos: position{line: 1793, col: 42, offset: 68573}, expr: &ruleRefExpr{ - pos: position{line: 1793, col: 43, offset: 68504}, + pos: position{line: 1793, col: 43, offset: 68574}, name: "TableCell", }, }, }, &ruleRefExpr{ - pos: position{line: 1793, col: 55, offset: 68516}, + pos: position{line: 1793, col: 55, offset: 68586}, name: "EOL", }, &ruleRefExpr{ - pos: position{line: 1793, col: 59, offset: 68520}, + pos: position{line: 1793, col: 59, offset: 68590}, name: "BlankLine", }, }, @@ -13227,39 +13281,39 @@ var g = &grammar{ }, { name: "TableLine", - pos: position{line: 1797, col: 1, offset: 68592}, + pos: position{line: 1797, col: 1, offset: 68662}, expr: &actionExpr{ - pos: position{line: 1797, col: 14, offset: 68605}, + pos: position{line: 1797, col: 14, offset: 68675}, run: (*parser).callonTableLine1, expr: &seqExpr{ - pos: position{line: 1797, col: 14, offset: 68605}, + pos: position{line: 1797, col: 14, offset: 68675}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1797, col: 14, offset: 68605}, + pos: position{line: 1797, col: 14, offset: 68675}, expr: &ruleRefExpr{ - pos: position{line: 1797, col: 15, offset: 68606}, + pos: position{line: 1797, col: 15, offset: 68676}, name: "TableDelimiter", }, }, &labeledExpr{ - pos: position{line: 1797, col: 30, offset: 68621}, + pos: position{line: 1797, col: 30, offset: 68691}, label: "cells", expr: &oneOrMoreExpr{ - pos: position{line: 1797, col: 36, offset: 68627}, + pos: position{line: 1797, col: 36, offset: 68697}, expr: &ruleRefExpr{ - pos: position{line: 1797, col: 37, offset: 68628}, + pos: position{line: 1797, col: 37, offset: 68698}, name: "TableCell", }, }, }, &ruleRefExpr{ - pos: position{line: 1797, col: 49, offset: 68640}, + pos: position{line: 1797, col: 49, offset: 68710}, name: "EOL", }, &zeroOrMoreExpr{ - pos: position{line: 1797, col: 53, offset: 68644}, + pos: position{line: 1797, col: 53, offset: 68714}, expr: &ruleRefExpr{ - pos: position{line: 1797, col: 53, offset: 68644}, + pos: position{line: 1797, col: 53, offset: 68714}, name: "BlankLine", }, }, @@ -13269,54 +13323,54 @@ var g = &grammar{ }, { name: "TableCell", - pos: position{line: 1801, col: 1, offset: 68717}, + pos: position{line: 1801, col: 1, offset: 68787}, expr: &actionExpr{ - pos: position{line: 1801, col: 14, offset: 68730}, + pos: position{line: 1801, col: 14, offset: 68800}, run: (*parser).callonTableCell1, expr: &seqExpr{ - pos: position{line: 1801, col: 14, offset: 68730}, + pos: position{line: 1801, col: 14, offset: 68800}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1801, col: 14, offset: 68730}, + pos: position{line: 1801, col: 14, offset: 68800}, name: "TableCellSeparator", }, &labeledExpr{ - pos: position{line: 1801, col: 33, offset: 68749}, + pos: position{line: 1801, col: 33, offset: 68819}, label: "elements", expr: &oneOrMoreExpr{ - pos: position{line: 1801, col: 42, offset: 68758}, + pos: position{line: 1801, col: 42, offset: 68828}, expr: &seqExpr{ - pos: position{line: 1801, col: 43, offset: 68759}, + pos: position{line: 1801, col: 43, offset: 68829}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1801, col: 43, offset: 68759}, + pos: position{line: 1801, col: 43, offset: 68829}, expr: &ruleRefExpr{ - pos: position{line: 1801, col: 44, offset: 68760}, + pos: position{line: 1801, col: 44, offset: 68830}, name: "TableCellSeparator", }, }, ¬Expr{ - pos: position{line: 1801, col: 63, offset: 68779}, + pos: position{line: 1801, col: 63, offset: 68849}, expr: &ruleRefExpr{ - pos: position{line: 1801, col: 64, offset: 68780}, + pos: position{line: 1801, col: 64, offset: 68850}, name: "EOL", }, }, &zeroOrMoreExpr{ - pos: position{line: 1801, col: 68, offset: 68784}, + pos: position{line: 1801, col: 68, offset: 68854}, expr: &ruleRefExpr{ - pos: position{line: 1801, col: 68, offset: 68784}, + pos: position{line: 1801, col: 68, offset: 68854}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1801, col: 75, offset: 68791}, + pos: position{line: 1801, col: 75, offset: 68861}, name: "InlineElement", }, &zeroOrMoreExpr{ - pos: position{line: 1801, col: 89, offset: 68805}, + pos: position{line: 1801, col: 89, offset: 68875}, expr: &ruleRefExpr{ - pos: position{line: 1801, col: 89, offset: 68805}, + pos: position{line: 1801, col: 89, offset: 68875}, name: "Space", }, }, @@ -13330,25 +13384,25 @@ var g = &grammar{ }, { name: "CommentBlockDelimiter", - pos: position{line: 1808, col: 1, offset: 69061}, + pos: position{line: 1808, col: 1, offset: 69131}, expr: &seqExpr{ - pos: position{line: 1808, col: 26, offset: 69086}, + pos: position{line: 1808, col: 26, offset: 69156}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1808, col: 26, offset: 69086}, + pos: position{line: 1808, col: 26, offset: 69156}, val: "////", ignoreCase: false, want: "\"////\"", }, &zeroOrMoreExpr{ - pos: position{line: 1808, col: 33, offset: 69093}, + pos: position{line: 1808, col: 33, offset: 69163}, expr: &ruleRefExpr{ - pos: position{line: 1808, col: 33, offset: 69093}, + pos: position{line: 1808, col: 33, offset: 69163}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1808, col: 40, offset: 69100}, + pos: position{line: 1808, col: 40, offset: 69170}, name: "EOL", }, }, @@ -13356,25 +13410,25 @@ var g = &grammar{ }, { name: "CommentBlockStartDelimiter", - pos: position{line: 1810, col: 1, offset: 69107}, + pos: position{line: 1810, col: 1, offset: 69177}, expr: &seqExpr{ - pos: position{line: 1810, col: 31, offset: 69137}, + pos: position{line: 1810, col: 31, offset: 69207}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1810, col: 31, offset: 69137}, + pos: position{line: 1810, col: 31, offset: 69207}, val: "////", ignoreCase: false, want: "\"////\"", }, &zeroOrMoreExpr{ - pos: position{line: 1810, col: 38, offset: 69144}, + pos: position{line: 1810, col: 38, offset: 69214}, expr: &ruleRefExpr{ - pos: position{line: 1810, col: 38, offset: 69144}, + pos: position{line: 1810, col: 38, offset: 69214}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1810, col: 45, offset: 69151}, + pos: position{line: 1810, col: 45, offset: 69221}, name: "EOL", }, }, @@ -13382,34 +13436,34 @@ var g = &grammar{ }, { name: "CommentBlockEndDelimiter", - pos: position{line: 1812, col: 1, offset: 69158}, + pos: position{line: 1812, col: 1, offset: 69228}, expr: &choiceExpr{ - pos: position{line: 1812, col: 29, offset: 69186}, + pos: position{line: 1812, col: 29, offset: 69256}, alternatives: []interface{}{ &seqExpr{ - pos: position{line: 1812, col: 30, offset: 69187}, + pos: position{line: 1812, col: 30, offset: 69257}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1812, col: 30, offset: 69187}, + pos: position{line: 1812, col: 30, offset: 69257}, val: "////", ignoreCase: false, want: "\"////\"", }, &zeroOrMoreExpr{ - pos: position{line: 1812, col: 37, offset: 69194}, + pos: position{line: 1812, col: 37, offset: 69264}, expr: &ruleRefExpr{ - pos: position{line: 1812, col: 37, offset: 69194}, + pos: position{line: 1812, col: 37, offset: 69264}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1812, col: 44, offset: 69201}, + pos: position{line: 1812, col: 44, offset: 69271}, name: "EOL", }, }, }, &ruleRefExpr{ - pos: position{line: 1812, col: 51, offset: 69208}, + pos: position{line: 1812, col: 51, offset: 69278}, name: "EOF", }, }, @@ -13417,27 +13471,27 @@ var g = &grammar{ }, { name: "CommentBlock", - pos: position{line: 1814, col: 1, offset: 69215}, + pos: position{line: 1814, col: 1, offset: 69285}, expr: &actionExpr{ - pos: position{line: 1814, col: 17, offset: 69231}, + pos: position{line: 1814, col: 17, offset: 69301}, run: (*parser).callonCommentBlock1, expr: &seqExpr{ - pos: position{line: 1814, col: 17, offset: 69231}, + pos: position{line: 1814, col: 17, offset: 69301}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1814, col: 17, offset: 69231}, + pos: position{line: 1814, col: 17, offset: 69301}, name: "CommentBlockStartDelimiter", }, &labeledExpr{ - pos: position{line: 1814, col: 44, offset: 69258}, + pos: position{line: 1814, col: 44, offset: 69328}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1814, col: 53, offset: 69267}, + pos: position{line: 1814, col: 53, offset: 69337}, name: "CommentBlockVerbatimContent", }, }, &ruleRefExpr{ - pos: position{line: 1814, col: 83, offset: 69297}, + pos: position{line: 1814, col: 83, offset: 69367}, name: "CommentBlockEndDelimiter", }, }, @@ -13446,27 +13500,27 @@ var g = &grammar{ }, { name: "CommentBlockVerbatimContent", - pos: position{line: 1818, col: 1, offset: 69411}, + pos: position{line: 1818, col: 1, offset: 69481}, expr: &zeroOrMoreExpr{ - pos: position{line: 1818, col: 32, offset: 69442}, + pos: position{line: 1818, col: 32, offset: 69512}, expr: &actionExpr{ - pos: position{line: 1818, col: 33, offset: 69443}, + pos: position{line: 1818, col: 33, offset: 69513}, run: (*parser).callonCommentBlockVerbatimContent2, expr: &seqExpr{ - pos: position{line: 1818, col: 33, offset: 69443}, + pos: position{line: 1818, col: 33, offset: 69513}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1818, col: 33, offset: 69443}, + pos: position{line: 1818, col: 33, offset: 69513}, expr: &ruleRefExpr{ - pos: position{line: 1818, col: 34, offset: 69444}, + pos: position{line: 1818, col: 34, offset: 69514}, name: "CommentBlockEndDelimiter", }, }, &labeledExpr{ - pos: position{line: 1818, col: 59, offset: 69469}, + pos: position{line: 1818, col: 59, offset: 69539}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1818, col: 68, offset: 69478}, + pos: position{line: 1818, col: 68, offset: 69548}, name: "VerbatimContent", }, }, @@ -13477,43 +13531,43 @@ var g = &grammar{ }, { name: "SingleLineComment", - pos: position{line: 1822, col: 1, offset: 69623}, + pos: position{line: 1822, col: 1, offset: 69693}, expr: &actionExpr{ - pos: position{line: 1822, col: 22, offset: 69644}, + pos: position{line: 1822, col: 22, offset: 69714}, run: (*parser).callonSingleLineComment1, expr: &seqExpr{ - pos: position{line: 1822, col: 22, offset: 69644}, + pos: position{line: 1822, col: 22, offset: 69714}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1822, col: 22, offset: 69644}, + pos: position{line: 1822, col: 22, offset: 69714}, expr: &ruleRefExpr{ - pos: position{line: 1822, col: 23, offset: 69645}, + pos: position{line: 1822, col: 23, offset: 69715}, name: "CommentBlockDelimiter", }, }, &zeroOrMoreExpr{ - pos: position{line: 1822, col: 45, offset: 69667}, + pos: position{line: 1822, col: 45, offset: 69737}, expr: &ruleRefExpr{ - pos: position{line: 1822, col: 45, offset: 69667}, + pos: position{line: 1822, col: 45, offset: 69737}, name: "Space", }, }, &litMatcher{ - pos: position{line: 1822, col: 52, offset: 69674}, + pos: position{line: 1822, col: 52, offset: 69744}, val: "//", ignoreCase: false, want: "\"//\"", }, &labeledExpr{ - pos: position{line: 1822, col: 57, offset: 69679}, + pos: position{line: 1822, col: 57, offset: 69749}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1822, col: 66, offset: 69688}, + pos: position{line: 1822, col: 66, offset: 69758}, name: "SingleLineCommentContent", }, }, &ruleRefExpr{ - pos: position{line: 1822, col: 92, offset: 69714}, + pos: position{line: 1822, col: 92, offset: 69784}, name: "EOL", }, }, @@ -13522,14 +13576,14 @@ var g = &grammar{ }, { name: "SingleLineCommentContent", - pos: position{line: 1826, col: 1, offset: 69783}, + pos: position{line: 1826, col: 1, offset: 69853}, expr: &actionExpr{ - pos: position{line: 1826, col: 29, offset: 69811}, + pos: position{line: 1826, col: 29, offset: 69881}, run: (*parser).callonSingleLineCommentContent1, expr: &zeroOrMoreExpr{ - pos: position{line: 1826, col: 29, offset: 69811}, + pos: position{line: 1826, col: 29, offset: 69881}, expr: &charClassMatcher{ - pos: position{line: 1826, col: 29, offset: 69811}, + pos: position{line: 1826, col: 29, offset: 69881}, val: "[^\\r\\n]", chars: []rune{'\r', '\n'}, ignoreCase: false, @@ -13540,20 +13594,20 @@ var g = &grammar{ }, { name: "LiteralBlock", - pos: position{line: 1834, col: 1, offset: 70132}, + pos: position{line: 1834, col: 1, offset: 70202}, expr: &choiceExpr{ - pos: position{line: 1834, col: 17, offset: 70148}, + pos: position{line: 1834, col: 17, offset: 70218}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1834, col: 17, offset: 70148}, + pos: position{line: 1834, col: 17, offset: 70218}, name: "ParagraphWithLiteralAttribute", }, &ruleRefExpr{ - pos: position{line: 1834, col: 49, offset: 70180}, + pos: position{line: 1834, col: 49, offset: 70250}, name: "ParagraphWithHeadingSpaces", }, &ruleRefExpr{ - pos: position{line: 1834, col: 78, offset: 70209}, + pos: position{line: 1834, col: 78, offset: 70279}, name: "ParagraphWithLiteralBlockDelimiter", }, }, @@ -13561,9 +13615,9 @@ var g = &grammar{ }, { name: "LiteralBlockDelimiter", - pos: position{line: 1836, col: 1, offset: 70247}, + pos: position{line: 1836, col: 1, offset: 70317}, expr: &litMatcher{ - pos: position{line: 1836, col: 26, offset: 70272}, + pos: position{line: 1836, col: 26, offset: 70342}, val: "....", ignoreCase: false, want: "\"....\"", @@ -13571,29 +13625,29 @@ var g = &grammar{ }, { name: "ParagraphWithHeadingSpaces", - pos: position{line: 1839, col: 1, offset: 70347}, + pos: position{line: 1839, col: 1, offset: 70417}, expr: &actionExpr{ - pos: position{line: 1839, col: 31, offset: 70377}, + pos: position{line: 1839, col: 31, offset: 70447}, run: (*parser).callonParagraphWithHeadingSpaces1, expr: &seqExpr{ - pos: position{line: 1839, col: 31, offset: 70377}, + pos: position{line: 1839, col: 31, offset: 70447}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1839, col: 31, offset: 70377}, + pos: position{line: 1839, col: 31, offset: 70447}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 1839, col: 42, offset: 70388}, + pos: position{line: 1839, col: 42, offset: 70458}, expr: &ruleRefExpr{ - pos: position{line: 1839, col: 43, offset: 70389}, + pos: position{line: 1839, col: 43, offset: 70459}, name: "Attributes", }, }, }, &labeledExpr{ - pos: position{line: 1839, col: 56, offset: 70402}, + pos: position{line: 1839, col: 56, offset: 70472}, label: "lines", expr: &ruleRefExpr{ - pos: position{line: 1839, col: 63, offset: 70409}, + pos: position{line: 1839, col: 63, offset: 70479}, name: "ParagraphWithHeadingSpacesLines", }, }, @@ -13603,33 +13657,33 @@ var g = &grammar{ }, { name: "ParagraphWithHeadingSpacesLines", - pos: position{line: 1844, col: 1, offset: 70644}, + pos: position{line: 1844, col: 1, offset: 70714}, expr: &actionExpr{ - pos: position{line: 1845, col: 5, offset: 70685}, + pos: position{line: 1845, col: 5, offset: 70755}, run: (*parser).callonParagraphWithHeadingSpacesLines1, expr: &seqExpr{ - pos: position{line: 1845, col: 5, offset: 70685}, + pos: position{line: 1845, col: 5, offset: 70755}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1845, col: 5, offset: 70685}, + pos: position{line: 1845, col: 5, offset: 70755}, label: "firstLine", expr: &actionExpr{ - pos: position{line: 1845, col: 16, offset: 70696}, + pos: position{line: 1845, col: 16, offset: 70766}, run: (*parser).callonParagraphWithHeadingSpacesLines4, expr: &seqExpr{ - pos: position{line: 1845, col: 16, offset: 70696}, + pos: position{line: 1845, col: 16, offset: 70766}, exprs: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 1845, col: 16, offset: 70696}, + pos: position{line: 1845, col: 16, offset: 70766}, expr: &ruleRefExpr{ - pos: position{line: 1845, col: 16, offset: 70696}, + pos: position{line: 1845, col: 16, offset: 70766}, name: "Space", }, }, &oneOrMoreExpr{ - pos: position{line: 1845, col: 23, offset: 70703}, + pos: position{line: 1845, col: 23, offset: 70773}, expr: &charClassMatcher{ - pos: position{line: 1845, col: 23, offset: 70703}, + pos: position{line: 1845, col: 23, offset: 70773}, val: "[^\\r\\n]", chars: []rune{'\r', '\n'}, ignoreCase: false, @@ -13641,37 +13695,37 @@ var g = &grammar{ }, }, &ruleRefExpr{ - pos: position{line: 1847, col: 8, offset: 70758}, + pos: position{line: 1847, col: 8, offset: 70828}, name: "EOL", }, &labeledExpr{ - pos: position{line: 1848, col: 5, offset: 70822}, + pos: position{line: 1848, col: 5, offset: 70892}, label: "otherLines", expr: &zeroOrMoreExpr{ - pos: position{line: 1848, col: 16, offset: 70833}, + pos: position{line: 1848, col: 16, offset: 70903}, expr: &actionExpr{ - pos: position{line: 1849, col: 9, offset: 70844}, + pos: position{line: 1849, col: 9, offset: 70914}, run: (*parser).callonParagraphWithHeadingSpacesLines13, expr: &seqExpr{ - pos: position{line: 1849, col: 9, offset: 70844}, + pos: position{line: 1849, col: 9, offset: 70914}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1849, col: 9, offset: 70844}, + pos: position{line: 1849, col: 9, offset: 70914}, expr: &ruleRefExpr{ - pos: position{line: 1849, col: 10, offset: 70845}, + pos: position{line: 1849, col: 10, offset: 70915}, name: "BlankLine", }, }, &labeledExpr{ - pos: position{line: 1850, col: 9, offset: 70865}, + pos: position{line: 1850, col: 9, offset: 70935}, label: "otherLine", expr: &actionExpr{ - pos: position{line: 1850, col: 20, offset: 70876}, + pos: position{line: 1850, col: 20, offset: 70946}, run: (*parser).callonParagraphWithHeadingSpacesLines18, expr: &oneOrMoreExpr{ - pos: position{line: 1850, col: 20, offset: 70876}, + pos: position{line: 1850, col: 20, offset: 70946}, expr: &charClassMatcher{ - pos: position{line: 1850, col: 20, offset: 70876}, + pos: position{line: 1850, col: 20, offset: 70946}, val: "[^\\r\\n]", chars: []rune{'\r', '\n'}, ignoreCase: false, @@ -13681,7 +13735,7 @@ var g = &grammar{ }, }, &ruleRefExpr{ - pos: position{line: 1852, col: 12, offset: 70939}, + pos: position{line: 1852, col: 12, offset: 71009}, name: "EOL", }, }, @@ -13695,72 +13749,72 @@ var g = &grammar{ }, { name: "ParagraphWithLiteralBlockDelimiter", - pos: position{line: 1859, col: 1, offset: 71176}, + pos: position{line: 1859, col: 1, offset: 71246}, expr: &actionExpr{ - pos: position{line: 1859, col: 39, offset: 71214}, + pos: position{line: 1859, col: 39, offset: 71284}, run: (*parser).callonParagraphWithLiteralBlockDelimiter1, expr: &seqExpr{ - pos: position{line: 1859, col: 39, offset: 71214}, + pos: position{line: 1859, col: 39, offset: 71284}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1859, col: 39, offset: 71214}, + pos: position{line: 1859, col: 39, offset: 71284}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 1859, col: 50, offset: 71225}, + pos: position{line: 1859, col: 50, offset: 71295}, expr: &ruleRefExpr{ - pos: position{line: 1859, col: 51, offset: 71226}, + pos: position{line: 1859, col: 51, offset: 71296}, name: "Attributes", }, }, }, &ruleRefExpr{ - pos: position{line: 1860, col: 9, offset: 71248}, + pos: position{line: 1860, col: 9, offset: 71318}, name: "LiteralBlockDelimiter", }, &zeroOrMoreExpr{ - pos: position{line: 1860, col: 31, offset: 71270}, + pos: position{line: 1860, col: 31, offset: 71340}, expr: &ruleRefExpr{ - pos: position{line: 1860, col: 31, offset: 71270}, + pos: position{line: 1860, col: 31, offset: 71340}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1860, col: 38, offset: 71277}, + pos: position{line: 1860, col: 38, offset: 71347}, name: "Newline", }, &labeledExpr{ - pos: position{line: 1860, col: 46, offset: 71285}, + pos: position{line: 1860, col: 46, offset: 71355}, label: "lines", expr: &ruleRefExpr{ - pos: position{line: 1860, col: 53, offset: 71292}, + pos: position{line: 1860, col: 53, offset: 71362}, name: "ParagraphWithLiteralBlockDelimiterLines", }, }, &choiceExpr{ - pos: position{line: 1860, col: 95, offset: 71334}, + pos: position{line: 1860, col: 95, offset: 71404}, alternatives: []interface{}{ &seqExpr{ - pos: position{line: 1860, col: 96, offset: 71335}, + pos: position{line: 1860, col: 96, offset: 71405}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1860, col: 96, offset: 71335}, + pos: position{line: 1860, col: 96, offset: 71405}, name: "LiteralBlockDelimiter", }, &zeroOrMoreExpr{ - pos: position{line: 1860, col: 118, offset: 71357}, + pos: position{line: 1860, col: 118, offset: 71427}, expr: &ruleRefExpr{ - pos: position{line: 1860, col: 118, offset: 71357}, + pos: position{line: 1860, col: 118, offset: 71427}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1860, col: 125, offset: 71364}, + pos: position{line: 1860, col: 125, offset: 71434}, name: "EOL", }, }, }, &ruleRefExpr{ - pos: position{line: 1860, col: 132, offset: 71371}, + pos: position{line: 1860, col: 132, offset: 71441}, name: "EOF", }, }, @@ -13771,17 +13825,17 @@ var g = &grammar{ }, { name: "ParagraphWithLiteralBlockDelimiterLines", - pos: position{line: 1865, col: 1, offset: 71535}, + pos: position{line: 1865, col: 1, offset: 71605}, expr: &actionExpr{ - pos: position{line: 1865, col: 44, offset: 71578}, + pos: position{line: 1865, col: 44, offset: 71648}, run: (*parser).callonParagraphWithLiteralBlockDelimiterLines1, expr: &labeledExpr{ - pos: position{line: 1865, col: 44, offset: 71578}, + pos: position{line: 1865, col: 44, offset: 71648}, label: "lines", expr: &zeroOrMoreExpr{ - pos: position{line: 1865, col: 50, offset: 71584}, + pos: position{line: 1865, col: 50, offset: 71654}, expr: &ruleRefExpr{ - pos: position{line: 1865, col: 51, offset: 71585}, + pos: position{line: 1865, col: 51, offset: 71655}, name: "ParagraphWithLiteralBlockDelimiterLine", }, }, @@ -13790,33 +13844,33 @@ var g = &grammar{ }, { name: "ParagraphWithLiteralBlockDelimiterLine", - pos: position{line: 1869, col: 1, offset: 71673}, + pos: position{line: 1869, col: 1, offset: 71743}, expr: &actionExpr{ - pos: position{line: 1870, col: 5, offset: 71729}, + pos: position{line: 1870, col: 5, offset: 71799}, run: (*parser).callonParagraphWithLiteralBlockDelimiterLine1, expr: &seqExpr{ - pos: position{line: 1870, col: 5, offset: 71729}, + pos: position{line: 1870, col: 5, offset: 71799}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1870, col: 5, offset: 71729}, + pos: position{line: 1870, col: 5, offset: 71799}, label: "line", expr: &actionExpr{ - pos: position{line: 1870, col: 11, offset: 71735}, + pos: position{line: 1870, col: 11, offset: 71805}, run: (*parser).callonParagraphWithLiteralBlockDelimiterLine4, expr: &seqExpr{ - pos: position{line: 1870, col: 11, offset: 71735}, + pos: position{line: 1870, col: 11, offset: 71805}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1870, col: 11, offset: 71735}, + pos: position{line: 1870, col: 11, offset: 71805}, expr: &ruleRefExpr{ - pos: position{line: 1870, col: 12, offset: 71736}, + pos: position{line: 1870, col: 12, offset: 71806}, name: "LiteralBlockDelimiter", }, }, &zeroOrMoreExpr{ - pos: position{line: 1870, col: 34, offset: 71758}, + pos: position{line: 1870, col: 34, offset: 71828}, expr: &charClassMatcher{ - pos: position{line: 1870, col: 34, offset: 71758}, + pos: position{line: 1870, col: 34, offset: 71828}, val: "[^\\r\\n]", chars: []rune{'\r', '\n'}, ignoreCase: false, @@ -13828,7 +13882,7 @@ var g = &grammar{ }, }, &ruleRefExpr{ - pos: position{line: 1872, col: 8, offset: 71813}, + pos: position{line: 1872, col: 8, offset: 71883}, name: "EOL", }, }, @@ -13837,33 +13891,33 @@ var g = &grammar{ }, { name: "ParagraphWithLiteralAttribute", - pos: position{line: 1877, col: 1, offset: 71944}, + pos: position{line: 1877, col: 1, offset: 72014}, expr: &actionExpr{ - pos: position{line: 1878, col: 5, offset: 71983}, + pos: position{line: 1878, col: 5, offset: 72053}, run: (*parser).callonParagraphWithLiteralAttribute1, expr: &seqExpr{ - pos: position{line: 1878, col: 5, offset: 71983}, + pos: position{line: 1878, col: 5, offset: 72053}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 1878, col: 5, offset: 71983}, + pos: position{line: 1878, col: 5, offset: 72053}, label: "attributes", expr: &zeroOrOneExpr{ - pos: position{line: 1878, col: 16, offset: 71994}, + pos: position{line: 1878, col: 16, offset: 72064}, expr: &ruleRefExpr{ - pos: position{line: 1878, col: 17, offset: 71995}, + pos: position{line: 1878, col: 17, offset: 72065}, name: "Attributes", }, }, }, &andCodeExpr{ - pos: position{line: 1879, col: 5, offset: 72013}, + pos: position{line: 1879, col: 5, offset: 72083}, run: (*parser).callonParagraphWithLiteralAttribute6, }, &labeledExpr{ - pos: position{line: 1886, col: 5, offset: 72227}, + pos: position{line: 1886, col: 5, offset: 72297}, label: "lines", expr: &ruleRefExpr{ - pos: position{line: 1886, col: 12, offset: 72234}, + pos: position{line: 1886, col: 12, offset: 72304}, name: "ParagraphWithLiteralAttributeLines", }, }, @@ -13873,12 +13927,12 @@ var g = &grammar{ }, { name: "LiteralKind", - pos: position{line: 1890, col: 1, offset: 72388}, + pos: position{line: 1890, col: 1, offset: 72458}, expr: &actionExpr{ - pos: position{line: 1890, col: 16, offset: 72403}, + pos: position{line: 1890, col: 16, offset: 72473}, run: (*parser).callonLiteralKind1, expr: &litMatcher{ - pos: position{line: 1890, col: 16, offset: 72403}, + pos: position{line: 1890, col: 16, offset: 72473}, val: "literal", ignoreCase: false, want: "\"literal\"", @@ -13887,17 +13941,17 @@ var g = &grammar{ }, { name: "ParagraphWithLiteralAttributeLines", - pos: position{line: 1895, col: 1, offset: 72491}, + pos: position{line: 1895, col: 1, offset: 72561}, expr: &actionExpr{ - pos: position{line: 1895, col: 39, offset: 72529}, + pos: position{line: 1895, col: 39, offset: 72599}, run: (*parser).callonParagraphWithLiteralAttributeLines1, expr: &labeledExpr{ - pos: position{line: 1895, col: 39, offset: 72529}, + pos: position{line: 1895, col: 39, offset: 72599}, label: "lines", expr: &oneOrMoreExpr{ - pos: position{line: 1895, col: 45, offset: 72535}, + pos: position{line: 1895, col: 45, offset: 72605}, expr: &ruleRefExpr{ - pos: position{line: 1895, col: 46, offset: 72536}, + pos: position{line: 1895, col: 46, offset: 72606}, name: "ParagraphWithLiteralAttributeLine", }, }, @@ -13906,30 +13960,30 @@ var g = &grammar{ }, { name: "ParagraphWithLiteralAttributeLine", - pos: position{line: 1899, col: 1, offset: 72620}, + pos: position{line: 1899, col: 1, offset: 72690}, expr: &actionExpr{ - pos: position{line: 1899, col: 38, offset: 72657}, + pos: position{line: 1899, col: 38, offset: 72727}, run: (*parser).callonParagraphWithLiteralAttributeLine1, expr: &seqExpr{ - pos: position{line: 1899, col: 38, offset: 72657}, + pos: position{line: 1899, col: 38, offset: 72727}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1899, col: 38, offset: 72657}, + pos: position{line: 1899, col: 38, offset: 72727}, expr: &ruleRefExpr{ - pos: position{line: 1899, col: 39, offset: 72658}, + pos: position{line: 1899, col: 39, offset: 72728}, name: "BlankLine", }, }, &labeledExpr{ - pos: position{line: 1899, col: 49, offset: 72668}, + pos: position{line: 1899, col: 49, offset: 72738}, label: "content", expr: &actionExpr{ - pos: position{line: 1899, col: 58, offset: 72677}, + pos: position{line: 1899, col: 58, offset: 72747}, run: (*parser).callonParagraphWithLiteralAttributeLine6, expr: &oneOrMoreExpr{ - pos: position{line: 1899, col: 58, offset: 72677}, + pos: position{line: 1899, col: 58, offset: 72747}, expr: &charClassMatcher{ - pos: position{line: 1899, col: 58, offset: 72677}, + pos: position{line: 1899, col: 58, offset: 72747}, val: "[^\\r\\n]", chars: []rune{'\r', '\n'}, ignoreCase: false, @@ -13939,7 +13993,7 @@ var g = &grammar{ }, }, &ruleRefExpr{ - pos: position{line: 1901, col: 4, offset: 72724}, + pos: position{line: 1901, col: 4, offset: 72794}, name: "EOL", }, }, @@ -13948,29 +14002,29 @@ var g = &grammar{ }, { name: "IndexTerm", - pos: position{line: 1908, col: 1, offset: 72917}, + pos: position{line: 1908, col: 1, offset: 72987}, expr: &actionExpr{ - pos: position{line: 1908, col: 14, offset: 72930}, + pos: position{line: 1908, col: 14, offset: 73000}, run: (*parser).callonIndexTerm1, expr: &seqExpr{ - pos: position{line: 1908, col: 14, offset: 72930}, + pos: position{line: 1908, col: 14, offset: 73000}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1908, col: 14, offset: 72930}, + pos: position{line: 1908, col: 14, offset: 73000}, val: "((", ignoreCase: false, want: "\"((\"", }, &labeledExpr{ - pos: position{line: 1908, col: 19, offset: 72935}, + pos: position{line: 1908, col: 19, offset: 73005}, label: "term", expr: &ruleRefExpr{ - pos: position{line: 1908, col: 25, offset: 72941}, + pos: position{line: 1908, col: 25, offset: 73011}, name: "IndexTermContent", }, }, &litMatcher{ - pos: position{line: 1908, col: 43, offset: 72959}, + pos: position{line: 1908, col: 43, offset: 73029}, val: "))", ignoreCase: false, want: "\"))\"", @@ -13981,51 +14035,51 @@ var g = &grammar{ }, { name: "IndexTermContent", - pos: position{line: 1912, col: 1, offset: 73028}, + pos: position{line: 1912, col: 1, offset: 73098}, expr: &actionExpr{ - pos: position{line: 1912, col: 21, offset: 73048}, + pos: position{line: 1912, col: 21, offset: 73118}, run: (*parser).callonIndexTermContent1, expr: &labeledExpr{ - pos: position{line: 1912, col: 21, offset: 73048}, + pos: position{line: 1912, col: 21, offset: 73118}, label: "elements", expr: &oneOrMoreExpr{ - pos: position{line: 1912, col: 30, offset: 73057}, + pos: position{line: 1912, col: 30, offset: 73127}, expr: &choiceExpr{ - pos: position{line: 1912, col: 31, offset: 73058}, + pos: position{line: 1912, col: 31, offset: 73128}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1912, col: 31, offset: 73058}, + pos: position{line: 1912, col: 31, offset: 73128}, name: "Word", }, &ruleRefExpr{ - pos: position{line: 1912, col: 38, offset: 73065}, + pos: position{line: 1912, col: 38, offset: 73135}, name: "QuotedString", }, &ruleRefExpr{ - pos: position{line: 1912, col: 53, offset: 73080}, + pos: position{line: 1912, col: 53, offset: 73150}, name: "QuotedText", }, &ruleRefExpr{ - pos: position{line: 1912, col: 66, offset: 73093}, + pos: position{line: 1912, col: 66, offset: 73163}, name: "Space", }, &actionExpr{ - pos: position{line: 1912, col: 74, offset: 73101}, + pos: position{line: 1912, col: 74, offset: 73171}, run: (*parser).callonIndexTermContent9, expr: &seqExpr{ - pos: position{line: 1912, col: 75, offset: 73102}, + pos: position{line: 1912, col: 75, offset: 73172}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1912, col: 75, offset: 73102}, + pos: position{line: 1912, col: 75, offset: 73172}, expr: &litMatcher{ - pos: position{line: 1912, col: 76, offset: 73103}, + pos: position{line: 1912, col: 76, offset: 73173}, val: "))", ignoreCase: false, want: "\"))\"", }, }, &anyMatcher{ - line: 1912, col: 81, offset: 73108, + line: 1912, col: 81, offset: 73178, }, }, }, @@ -14038,63 +14092,63 @@ var g = &grammar{ }, { name: "ConcealedIndexTerm", - pos: position{line: 1918, col: 1, offset: 73220}, + pos: position{line: 1918, col: 1, offset: 73290}, expr: &actionExpr{ - pos: position{line: 1918, col: 23, offset: 73242}, + pos: position{line: 1918, col: 23, offset: 73312}, run: (*parser).callonConcealedIndexTerm1, expr: &seqExpr{ - pos: position{line: 1918, col: 23, offset: 73242}, + pos: position{line: 1918, col: 23, offset: 73312}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 1918, col: 23, offset: 73242}, + pos: position{line: 1918, col: 23, offset: 73312}, val: "(((", ignoreCase: false, want: "\"(((\"", }, &labeledExpr{ - pos: position{line: 1918, col: 29, offset: 73248}, + pos: position{line: 1918, col: 29, offset: 73318}, label: "term1", expr: &ruleRefExpr{ - pos: position{line: 1918, col: 36, offset: 73255}, + pos: position{line: 1918, col: 36, offset: 73325}, name: "ConcealedIndexTermContent", }, }, &labeledExpr{ - pos: position{line: 1919, col: 5, offset: 73288}, + pos: position{line: 1919, col: 5, offset: 73358}, label: "term2", expr: &zeroOrOneExpr{ - pos: position{line: 1919, col: 11, offset: 73294}, + pos: position{line: 1919, col: 11, offset: 73364}, expr: &actionExpr{ - pos: position{line: 1919, col: 12, offset: 73295}, + pos: position{line: 1919, col: 12, offset: 73365}, run: (*parser).callonConcealedIndexTerm8, expr: &seqExpr{ - pos: position{line: 1919, col: 12, offset: 73295}, + pos: position{line: 1919, col: 12, offset: 73365}, exprs: []interface{}{ &zeroOrMoreExpr{ - pos: position{line: 1919, col: 12, offset: 73295}, + pos: position{line: 1919, col: 12, offset: 73365}, expr: &ruleRefExpr{ - pos: position{line: 1919, col: 12, offset: 73295}, + pos: position{line: 1919, col: 12, offset: 73365}, name: "Space", }, }, &litMatcher{ - pos: position{line: 1919, col: 19, offset: 73302}, + pos: position{line: 1919, col: 19, offset: 73372}, val: ",", ignoreCase: false, want: "\",\"", }, &zeroOrMoreExpr{ - pos: position{line: 1919, col: 23, offset: 73306}, + pos: position{line: 1919, col: 23, offset: 73376}, expr: &ruleRefExpr{ - pos: position{line: 1919, col: 23, offset: 73306}, + pos: position{line: 1919, col: 23, offset: 73376}, name: "Space", }, }, &labeledExpr{ - pos: position{line: 1919, col: 30, offset: 73313}, + pos: position{line: 1919, col: 30, offset: 73383}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1919, col: 39, offset: 73322}, + pos: position{line: 1919, col: 39, offset: 73392}, name: "ConcealedIndexTermContent", }, }, @@ -14104,41 +14158,41 @@ var g = &grammar{ }, }, &labeledExpr{ - pos: position{line: 1920, col: 5, offset: 73381}, + pos: position{line: 1920, col: 5, offset: 73451}, label: "term3", expr: &zeroOrOneExpr{ - pos: position{line: 1920, col: 11, offset: 73387}, + pos: position{line: 1920, col: 11, offset: 73457}, expr: &actionExpr{ - pos: position{line: 1920, col: 12, offset: 73388}, + pos: position{line: 1920, col: 12, offset: 73458}, run: (*parser).callonConcealedIndexTerm19, expr: &seqExpr{ - pos: position{line: 1920, col: 12, offset: 73388}, + pos: position{line: 1920, col: 12, offset: 73458}, exprs: []interface{}{ &zeroOrMoreExpr{ - pos: position{line: 1920, col: 12, offset: 73388}, + pos: position{line: 1920, col: 12, offset: 73458}, expr: &ruleRefExpr{ - pos: position{line: 1920, col: 12, offset: 73388}, + pos: position{line: 1920, col: 12, offset: 73458}, name: "Space", }, }, &litMatcher{ - pos: position{line: 1920, col: 19, offset: 73395}, + pos: position{line: 1920, col: 19, offset: 73465}, val: ",", ignoreCase: false, want: "\",\"", }, &zeroOrMoreExpr{ - pos: position{line: 1920, col: 23, offset: 73399}, + pos: position{line: 1920, col: 23, offset: 73469}, expr: &ruleRefExpr{ - pos: position{line: 1920, col: 23, offset: 73399}, + pos: position{line: 1920, col: 23, offset: 73469}, name: "Space", }, }, &labeledExpr{ - pos: position{line: 1920, col: 30, offset: 73406}, + pos: position{line: 1920, col: 30, offset: 73476}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 1920, col: 39, offset: 73415}, + pos: position{line: 1920, col: 39, offset: 73485}, name: "ConcealedIndexTermContent", }, }, @@ -14148,7 +14202,7 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 1921, col: 5, offset: 73474}, + pos: position{line: 1921, col: 5, offset: 73544}, val: ")))", ignoreCase: false, want: "\")))\"", @@ -14159,21 +14213,21 @@ var g = &grammar{ }, { name: "ConcealedIndexTermContent", - pos: position{line: 1925, col: 1, offset: 73557}, + pos: position{line: 1925, col: 1, offset: 73627}, expr: &actionExpr{ - pos: position{line: 1925, col: 30, offset: 73586}, + pos: position{line: 1925, col: 30, offset: 73656}, run: (*parser).callonConcealedIndexTermContent1, expr: &oneOrMoreExpr{ - pos: position{line: 1925, col: 30, offset: 73586}, + pos: position{line: 1925, col: 30, offset: 73656}, expr: &choiceExpr{ - pos: position{line: 1925, col: 31, offset: 73587}, + pos: position{line: 1925, col: 31, offset: 73657}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1925, col: 31, offset: 73587}, + pos: position{line: 1925, col: 31, offset: 73657}, name: "Alphanum", }, &ruleRefExpr{ - pos: position{line: 1925, col: 42, offset: 73598}, + pos: position{line: 1925, col: 42, offset: 73668}, name: "Space", }, }, @@ -14183,29 +14237,29 @@ var g = &grammar{ }, { name: "BlankLine", - pos: position{line: 1932, col: 1, offset: 73754}, + pos: position{line: 1932, col: 1, offset: 73824}, expr: &actionExpr{ - pos: position{line: 1932, col: 14, offset: 73767}, + pos: position{line: 1932, col: 14, offset: 73837}, run: (*parser).callonBlankLine1, expr: &seqExpr{ - pos: position{line: 1932, col: 14, offset: 73767}, + pos: position{line: 1932, col: 14, offset: 73837}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 1932, col: 14, offset: 73767}, + pos: position{line: 1932, col: 14, offset: 73837}, expr: &ruleRefExpr{ - pos: position{line: 1932, col: 15, offset: 73768}, + pos: position{line: 1932, col: 15, offset: 73838}, name: "EOF", }, }, &zeroOrMoreExpr{ - pos: position{line: 1932, col: 19, offset: 73772}, + pos: position{line: 1932, col: 19, offset: 73842}, expr: &ruleRefExpr{ - pos: position{line: 1932, col: 19, offset: 73772}, + pos: position{line: 1932, col: 19, offset: 73842}, name: "Space", }, }, &ruleRefExpr{ - pos: position{line: 1932, col: 26, offset: 73779}, + pos: position{line: 1932, col: 26, offset: 73849}, name: "EOL", }, }, @@ -14214,28 +14268,28 @@ var g = &grammar{ }, { name: "Symbol", - pos: position{line: 1940, col: 1, offset: 73932}, + pos: position{line: 1940, col: 1, offset: 74002}, expr: &choiceExpr{ - pos: position{line: 1940, col: 11, offset: 73942}, + pos: position{line: 1940, col: 11, offset: 74012}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1940, col: 11, offset: 73942}, + pos: position{line: 1940, col: 11, offset: 74012}, name: "Apostrophe", }, &ruleRefExpr{ - pos: position{line: 1940, col: 24, offset: 73955}, + pos: position{line: 1940, col: 24, offset: 74025}, name: "Copyright", }, &ruleRefExpr{ - pos: position{line: 1940, col: 36, offset: 73967}, + pos: position{line: 1940, col: 36, offset: 74037}, name: "Trademark", }, &ruleRefExpr{ - pos: position{line: 1940, col: 48, offset: 73979}, + pos: position{line: 1940, col: 48, offset: 74049}, name: "Registered", }, &ruleRefExpr{ - pos: position{line: 1940, col: 61, offset: 73992}, + pos: position{line: 1940, col: 61, offset: 74062}, name: "Ellipsis", }, }, @@ -14243,12 +14297,12 @@ var g = &grammar{ }, { name: "Apostrophe", - pos: position{line: 1942, col: 1, offset: 74004}, + pos: position{line: 1942, col: 1, offset: 74074}, expr: &actionExpr{ - pos: position{line: 1942, col: 15, offset: 74018}, + pos: position{line: 1942, col: 15, offset: 74088}, run: (*parser).callonApostrophe1, expr: &litMatcher{ - pos: position{line: 1942, col: 15, offset: 74018}, + pos: position{line: 1942, col: 15, offset: 74088}, val: "`'", ignoreCase: false, want: "\"`'\"", @@ -14257,12 +14311,12 @@ var g = &grammar{ }, { name: "Copyright", - pos: position{line: 1945, col: 1, offset: 74074}, + pos: position{line: 1945, col: 1, offset: 74144}, expr: &actionExpr{ - pos: position{line: 1945, col: 14, offset: 74087}, + pos: position{line: 1945, col: 14, offset: 74157}, run: (*parser).callonCopyright1, expr: &litMatcher{ - pos: position{line: 1945, col: 14, offset: 74087}, + pos: position{line: 1945, col: 14, offset: 74157}, val: "(C)", ignoreCase: false, want: "\"(C)\"", @@ -14271,12 +14325,12 @@ var g = &grammar{ }, { name: "Trademark", - pos: position{line: 1948, col: 1, offset: 74144}, + pos: position{line: 1948, col: 1, offset: 74214}, expr: &actionExpr{ - pos: position{line: 1948, col: 14, offset: 74157}, + pos: position{line: 1948, col: 14, offset: 74227}, run: (*parser).callonTrademark1, expr: &litMatcher{ - pos: position{line: 1948, col: 14, offset: 74157}, + pos: position{line: 1948, col: 14, offset: 74227}, val: "(TM)", ignoreCase: false, want: "\"(TM)\"", @@ -14285,12 +14339,12 @@ var g = &grammar{ }, { name: "Registered", - pos: position{line: 1951, col: 1, offset: 74215}, + pos: position{line: 1951, col: 1, offset: 74285}, expr: &actionExpr{ - pos: position{line: 1951, col: 15, offset: 74229}, + pos: position{line: 1951, col: 15, offset: 74299}, run: (*parser).callonRegistered1, expr: &litMatcher{ - pos: position{line: 1951, col: 15, offset: 74229}, + pos: position{line: 1951, col: 15, offset: 74299}, val: "(R)", ignoreCase: false, want: "\"(R)\"", @@ -14299,12 +14353,12 @@ var g = &grammar{ }, { name: "Ellipsis", - pos: position{line: 1954, col: 1, offset: 74286}, + pos: position{line: 1954, col: 1, offset: 74356}, expr: &actionExpr{ - pos: position{line: 1954, col: 13, offset: 74298}, + pos: position{line: 1954, col: 13, offset: 74368}, run: (*parser).callonEllipsis1, expr: &litMatcher{ - pos: position{line: 1954, col: 13, offset: 74298}, + pos: position{line: 1954, col: 13, offset: 74368}, val: "...", ignoreCase: false, want: "\"...\"", @@ -14313,27 +14367,27 @@ var g = &grammar{ }, { name: "ImpliedApostrophe", - pos: position{line: 1962, col: 1, offset: 74581}, + pos: position{line: 1962, col: 1, offset: 74651}, expr: &actionExpr{ - pos: position{line: 1962, col: 22, offset: 74602}, + pos: position{line: 1962, col: 22, offset: 74672}, run: (*parser).callonImpliedApostrophe1, expr: &seqExpr{ - pos: position{line: 1962, col: 22, offset: 74602}, + pos: position{line: 1962, col: 22, offset: 74672}, exprs: []interface{}{ &ruleRefExpr{ - pos: position{line: 1962, col: 22, offset: 74602}, + pos: position{line: 1962, col: 22, offset: 74672}, name: "Alphanum", }, &litMatcher{ - pos: position{line: 1962, col: 31, offset: 74611}, + pos: position{line: 1962, col: 31, offset: 74681}, val: "'", ignoreCase: false, want: "\"'\"", }, &andExpr{ - pos: position{line: 1962, col: 35, offset: 74615}, + pos: position{line: 1962, col: 35, offset: 74685}, expr: &charClassMatcher{ - pos: position{line: 1962, col: 36, offset: 74616}, + pos: position{line: 1962, col: 36, offset: 74686}, val: "[\\pL]", classes: []*unicode.RangeTable{rangeTable("L")}, ignoreCase: false, @@ -14346,9 +14400,9 @@ var g = &grammar{ }, { name: "Alphanum", - pos: position{line: 1969, col: 1, offset: 74803}, + pos: position{line: 1969, col: 1, offset: 74873}, expr: &charClassMatcher{ - pos: position{line: 1969, col: 13, offset: 74815}, + pos: position{line: 1969, col: 13, offset: 74885}, val: "[\\pL0-9]", ranges: []rune{'0', '9'}, classes: []*unicode.RangeTable{rangeTable("L")}, @@ -14358,42 +14412,42 @@ var g = &grammar{ }, { name: "Parenthesis", - pos: position{line: 1971, col: 1, offset: 74827}, + pos: position{line: 1971, col: 1, offset: 74897}, expr: &choiceExpr{ - pos: position{line: 1971, col: 16, offset: 74842}, + pos: position{line: 1971, col: 16, offset: 74912}, alternatives: []interface{}{ &litMatcher{ - pos: position{line: 1971, col: 16, offset: 74842}, + pos: position{line: 1971, col: 16, offset: 74912}, val: "(", ignoreCase: false, want: "\"(\"", }, &litMatcher{ - pos: position{line: 1971, col: 22, offset: 74848}, + pos: position{line: 1971, col: 22, offset: 74918}, val: ")", ignoreCase: false, want: "\")\"", }, &litMatcher{ - pos: position{line: 1971, col: 28, offset: 74854}, + pos: position{line: 1971, col: 28, offset: 74924}, val: "[", ignoreCase: false, want: "\"[\"", }, &litMatcher{ - pos: position{line: 1971, col: 34, offset: 74860}, + pos: position{line: 1971, col: 34, offset: 74930}, val: "]", ignoreCase: false, want: "\"]\"", }, &litMatcher{ - pos: position{line: 1971, col: 40, offset: 74866}, + pos: position{line: 1971, col: 40, offset: 74936}, val: "{", ignoreCase: false, want: "\"{\"", }, &litMatcher{ - pos: position{line: 1971, col: 46, offset: 74872}, + pos: position{line: 1971, col: 46, offset: 74942}, val: "}", ignoreCase: false, want: "\"}\"", @@ -14403,14 +14457,14 @@ var g = &grammar{ }, { name: "Alphanums", - pos: position{line: 1973, col: 1, offset: 74880}, + pos: position{line: 1973, col: 1, offset: 74950}, expr: &actionExpr{ - pos: position{line: 1973, col: 14, offset: 74893}, + pos: position{line: 1973, col: 14, offset: 74963}, run: (*parser).callonAlphanums1, expr: &oneOrMoreExpr{ - pos: position{line: 1973, col: 14, offset: 74893}, + pos: position{line: 1973, col: 14, offset: 74963}, expr: &charClassMatcher{ - pos: position{line: 1973, col: 14, offset: 74893}, + pos: position{line: 1973, col: 14, offset: 74963}, val: "[\\pL0-9]", ranges: []rune{'0', '9'}, classes: []*unicode.RangeTable{rangeTable("L")}, @@ -14422,20 +14476,20 @@ var g = &grammar{ }, { name: "Word", - pos: position{line: 1977, col: 1, offset: 74943}, + pos: position{line: 1977, col: 1, offset: 75013}, expr: &choiceExpr{ - pos: position{line: 1981, col: 5, offset: 75274}, + pos: position{line: 1981, col: 5, offset: 75344}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 1981, col: 5, offset: 75274}, + pos: position{line: 1981, col: 5, offset: 75344}, run: (*parser).callonWord2, expr: &seqExpr{ - pos: position{line: 1981, col: 5, offset: 75274}, + pos: position{line: 1981, col: 5, offset: 75344}, exprs: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 1981, col: 5, offset: 75274}, + pos: position{line: 1981, col: 5, offset: 75344}, expr: &charClassMatcher{ - pos: position{line: 1981, col: 5, offset: 75274}, + pos: position{line: 1981, col: 5, offset: 75344}, val: "[\\pL0-9]", ranges: []rune{'0', '9'}, classes: []*unicode.RangeTable{rangeTable("L")}, @@ -14444,19 +14498,19 @@ var g = &grammar{ }, }, &andExpr{ - pos: position{line: 1981, col: 15, offset: 75284}, + pos: position{line: 1981, col: 15, offset: 75354}, expr: &choiceExpr{ - pos: position{line: 1981, col: 17, offset: 75286}, + pos: position{line: 1981, col: 17, offset: 75356}, alternatives: []interface{}{ &charClassMatcher{ - pos: position{line: 1981, col: 17, offset: 75286}, + pos: position{line: 1981, col: 17, offset: 75356}, val: "[\\r\\n ,\\]]", chars: []rune{'\r', '\n', ' ', ',', ']'}, ignoreCase: false, inverted: false, }, &ruleRefExpr{ - pos: position{line: 1981, col: 30, offset: 75299}, + pos: position{line: 1981, col: 30, offset: 75369}, name: "EOF", }, }, @@ -14466,15 +14520,15 @@ var g = &grammar{ }, }, &actionExpr{ - pos: position{line: 1983, col: 9, offset: 75371}, + pos: position{line: 1983, col: 9, offset: 75441}, run: (*parser).callonWord10, expr: &seqExpr{ - pos: position{line: 1983, col: 9, offset: 75371}, + pos: position{line: 1983, col: 9, offset: 75441}, exprs: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 1983, col: 9, offset: 75371}, + pos: position{line: 1983, col: 9, offset: 75441}, expr: &charClassMatcher{ - pos: position{line: 1983, col: 9, offset: 75371}, + pos: position{line: 1983, col: 9, offset: 75441}, val: "[\\pL0-9]", ranges: []rune{'0', '9'}, classes: []*unicode.RangeTable{rangeTable("L")}, @@ -14483,21 +14537,21 @@ var g = &grammar{ }, }, &oneOrMoreExpr{ - pos: position{line: 1983, col: 19, offset: 75381}, + pos: position{line: 1983, col: 19, offset: 75451}, expr: &seqExpr{ - pos: position{line: 1983, col: 20, offset: 75382}, + pos: position{line: 1983, col: 20, offset: 75452}, exprs: []interface{}{ &charClassMatcher{ - pos: position{line: 1983, col: 20, offset: 75382}, + pos: position{line: 1983, col: 20, offset: 75452}, val: "[=*_`]", chars: []rune{'=', '*', '_', '`'}, ignoreCase: false, inverted: false, }, &oneOrMoreExpr{ - pos: position{line: 1983, col: 27, offset: 75389}, + pos: position{line: 1983, col: 27, offset: 75459}, expr: &charClassMatcher{ - pos: position{line: 1983, col: 27, offset: 75389}, + pos: position{line: 1983, col: 27, offset: 75459}, val: "[\\pL0-9]", ranges: []rune{'0', '9'}, classes: []*unicode.RangeTable{rangeTable("L")}, @@ -14516,20 +14570,20 @@ var g = &grammar{ }, { name: "InlineWord", - pos: position{line: 1987, col: 1, offset: 75469}, + pos: position{line: 1987, col: 1, offset: 75539}, expr: &choiceExpr{ - pos: position{line: 1988, col: 5, offset: 75551}, + pos: position{line: 1988, col: 5, offset: 75621}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 1988, col: 5, offset: 75551}, + pos: position{line: 1988, col: 5, offset: 75621}, run: (*parser).callonInlineWord2, expr: &seqExpr{ - pos: position{line: 1988, col: 5, offset: 75551}, + pos: position{line: 1988, col: 5, offset: 75621}, exprs: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 1988, col: 5, offset: 75551}, + pos: position{line: 1988, col: 5, offset: 75621}, expr: &charClassMatcher{ - pos: position{line: 1988, col: 5, offset: 75551}, + pos: position{line: 1988, col: 5, offset: 75621}, val: "[\\pL0-9,?!;]", chars: []rune{',', '?', '!', ';'}, ranges: []rune{'0', '9'}, @@ -14539,19 +14593,19 @@ var g = &grammar{ }, }, &andExpr{ - pos: position{line: 1988, col: 19, offset: 75565}, + pos: position{line: 1988, col: 19, offset: 75635}, expr: &choiceExpr{ - pos: position{line: 1988, col: 21, offset: 75567}, + pos: position{line: 1988, col: 21, offset: 75637}, alternatives: []interface{}{ &charClassMatcher{ - pos: position{line: 1988, col: 21, offset: 75567}, + pos: position{line: 1988, col: 21, offset: 75637}, val: "[\\r\\n ]", chars: []rune{'\r', '\n', ' '}, ignoreCase: false, inverted: false, }, &ruleRefExpr{ - pos: position{line: 1988, col: 31, offset: 75577}, + pos: position{line: 1988, col: 31, offset: 75647}, name: "EOF", }, }, @@ -14561,7 +14615,7 @@ var g = &grammar{ }, }, &ruleRefExpr{ - pos: position{line: 1990, col: 9, offset: 75648}, + pos: position{line: 1990, col: 9, offset: 75718}, name: "Word", }, }, @@ -14569,12 +14623,12 @@ var g = &grammar{ }, { name: "AnyChar", - pos: position{line: 1993, col: 1, offset: 75751}, + pos: position{line: 1993, col: 1, offset: 75821}, expr: &actionExpr{ - pos: position{line: 1993, col: 12, offset: 75762}, + pos: position{line: 1993, col: 12, offset: 75832}, run: (*parser).callonAnyChar1, expr: &charClassMatcher{ - pos: position{line: 1993, col: 12, offset: 75762}, + pos: position{line: 1993, col: 12, offset: 75832}, val: "[^\\r\\n]", chars: []rune{'\r', '\n'}, ignoreCase: false, @@ -14584,24 +14638,24 @@ var g = &grammar{ }, { name: "FileLocation", - pos: position{line: 1997, col: 1, offset: 75831}, + pos: position{line: 1997, col: 1, offset: 75901}, expr: &actionExpr{ - pos: position{line: 1997, col: 17, offset: 75847}, + pos: position{line: 1997, col: 17, offset: 75917}, run: (*parser).callonFileLocation1, expr: &labeledExpr{ - pos: position{line: 1997, col: 17, offset: 75847}, + pos: position{line: 1997, col: 17, offset: 75917}, label: "path", expr: &oneOrMoreExpr{ - pos: position{line: 1997, col: 22, offset: 75852}, + pos: position{line: 1997, col: 22, offset: 75922}, expr: &choiceExpr{ - pos: position{line: 1997, col: 23, offset: 75853}, + pos: position{line: 1997, col: 23, offset: 75923}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 1997, col: 23, offset: 75853}, + pos: position{line: 1997, col: 23, offset: 75923}, name: "FILENAME", }, &ruleRefExpr{ - pos: position{line: 1997, col: 34, offset: 75864}, + pos: position{line: 1997, col: 34, offset: 75934}, name: "AttributeSubstitution", }, }, @@ -14612,17 +14666,17 @@ var g = &grammar{ }, { name: "ResolvedFileLocation", - pos: position{line: 2001, col: 1, offset: 75952}, + pos: position{line: 2001, col: 1, offset: 76022}, expr: &actionExpr{ - pos: position{line: 2001, col: 25, offset: 75976}, + pos: position{line: 2001, col: 25, offset: 76046}, run: (*parser).callonResolvedFileLocation1, expr: &labeledExpr{ - pos: position{line: 2001, col: 25, offset: 75976}, + pos: position{line: 2001, col: 25, offset: 76046}, label: "path", expr: &oneOrMoreExpr{ - pos: position{line: 2001, col: 30, offset: 75981}, + pos: position{line: 2001, col: 30, offset: 76051}, expr: &charClassMatcher{ - pos: position{line: 2001, col: 31, offset: 75982}, + pos: position{line: 2001, col: 31, offset: 76052}, val: "[^\\r\\n []", chars: []rune{'\r', '\n', ' ', '['}, ignoreCase: false, @@ -14634,38 +14688,38 @@ var g = &grammar{ }, { name: "Location", - pos: position{line: 2005, col: 1, offset: 76058}, + pos: position{line: 2005, col: 1, offset: 76128}, expr: &actionExpr{ - pos: position{line: 2005, col: 13, offset: 76070}, + pos: position{line: 2005, col: 13, offset: 76140}, run: (*parser).callonLocation1, expr: &seqExpr{ - pos: position{line: 2005, col: 13, offset: 76070}, + pos: position{line: 2005, col: 13, offset: 76140}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 2005, col: 13, offset: 76070}, + pos: position{line: 2005, col: 13, offset: 76140}, label: "scheme", expr: &zeroOrOneExpr{ - pos: position{line: 2005, col: 20, offset: 76077}, + pos: position{line: 2005, col: 20, offset: 76147}, expr: &ruleRefExpr{ - pos: position{line: 2005, col: 21, offset: 76078}, + pos: position{line: 2005, col: 21, offset: 76148}, name: "URL_SCHEME", }, }, }, &labeledExpr{ - pos: position{line: 2005, col: 34, offset: 76091}, + pos: position{line: 2005, col: 34, offset: 76161}, label: "path", expr: &oneOrMoreExpr{ - pos: position{line: 2005, col: 39, offset: 76096}, + pos: position{line: 2005, col: 39, offset: 76166}, expr: &choiceExpr{ - pos: position{line: 2005, col: 40, offset: 76097}, + pos: position{line: 2005, col: 40, offset: 76167}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 2005, col: 40, offset: 76097}, + pos: position{line: 2005, col: 40, offset: 76167}, name: "FILENAME", }, &ruleRefExpr{ - pos: position{line: 2005, col: 51, offset: 76108}, + pos: position{line: 2005, col: 51, offset: 76178}, name: "AttributeSubstitution", }, }, @@ -14678,35 +14732,35 @@ var g = &grammar{ }, { name: "LocationWithScheme", - pos: position{line: 2009, col: 1, offset: 76200}, + pos: position{line: 2009, col: 1, offset: 76270}, expr: &actionExpr{ - pos: position{line: 2009, col: 23, offset: 76222}, + pos: position{line: 2009, col: 23, offset: 76292}, run: (*parser).callonLocationWithScheme1, expr: &seqExpr{ - pos: position{line: 2009, col: 23, offset: 76222}, + pos: position{line: 2009, col: 23, offset: 76292}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 2009, col: 23, offset: 76222}, + pos: position{line: 2009, col: 23, offset: 76292}, label: "scheme", expr: &ruleRefExpr{ - pos: position{line: 2009, col: 31, offset: 76230}, + pos: position{line: 2009, col: 31, offset: 76300}, name: "URL_SCHEME", }, }, &labeledExpr{ - pos: position{line: 2009, col: 43, offset: 76242}, + pos: position{line: 2009, col: 43, offset: 76312}, label: "path", expr: &oneOrMoreExpr{ - pos: position{line: 2009, col: 48, offset: 76247}, + pos: position{line: 2009, col: 48, offset: 76317}, expr: &choiceExpr{ - pos: position{line: 2009, col: 49, offset: 76248}, + pos: position{line: 2009, col: 49, offset: 76318}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 2009, col: 49, offset: 76248}, + pos: position{line: 2009, col: 49, offset: 76318}, name: "FILENAME", }, &ruleRefExpr{ - pos: position{line: 2009, col: 60, offset: 76259}, + pos: position{line: 2009, col: 60, offset: 76329}, name: "AttributeSubstitution", }, }, @@ -14719,11 +14773,11 @@ var g = &grammar{ }, { name: "FILENAME", - pos: position{line: 2013, col: 1, offset: 76351}, + pos: position{line: 2013, col: 1, offset: 76421}, expr: &oneOrMoreExpr{ - pos: position{line: 2013, col: 13, offset: 76363}, + pos: position{line: 2013, col: 13, offset: 76433}, expr: &charClassMatcher{ - pos: position{line: 2013, col: 14, offset: 76364}, + pos: position{line: 2013, col: 14, offset: 76434}, val: "[^\\r\\n{}[\\] ]", chars: []rune{'\r', '\n', '{', '}', '[', ']', ' '}, ignoreCase: false, @@ -14733,26 +14787,26 @@ var g = &grammar{ }, { name: "ResolvedLocation", - pos: position{line: 2015, col: 1, offset: 76500}, + pos: position{line: 2015, col: 1, offset: 76570}, expr: &actionExpr{ - pos: position{line: 2015, col: 21, offset: 76520}, + pos: position{line: 2015, col: 21, offset: 76590}, run: (*parser).callonResolvedLocation1, expr: &seqExpr{ - pos: position{line: 2015, col: 21, offset: 76520}, + pos: position{line: 2015, col: 21, offset: 76590}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 2015, col: 21, offset: 76520}, + pos: position{line: 2015, col: 21, offset: 76590}, label: "scheme", expr: &ruleRefExpr{ - pos: position{line: 2015, col: 29, offset: 76528}, + pos: position{line: 2015, col: 29, offset: 76598}, name: "URL_SCHEME", }, }, &labeledExpr{ - pos: position{line: 2015, col: 41, offset: 76540}, + pos: position{line: 2015, col: 41, offset: 76610}, label: "path", expr: &ruleRefExpr{ - pos: position{line: 2015, col: 47, offset: 76546}, + pos: position{line: 2015, col: 47, offset: 76616}, name: "RESOLVED_FILENAME", }, }, @@ -14762,11 +14816,11 @@ var g = &grammar{ }, { name: "RESOLVED_FILENAME", - pos: position{line: 2020, col: 1, offset: 76799}, + pos: position{line: 2020, col: 1, offset: 76869}, expr: &oneOrMoreExpr{ - pos: position{line: 2020, col: 22, offset: 76820}, + pos: position{line: 2020, col: 22, offset: 76890}, expr: &charClassMatcher{ - pos: position{line: 2020, col: 23, offset: 76821}, + pos: position{line: 2020, col: 23, offset: 76891}, val: "[^\\r\\n[\\] ]", chars: []rune{'\r', '\n', '[', ']', ' '}, ignoreCase: false, @@ -14776,14 +14830,14 @@ var g = &grammar{ }, { name: "URL", - pos: position{line: 2022, col: 1, offset: 76955}, + pos: position{line: 2022, col: 1, offset: 77025}, expr: &actionExpr{ - pos: position{line: 2022, col: 9, offset: 76963}, + pos: position{line: 2022, col: 9, offset: 77033}, run: (*parser).callonURL1, expr: &oneOrMoreExpr{ - pos: position{line: 2022, col: 9, offset: 76963}, + pos: position{line: 2022, col: 9, offset: 77033}, expr: &charClassMatcher{ - pos: position{line: 2022, col: 9, offset: 76963}, + pos: position{line: 2022, col: 9, offset: 77033}, val: "[^\\r\\n[\\]]", chars: []rune{'\r', '\n', '[', ']'}, ignoreCase: false, @@ -14794,36 +14848,36 @@ var g = &grammar{ }, { name: "URL_SCHEME", - pos: position{line: 2026, col: 1, offset: 77015}, + pos: position{line: 2026, col: 1, offset: 77085}, expr: &choiceExpr{ - pos: position{line: 2026, col: 15, offset: 77029}, + pos: position{line: 2026, col: 15, offset: 77099}, alternatives: []interface{}{ &litMatcher{ - pos: position{line: 2026, col: 15, offset: 77029}, + pos: position{line: 2026, col: 15, offset: 77099}, val: "http://", ignoreCase: false, want: "\"http://\"", }, &litMatcher{ - pos: position{line: 2026, col: 27, offset: 77041}, + pos: position{line: 2026, col: 27, offset: 77111}, val: "https://", ignoreCase: false, want: "\"https://\"", }, &litMatcher{ - pos: position{line: 2026, col: 40, offset: 77054}, + pos: position{line: 2026, col: 40, offset: 77124}, val: "ftp://", ignoreCase: false, want: "\"ftp://\"", }, &litMatcher{ - pos: position{line: 2026, col: 51, offset: 77065}, + pos: position{line: 2026, col: 51, offset: 77135}, val: "irc://", ignoreCase: false, want: "\"irc://\"", }, &litMatcher{ - pos: position{line: 2026, col: 62, offset: 77076}, + pos: position{line: 2026, col: 62, offset: 77146}, val: "mailto:", ignoreCase: false, want: "\"mailto:\"", @@ -14833,14 +14887,14 @@ var g = &grammar{ }, { name: "ID", - pos: position{line: 2028, col: 1, offset: 77089}, + pos: position{line: 2028, col: 1, offset: 77159}, expr: &actionExpr{ - pos: position{line: 2028, col: 7, offset: 77095}, + pos: position{line: 2028, col: 7, offset: 77165}, run: (*parser).callonID1, expr: &oneOrMoreExpr{ - pos: position{line: 2028, col: 7, offset: 77095}, + pos: position{line: 2028, col: 7, offset: 77165}, expr: &charClassMatcher{ - pos: position{line: 2028, col: 7, offset: 77095}, + pos: position{line: 2028, col: 7, offset: 77165}, val: "[^[\\]<>,]", chars: []rune{'[', ']', '<', '>', ','}, ignoreCase: false, @@ -14851,12 +14905,12 @@ var g = &grammar{ }, { name: "DIGIT", - pos: position{line: 2032, col: 1, offset: 77224}, + pos: position{line: 2032, col: 1, offset: 77294}, expr: &actionExpr{ - pos: position{line: 2032, col: 10, offset: 77233}, + pos: position{line: 2032, col: 10, offset: 77303}, run: (*parser).callonDIGIT1, expr: &charClassMatcher{ - pos: position{line: 2032, col: 10, offset: 77233}, + pos: position{line: 2032, col: 10, offset: 77303}, val: "[0-9]", ranges: []rune{'0', '9'}, ignoreCase: false, @@ -14866,26 +14920,26 @@ var g = &grammar{ }, { name: "NUMBER", - pos: position{line: 2036, col: 1, offset: 77279}, + pos: position{line: 2036, col: 1, offset: 77349}, expr: &actionExpr{ - pos: position{line: 2036, col: 11, offset: 77289}, + pos: position{line: 2036, col: 11, offset: 77359}, run: (*parser).callonNUMBER1, expr: &seqExpr{ - pos: position{line: 2036, col: 11, offset: 77289}, + pos: position{line: 2036, col: 11, offset: 77359}, exprs: []interface{}{ &zeroOrOneExpr{ - pos: position{line: 2036, col: 11, offset: 77289}, + pos: position{line: 2036, col: 11, offset: 77359}, expr: &litMatcher{ - pos: position{line: 2036, col: 11, offset: 77289}, + pos: position{line: 2036, col: 11, offset: 77359}, val: "-", ignoreCase: false, want: "\"-\"", }, }, &oneOrMoreExpr{ - pos: position{line: 2036, col: 16, offset: 77294}, + pos: position{line: 2036, col: 16, offset: 77364}, expr: &ruleRefExpr{ - pos: position{line: 2036, col: 16, offset: 77294}, + pos: position{line: 2036, col: 16, offset: 77364}, name: "DIGIT", }, }, @@ -14895,21 +14949,21 @@ var g = &grammar{ }, { name: "Space", - pos: position{line: 2040, col: 1, offset: 77350}, + pos: position{line: 2040, col: 1, offset: 77420}, expr: &choiceExpr{ - pos: position{line: 2040, col: 10, offset: 77359}, + pos: position{line: 2040, col: 10, offset: 77429}, alternatives: []interface{}{ &litMatcher{ - pos: position{line: 2040, col: 10, offset: 77359}, + pos: position{line: 2040, col: 10, offset: 77429}, val: " ", ignoreCase: false, want: "\" \"", }, &actionExpr{ - pos: position{line: 2040, col: 16, offset: 77365}, + pos: position{line: 2040, col: 16, offset: 77435}, run: (*parser).callonSpace3, expr: &litMatcher{ - pos: position{line: 2040, col: 16, offset: 77365}, + pos: position{line: 2040, col: 16, offset: 77435}, val: "\t", ignoreCase: false, want: "\"\\t\"", @@ -14920,24 +14974,24 @@ var g = &grammar{ }, { name: "Newline", - pos: position{line: 2044, col: 1, offset: 77410}, + pos: position{line: 2044, col: 1, offset: 77480}, expr: &choiceExpr{ - pos: position{line: 2044, col: 12, offset: 77421}, + pos: position{line: 2044, col: 12, offset: 77491}, alternatives: []interface{}{ &litMatcher{ - pos: position{line: 2044, col: 12, offset: 77421}, + pos: position{line: 2044, col: 12, offset: 77491}, val: "\r\n", ignoreCase: false, want: "\"\\r\\n\"", }, &litMatcher{ - pos: position{line: 2044, col: 21, offset: 77430}, + pos: position{line: 2044, col: 21, offset: 77500}, val: "\r", ignoreCase: false, want: "\"\\r\"", }, &litMatcher{ - pos: position{line: 2044, col: 28, offset: 77437}, + pos: position{line: 2044, col: 28, offset: 77507}, val: "\n", ignoreCase: false, want: "\"\\n\"", @@ -14947,26 +15001,26 @@ var g = &grammar{ }, { name: "EOF", - pos: position{line: 2046, col: 1, offset: 77445}, + pos: position{line: 2046, col: 1, offset: 77515}, expr: ¬Expr{ - pos: position{line: 2046, col: 8, offset: 77452}, + pos: position{line: 2046, col: 8, offset: 77522}, expr: &anyMatcher{ - line: 2046, col: 9, offset: 77453, + line: 2046, col: 9, offset: 77523, }, }, }, { name: "EOL", - pos: position{line: 2048, col: 1, offset: 77458}, + pos: position{line: 2048, col: 1, offset: 77528}, expr: &choiceExpr{ - pos: position{line: 2048, col: 8, offset: 77465}, + pos: position{line: 2048, col: 8, offset: 77535}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 2048, col: 8, offset: 77465}, + pos: position{line: 2048, col: 8, offset: 77535}, name: "Newline", }, &ruleRefExpr{ - pos: position{line: 2048, col: 18, offset: 77475}, + pos: position{line: 2048, col: 18, offset: 77545}, name: "EOF", }, }, diff --git a/pkg/parser/parser.peg b/pkg/parser/parser.peg index 3089bbbf..521eba29 100644 --- a/pkg/parser/parser.peg +++ b/pkg/parser/parser.peg @@ -341,15 +341,15 @@ StandaloneAttributes <- attributes:(ElementAttribute)+ BlankLine* EOF { // stand ShortHandAttr <- ShortHandAttrID / ShortHandAttrOption / ShortHandAttrRole -ShortHandAttrOption <- "%" option:ShortHandValue { +ShortHandAttrOption <- "%" option:ShortHandValue &[,#%.\r\n\]] { return types.NewElementOption(option.(string)) } -ShortHandAttrID <- "#" id:ShortHandValue { +ShortHandAttrID <- "#" id:ShortHandValue &[,#%.\r\n\]] { return types.NewElementID(id.(string)) } -ShortHandAttrRole <- '.' role:ShortHandValue { +ShortHandAttrRole <- '.' role:ShortHandValue &[,#%.\r\n\]] { return types.NewElementRole(role.(string)) } @@ -362,7 +362,7 @@ ShortHandValue <- ShortHandValuePlain / AttrValueSingleQuoted / AttrValueDoubleQ // ShortHandValuePlain is sort of like AttrValuePlain, but it also needs to exclude the characters // used to start a short hand role, id, or option, as well as equals signs. -ShortHandValuePlain <- [^,\r\n"' \t.#%=\]][^,\r\n"'.#%=\]]* { +ShortHandValuePlain <- [^,\r\n"' \t.#%=\]] ([^,\r\n"'.#%=\]] / [ \t][^,\r\n"'.#%=\]])* { return string(c.text), nil } diff --git a/pkg/renderer/sgml/html5/ordered_list.go b/pkg/renderer/sgml/html5/ordered_list.go index 628cc361..407413c2 100644 --- a/pkg/renderer/sgml/html5/ordered_list.go +++ b/pkg/renderer/sgml/html5/ordered_list.go @@ -10,6 +10,7 @@ const ( ` class="{{ .Style }}"` + `{{ if .ListStyle }} type="{{ .ListStyle }}"{{ end }}` + `{{ if .Start }} start="{{ .Start }}"{{ end }}` + + `{{ if .Reversed }} reversed{{ end }}` + ">\n{{ .Content }}\n" orderedListItemTmpl = "
  • \n{{ .Content }}\n
  • \n" diff --git a/pkg/renderer/sgml/html5/ordered_list_test.go b/pkg/renderer/sgml/html5/ordered_list_test.go index da6c5f54..0a2ba74d 100644 --- a/pkg/renderer/sgml/html5/ordered_list_test.go +++ b/pkg/renderer/sgml/html5/ordered_list_test.go @@ -51,6 +51,23 @@ var _ = Describe("ordered lists", func() { Expect(RenderHTML(source)).To(MatchHTML(expected)) }) + It("ordered list item reversed with explicit quoted numbering and start", func() { + source := `[lowerroman%reversed, start="5"] +. item 1 +. item 2` + expected := `
    +
      +
    1. +

      item 1

      +
    2. +
    3. +

      item 2

      +
    4. +
    +
    ` + Expect(RenderHTML(source)).To(MatchHTML(expected)) + }) + It("ordered list with paragraph continuation", func() { source := `. item 1 + diff --git a/pkg/renderer/sgml/ordered_list.go b/pkg/renderer/sgml/ordered_list.go index e605f5d7..78d8d623 100644 --- a/pkg/renderer/sgml/ordered_list.go +++ b/pkg/renderer/sgml/ordered_list.go @@ -28,6 +28,7 @@ func (r *sgmlRenderer) renderOrderedList(ctx *renderer.Context, l types.OrderedL ListStyle sanitized Start string Content sanitized + Reversed bool Items []types.OrderedListItem }{ ID: r.renderElementID(l.Attributes), @@ -37,6 +38,7 @@ func (r *sgmlRenderer) renderOrderedList(ctx *renderer.Context, l types.OrderedL ListStyle: r.numberingType(getNumberingStyle(l)), Start: l.Attributes.GetAsStringWithDefault(types.AttrStart, ""), Content: sanitized(content.String()), + Reversed: l.Attributes.HasOption("reversed"), Items: l.Items, }) if err != nil { diff --git a/pkg/renderer/sgml/xhtml5/ordered_list_test.go b/pkg/renderer/sgml/xhtml5/ordered_list_test.go index a8ce41ad..4d113882 100644 --- a/pkg/renderer/sgml/xhtml5/ordered_list_test.go +++ b/pkg/renderer/sgml/xhtml5/ordered_list_test.go @@ -51,6 +51,25 @@ var _ = Describe("ordered lists", func() { Expect(RenderXHTML(source)).To(MatchHTML(expected)) }) + It("ordered list item reversed with explicit quoted numbering and start", func() { + source := `[lowerroman%reversed, start="5"] +. item 1 +. item 2` + expected := `
    +
      +
    1. +

      item 1

      +
    2. +
    3. +

      item 2

      +
    4. +
    +
    ` + Expect(RenderXHTML(source)).To(MatchHTML(expected)) + }) + + + It("ordered list with paragraph continuation", func() { source := `. item 1 +