diff --git a/.travis.yml b/.travis.yml index 0d6a0e1d..8a759d01 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,9 +26,12 @@ matrix: allow_failures: - go: tip script: - - make generate - - make test + # verify that the commit code for the parser was optimized during the code generation + - make verify-parser + # verify that the library builds completly - make build + # run the tests + - make test after_success: - gover . coverage.txt diff --git a/Makefile b/Makefile index 3a985c1c..4cf21cf0 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,7 @@ $(TMP_PATH): .PHONY: prebuild-checks prebuild-checks: $(TMP_PATH) $(INSTALL_PREFIX) -# Check that all tools where found +## Check that all tools where found ifndef GIT_BIN $(error The "$(GIT_BIN_NAME)" executable could not be found in your PATH) endif @@ -89,17 +89,17 @@ ifndef GO_BIN endif .PHONY: generate -## generates the .go file based on the asciidoc grammar -generate: +## generate the .go file based on the asciidoc grammar +generate: prebuild-checks @echo "generating the parser..." @pigeon ./pkg/parser/asciidoc-grammar.peg > ./pkg/parser/asciidoc_parser.go .PHONY: generate-optimized -## generates the .go file based on the asciidoc grammar +## generate the .go file based on the asciidoc grammar generate-optimized: @echo "generating the parser..." + ## @pigeon -optimize-parser ./pkg/parser/asciidoc-grammar.peg > ./pkg/parser/asciidoc_parser.go @pigeon -optimize-grammar ./pkg/parser/asciidoc-grammar.peg > ./pkg/parser/asciidoc_parser.go - # @pigeon -optimize-parser ./pkg/parser/asciidoc-grammar.peg > ./pkg/parser/asciidoc_parser.go .PHONY: test @@ -109,7 +109,7 @@ test: deps generate @ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --trace --race --compilers=2 --cover -coverpkg $(COVERPKGS) .PHONY: build -## builds the binary executable from CLI +## build the binary executable from CLI build: $(INSTALL_PREFIX) deps generate-optimized $(eval BUILD_COMMIT:=$(shell git rev-parse --short HEAD)) $(eval BUILD_TAG:=$(shell git tag --contains $(BUILD_COMMIT))) @@ -122,6 +122,19 @@ build: $(INSTALL_PREFIX) deps generate-optimized -o $(BINARY_PATH) \ cmd/libasciidoc/*.go + +PARSER_DIFF_STATUS := + +.PHONY: verify-parser +## verify that the parser was built with the latest version of pigeon, using the `optimize-grammar` option +verify-parser: prebuild-checks +ifneq ($(shell git diff --quiet pkg/parser/asciidoc_parser.go; echo $$?), 0) + $(error "parser was generated with an older version of 'mna/pigeon' or without the '-optimize' option(s).") +else + @echo "parser is ok" +endif + + .PHONY: install ## installs the binary executable in the $GOPATH/bin directory install: build diff --git a/pkg/parser/asciidoc_parser.go b/pkg/parser/asciidoc_parser.go index cf3ff3ef..29c2fed3 100644 --- a/pkg/parser/asciidoc_parser.go +++ b/pkg/parser/asciidoc_parser.go @@ -67,11 +67,9 @@ var g = &grammar{ }, }, }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, + &ruleRefExpr{ + pos: position{line: 18, col: 97, offset: 600}, + name: "EOF", }, }, }, @@ -87,7663 +85,1108 @@ var g = &grammar{ pos: position{line: 32, col: 18, offset: 1050}, name: "Section", }, - &actionExpr{ - pos: position{line: 103, col: 45, offset: 4147}, - run: (*parser).callonDocumentBlock3, - expr: &seqExpr{ - pos: position{line: 103, col: 45, offset: 4147}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 103, col: 45, offset: 4147}, - val: ":", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 103, col: 49, offset: 4151}, - label: "name", - expr: &seqExpr{ - pos: position{line: 128, col: 18, offset: 5231}, - exprs: []interface{}{ - &charClassMatcher{ - pos: position{line: 128, col: 19, offset: 5232}, - val: "[_A-Za-z0-9]", - chars: []rune{'_'}, - ranges: []rune{'A', 'Z', 'a', 'z', '0', '9'}, - ignoreCase: false, - inverted: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 128, col: 48, offset: 5261}, - expr: &charClassMatcher{ - pos: position{line: 128, col: 49, offset: 5262}, - val: "[-A-Za-z0-9]", - chars: []rune{'-'}, - ranges: []rune{'A', 'Z', 'a', 'z', '0', '9'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 103, col: 70, offset: 4172}, - val: ":", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 103, col: 74, offset: 4176}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock15, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, + &ruleRefExpr{ + pos: position{line: 32, col: 28, offset: 1060}, + name: "DocumentAttributeDeclaration", + }, + &ruleRefExpr{ + pos: position{line: 32, col: 59, offset: 1091}, + name: "DocumentAttributeReset", + }, + &ruleRefExpr{ + pos: position{line: 32, col: 84, offset: 1116}, + name: "TableOfContentsMacro", + }, + &ruleRefExpr{ + pos: position{line: 32, col: 107, offset: 1139}, + name: "BlockImage", + }, + &ruleRefExpr{ + pos: position{line: 32, col: 120, offset: 1152}, + name: "List", + }, + &ruleRefExpr{ + pos: position{line: 32, col: 127, offset: 1159}, + name: "LiteralBlock", + }, + &ruleRefExpr{ + pos: position{line: 32, col: 142, offset: 1174}, + name: "DelimitedBlock", + }, + &ruleRefExpr{ + pos: position{line: 32, col: 159, offset: 1191}, + name: "BlankLine", + }, + &ruleRefExpr{ + pos: position{line: 32, col: 171, offset: 1203}, + name: "Paragraph", + }, + }, + }, + }, + { + name: "Preamble", + pos: position{line: 34, col: 1, offset: 1276}, + expr: &actionExpr{ + pos: position{line: 34, col: 13, offset: 1288}, + run: (*parser).callonPreamble1, + expr: &labeledExpr{ + pos: position{line: 34, col: 13, offset: 1288}, + label: "elements", + expr: &oneOrMoreExpr{ + pos: position{line: 34, col: 23, offset: 1298}, + expr: &ruleRefExpr{ + pos: position{line: 34, col: 23, offset: 1298}, + name: "DocumentBlock", + }, + }, + }, + }, + }, + { + name: "FrontMatter", + pos: position{line: 44, col: 1, offset: 1485}, + expr: &ruleRefExpr{ + pos: position{line: 44, col: 16, offset: 1500}, + name: "YamlFrontMatter", + }, + }, + { + name: "FrontMatter", + pos: position{line: 46, col: 1, offset: 1518}, + expr: &actionExpr{ + pos: position{line: 46, col: 16, offset: 1533}, + run: (*parser).callonFrontMatter1, + expr: &seqExpr{ + pos: position{line: 46, col: 16, offset: 1533}, + exprs: []interface{}{ + &ruleRefExpr{ + pos: position{line: 46, col: 16, offset: 1533}, + name: "YamlFrontMatterToken", + }, + &labeledExpr{ + pos: position{line: 46, col: 37, offset: 1554}, + label: "content", + expr: &ruleRefExpr{ + pos: position{line: 46, col: 46, offset: 1563}, + name: "YamlFrontMatterContent", }, }, + &ruleRefExpr{ + pos: position{line: 46, col: 70, offset: 1587}, + name: "YamlFrontMatterToken", + }, }, - &actionExpr{ - pos: position{line: 107, col: 49, offset: 4313}, - run: (*parser).callonDocumentBlock22, - expr: &seqExpr{ - pos: position{line: 107, col: 49, offset: 4313}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 107, col: 49, offset: 4313}, - val: ":", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 107, col: 53, offset: 4317}, - label: "name", - expr: &seqExpr{ - pos: position{line: 128, col: 18, offset: 5231}, - exprs: []interface{}{ - &charClassMatcher{ - pos: position{line: 128, col: 19, offset: 5232}, - val: "[_A-Za-z0-9]", - chars: []rune{'_'}, - ranges: []rune{'A', 'Z', 'a', 'z', '0', '9'}, - ignoreCase: false, - inverted: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 128, col: 48, offset: 5261}, - expr: &charClassMatcher{ - pos: position{line: 128, col: 49, offset: 5262}, - val: "[-A-Za-z0-9]", - chars: []rune{'-'}, - ranges: []rune{'A', 'Z', 'a', 'z', '0', '9'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 107, col: 74, offset: 4338}, - val: ":", - ignoreCase: false, + }, + }, + }, + { + name: "YamlFrontMatterToken", + pos: position{line: 50, col: 1, offset: 1667}, + expr: &seqExpr{ + pos: position{line: 50, col: 26, offset: 1692}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 50, col: 26, offset: 1692}, + val: "---", + ignoreCase: false, + }, + &ruleRefExpr{ + pos: position{line: 50, col: 32, offset: 1698}, + name: "EOL", + }, + }, + }, + }, + { + name: "YamlFrontMatterContent", + pos: position{line: 52, col: 1, offset: 1703}, + expr: &actionExpr{ + pos: position{line: 52, col: 27, offset: 1729}, + run: (*parser).callonYamlFrontMatterContent1, + expr: &zeroOrMoreExpr{ + pos: position{line: 52, col: 27, offset: 1729}, + expr: &seqExpr{ + pos: position{line: 52, col: 28, offset: 1730}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 52, col: 28, offset: 1730}, + expr: &ruleRefExpr{ + pos: position{line: 52, col: 29, offset: 1731}, + name: "YamlFrontMatterToken", }, - &oneOrMoreExpr{ - pos: position{line: 107, col: 78, offset: 4342}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock34, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, + }, + &anyMatcher{ + line: 52, col: 50, offset: 1752, + }, + }, + }, + }, + }, + }, + { + name: "DocumentHeader", + pos: position{line: 60, col: 1, offset: 1976}, + expr: &actionExpr{ + pos: position{line: 60, col: 19, offset: 1994}, + run: (*parser).callonDocumentHeader1, + expr: &seqExpr{ + pos: position{line: 60, col: 19, offset: 1994}, + exprs: []interface{}{ + &labeledExpr{ + pos: position{line: 60, col: 19, offset: 1994}, + label: "header", + expr: &ruleRefExpr{ + pos: position{line: 60, col: 27, offset: 2002}, + name: "DocumentTitle", + }, + }, + &labeledExpr{ + pos: position{line: 60, col: 42, offset: 2017}, + label: "authors", + expr: &zeroOrOneExpr{ + pos: position{line: 60, col: 51, offset: 2026}, + expr: &ruleRefExpr{ + pos: position{line: 60, col: 51, offset: 2026}, + name: "DocumentAuthors", }, - &labeledExpr{ - pos: position{line: 107, col: 82, offset: 4346}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 107, col: 88, offset: 4352}, - expr: &seqExpr{ - pos: position{line: 107, col: 89, offset: 4353}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 107, col: 89, offset: 4353}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 107, col: 98, offset: 4362, - }, - }, - }, - }, + }, + }, + &labeledExpr{ + pos: position{line: 60, col: 69, offset: 2044}, + label: "revision", + expr: &zeroOrOneExpr{ + pos: position{line: 60, col: 79, offset: 2054}, + expr: &ruleRefExpr{ + pos: position{line: 60, col: 79, offset: 2054}, + name: "DocumentRevision", }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, + }, + }, + &labeledExpr{ + pos: position{line: 60, col: 98, offset: 2073}, + label: "otherAttributes", + expr: &zeroOrMoreExpr{ + pos: position{line: 60, col: 115, offset: 2090}, + expr: &ruleRefExpr{ + pos: position{line: 60, col: 115, offset: 2090}, + name: "DocumentAttributeDeclaration", }, }, }, }, - &actionExpr{ - pos: position{line: 113, col: 53, offset: 4644}, - run: (*parser).callonDocumentBlock49, - expr: &seqExpr{ - pos: position{line: 113, col: 53, offset: 4644}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 113, col: 53, offset: 4644}, - val: ":!", - ignoreCase: false, + }, + }, + }, + { + name: "DocumentTitle", + pos: position{line: 64, col: 1, offset: 2221}, + expr: &actionExpr{ + pos: position{line: 64, col: 18, offset: 2238}, + run: (*parser).callonDocumentTitle1, + expr: &seqExpr{ + pos: position{line: 64, col: 18, offset: 2238}, + exprs: []interface{}{ + &labeledExpr{ + pos: position{line: 64, col: 18, offset: 2238}, + label: "attributes", + expr: &zeroOrMoreExpr{ + pos: position{line: 64, col: 29, offset: 2249}, + expr: &ruleRefExpr{ + pos: position{line: 64, col: 30, offset: 2250}, + name: "ElementAttribute", }, - &labeledExpr{ - pos: position{line: 113, col: 58, offset: 4649}, - label: "name", - expr: &seqExpr{ - pos: position{line: 128, col: 18, offset: 5231}, - exprs: []interface{}{ - &charClassMatcher{ - pos: position{line: 128, col: 19, offset: 5232}, - val: "[_A-Za-z0-9]", - chars: []rune{'_'}, - ranges: []rune{'A', 'Z', 'a', 'z', '0', '9'}, - ignoreCase: false, - inverted: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 128, col: 48, offset: 5261}, - expr: &charClassMatcher{ - pos: position{line: 128, col: 49, offset: 5262}, - val: "[-A-Za-z0-9]", - chars: []rune{'-'}, - ranges: []rune{'A', 'Z', 'a', 'z', '0', '9'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 113, col: 79, offset: 4670}, - val: ":", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 113, col: 83, offset: 4674}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock61, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, + }, + }, + &labeledExpr{ + pos: position{line: 64, col: 49, offset: 2269}, + label: "level", + expr: &litMatcher{ + pos: position{line: 64, col: 56, offset: 2276}, + val: "=", + ignoreCase: false, + }, + }, + &oneOrMoreExpr{ + pos: position{line: 64, col: 61, offset: 2281}, + expr: &ruleRefExpr{ + pos: position{line: 64, col: 61, offset: 2281}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 64, col: 65, offset: 2285}, + label: "content", + expr: &ruleRefExpr{ + pos: position{line: 64, col: 74, offset: 2294}, + name: "InlineElements", + }, + }, + &zeroOrMoreExpr{ + pos: position{line: 64, col: 90, offset: 2310}, + expr: &ruleRefExpr{ + pos: position{line: 64, col: 90, offset: 2310}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 64, col: 94, offset: 2314}, + label: "id", + expr: &zeroOrOneExpr{ + pos: position{line: 64, col: 97, offset: 2317}, + expr: &ruleRefExpr{ + pos: position{line: 64, col: 98, offset: 2318}, + name: "InlineElementID", }, }, }, + &ruleRefExpr{ + pos: position{line: 64, col: 116, offset: 2336}, + name: "EOL", + }, }, - &actionExpr{ - pos: position{line: 117, col: 49, offset: 4800}, - run: (*parser).callonDocumentBlock68, - expr: &seqExpr{ - pos: position{line: 117, col: 49, offset: 4800}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 117, col: 49, offset: 4800}, - val: ":", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 117, col: 53, offset: 4804}, - label: "name", - expr: &seqExpr{ - pos: position{line: 128, col: 18, offset: 5231}, - exprs: []interface{}{ - &charClassMatcher{ - pos: position{line: 128, col: 19, offset: 5232}, - val: "[_A-Za-z0-9]", - chars: []rune{'_'}, - ranges: []rune{'A', 'Z', 'a', 'z', '0', '9'}, - ignoreCase: false, - inverted: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 128, col: 48, offset: 5261}, - expr: &charClassMatcher{ - pos: position{line: 128, col: 49, offset: 5262}, - val: "[-A-Za-z0-9]", - chars: []rune{'-'}, - ranges: []rune{'A', 'Z', 'a', 'z', '0', '9'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, + }, + }, + }, + { + name: "DocumentAuthors", + pos: position{line: 68, col: 1, offset: 2452}, + expr: &choiceExpr{ + pos: position{line: 68, col: 20, offset: 2471}, + alternatives: []interface{}{ + &ruleRefExpr{ + pos: position{line: 68, col: 20, offset: 2471}, + name: "DocumentAuthorsInlineForm", + }, + &ruleRefExpr{ + pos: position{line: 68, col: 48, offset: 2499}, + name: "DocumentAuthorsAttributeForm", + }, + }, + }, + }, + { + name: "DocumentAuthorsInlineForm", + pos: position{line: 70, col: 1, offset: 2529}, + expr: &actionExpr{ + pos: position{line: 70, col: 30, offset: 2558}, + run: (*parser).callonDocumentAuthorsInlineForm1, + expr: &seqExpr{ + pos: position{line: 70, col: 30, offset: 2558}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 70, col: 30, offset: 2558}, + expr: &ruleRefExpr{ + pos: position{line: 70, col: 30, offset: 2558}, + name: "WS", + }, + }, + ¬Expr{ + pos: position{line: 70, col: 34, offset: 2562}, + expr: &litMatcher{ + pos: position{line: 70, col: 35, offset: 2563}, + val: ":", + ignoreCase: false, + }, + }, + &labeledExpr{ + pos: position{line: 70, col: 39, offset: 2567}, + label: "authors", + expr: &oneOrMoreExpr{ + pos: position{line: 70, col: 48, offset: 2576}, + expr: &ruleRefExpr{ + pos: position{line: 70, col: 48, offset: 2576}, + name: "DocumentAuthor", }, - &litMatcher{ - pos: position{line: 117, col: 74, offset: 4825}, - val: "!:", - ignoreCase: false, + }, + }, + &ruleRefExpr{ + pos: position{line: 70, col: 65, offset: 2593}, + name: "EOL", + }, + }, + }, + }, + }, + { + name: "DocumentAuthorsAttributeForm", + pos: position{line: 74, col: 1, offset: 2663}, + expr: &actionExpr{ + pos: position{line: 74, col: 33, offset: 2695}, + run: (*parser).callonDocumentAuthorsAttributeForm1, + expr: &seqExpr{ + pos: position{line: 74, col: 33, offset: 2695}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 74, col: 33, offset: 2695}, + expr: &ruleRefExpr{ + pos: position{line: 74, col: 33, offset: 2695}, + name: "WS", + }, + }, + &litMatcher{ + pos: position{line: 74, col: 37, offset: 2699}, + val: ":author:", + ignoreCase: false, + }, + &labeledExpr{ + pos: position{line: 74, col: 48, offset: 2710}, + label: "author", + expr: &ruleRefExpr{ + pos: position{line: 74, col: 56, offset: 2718}, + name: "DocumentAuthor", + }, + }, + }, + }, + }, + }, + { + name: "DocumentAuthor", + pos: position{line: 78, col: 1, offset: 2809}, + expr: &actionExpr{ + pos: position{line: 78, col: 19, offset: 2827}, + run: (*parser).callonDocumentAuthor1, + expr: &seqExpr{ + pos: position{line: 78, col: 19, offset: 2827}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 78, col: 19, offset: 2827}, + expr: &ruleRefExpr{ + pos: position{line: 78, col: 19, offset: 2827}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 78, col: 23, offset: 2831}, + label: "namePart1", + expr: &ruleRefExpr{ + pos: position{line: 78, col: 34, offset: 2842}, + name: "DocumentAuthorNamePart", + }, + }, + &labeledExpr{ + pos: position{line: 78, col: 58, offset: 2866}, + label: "namePart2", + expr: &zeroOrOneExpr{ + pos: position{line: 78, col: 68, offset: 2876}, + expr: &ruleRefExpr{ + pos: position{line: 78, col: 69, offset: 2877}, + name: "DocumentAuthorNamePart", }, - &zeroOrMoreExpr{ - pos: position{line: 117, col: 79, offset: 4830}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock80, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, + }, + }, + &labeledExpr{ + pos: position{line: 78, col: 94, offset: 2902}, + label: "namePart3", + expr: &zeroOrOneExpr{ + pos: position{line: 78, col: 104, offset: 2912}, + expr: &ruleRefExpr{ + pos: position{line: 78, col: 105, offset: 2913}, + name: "DocumentAuthorNamePart", }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, + }, + }, + &labeledExpr{ + pos: position{line: 78, col: 130, offset: 2938}, + label: "email", + expr: &zeroOrOneExpr{ + pos: position{line: 78, col: 136, offset: 2944}, + expr: &ruleRefExpr{ + pos: position{line: 78, col: 137, offset: 2945}, + name: "DocumentAuthorEmail", }, }, }, - }, - &seqExpr{ - pos: position{line: 133, col: 25, offset: 5430}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 133, col: 25, offset: 5430}, - val: "toc::[]", + &zeroOrMoreExpr{ + pos: position{line: 78, col: 159, offset: 2967}, + expr: &ruleRefExpr{ + pos: position{line: 78, col: 159, offset: 2967}, + name: "WS", + }, + }, + &zeroOrOneExpr{ + pos: position{line: 78, col: 163, offset: 2971}, + expr: &litMatcher{ + pos: position{line: 78, col: 163, offset: 2971}, + val: ";", ignoreCase: false, }, - &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, + }, + &zeroOrMoreExpr{ + pos: position{line: 78, col: 168, offset: 2976}, + expr: &ruleRefExpr{ + pos: position{line: 78, col: 168, offset: 2976}, + name: "WS", + }, + }, + }, + }, + }, + }, + { + name: "DocumentAuthorNamePart", + pos: position{line: 83, col: 1, offset: 3141}, + expr: &seqExpr{ + pos: position{line: 83, col: 27, offset: 3167}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 83, col: 27, offset: 3167}, + expr: &litMatcher{ + pos: position{line: 83, col: 28, offset: 3168}, + val: "<", + ignoreCase: false, + }, + }, + ¬Expr{ + pos: position{line: 83, col: 32, offset: 3172}, + expr: &litMatcher{ + pos: position{line: 83, col: 33, offset: 3173}, + val: ";", + ignoreCase: false, + }, + }, + &ruleRefExpr{ + pos: position{line: 83, col: 37, offset: 3177}, + name: "Word", + }, + &zeroOrMoreExpr{ + pos: position{line: 83, col: 42, offset: 3182}, + expr: &ruleRefExpr{ + pos: position{line: 83, col: 42, offset: 3182}, + name: "WS", + }, + }, + }, + }, + }, + { + name: "DocumentAuthorEmail", + pos: position{line: 85, col: 1, offset: 3187}, + expr: &seqExpr{ + pos: position{line: 85, col: 24, offset: 3210}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 85, col: 24, offset: 3210}, + val: "<", + ignoreCase: false, + }, + &labeledExpr{ + pos: position{line: 85, col: 28, offset: 3214}, + label: "email", + expr: &oneOrMoreExpr{ + pos: position{line: 85, col: 34, offset: 3220}, + expr: &seqExpr{ + pos: position{line: 85, col: 35, offset: 3221}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 85, col: 35, offset: 3221}, + expr: &litMatcher{ + pos: position{line: 85, col: 36, offset: 3222}, + val: ">", + ignoreCase: false, + }, }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, + ¬Expr{ + pos: position{line: 85, col: 40, offset: 3226}, + expr: &ruleRefExpr{ + pos: position{line: 85, col: 41, offset: 3227}, + name: "EOL", + }, + }, + &anyMatcher{ + line: 85, col: 45, offset: 3231, }, }, }, }, }, - &actionExpr{ - pos: position{line: 557, col: 15, offset: 24430}, - run: (*parser).callonDocumentBlock92, - expr: &seqExpr{ - pos: position{line: 557, col: 15, offset: 24430}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 557, col: 15, offset: 24430}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 557, col: 26, offset: 24441}, - expr: &actionExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - run: (*parser).callonDocumentBlock96, - expr: &seqExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - label: "attr", - expr: &choiceExpr{ - pos: position{line: 138, col: 27, offset: 5589}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - run: (*parser).callonDocumentBlock100, - expr: &labeledExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - label: "id", - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonDocumentBlock102, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonDocumentBlock106, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock116, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - run: (*parser).callonDocumentBlock128, - expr: &seqExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 144, col: 5, offset: 5840}, - val: "[#", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 144, col: 10, offset: 5845}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonDocumentBlock132, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock142, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 144, col: 18, offset: 5853}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - run: (*parser).callonDocumentBlock154, - expr: &seqExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 154, col: 17, offset: 6148}, - val: ".", - ignoreCase: false, - }, - ¬Expr{ - pos: position{line: 154, col: 21, offset: 6152}, - expr: &litMatcher{ - pos: position{line: 154, col: 22, offset: 6153}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 154, col: 26, offset: 6157}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock162, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 154, col: 30, offset: 6161}, - label: "title", - expr: &oneOrMoreExpr{ - pos: position{line: 154, col: 36, offset: 6167}, - expr: &seqExpr{ - pos: position{line: 154, col: 37, offset: 6168}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 154, col: 37, offset: 6168}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 154, col: 46, offset: 6177, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - run: (*parser).callonDocumentBlock172, - expr: &seqExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 159, col: 30, offset: 6351}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 159, col: 34, offset: 6355}, - label: "k", - expr: &choiceExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - run: (*parser).callonDocumentBlock177, - expr: &litMatcher{ - pos: position{line: 401, col: 19, offset: 16759}, - val: "TIP", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 403, col: 5, offset: 16797}, - run: (*parser).callonDocumentBlock179, - expr: &litMatcher{ - pos: position{line: 403, col: 5, offset: 16797}, - val: "NOTE", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 405, col: 5, offset: 16837}, - run: (*parser).callonDocumentBlock181, - expr: &litMatcher{ - pos: position{line: 405, col: 5, offset: 16837}, - val: "IMPORTANT", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 407, col: 5, offset: 16887}, - run: (*parser).callonDocumentBlock183, - expr: &litMatcher{ - pos: position{line: 407, col: 5, offset: 16887}, - val: "WARNING", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 409, col: 5, offset: 16933}, - run: (*parser).callonDocumentBlock185, - expr: &litMatcher{ - pos: position{line: 409, col: 5, offset: 16933}, - val: "CAUTION", - ignoreCase: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 159, col: 53, offset: 6374}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - run: (*parser).callonDocumentBlock188, - expr: &seqExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 164, col: 19, offset: 6487}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 164, col: 23, offset: 6491}, - label: "attribute", - expr: &choiceExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - run: (*parser).callonDocumentBlock193, - expr: &seqExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonDocumentBlock196, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock204, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock216, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 168, col: 40, offset: 6705}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 168, col: 44, offset: 6709}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonDocumentBlock220, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock225, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock233, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock243, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - run: (*parser).callonDocumentBlock245, - expr: &labeledExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonDocumentBlock247, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock255, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock267, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 164, col: 52, offset: 6520}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 164, col: 63, offset: 6531}, - expr: &choiceExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - run: (*parser).callonDocumentBlock272, - expr: &seqExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 174, col: 26, offset: 6967}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 174, col: 30, offset: 6971}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock278, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 174, col: 34, offset: 6975}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonDocumentBlock281, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock289, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock301, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 174, col: 53, offset: 6994}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 174, col: 57, offset: 6998}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonDocumentBlock305, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock310, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock318, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock328, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - run: (*parser).callonDocumentBlock330, - expr: &seqExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 176, col: 5, offset: 7124}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 176, col: 9, offset: 7128}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock336, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 176, col: 13, offset: 7132}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonDocumentBlock339, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock347, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock359, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 164, col: 89, offset: 6557}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - run: (*parser).callonDocumentBlock362, - expr: &seqExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 192, col: 28, offset: 7529}, - val: "[", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 192, col: 32, offset: 7533}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock368, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 192, col: 36, offset: 7537}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 192, col: 44, offset: 7545}, - expr: &seqExpr{ - pos: position{line: 192, col: 45, offset: 7546}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 192, col: 45, offset: 7546}, - expr: &litMatcher{ - pos: position{line: 192, col: 46, offset: 7547}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 192, col: 50, offset: 7551, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 192, col: 54, offset: 7555}, - val: "]", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 192, col: 58, offset: 7559}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock380, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 138, col: 124, offset: 5686}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock385, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 557, col: 46, offset: 24461}, - label: "image", - expr: &actionExpr{ - pos: position{line: 562, col: 20, offset: 24666}, - run: (*parser).callonDocumentBlock393, - expr: &seqExpr{ - pos: position{line: 562, col: 20, offset: 24666}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 562, col: 20, offset: 24666}, - val: "image::", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 562, col: 30, offset: 24676}, - label: "path", - expr: &actionExpr{ - pos: position{line: 655, col: 8, offset: 28546}, - run: (*parser).callonDocumentBlock397, - expr: &oneOrMoreExpr{ - pos: position{line: 655, col: 8, offset: 28546}, - expr: &seqExpr{ - pos: position{line: 655, col: 9, offset: 28547}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 655, col: 9, offset: 28547}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 655, col: 18, offset: 28556}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock407, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 655, col: 22, offset: 28560}, - expr: &litMatcher{ - pos: position{line: 655, col: 23, offset: 28561}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 655, col: 27, offset: 28565}, - expr: &litMatcher{ - pos: position{line: 655, col: 28, offset: 28566}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 655, col: 32, offset: 28570, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 562, col: 41, offset: 24687}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 562, col: 45, offset: 24691}, - label: "attributes", - expr: &zeroOrOneExpr{ - pos: position{line: 562, col: 57, offset: 24703}, - expr: &actionExpr{ - pos: position{line: 663, col: 13, offset: 28703}, - run: (*parser).callonDocumentBlock417, - expr: &oneOrMoreExpr{ - pos: position{line: 663, col: 13, offset: 28703}, - expr: &seqExpr{ - pos: position{line: 663, col: 14, offset: 28704}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 663, col: 14, offset: 28704}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 663, col: 23, offset: 28713}, - expr: &litMatcher{ - pos: position{line: 663, col: 24, offset: 28714}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 663, col: 28, offset: 28718}, - expr: &litMatcher{ - pos: position{line: 663, col: 29, offset: 28719}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 663, col: 33, offset: 28723, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 562, col: 68, offset: 24714}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, + &litMatcher{ + pos: position{line: 85, col: 49, offset: 3235}, + val: ">", + ignoreCase: false, + }, + }, + }, + }, + { + name: "DocumentRevision", + pos: position{line: 89, col: 1, offset: 3371}, + expr: &actionExpr{ + pos: position{line: 89, col: 21, offset: 3391}, + run: (*parser).callonDocumentRevision1, + expr: &seqExpr{ + pos: position{line: 89, col: 21, offset: 3391}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 89, col: 21, offset: 3391}, + expr: &ruleRefExpr{ + pos: position{line: 89, col: 21, offset: 3391}, + name: "WS", + }, + }, + ¬Expr{ + pos: position{line: 89, col: 25, offset: 3395}, + expr: &litMatcher{ + pos: position{line: 89, col: 26, offset: 3396}, + val: ":", + ignoreCase: false, + }, + }, + &labeledExpr{ + pos: position{line: 89, col: 30, offset: 3400}, + label: "revnumber", + expr: &zeroOrOneExpr{ + pos: position{line: 89, col: 40, offset: 3410}, + expr: &ruleRefExpr{ + pos: position{line: 89, col: 41, offset: 3411}, + name: "DocumentRevisionNumber", }, - &zeroOrMoreExpr{ - pos: position{line: 557, col: 69, offset: 24484}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock433, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, + }, + }, + &zeroOrOneExpr{ + pos: position{line: 89, col: 66, offset: 3436}, + expr: &litMatcher{ + pos: position{line: 89, col: 66, offset: 3436}, + val: ",", + ignoreCase: false, + }, + }, + &labeledExpr{ + pos: position{line: 89, col: 71, offset: 3441}, + label: "revdate", + expr: &zeroOrOneExpr{ + pos: position{line: 89, col: 79, offset: 3449}, + expr: &ruleRefExpr{ + pos: position{line: 89, col: 80, offset: 3450}, + name: "DocumentRevisionDate", }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, + }, + }, + &zeroOrOneExpr{ + pos: position{line: 89, col: 103, offset: 3473}, + expr: &litMatcher{ + pos: position{line: 89, col: 103, offset: 3473}, + val: ":", + ignoreCase: false, + }, + }, + &labeledExpr{ + pos: position{line: 89, col: 108, offset: 3478}, + label: "revremark", + expr: &zeroOrOneExpr{ + pos: position{line: 89, col: 118, offset: 3488}, + expr: &ruleRefExpr{ + pos: position{line: 89, col: 119, offset: 3489}, + name: "DocumentRevisionRemark", }, }, }, + &ruleRefExpr{ + pos: position{line: 89, col: 144, offset: 3514}, + name: "EOL", + }, }, - &ruleRefExpr{ - pos: position{line: 32, col: 120, offset: 1152}, - name: "List", - }, - &actionExpr{ - pos: position{line: 617, col: 24, offset: 27221}, - run: (*parser).callonDocumentBlock441, - expr: &seqExpr{ - pos: position{line: 617, col: 24, offset: 27221}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 617, col: 24, offset: 27221}, - label: "spaces", - expr: &oneOrMoreExpr{ - pos: position{line: 617, col: 32, offset: 27229}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock447, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, + }, + }, + }, + { + name: "DocumentRevisionNumber", + pos: position{line: 94, col: 1, offset: 3687}, + expr: &choiceExpr{ + pos: position{line: 94, col: 27, offset: 3713}, + alternatives: []interface{}{ + &seqExpr{ + pos: position{line: 94, col: 27, offset: 3713}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 94, col: 27, offset: 3713}, + val: "v", + ignoreCase: true, + }, + &ruleRefExpr{ + pos: position{line: 94, col: 32, offset: 3718}, + name: "DIGIT", + }, + &zeroOrMoreExpr{ + pos: position{line: 94, col: 39, offset: 3725}, + expr: &seqExpr{ + pos: position{line: 94, col: 40, offset: 3726}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 94, col: 40, offset: 3726}, + expr: &ruleRefExpr{ + pos: position{line: 94, col: 41, offset: 3727}, + name: "EOL", }, }, - }, - }, - ¬Expr{ - pos: position{line: 617, col: 37, offset: 27234}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, + ¬Expr{ + pos: position{line: 94, col: 45, offset: 3731}, + expr: &litMatcher{ + pos: position{line: 94, col: 46, offset: 3732}, + val: ",", ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 617, col: 46, offset: 27243}, - label: "content", - expr: &actionExpr{ - pos: position{line: 622, col: 24, offset: 27477}, - run: (*parser).callonDocumentBlock454, - expr: &labeledExpr{ - pos: position{line: 622, col: 24, offset: 27477}, - label: "content", - expr: &oneOrMoreExpr{ - pos: position{line: 622, col: 32, offset: 27485}, - expr: &seqExpr{ - pos: position{line: 622, col: 33, offset: 27486}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 622, col: 33, offset: 27486}, - expr: &seqExpr{ - pos: position{line: 622, col: 35, offset: 27488}, - exprs: []interface{}{ - &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - &actionExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - run: (*parser).callonDocumentBlock463, - expr: &seqExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 644, col: 14, offset: 28321}, - expr: ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 644, col: 19, offset: 28326}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock471, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &anyMatcher{ - line: 622, col: 54, offset: 27507, - }, - }, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 627, col: 22, offset: 27613}, - alternatives: []interface{}{ - &seqExpr{ - pos: position{line: 627, col: 22, offset: 27613}, - exprs: []interface{}{ - &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - &actionExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - run: (*parser).callonDocumentBlock484, - expr: &seqExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 644, col: 14, offset: 28321}, - expr: ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 644, col: 19, offset: 28326}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock492, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, }, }, - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, + pos: position{line: 94, col: 50, offset: 3736}, + expr: &litMatcher{ + pos: position{line: 94, col: 51, offset: 3737}, + val: ":", + ignoreCase: false, }, }, + &anyMatcher{ + line: 94, col: 55, offset: 3741, + }, }, }, }, }, }, - &actionExpr{ - pos: position{line: 630, col: 39, offset: 27741}, - run: (*parser).callonDocumentBlock503, - expr: &seqExpr{ - pos: position{line: 630, col: 39, offset: 27741}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 634, col: 26, offset: 27956}, - val: "....", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 630, col: 61, offset: 27763}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock509, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, + &seqExpr{ + pos: position{line: 94, col: 61, offset: 3747}, + exprs: []interface{}{ + &zeroOrOneExpr{ + pos: position{line: 94, col: 61, offset: 3747}, + expr: &litMatcher{ + pos: position{line: 94, col: 61, offset: 3747}, + val: "v", + ignoreCase: true, }, - &labeledExpr{ - pos: position{line: 630, col: 73, offset: 27775}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 630, col: 81, offset: 27783}, - expr: &seqExpr{ - pos: position{line: 630, col: 82, offset: 27784}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 630, col: 82, offset: 27784}, - expr: &litMatcher{ - pos: position{line: 634, col: 26, offset: 27956}, - val: "....", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 630, col: 105, offset: 27807, - }, + }, + &ruleRefExpr{ + pos: position{line: 94, col: 67, offset: 3753}, + name: "DIGIT", + }, + &zeroOrMoreExpr{ + pos: position{line: 94, col: 74, offset: 3760}, + expr: &seqExpr{ + pos: position{line: 94, col: 75, offset: 3761}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 94, col: 75, offset: 3761}, + expr: &ruleRefExpr{ + pos: position{line: 94, col: 76, offset: 3762}, + name: "EOL", }, }, - }, - }, - &choiceExpr{ - pos: position{line: 630, col: 110, offset: 27812}, - alternatives: []interface{}{ - &seqExpr{ - pos: position{line: 630, col: 111, offset: 27813}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 634, col: 26, offset: 27956}, - val: "....", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 630, col: 133, offset: 27835}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock526, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, + ¬Expr{ + pos: position{line: 94, col: 80, offset: 3766}, + expr: &litMatcher{ + pos: position{line: 94, col: 81, offset: 3767}, + val: ",", + ignoreCase: false, }, }, ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, + pos: position{line: 94, col: 85, offset: 3771}, + expr: &litMatcher{ + pos: position{line: 94, col: 86, offset: 3772}, + val: ":", + ignoreCase: false, }, }, + &anyMatcher{ + line: 94, col: 90, offset: 3776, + }, }, }, }, - }, - }, - &actionExpr{ - pos: position{line: 637, col: 34, offset: 28051}, - run: (*parser).callonDocumentBlock535, - expr: &seqExpr{ - pos: position{line: 637, col: 34, offset: 28051}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 637, col: 34, offset: 28051}, - val: "[literal]", + &zeroOrMoreExpr{ + pos: position{line: 94, col: 94, offset: 3780}, + expr: &ruleRefExpr{ + pos: position{line: 94, col: 94, offset: 3780}, + name: "WS", + }, + }, + &andExpr{ + pos: position{line: 94, col: 98, offset: 3784}, + expr: &litMatcher{ + pos: position{line: 94, col: 99, offset: 3785}, + val: ",", ignoreCase: false, }, - &zeroOrMoreExpr{ - pos: position{line: 637, col: 46, offset: 28063}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock541, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - &labeledExpr{ - pos: position{line: 637, col: 58, offset: 28075}, - label: "content", - expr: &actionExpr{ - pos: position{line: 622, col: 24, offset: 27477}, - run: (*parser).callonDocumentBlock547, - expr: &labeledExpr{ - pos: position{line: 622, col: 24, offset: 27477}, - label: "content", - expr: &oneOrMoreExpr{ - pos: position{line: 622, col: 32, offset: 27485}, - expr: &seqExpr{ - pos: position{line: 622, col: 33, offset: 27486}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 622, col: 33, offset: 27486}, - expr: &seqExpr{ - pos: position{line: 622, col: 35, offset: 27488}, - exprs: []interface{}{ - &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - &actionExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - run: (*parser).callonDocumentBlock556, - expr: &seqExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 644, col: 14, offset: 28321}, - expr: ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 644, col: 19, offset: 28326}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock564, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &anyMatcher{ - line: 622, col: 54, offset: 27507, - }, - }, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 627, col: 22, offset: 27613}, - alternatives: []interface{}{ - &seqExpr{ - pos: position{line: 627, col: 22, offset: 27613}, - exprs: []interface{}{ - &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - &actionExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - run: (*parser).callonDocumentBlock577, - expr: &seqExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 644, col: 14, offset: 28321}, - expr: ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 644, col: 19, offset: 28326}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock585, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, }, }, }, - &ruleRefExpr{ - pos: position{line: 32, col: 142, offset: 1174}, - name: "DelimitedBlock", - }, - &actionExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - run: (*parser).callonDocumentBlock597, - expr: &seqExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 644, col: 14, offset: 28321}, - expr: ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 644, col: 19, offset: 28326}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentBlock605, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, + }, + }, + }, + { + name: "DocumentRevisionDate", + pos: position{line: 95, col: 1, offset: 3789}, + expr: &zeroOrMoreExpr{ + pos: position{line: 95, col: 25, offset: 3813}, + expr: &seqExpr{ + pos: position{line: 95, col: 26, offset: 3814}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 95, col: 26, offset: 3814}, + expr: &ruleRefExpr{ + pos: position{line: 95, col: 27, offset: 3815}, + name: "EOL", + }, + }, + ¬Expr{ + pos: position{line: 95, col: 31, offset: 3819}, + expr: &litMatcher{ + pos: position{line: 95, col: 32, offset: 3820}, + val: ":", + ignoreCase: false, }, }, + &anyMatcher{ + line: 95, col: 36, offset: 3824, + }, }, - &ruleRefExpr{ - pos: position{line: 32, col: 171, offset: 1203}, - name: "Paragraph", + }, + }, + }, + { + name: "DocumentRevisionRemark", + pos: position{line: 96, col: 1, offset: 3829}, + expr: &zeroOrMoreExpr{ + pos: position{line: 96, col: 27, offset: 3855}, + expr: &seqExpr{ + pos: position{line: 96, col: 28, offset: 3856}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 96, col: 28, offset: 3856}, + expr: &ruleRefExpr{ + pos: position{line: 96, col: 29, offset: 3857}, + name: "EOL", + }, + }, + &anyMatcher{ + line: 96, col: 33, offset: 3861, + }, }, }, }, }, { - name: "FrontMatter", - pos: position{line: 44, col: 1, offset: 1485}, - expr: &ruleRefExpr{ - pos: position{line: 44, col: 16, offset: 1500}, - name: "YamlFrontMatter", + name: "DocumentAttributeDeclaration", + pos: position{line: 101, col: 1, offset: 3981}, + expr: &choiceExpr{ + pos: position{line: 101, col: 33, offset: 4013}, + alternatives: []interface{}{ + &ruleRefExpr{ + pos: position{line: 101, col: 33, offset: 4013}, + name: "DocumentAttributeDeclarationWithNameOnly", + }, + &ruleRefExpr{ + pos: position{line: 101, col: 76, offset: 4056}, + name: "DocumentAttributeDeclarationWithNameAndValue", + }, + }, }, }, { - name: "FrontMatter", - pos: position{line: 46, col: 1, offset: 1518}, + name: "DocumentAttributeDeclarationWithNameOnly", + pos: position{line: 103, col: 1, offset: 4103}, expr: &actionExpr{ - pos: position{line: 46, col: 16, offset: 1533}, - run: (*parser).callonFrontMatter1, + pos: position{line: 103, col: 45, offset: 4147}, + run: (*parser).callonDocumentAttributeDeclarationWithNameOnly1, expr: &seqExpr{ - pos: position{line: 46, col: 16, offset: 1533}, + pos: position{line: 103, col: 45, offset: 4147}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 50, col: 26, offset: 1692}, - val: "---", + pos: position{line: 103, col: 45, offset: 4147}, + val: ":", ignoreCase: false, }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, &labeledExpr{ - pos: position{line: 46, col: 37, offset: 1554}, - label: "content", - expr: &actionExpr{ - pos: position{line: 52, col: 27, offset: 1729}, - run: (*parser).callonFrontMatter10, - expr: &zeroOrMoreExpr{ - pos: position{line: 52, col: 27, offset: 1729}, - expr: &seqExpr{ - pos: position{line: 52, col: 28, offset: 1730}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 52, col: 28, offset: 1730}, - expr: &seqExpr{ - pos: position{line: 50, col: 26, offset: 1692}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 50, col: 26, offset: 1692}, - val: "---", - ignoreCase: false, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, - &anyMatcher{ - line: 52, col: 50, offset: 1752, - }, - }, - }, - }, + pos: position{line: 103, col: 49, offset: 4151}, + label: "name", + expr: &ruleRefExpr{ + pos: position{line: 103, col: 55, offset: 4157}, + name: "AttributeName", }, }, &litMatcher{ - pos: position{line: 50, col: 26, offset: 1692}, - val: "---", + pos: position{line: 103, col: 70, offset: 4172}, + val: ":", ignoreCase: false, }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, + &zeroOrMoreExpr{ + pos: position{line: 103, col: 74, offset: 4176}, + expr: &ruleRefExpr{ + pos: position{line: 103, col: 74, offset: 4176}, + name: "WS", }, }, + &ruleRefExpr{ + pos: position{line: 103, col: 78, offset: 4180}, + name: "EOL", + }, }, }, }, }, { - name: "DocumentHeader", - pos: position{line: 60, col: 1, offset: 1976}, + name: "DocumentAttributeDeclarationWithNameAndValue", + pos: position{line: 107, col: 1, offset: 4265}, expr: &actionExpr{ - pos: position{line: 60, col: 19, offset: 1994}, - run: (*parser).callonDocumentHeader1, + pos: position{line: 107, col: 49, offset: 4313}, + run: (*parser).callonDocumentAttributeDeclarationWithNameAndValue1, expr: &seqExpr{ - pos: position{line: 60, col: 19, offset: 1994}, + pos: position{line: 107, col: 49, offset: 4313}, exprs: []interface{}{ + &litMatcher{ + pos: position{line: 107, col: 49, offset: 4313}, + val: ":", + ignoreCase: false, + }, &labeledExpr{ - pos: position{line: 60, col: 19, offset: 1994}, - label: "header", + pos: position{line: 107, col: 53, offset: 4317}, + label: "name", expr: &ruleRefExpr{ - pos: position{line: 60, col: 27, offset: 2002}, - name: "DocumentTitle", + pos: position{line: 107, col: 59, offset: 4323}, + name: "AttributeName", + }, + }, + &litMatcher{ + pos: position{line: 107, col: 74, offset: 4338}, + val: ":", + ignoreCase: false, + }, + &oneOrMoreExpr{ + pos: position{line: 107, col: 78, offset: 4342}, + expr: &ruleRefExpr{ + pos: position{line: 107, col: 78, offset: 4342}, + name: "WS", }, }, &labeledExpr{ - pos: position{line: 60, col: 42, offset: 2017}, - label: "authors", - expr: &zeroOrOneExpr{ - pos: position{line: 60, col: 51, offset: 2026}, - expr: &choiceExpr{ - pos: position{line: 68, col: 20, offset: 2471}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 70, col: 30, offset: 2558}, - run: (*parser).callonDocumentHeader8, - expr: &seqExpr{ - pos: position{line: 70, col: 30, offset: 2558}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 70, col: 30, offset: 2558}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader13, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 70, col: 34, offset: 2562}, - expr: &litMatcher{ - pos: position{line: 70, col: 35, offset: 2563}, - val: ":", - ignoreCase: false, - }, - }, - &labeledExpr{ - pos: position{line: 70, col: 39, offset: 2567}, - label: "authors", - expr: &oneOrMoreExpr{ - pos: position{line: 70, col: 48, offset: 2576}, - expr: &actionExpr{ - pos: position{line: 78, col: 19, offset: 2827}, - run: (*parser).callonDocumentHeader19, - expr: &seqExpr{ - pos: position{line: 78, col: 19, offset: 2827}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 78, col: 19, offset: 2827}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader24, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 78, col: 23, offset: 2831}, - label: "namePart1", - expr: &seqExpr{ - pos: position{line: 83, col: 27, offset: 3167}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 83, col: 27, offset: 3167}, - expr: &litMatcher{ - pos: position{line: 83, col: 28, offset: 3168}, - val: "<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 83, col: 32, offset: 3172}, - expr: &litMatcher{ - pos: position{line: 83, col: 33, offset: 3173}, - val: ";", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 651, col: 9, offset: 28485}, - run: (*parser).callonDocumentHeader32, - expr: &oneOrMoreExpr{ - pos: position{line: 651, col: 9, offset: 28485}, - expr: &seqExpr{ - pos: position{line: 651, col: 10, offset: 28486}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 651, col: 10, offset: 28486}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 651, col: 19, offset: 28495}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader42, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &anyMatcher{ - line: 651, col: 23, offset: 28499, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 83, col: 42, offset: 3182}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader48, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 78, col: 58, offset: 2866}, - label: "namePart2", - expr: &zeroOrOneExpr{ - pos: position{line: 78, col: 68, offset: 2876}, - expr: &seqExpr{ - pos: position{line: 83, col: 27, offset: 3167}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 83, col: 27, offset: 3167}, - expr: &litMatcher{ - pos: position{line: 83, col: 28, offset: 3168}, - val: "<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 83, col: 32, offset: 3172}, - expr: &litMatcher{ - pos: position{line: 83, col: 33, offset: 3173}, - val: ";", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 651, col: 9, offset: 28485}, - run: (*parser).callonDocumentHeader57, - expr: &oneOrMoreExpr{ - pos: position{line: 651, col: 9, offset: 28485}, - expr: &seqExpr{ - pos: position{line: 651, col: 10, offset: 28486}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 651, col: 10, offset: 28486}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 651, col: 19, offset: 28495}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader67, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &anyMatcher{ - line: 651, col: 23, offset: 28499, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 83, col: 42, offset: 3182}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader73, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 78, col: 94, offset: 2902}, - label: "namePart3", - expr: &zeroOrOneExpr{ - pos: position{line: 78, col: 104, offset: 2912}, - expr: &seqExpr{ - pos: position{line: 83, col: 27, offset: 3167}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 83, col: 27, offset: 3167}, - expr: &litMatcher{ - pos: position{line: 83, col: 28, offset: 3168}, - val: "<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 83, col: 32, offset: 3172}, - expr: &litMatcher{ - pos: position{line: 83, col: 33, offset: 3173}, - val: ";", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 651, col: 9, offset: 28485}, - run: (*parser).callonDocumentHeader82, - expr: &oneOrMoreExpr{ - pos: position{line: 651, col: 9, offset: 28485}, - expr: &seqExpr{ - pos: position{line: 651, col: 10, offset: 28486}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 651, col: 10, offset: 28486}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 651, col: 19, offset: 28495}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader92, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &anyMatcher{ - line: 651, col: 23, offset: 28499, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 83, col: 42, offset: 3182}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader98, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 78, col: 130, offset: 2938}, - label: "email", - expr: &zeroOrOneExpr{ - pos: position{line: 78, col: 136, offset: 2944}, - expr: &seqExpr{ - pos: position{line: 85, col: 24, offset: 3210}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 85, col: 24, offset: 3210}, - val: "<", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 85, col: 28, offset: 3214}, - label: "email", - expr: &oneOrMoreExpr{ - pos: position{line: 85, col: 34, offset: 3220}, - expr: &seqExpr{ - pos: position{line: 85, col: 35, offset: 3221}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 85, col: 35, offset: 3221}, - expr: &litMatcher{ - pos: position{line: 85, col: 36, offset: 3222}, - val: ">", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 85, col: 40, offset: 3226}, - expr: &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - &anyMatcher{ - line: 85, col: 45, offset: 3231, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 85, col: 49, offset: 3235}, - val: ">", - ignoreCase: false, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 78, col: 159, offset: 2967}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader120, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &zeroOrOneExpr{ - pos: position{line: 78, col: 163, offset: 2971}, - expr: &litMatcher{ - pos: position{line: 78, col: 163, offset: 2971}, - val: ";", - ignoreCase: false, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 78, col: 168, offset: 2976}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader127, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, + pos: position{line: 107, col: 82, offset: 4346}, + label: "value", + expr: &zeroOrMoreExpr{ + pos: position{line: 107, col: 88, offset: 4352}, + expr: &seqExpr{ + pos: position{line: 107, col: 89, offset: 4353}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 107, col: 89, offset: 4353}, + expr: &ruleRefExpr{ + pos: position{line: 107, col: 90, offset: 4354}, + name: "NEWLINE", }, }, - &actionExpr{ - pos: position{line: 74, col: 33, offset: 2695}, - run: (*parser).callonDocumentHeader134, - expr: &seqExpr{ - pos: position{line: 74, col: 33, offset: 2695}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 74, col: 33, offset: 2695}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader139, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 74, col: 37, offset: 2699}, - val: ":author:", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 74, col: 48, offset: 2710}, - label: "author", - expr: &actionExpr{ - pos: position{line: 78, col: 19, offset: 2827}, - run: (*parser).callonDocumentHeader143, - expr: &seqExpr{ - pos: position{line: 78, col: 19, offset: 2827}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 78, col: 19, offset: 2827}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader148, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 78, col: 23, offset: 2831}, - label: "namePart1", - expr: &seqExpr{ - pos: position{line: 83, col: 27, offset: 3167}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 83, col: 27, offset: 3167}, - expr: &litMatcher{ - pos: position{line: 83, col: 28, offset: 3168}, - val: "<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 83, col: 32, offset: 3172}, - expr: &litMatcher{ - pos: position{line: 83, col: 33, offset: 3173}, - val: ";", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 651, col: 9, offset: 28485}, - run: (*parser).callonDocumentHeader156, - expr: &oneOrMoreExpr{ - pos: position{line: 651, col: 9, offset: 28485}, - expr: &seqExpr{ - pos: position{line: 651, col: 10, offset: 28486}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 651, col: 10, offset: 28486}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 651, col: 19, offset: 28495}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader166, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &anyMatcher{ - line: 651, col: 23, offset: 28499, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 83, col: 42, offset: 3182}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader172, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 78, col: 58, offset: 2866}, - label: "namePart2", - expr: &zeroOrOneExpr{ - pos: position{line: 78, col: 68, offset: 2876}, - expr: &seqExpr{ - pos: position{line: 83, col: 27, offset: 3167}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 83, col: 27, offset: 3167}, - expr: &litMatcher{ - pos: position{line: 83, col: 28, offset: 3168}, - val: "<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 83, col: 32, offset: 3172}, - expr: &litMatcher{ - pos: position{line: 83, col: 33, offset: 3173}, - val: ";", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 651, col: 9, offset: 28485}, - run: (*parser).callonDocumentHeader57, - expr: &oneOrMoreExpr{ - pos: position{line: 651, col: 9, offset: 28485}, - expr: &seqExpr{ - pos: position{line: 651, col: 10, offset: 28486}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 651, col: 10, offset: 28486}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 651, col: 19, offset: 28495}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader67, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &anyMatcher{ - line: 651, col: 23, offset: 28499, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 83, col: 42, offset: 3182}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader73, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 78, col: 94, offset: 2902}, - label: "namePart3", - expr: &zeroOrOneExpr{ - pos: position{line: 78, col: 104, offset: 2912}, - expr: &seqExpr{ - pos: position{line: 83, col: 27, offset: 3167}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 83, col: 27, offset: 3167}, - expr: &litMatcher{ - pos: position{line: 83, col: 28, offset: 3168}, - val: "<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 83, col: 32, offset: 3172}, - expr: &litMatcher{ - pos: position{line: 83, col: 33, offset: 3173}, - val: ";", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 651, col: 9, offset: 28485}, - run: (*parser).callonDocumentHeader82, - expr: &oneOrMoreExpr{ - pos: position{line: 651, col: 9, offset: 28485}, - expr: &seqExpr{ - pos: position{line: 651, col: 10, offset: 28486}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 651, col: 10, offset: 28486}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 651, col: 19, offset: 28495}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader92, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &anyMatcher{ - line: 651, col: 23, offset: 28499, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 83, col: 42, offset: 3182}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader98, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 78, col: 130, offset: 2938}, - label: "email", - expr: &zeroOrOneExpr{ - pos: position{line: 78, col: 136, offset: 2944}, - expr: &seqExpr{ - pos: position{line: 85, col: 24, offset: 3210}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 85, col: 24, offset: 3210}, - val: "<", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 85, col: 28, offset: 3214}, - label: "email", - expr: &oneOrMoreExpr{ - pos: position{line: 85, col: 34, offset: 3220}, - expr: &seqExpr{ - pos: position{line: 85, col: 35, offset: 3221}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 85, col: 35, offset: 3221}, - expr: &litMatcher{ - pos: position{line: 85, col: 36, offset: 3222}, - val: ">", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 85, col: 40, offset: 3226}, - expr: &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - &anyMatcher{ - line: 85, col: 45, offset: 3231, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 85, col: 49, offset: 3235}, - val: ">", - ignoreCase: false, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 78, col: 159, offset: 2967}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader244, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &zeroOrOneExpr{ - pos: position{line: 78, col: 163, offset: 2971}, - expr: &litMatcher{ - pos: position{line: 78, col: 163, offset: 2971}, - val: ";", - ignoreCase: false, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 78, col: 168, offset: 2976}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader251, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, + &anyMatcher{ + line: 107, col: 98, offset: 4362, }, }, }, }, }, - &labeledExpr{ - pos: position{line: 60, col: 69, offset: 2044}, - label: "revision", - expr: &zeroOrOneExpr{ - pos: position{line: 60, col: 79, offset: 2054}, - expr: &actionExpr{ - pos: position{line: 89, col: 21, offset: 3391}, - run: (*parser).callonDocumentHeader255, - expr: &seqExpr{ - pos: position{line: 89, col: 21, offset: 3391}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 89, col: 21, offset: 3391}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader260, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 89, col: 25, offset: 3395}, - expr: &litMatcher{ - pos: position{line: 89, col: 26, offset: 3396}, - val: ":", - ignoreCase: false, - }, - }, - &labeledExpr{ - pos: position{line: 89, col: 30, offset: 3400}, - label: "revnumber", - expr: &zeroOrOneExpr{ - pos: position{line: 89, col: 40, offset: 3410}, - expr: &choiceExpr{ - pos: position{line: 94, col: 27, offset: 3713}, - alternatives: []interface{}{ - &seqExpr{ - pos: position{line: 94, col: 27, offset: 3713}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 94, col: 27, offset: 3713}, - val: "v", - ignoreCase: true, - }, - &charClassMatcher{ - pos: position{line: 669, col: 10, offset: 28844}, - val: "[0-9]", - ranges: []rune{'0', '9'}, - ignoreCase: false, - inverted: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 94, col: 39, offset: 3725}, - expr: &seqExpr{ - pos: position{line: 94, col: 40, offset: 3726}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 94, col: 40, offset: 3726}, - expr: &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 94, col: 45, offset: 3731}, - expr: &litMatcher{ - pos: position{line: 94, col: 46, offset: 3732}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 94, col: 50, offset: 3736}, - expr: &litMatcher{ - pos: position{line: 94, col: 51, offset: 3737}, - val: ":", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 94, col: 55, offset: 3741, - }, - }, - }, - }, - }, - }, - &seqExpr{ - pos: position{line: 94, col: 61, offset: 3747}, - exprs: []interface{}{ - &zeroOrOneExpr{ - pos: position{line: 94, col: 61, offset: 3747}, - expr: &litMatcher{ - pos: position{line: 94, col: 61, offset: 3747}, - val: "v", - ignoreCase: true, - }, - }, - &charClassMatcher{ - pos: position{line: 669, col: 10, offset: 28844}, - val: "[0-9]", - ranges: []rune{'0', '9'}, - ignoreCase: false, - inverted: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 94, col: 74, offset: 3760}, - expr: &seqExpr{ - pos: position{line: 94, col: 75, offset: 3761}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 94, col: 75, offset: 3761}, - expr: &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 94, col: 80, offset: 3766}, - expr: &litMatcher{ - pos: position{line: 94, col: 81, offset: 3767}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 94, col: 85, offset: 3771}, - expr: &litMatcher{ - pos: position{line: 94, col: 86, offset: 3772}, - val: ":", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 94, col: 90, offset: 3776, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 94, col: 94, offset: 3780}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader303, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &andExpr{ - pos: position{line: 94, col: 98, offset: 3784}, - expr: &litMatcher{ - pos: position{line: 94, col: 99, offset: 3785}, - val: ",", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &zeroOrOneExpr{ - pos: position{line: 89, col: 66, offset: 3436}, - expr: &litMatcher{ - pos: position{line: 89, col: 66, offset: 3436}, - val: ",", - ignoreCase: false, - }, - }, - &labeledExpr{ - pos: position{line: 89, col: 71, offset: 3441}, - label: "revdate", - expr: &zeroOrOneExpr{ - pos: position{line: 89, col: 79, offset: 3449}, - expr: &zeroOrMoreExpr{ - pos: position{line: 95, col: 25, offset: 3813}, - expr: &seqExpr{ - pos: position{line: 95, col: 26, offset: 3814}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 95, col: 26, offset: 3814}, - expr: &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 95, col: 31, offset: 3819}, - expr: &litMatcher{ - pos: position{line: 95, col: 32, offset: 3820}, - val: ":", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 95, col: 36, offset: 3824, - }, - }, - }, - }, - }, - }, - &zeroOrOneExpr{ - pos: position{line: 89, col: 103, offset: 3473}, - expr: &litMatcher{ - pos: position{line: 89, col: 103, offset: 3473}, - val: ":", - ignoreCase: false, - }, - }, - &labeledExpr{ - pos: position{line: 89, col: 108, offset: 3478}, - label: "revremark", - expr: &zeroOrOneExpr{ - pos: position{line: 89, col: 118, offset: 3488}, - expr: &zeroOrMoreExpr{ - pos: position{line: 96, col: 27, offset: 3855}, - expr: &seqExpr{ - pos: position{line: 96, col: 28, offset: 3856}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 96, col: 28, offset: 3856}, - expr: &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - &anyMatcher{ - line: 96, col: 33, offset: 3861, - }, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 60, col: 98, offset: 2073}, - label: "otherAttributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 60, col: 115, offset: 2090}, - expr: &choiceExpr{ - pos: position{line: 101, col: 33, offset: 4013}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 103, col: 45, offset: 4147}, - run: (*parser).callonDocumentHeader343, - expr: &seqExpr{ - pos: position{line: 103, col: 45, offset: 4147}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 103, col: 45, offset: 4147}, - val: ":", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 103, col: 49, offset: 4151}, - label: "name", - expr: &seqExpr{ - pos: position{line: 128, col: 18, offset: 5231}, - exprs: []interface{}{ - &charClassMatcher{ - pos: position{line: 128, col: 19, offset: 5232}, - val: "[_A-Za-z0-9]", - chars: []rune{'_'}, - ranges: []rune{'A', 'Z', 'a', 'z', '0', '9'}, - ignoreCase: false, - inverted: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 128, col: 48, offset: 5261}, - expr: &charClassMatcher{ - pos: position{line: 128, col: 49, offset: 5262}, - val: "[-A-Za-z0-9]", - chars: []rune{'-'}, - ranges: []rune{'A', 'Z', 'a', 'z', '0', '9'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 103, col: 70, offset: 4172}, - val: ":", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 103, col: 74, offset: 4176}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader355, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 107, col: 49, offset: 4313}, - run: (*parser).callonDocumentHeader362, - expr: &seqExpr{ - pos: position{line: 107, col: 49, offset: 4313}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 107, col: 49, offset: 4313}, - val: ":", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 107, col: 53, offset: 4317}, - label: "name", - expr: &seqExpr{ - pos: position{line: 128, col: 18, offset: 5231}, - exprs: []interface{}{ - &charClassMatcher{ - pos: position{line: 128, col: 19, offset: 5232}, - val: "[_A-Za-z0-9]", - chars: []rune{'_'}, - ranges: []rune{'A', 'Z', 'a', 'z', '0', '9'}, - ignoreCase: false, - inverted: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 128, col: 48, offset: 5261}, - expr: &charClassMatcher{ - pos: position{line: 128, col: 49, offset: 5262}, - val: "[-A-Za-z0-9]", - chars: []rune{'-'}, - ranges: []rune{'A', 'Z', 'a', 'z', '0', '9'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 107, col: 74, offset: 4338}, - val: ":", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 107, col: 78, offset: 4342}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentHeader374, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 107, col: 82, offset: 4346}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 107, col: 88, offset: 4352}, - expr: &seqExpr{ - pos: position{line: 107, col: 89, offset: 4353}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 107, col: 89, offset: 4353}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 107, col: 98, offset: 4362, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, + &ruleRefExpr{ + pos: position{line: 107, col: 102, offset: 4366}, + name: "EOL", }, }, }, }, }, { - name: "DocumentTitle", - pos: position{line: 64, col: 1, offset: 2221}, + name: "DocumentAttributeReset", + pos: position{line: 111, col: 1, offset: 4469}, + expr: &choiceExpr{ + pos: position{line: 111, col: 27, offset: 4495}, + alternatives: []interface{}{ + &ruleRefExpr{ + pos: position{line: 111, col: 27, offset: 4495}, + name: "DocumentAttributeResetWithSectionTitleBangSymbol", + }, + &ruleRefExpr{ + pos: position{line: 111, col: 78, offset: 4546}, + name: "DocumentAttributeResetWithTrailingBangSymbol", + }, + }, + }, + }, + { + name: "DocumentAttributeResetWithSectionTitleBangSymbol", + pos: position{line: 113, col: 1, offset: 4592}, expr: &actionExpr{ - pos: position{line: 64, col: 18, offset: 2238}, - run: (*parser).callonDocumentTitle1, + pos: position{line: 113, col: 53, offset: 4644}, + run: (*parser).callonDocumentAttributeResetWithSectionTitleBangSymbol1, expr: &seqExpr{ - pos: position{line: 64, col: 18, offset: 2238}, + pos: position{line: 113, col: 53, offset: 4644}, exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 64, col: 18, offset: 2238}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 64, col: 29, offset: 2249}, - expr: &actionExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - run: (*parser).callonDocumentTitle5, - expr: &seqExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - label: "attr", - expr: &choiceExpr{ - pos: position{line: 138, col: 27, offset: 5589}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - run: (*parser).callonDocumentTitle9, - expr: &labeledExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - label: "id", - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonDocumentTitle11, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonDocumentTitle15, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle25, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - run: (*parser).callonDocumentTitle37, - expr: &seqExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 144, col: 5, offset: 5840}, - val: "[#", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 144, col: 10, offset: 5845}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonDocumentTitle41, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle51, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 144, col: 18, offset: 5853}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - run: (*parser).callonDocumentTitle63, - expr: &seqExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 154, col: 17, offset: 6148}, - val: ".", - ignoreCase: false, - }, - ¬Expr{ - pos: position{line: 154, col: 21, offset: 6152}, - expr: &litMatcher{ - pos: position{line: 154, col: 22, offset: 6153}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 154, col: 26, offset: 6157}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle71, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 154, col: 30, offset: 6161}, - label: "title", - expr: &oneOrMoreExpr{ - pos: position{line: 154, col: 36, offset: 6167}, - expr: &seqExpr{ - pos: position{line: 154, col: 37, offset: 6168}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 154, col: 37, offset: 6168}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 154, col: 46, offset: 6177, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - run: (*parser).callonDocumentTitle81, - expr: &seqExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 159, col: 30, offset: 6351}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 159, col: 34, offset: 6355}, - label: "k", - expr: &choiceExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - run: (*parser).callonDocumentTitle86, - expr: &litMatcher{ - pos: position{line: 401, col: 19, offset: 16759}, - val: "TIP", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 403, col: 5, offset: 16797}, - run: (*parser).callonDocumentTitle88, - expr: &litMatcher{ - pos: position{line: 403, col: 5, offset: 16797}, - val: "NOTE", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 405, col: 5, offset: 16837}, - run: (*parser).callonDocumentTitle90, - expr: &litMatcher{ - pos: position{line: 405, col: 5, offset: 16837}, - val: "IMPORTANT", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 407, col: 5, offset: 16887}, - run: (*parser).callonDocumentTitle92, - expr: &litMatcher{ - pos: position{line: 407, col: 5, offset: 16887}, - val: "WARNING", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 409, col: 5, offset: 16933}, - run: (*parser).callonDocumentTitle94, - expr: &litMatcher{ - pos: position{line: 409, col: 5, offset: 16933}, - val: "CAUTION", - ignoreCase: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 159, col: 53, offset: 6374}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - run: (*parser).callonDocumentTitle97, - expr: &seqExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 164, col: 19, offset: 6487}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 164, col: 23, offset: 6491}, - label: "attribute", - expr: &choiceExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - run: (*parser).callonDocumentTitle102, - expr: &seqExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonDocumentTitle105, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle113, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle125, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 168, col: 40, offset: 6705}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 168, col: 44, offset: 6709}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonDocumentTitle129, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle134, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle142, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle152, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - run: (*parser).callonDocumentTitle154, - expr: &labeledExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonDocumentTitle156, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle164, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle176, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 164, col: 52, offset: 6520}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 164, col: 63, offset: 6531}, - expr: &choiceExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - run: (*parser).callonDocumentTitle181, - expr: &seqExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 174, col: 26, offset: 6967}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 174, col: 30, offset: 6971}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle187, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 174, col: 34, offset: 6975}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonDocumentTitle190, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle198, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle210, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 174, col: 53, offset: 6994}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 174, col: 57, offset: 6998}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonDocumentTitle214, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle219, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle227, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle237, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - run: (*parser).callonDocumentTitle239, - expr: &seqExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 176, col: 5, offset: 7124}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 176, col: 9, offset: 7128}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle245, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 176, col: 13, offset: 7132}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonDocumentTitle248, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle256, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle268, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 164, col: 89, offset: 6557}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - run: (*parser).callonDocumentTitle271, - expr: &seqExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 192, col: 28, offset: 7529}, - val: "[", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 192, col: 32, offset: 7533}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle277, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 192, col: 36, offset: 7537}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 192, col: 44, offset: 7545}, - expr: &seqExpr{ - pos: position{line: 192, col: 45, offset: 7546}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 192, col: 45, offset: 7546}, - expr: &litMatcher{ - pos: position{line: 192, col: 46, offset: 7547}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 192, col: 50, offset: 7551, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 192, col: 54, offset: 7555}, - val: "]", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 192, col: 58, offset: 7559}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle289, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 138, col: 124, offset: 5686}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle294, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, - }, + &litMatcher{ + pos: position{line: 113, col: 53, offset: 4644}, + val: ":!", + ignoreCase: false, }, &labeledExpr{ - pos: position{line: 64, col: 49, offset: 2269}, - label: "level", - expr: &litMatcher{ - pos: position{line: 64, col: 56, offset: 2276}, - val: "=", - ignoreCase: false, + pos: position{line: 113, col: 58, offset: 4649}, + label: "name", + expr: &ruleRefExpr{ + pos: position{line: 113, col: 64, offset: 4655}, + name: "AttributeName", }, }, - &oneOrMoreExpr{ - pos: position{line: 64, col: 61, offset: 2281}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle306, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, + &litMatcher{ + pos: position{line: 113, col: 79, offset: 4670}, + val: ":", + ignoreCase: false, }, - &labeledExpr{ - pos: position{line: 64, col: 65, offset: 2285}, - label: "content", + &zeroOrMoreExpr{ + pos: position{line: 113, col: 83, offset: 4674}, expr: &ruleRefExpr{ - pos: position{line: 64, col: 74, offset: 2294}, - name: "InlineElements", + pos: position{line: 113, col: 83, offset: 4674}, + name: "WS", }, }, - &zeroOrMoreExpr{ - pos: position{line: 64, col: 90, offset: 2310}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle313, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, + &ruleRefExpr{ + pos: position{line: 113, col: 87, offset: 4678}, + name: "EOL", + }, + }, + }, + }, + }, + { + name: "DocumentAttributeResetWithTrailingBangSymbol", + pos: position{line: 117, col: 1, offset: 4752}, + expr: &actionExpr{ + pos: position{line: 117, col: 49, offset: 4800}, + run: (*parser).callonDocumentAttributeResetWithTrailingBangSymbol1, + expr: &seqExpr{ + pos: position{line: 117, col: 49, offset: 4800}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 117, col: 49, offset: 4800}, + val: ":", + ignoreCase: false, }, &labeledExpr{ - pos: position{line: 64, col: 94, offset: 2314}, - label: "id", - expr: &zeroOrOneExpr{ - pos: position{line: 64, col: 97, offset: 2317}, - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonDocumentTitle317, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonDocumentTitle321, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonDocumentTitle331, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, + pos: position{line: 117, col: 53, offset: 4804}, + label: "name", + expr: &ruleRefExpr{ + pos: position{line: 117, col: 59, offset: 4810}, + name: "AttributeName", }, }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, + &litMatcher{ + pos: position{line: 117, col: 74, offset: 4825}, + val: "!:", + ignoreCase: false, + }, + &zeroOrMoreExpr{ + pos: position{line: 117, col: 79, offset: 4830}, + expr: &ruleRefExpr{ + pos: position{line: 117, col: 79, offset: 4830}, + name: "WS", }, }, + &ruleRefExpr{ + pos: position{line: 117, col: 83, offset: 4834}, + name: "EOL", + }, }, }, }, }, { - name: "Section", - pos: position{line: 199, col: 1, offset: 7724}, - expr: &choiceExpr{ - pos: position{line: 199, col: 12, offset: 7735}, - alternatives: []interface{}{ - &ruleRefExpr{ - pos: position{line: 199, col: 12, offset: 7735}, - name: "Section0", - }, - &ruleRefExpr{ - pos: position{line: 199, col: 23, offset: 7746}, - name: "Section1", - }, - &ruleRefExpr{ - pos: position{line: 199, col: 34, offset: 7757}, - name: "Section2", - }, - &ruleRefExpr{ - pos: position{line: 199, col: 45, offset: 7768}, - name: "Section3", - }, - &ruleRefExpr{ - pos: position{line: 199, col: 56, offset: 7779}, - name: "Section4", - }, - &ruleRefExpr{ - pos: position{line: 199, col: 67, offset: 7790}, - name: "Section5", - }, - }, - }, - }, - { - name: "Section0", - pos: position{line: 202, col: 1, offset: 7801}, + name: "DocumentAttributeSubstitution", + pos: position{line: 121, col: 1, offset: 4908}, expr: &actionExpr{ - pos: position{line: 202, col: 13, offset: 7813}, - run: (*parser).callonSection01, + pos: position{line: 121, col: 34, offset: 4941}, + run: (*parser).callonDocumentAttributeSubstitution1, expr: &seqExpr{ - pos: position{line: 202, col: 13, offset: 7813}, + pos: position{line: 121, col: 34, offset: 4941}, exprs: []interface{}{ + &litMatcher{ + pos: position{line: 121, col: 34, offset: 4941}, + val: "{", + ignoreCase: false, + }, &labeledExpr{ - pos: position{line: 202, col: 13, offset: 7813}, - label: "header", + pos: position{line: 121, col: 38, offset: 4945}, + label: "name", expr: &ruleRefExpr{ - pos: position{line: 202, col: 21, offset: 7821}, - name: "Section0Title", + pos: position{line: 121, col: 44, offset: 4951}, + name: "AttributeName", }, }, - &labeledExpr{ - pos: position{line: 202, col: 36, offset: 7836}, - label: "elements", - expr: &zeroOrMoreExpr{ - pos: position{line: 202, col: 46, offset: 7846}, - expr: &ruleRefExpr{ - pos: position{line: 202, col: 46, offset: 7846}, - name: "Section0Block", - }, - }, + &litMatcher{ + pos: position{line: 121, col: 59, offset: 4966}, + val: "}", + ignoreCase: false, }, }, }, }, }, { - name: "Section0Title", - pos: position{line: 206, col: 1, offset: 7953}, - expr: &actionExpr{ - pos: position{line: 206, col: 18, offset: 7970}, - run: (*parser).callonSection0Title1, - expr: &seqExpr{ - pos: position{line: 206, col: 18, offset: 7970}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 206, col: 18, offset: 7970}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 206, col: 29, offset: 7981}, - expr: &actionExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - run: (*parser).callonSection0Title5, - expr: &seqExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - label: "attr", - expr: &choiceExpr{ - pos: position{line: 138, col: 27, offset: 5589}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - run: (*parser).callonSection0Title9, - expr: &labeledExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - label: "id", - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonSection0Title11, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection0Title15, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title25, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - run: (*parser).callonSection0Title37, - expr: &seqExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 144, col: 5, offset: 5840}, - val: "[#", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 144, col: 10, offset: 5845}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection0Title41, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title51, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 144, col: 18, offset: 5853}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - run: (*parser).callonSection0Title63, - expr: &seqExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 154, col: 17, offset: 6148}, - val: ".", - ignoreCase: false, - }, - ¬Expr{ - pos: position{line: 154, col: 21, offset: 6152}, - expr: &litMatcher{ - pos: position{line: 154, col: 22, offset: 6153}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 154, col: 26, offset: 6157}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title71, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 154, col: 30, offset: 6161}, - label: "title", - expr: &oneOrMoreExpr{ - pos: position{line: 154, col: 36, offset: 6167}, - expr: &seqExpr{ - pos: position{line: 154, col: 37, offset: 6168}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 154, col: 37, offset: 6168}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 154, col: 46, offset: 6177, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - run: (*parser).callonSection0Title81, - expr: &seqExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 159, col: 30, offset: 6351}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 159, col: 34, offset: 6355}, - label: "k", - expr: &choiceExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - run: (*parser).callonSection0Title86, - expr: &litMatcher{ - pos: position{line: 401, col: 19, offset: 16759}, - val: "TIP", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 403, col: 5, offset: 16797}, - run: (*parser).callonSection0Title88, - expr: &litMatcher{ - pos: position{line: 403, col: 5, offset: 16797}, - val: "NOTE", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 405, col: 5, offset: 16837}, - run: (*parser).callonSection0Title90, - expr: &litMatcher{ - pos: position{line: 405, col: 5, offset: 16837}, - val: "IMPORTANT", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 407, col: 5, offset: 16887}, - run: (*parser).callonSection0Title92, - expr: &litMatcher{ - pos: position{line: 407, col: 5, offset: 16887}, - val: "WARNING", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 409, col: 5, offset: 16933}, - run: (*parser).callonSection0Title94, - expr: &litMatcher{ - pos: position{line: 409, col: 5, offset: 16933}, - val: "CAUTION", - ignoreCase: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 159, col: 53, offset: 6374}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - run: (*parser).callonSection0Title97, - expr: &seqExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 164, col: 19, offset: 6487}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 164, col: 23, offset: 6491}, - label: "attribute", - expr: &choiceExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - run: (*parser).callonSection0Title102, - expr: &seqExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection0Title105, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title113, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title125, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 168, col: 40, offset: 6705}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 168, col: 44, offset: 6709}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonSection0Title129, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title134, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title142, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title152, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - run: (*parser).callonSection0Title154, - expr: &labeledExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection0Title156, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title164, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title176, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 164, col: 52, offset: 6520}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 164, col: 63, offset: 6531}, - expr: &choiceExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - run: (*parser).callonSection0Title181, - expr: &seqExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 174, col: 26, offset: 6967}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 174, col: 30, offset: 6971}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title187, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 174, col: 34, offset: 6975}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection0Title190, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title198, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title210, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 174, col: 53, offset: 6994}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 174, col: 57, offset: 6998}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonSection0Title214, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title219, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title227, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title237, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - run: (*parser).callonSection0Title239, - expr: &seqExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 176, col: 5, offset: 7124}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 176, col: 9, offset: 7128}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title245, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 176, col: 13, offset: 7132}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection0Title248, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title256, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title268, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 164, col: 89, offset: 6557}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - run: (*parser).callonSection0Title271, - expr: &seqExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 192, col: 28, offset: 7529}, - val: "[", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 192, col: 32, offset: 7533}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title277, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 192, col: 36, offset: 7537}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 192, col: 44, offset: 7545}, - expr: &seqExpr{ - pos: position{line: 192, col: 45, offset: 7546}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 192, col: 45, offset: 7546}, - expr: &litMatcher{ - pos: position{line: 192, col: 46, offset: 7547}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 192, col: 50, offset: 7551, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 192, col: 54, offset: 7555}, - val: "]", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 192, col: 58, offset: 7559}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title289, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 138, col: 124, offset: 5686}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title294, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 206, col: 49, offset: 8001}, - label: "level", - expr: &litMatcher{ - pos: position{line: 206, col: 56, offset: 8008}, - val: "=", + name: "AttributeName", + pos: position{line: 128, col: 1, offset: 5214}, + expr: &seqExpr{ + pos: position{line: 128, col: 18, offset: 5231}, + exprs: []interface{}{ + &choiceExpr{ + pos: position{line: 128, col: 19, offset: 5232}, + alternatives: []interface{}{ + &charClassMatcher{ + pos: position{line: 128, col: 19, offset: 5232}, + val: "[A-Z]", + ranges: []rune{'A', 'Z'}, ignoreCase: false, + inverted: false, }, - }, - &oneOrMoreExpr{ - pos: position{line: 206, col: 61, offset: 8013}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title306, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 206, col: 65, offset: 8017}, - label: "content", - expr: &ruleRefExpr{ - pos: position{line: 206, col: 74, offset: 8026}, - name: "InlineElements", - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 206, col: 90, offset: 8042}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title313, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + &charClassMatcher{ + pos: position{line: 128, col: 27, offset: 5240}, + val: "[a-z]", + ranges: []rune{'a', 'z'}, + ignoreCase: false, + inverted: false, }, - }, - &labeledExpr{ - pos: position{line: 206, col: 94, offset: 8046}, - label: "id", - expr: &zeroOrOneExpr{ - pos: position{line: 206, col: 97, offset: 8049}, - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonSection0Title317, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection0Title321, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title331, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, + &charClassMatcher{ + pos: position{line: 128, col: 35, offset: 5248}, + val: "[0-9]", + ranges: []rune{'0', '9'}, + ignoreCase: false, + inverted: false, }, - }, - &zeroOrMoreExpr{ - pos: position{line: 206, col: 116, offset: 8068}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title346, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + &litMatcher{ + pos: position{line: 128, col: 43, offset: 5256}, + val: "_", + ignoreCase: false, }, }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, + }, + &zeroOrMoreExpr{ + pos: position{line: 128, col: 48, offset: 5261}, + expr: &choiceExpr{ + pos: position{line: 128, col: 49, offset: 5262}, alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", + &charClassMatcher{ + pos: position{line: 128, col: 49, offset: 5262}, + val: "[A-Z]", + ranges: []rune{'A', 'Z'}, ignoreCase: false, + inverted: false, }, &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, + pos: position{line: 128, col: 57, offset: 5270}, + val: "[a-z]", + ranges: []rune{'a', 'z'}, ignoreCase: false, inverted: false, }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 206, col: 125, offset: 8077}, - alternatives: []interface{}{ - &andExpr{ - pos: position{line: 206, col: 125, offset: 8077}, - expr: &zeroOrOneExpr{ - pos: position{line: 206, col: 126, offset: 8078}, - expr: &actionExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - run: (*parser).callonSection0Title356, - expr: &seqExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 644, col: 14, offset: 28321}, - expr: ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 644, col: 19, offset: 28326}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection0Title364, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, - }, + &charClassMatcher{ + pos: position{line: 128, col: 65, offset: 5278}, + val: "[0-9]", + ranges: []rune{'0', '9'}, + ignoreCase: false, + inverted: false, }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, + &litMatcher{ + pos: position{line: 128, col: 73, offset: 5286}, + val: "-", + ignoreCase: false, }, }, }, @@ -7752,52 +1195,118 @@ var g = &grammar{ }, }, { - name: "Section0Block", - pos: position{line: 210, col: 1, offset: 8207}, + name: "TableOfContentsMacro", + pos: position{line: 133, col: 1, offset: 5406}, + expr: &seqExpr{ + pos: position{line: 133, col: 25, offset: 5430}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 133, col: 25, offset: 5430}, + val: "toc::[]", + ignoreCase: false, + }, + &ruleRefExpr{ + pos: position{line: 133, col: 35, offset: 5440}, + name: "NEWLINE", + }, + }, + }, + }, + { + name: "ElementAttribute", + pos: position{line: 138, col: 1, offset: 5563}, expr: &actionExpr{ - pos: position{line: 210, col: 18, offset: 8224}, - run: (*parser).callonSection0Block1, + pos: position{line: 138, col: 21, offset: 5583}, + run: (*parser).callonElementAttribute1, expr: &seqExpr{ - pos: position{line: 210, col: 18, offset: 8224}, + pos: position{line: 138, col: 21, offset: 5583}, exprs: []interface{}{ - ¬Expr{ - pos: position{line: 210, col: 18, offset: 8224}, - expr: &ruleRefExpr{ - pos: position{line: 210, col: 19, offset: 8225}, - name: "Section0", - }, - }, &labeledExpr{ - pos: position{line: 210, col: 28, offset: 8234}, - label: "content", + pos: position{line: 138, col: 21, offset: 5583}, + label: "attr", expr: &choiceExpr{ - pos: position{line: 210, col: 37, offset: 8243}, + pos: position{line: 138, col: 27, offset: 5589}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 210, col: 37, offset: 8243}, - name: "Section1", + pos: position{line: 138, col: 27, offset: 5589}, + name: "ElementID", }, &ruleRefExpr{ - pos: position{line: 210, col: 48, offset: 8254}, - name: "Section2", + pos: position{line: 138, col: 39, offset: 5601}, + name: "ElementTitle", }, &ruleRefExpr{ - pos: position{line: 210, col: 59, offset: 8265}, - name: "Section3", + pos: position{line: 138, col: 54, offset: 5616}, + name: "AdmonitionMarkerAttribute", }, &ruleRefExpr{ - pos: position{line: 210, col: 70, offset: 8276}, - name: "Section4", + pos: position{line: 138, col: 82, offset: 5644}, + name: "AttributeGroup", }, &ruleRefExpr{ - pos: position{line: 210, col: 81, offset: 8287}, - name: "Section5", + pos: position{line: 138, col: 99, offset: 5661}, + name: "InvalidElementAttribute", }, - &ruleRefExpr{ - pos: position{line: 210, col: 92, offset: 8298}, - name: "DocumentBlock", + }, + }, + }, + &zeroOrMoreExpr{ + pos: position{line: 138, col: 124, offset: 5686}, + expr: &ruleRefExpr{ + pos: position{line: 138, col: 124, offset: 5686}, + name: "WS", + }, + }, + &ruleRefExpr{ + pos: position{line: 138, col: 128, offset: 5690}, + name: "EOL", + }, + }, + }, + }, + }, + { + name: "ElementID", + pos: position{line: 142, col: 1, offset: 5781}, + expr: &choiceExpr{ + pos: position{line: 142, col: 14, offset: 5794}, + alternatives: []interface{}{ + &actionExpr{ + pos: position{line: 142, col: 14, offset: 5794}, + run: (*parser).callonElementID2, + expr: &labeledExpr{ + pos: position{line: 142, col: 14, offset: 5794}, + label: "id", + expr: &ruleRefExpr{ + pos: position{line: 142, col: 18, offset: 5798}, + name: "InlineElementID", + }, + }, + }, + &actionExpr{ + pos: position{line: 144, col: 5, offset: 5840}, + run: (*parser).callonElementID5, + expr: &seqExpr{ + pos: position{line: 144, col: 5, offset: 5840}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 144, col: 5, offset: 5840}, + val: "[#", + ignoreCase: false, + }, + &labeledExpr{ + pos: position{line: 144, col: 10, offset: 5845}, + label: "id", + expr: &ruleRefExpr{ + pos: position{line: 144, col: 14, offset: 5849}, + name: "ID", }, }, + &litMatcher{ + pos: position{line: 144, col: 18, offset: 5853}, + val: "]", + ignoreCase: false, + }, }, }, }, @@ -7805,1628 +1314,209 @@ var g = &grammar{ }, }, { - name: "Section1", - pos: position{line: 214, col: 1, offset: 8342}, + name: "InlineElementID", + pos: position{line: 148, col: 1, offset: 5905}, expr: &actionExpr{ - pos: position{line: 214, col: 13, offset: 8354}, - run: (*parser).callonSection11, + pos: position{line: 148, col: 20, offset: 5924}, + run: (*parser).callonInlineElementID1, expr: &seqExpr{ - pos: position{line: 214, col: 13, offset: 8354}, + pos: position{line: 148, col: 20, offset: 5924}, exprs: []interface{}{ + &litMatcher{ + pos: position{line: 148, col: 20, offset: 5924}, + val: "[[", + ignoreCase: false, + }, &labeledExpr{ - pos: position{line: 214, col: 13, offset: 8354}, - label: "header", + pos: position{line: 148, col: 25, offset: 5929}, + label: "id", expr: &ruleRefExpr{ - pos: position{line: 214, col: 21, offset: 8362}, - name: "Section1Title", + pos: position{line: 148, col: 29, offset: 5933}, + name: "ID", }, }, - &labeledExpr{ - pos: position{line: 214, col: 36, offset: 8377}, - label: "elements", - expr: &zeroOrMoreExpr{ - pos: position{line: 214, col: 46, offset: 8387}, - expr: &ruleRefExpr{ - pos: position{line: 214, col: 46, offset: 8387}, - name: "Section1Block", - }, - }, + &litMatcher{ + pos: position{line: 148, col: 33, offset: 5937}, + val: "]]", + ignoreCase: false, }, }, }, }, }, { - name: "Section1Title", - pos: position{line: 218, col: 1, offset: 8494}, + name: "ElementTitle", + pos: position{line: 154, col: 1, offset: 6132}, expr: &actionExpr{ - pos: position{line: 218, col: 18, offset: 8511}, - run: (*parser).callonSection1Title1, + pos: position{line: 154, col: 17, offset: 6148}, + run: (*parser).callonElementTitle1, expr: &seqExpr{ - pos: position{line: 218, col: 18, offset: 8511}, + pos: position{line: 154, col: 17, offset: 6148}, exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 218, col: 18, offset: 8511}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 218, col: 29, offset: 8522}, - expr: &actionExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - run: (*parser).callonSection1Title5, - expr: &seqExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - label: "attr", - expr: &choiceExpr{ - pos: position{line: 138, col: 27, offset: 5589}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - run: (*parser).callonSection1Title9, - expr: &labeledExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - label: "id", - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonSection1Title11, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection1Title15, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title25, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - run: (*parser).callonSection1Title37, - expr: &seqExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 144, col: 5, offset: 5840}, - val: "[#", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 144, col: 10, offset: 5845}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection1Title41, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title51, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 144, col: 18, offset: 5853}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - run: (*parser).callonSection1Title63, - expr: &seqExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 154, col: 17, offset: 6148}, - val: ".", - ignoreCase: false, - }, - ¬Expr{ - pos: position{line: 154, col: 21, offset: 6152}, - expr: &litMatcher{ - pos: position{line: 154, col: 22, offset: 6153}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 154, col: 26, offset: 6157}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title71, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 154, col: 30, offset: 6161}, - label: "title", - expr: &oneOrMoreExpr{ - pos: position{line: 154, col: 36, offset: 6167}, - expr: &seqExpr{ - pos: position{line: 154, col: 37, offset: 6168}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 154, col: 37, offset: 6168}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 154, col: 46, offset: 6177, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - run: (*parser).callonSection1Title81, - expr: &seqExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 159, col: 30, offset: 6351}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 159, col: 34, offset: 6355}, - label: "k", - expr: &choiceExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - run: (*parser).callonSection1Title86, - expr: &litMatcher{ - pos: position{line: 401, col: 19, offset: 16759}, - val: "TIP", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 403, col: 5, offset: 16797}, - run: (*parser).callonSection1Title88, - expr: &litMatcher{ - pos: position{line: 403, col: 5, offset: 16797}, - val: "NOTE", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 405, col: 5, offset: 16837}, - run: (*parser).callonSection1Title90, - expr: &litMatcher{ - pos: position{line: 405, col: 5, offset: 16837}, - val: "IMPORTANT", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 407, col: 5, offset: 16887}, - run: (*parser).callonSection1Title92, - expr: &litMatcher{ - pos: position{line: 407, col: 5, offset: 16887}, - val: "WARNING", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 409, col: 5, offset: 16933}, - run: (*parser).callonSection1Title94, - expr: &litMatcher{ - pos: position{line: 409, col: 5, offset: 16933}, - val: "CAUTION", - ignoreCase: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 159, col: 53, offset: 6374}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - run: (*parser).callonSection1Title97, - expr: &seqExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 164, col: 19, offset: 6487}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 164, col: 23, offset: 6491}, - label: "attribute", - expr: &choiceExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - run: (*parser).callonSection1Title102, - expr: &seqExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection1Title105, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title113, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title125, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 168, col: 40, offset: 6705}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 168, col: 44, offset: 6709}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonSection1Title129, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title134, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title142, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title152, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - run: (*parser).callonSection1Title154, - expr: &labeledExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection1Title156, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title164, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title176, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 164, col: 52, offset: 6520}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 164, col: 63, offset: 6531}, - expr: &choiceExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - run: (*parser).callonSection1Title181, - expr: &seqExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 174, col: 26, offset: 6967}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 174, col: 30, offset: 6971}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title187, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 174, col: 34, offset: 6975}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection1Title190, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title198, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title210, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 174, col: 53, offset: 6994}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 174, col: 57, offset: 6998}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonSection1Title214, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title219, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title227, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title237, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - run: (*parser).callonSection1Title239, - expr: &seqExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 176, col: 5, offset: 7124}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 176, col: 9, offset: 7128}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title245, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 176, col: 13, offset: 7132}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection1Title248, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title256, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title268, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 164, col: 89, offset: 6557}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - run: (*parser).callonSection1Title271, - expr: &seqExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 192, col: 28, offset: 7529}, - val: "[", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 192, col: 32, offset: 7533}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title277, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 192, col: 36, offset: 7537}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 192, col: 44, offset: 7545}, - expr: &seqExpr{ - pos: position{line: 192, col: 45, offset: 7546}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 192, col: 45, offset: 7546}, - expr: &litMatcher{ - pos: position{line: 192, col: 46, offset: 7547}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 192, col: 50, offset: 7551, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 192, col: 54, offset: 7555}, - val: "]", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 192, col: 58, offset: 7559}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title289, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 138, col: 124, offset: 5686}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title294, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, - }, + &litMatcher{ + pos: position{line: 154, col: 17, offset: 6148}, + val: ".", + ignoreCase: false, }, - &labeledExpr{ - pos: position{line: 218, col: 49, offset: 8542}, - label: "level", + ¬Expr{ + pos: position{line: 154, col: 21, offset: 6152}, expr: &litMatcher{ - pos: position{line: 218, col: 56, offset: 8549}, - val: "==", + pos: position{line: 154, col: 22, offset: 6153}, + val: ".", ignoreCase: false, }, }, - &oneOrMoreExpr{ - pos: position{line: 218, col: 62, offset: 8555}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title306, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, + ¬Expr{ + pos: position{line: 154, col: 26, offset: 6157}, + expr: &ruleRefExpr{ + pos: position{line: 154, col: 27, offset: 6158}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 154, col: 30, offset: 6161}, + label: "title", + expr: &oneOrMoreExpr{ + pos: position{line: 154, col: 36, offset: 6167}, + expr: &seqExpr{ + pos: position{line: 154, col: 37, offset: 6168}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 154, col: 37, offset: 6168}, + expr: &ruleRefExpr{ + pos: position{line: 154, col: 38, offset: 6169}, + name: "NEWLINE", + }, + }, + &anyMatcher{ + line: 154, col: 46, offset: 6177, }, }, }, }, }, + }, + }, + }, + }, + { + name: "AdmonitionMarkerAttribute", + pos: position{line: 159, col: 1, offset: 6322}, + expr: &actionExpr{ + pos: position{line: 159, col: 30, offset: 6351}, + run: (*parser).callonAdmonitionMarkerAttribute1, + expr: &seqExpr{ + pos: position{line: 159, col: 30, offset: 6351}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 159, col: 30, offset: 6351}, + val: "[", + ignoreCase: false, + }, &labeledExpr{ - pos: position{line: 218, col: 66, offset: 8559}, - label: "content", + pos: position{line: 159, col: 34, offset: 6355}, + label: "k", expr: &ruleRefExpr{ - pos: position{line: 218, col: 75, offset: 8568}, - name: "InlineElements", + pos: position{line: 159, col: 37, offset: 6358}, + name: "AdmonitionKind", }, }, - &zeroOrMoreExpr{ - pos: position{line: 218, col: 91, offset: 8584}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title313, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + &litMatcher{ + pos: position{line: 159, col: 53, offset: 6374}, + val: "]", + ignoreCase: false, + }, + }, + }, + }, + }, + { + name: "AttributeGroup", + pos: position{line: 164, col: 1, offset: 6469}, + expr: &actionExpr{ + pos: position{line: 164, col: 19, offset: 6487}, + run: (*parser).callonAttributeGroup1, + expr: &seqExpr{ + pos: position{line: 164, col: 19, offset: 6487}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 164, col: 19, offset: 6487}, + val: "[", + ignoreCase: false, + }, + &labeledExpr{ + pos: position{line: 164, col: 23, offset: 6491}, + label: "attribute", + expr: &ruleRefExpr{ + pos: position{line: 164, col: 34, offset: 6502}, + name: "GenericAttribute", }, }, &labeledExpr{ - pos: position{line: 218, col: 95, offset: 8588}, - label: "id", - expr: &zeroOrOneExpr{ - pos: position{line: 218, col: 98, offset: 8591}, - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonSection1Title317, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection1Title321, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title331, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, + pos: position{line: 164, col: 52, offset: 6520}, + label: "attributes", + expr: &zeroOrMoreExpr{ + pos: position{line: 164, col: 63, offset: 6531}, + expr: &ruleRefExpr{ + pos: position{line: 164, col: 64, offset: 6532}, + name: "OtherGenericAttribute", }, }, }, - &zeroOrMoreExpr{ - pos: position{line: 218, col: 117, offset: 8610}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title346, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, + &litMatcher{ + pos: position{line: 164, col: 89, offset: 6557}, + val: "]", + ignoreCase: false, + }, + }, + }, + }, + }, + { + name: "GenericAttribute", + pos: position{line: 168, col: 1, offset: 6666}, + expr: &choiceExpr{ + pos: position{line: 168, col: 21, offset: 6686}, + alternatives: []interface{}{ + &actionExpr{ + pos: position{line: 168, col: 21, offset: 6686}, + run: (*parser).callonGenericAttribute2, + expr: &seqExpr{ + pos: position{line: 168, col: 21, offset: 6686}, + exprs: []interface{}{ + &labeledExpr{ + pos: position{line: 168, col: 21, offset: 6686}, + label: "key", + expr: &ruleRefExpr{ + pos: position{line: 168, col: 26, offset: 6691}, + name: "AttributeKey", }, }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", + pos: position{line: 168, col: 40, offset: 6705}, + val: "=", ignoreCase: false, }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, + &labeledExpr{ + pos: position{line: 168, col: 44, offset: 6709}, + label: "value", + expr: &ruleRefExpr{ + pos: position{line: 168, col: 51, offset: 6716}, + name: "AttributeValue", }, }, }, }, - &choiceExpr{ - pos: position{line: 218, col: 126, offset: 8619}, - alternatives: []interface{}{ - &andExpr{ - pos: position{line: 218, col: 126, offset: 8619}, - expr: &zeroOrOneExpr{ - pos: position{line: 218, col: 127, offset: 8620}, - expr: &actionExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - run: (*parser).callonSection1Title356, - expr: &seqExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 644, col: 14, offset: 28321}, - expr: ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 644, col: 19, offset: 28326}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection1Title364, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, + }, + &actionExpr{ + pos: position{line: 170, col: 5, offset: 6835}, + run: (*parser).callonGenericAttribute9, + expr: &labeledExpr{ + pos: position{line: 170, col: 5, offset: 6835}, + label: "key", + expr: &ruleRefExpr{ + pos: position{line: 170, col: 10, offset: 6840}, + name: "AttributeKey", }, }, }, @@ -9434,46 +1524,77 @@ var g = &grammar{ }, }, { - name: "Section1Block", - pos: position{line: 222, col: 1, offset: 8749}, - expr: &actionExpr{ - pos: position{line: 222, col: 18, offset: 8766}, - run: (*parser).callonSection1Block1, - expr: &seqExpr{ - pos: position{line: 222, col: 18, offset: 8766}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 222, col: 18, offset: 8766}, - expr: &ruleRefExpr{ - pos: position{line: 222, col: 19, offset: 8767}, - name: "Section1", - }, - }, - &labeledExpr{ - pos: position{line: 222, col: 28, offset: 8776}, - label: "content", - expr: &choiceExpr{ - pos: position{line: 222, col: 37, offset: 8785}, - alternatives: []interface{}{ - &ruleRefExpr{ - pos: position{line: 222, col: 37, offset: 8785}, - name: "Section2", + name: "OtherGenericAttribute", + pos: position{line: 174, col: 1, offset: 6942}, + expr: &choiceExpr{ + pos: position{line: 174, col: 26, offset: 6967}, + alternatives: []interface{}{ + &actionExpr{ + pos: position{line: 174, col: 26, offset: 6967}, + run: (*parser).callonOtherGenericAttribute2, + expr: &seqExpr{ + pos: position{line: 174, col: 26, offset: 6967}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 174, col: 26, offset: 6967}, + val: ",", + ignoreCase: false, + }, + &zeroOrMoreExpr{ + pos: position{line: 174, col: 30, offset: 6971}, + expr: &ruleRefExpr{ + pos: position{line: 174, col: 30, offset: 6971}, + name: "WS", }, - &ruleRefExpr{ - pos: position{line: 222, col: 48, offset: 8796}, - name: "Section3", + }, + &labeledExpr{ + pos: position{line: 174, col: 34, offset: 6975}, + label: "key", + expr: &ruleRefExpr{ + pos: position{line: 174, col: 39, offset: 6980}, + name: "AttributeKey", }, - &ruleRefExpr{ - pos: position{line: 222, col: 59, offset: 8807}, - name: "Section4", + }, + &litMatcher{ + pos: position{line: 174, col: 53, offset: 6994}, + val: "=", + ignoreCase: false, + }, + &labeledExpr{ + pos: position{line: 174, col: 57, offset: 6998}, + label: "value", + expr: &ruleRefExpr{ + pos: position{line: 174, col: 64, offset: 7005}, + name: "AttributeValue", }, - &ruleRefExpr{ - pos: position{line: 222, col: 70, offset: 8818}, - name: "Section5", + }, + }, + }, + }, + &actionExpr{ + pos: position{line: 176, col: 5, offset: 7124}, + run: (*parser).callonOtherGenericAttribute12, + expr: &seqExpr{ + pos: position{line: 176, col: 5, offset: 7124}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 176, col: 5, offset: 7124}, + val: ",", + ignoreCase: false, + }, + &zeroOrMoreExpr{ + pos: position{line: 176, col: 9, offset: 7128}, + expr: &ruleRefExpr{ + pos: position{line: 176, col: 9, offset: 7128}, + name: "WS", }, - &ruleRefExpr{ - pos: position{line: 222, col: 81, offset: 8829}, - name: "DocumentBlock", + }, + &labeledExpr{ + pos: position{line: 176, col: 13, offset: 7132}, + label: "key", + expr: &ruleRefExpr{ + pos: position{line: 176, col: 18, offset: 7137}, + name: "AttributeKey", }, }, }, @@ -9483,41 +1604,65 @@ var g = &grammar{ }, }, { - name: "Section2", - pos: position{line: 226, col: 1, offset: 8873}, + name: "AttributeKey", + pos: position{line: 182, col: 1, offset: 7241}, expr: &actionExpr{ - pos: position{line: 226, col: 13, offset: 8885}, - run: (*parser).callonSection21, + pos: position{line: 182, col: 17, offset: 7257}, + run: (*parser).callonAttributeKey1, expr: &seqExpr{ - pos: position{line: 226, col: 13, offset: 8885}, + pos: position{line: 182, col: 17, offset: 7257}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 226, col: 13, offset: 8885}, - label: "header", - expr: &ruleRefExpr{ - pos: position{line: 226, col: 21, offset: 8893}, - name: "Section2Title", - }, - }, - &labeledExpr{ - pos: position{line: 226, col: 36, offset: 8908}, - label: "elements", - expr: &zeroOrMoreExpr{ - pos: position{line: 226, col: 46, offset: 8918}, - expr: &ruleRefExpr{ - pos: position{line: 226, col: 46, offset: 8918}, - name: "Section2Block", + pos: position{line: 182, col: 17, offset: 7257}, + label: "key", + expr: &oneOrMoreExpr{ + pos: position{line: 182, col: 22, offset: 7262}, + expr: &seqExpr{ + pos: position{line: 182, col: 23, offset: 7263}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 182, col: 23, offset: 7263}, + expr: &ruleRefExpr{ + pos: position{line: 182, col: 24, offset: 7264}, + name: "WS", + }, + }, + ¬Expr{ + pos: position{line: 182, col: 27, offset: 7267}, + expr: &litMatcher{ + pos: position{line: 182, col: 28, offset: 7268}, + val: "=", + ignoreCase: false, + }, + }, + ¬Expr{ + pos: position{line: 182, col: 32, offset: 7272}, + expr: &litMatcher{ + pos: position{line: 182, col: 33, offset: 7273}, + val: ",", + ignoreCase: false, + }, + }, + ¬Expr{ + pos: position{line: 182, col: 37, offset: 7277}, + expr: &litMatcher{ + pos: position{line: 182, col: 38, offset: 7278}, + val: "]", + ignoreCase: false, + }, + }, + &anyMatcher{ + line: 182, col: 42, offset: 7282, + }, + }, }, }, }, - &andExpr{ - pos: position{line: 226, col: 62, offset: 8934}, - expr: &zeroOrMoreExpr{ - pos: position{line: 226, col: 63, offset: 8935}, - expr: &ruleRefExpr{ - pos: position{line: 226, col: 64, offset: 8936}, - name: "Section2", - }, + &zeroOrMoreExpr{ + pos: position{line: 182, col: 46, offset: 7286}, + expr: &ruleRefExpr{ + pos: position{line: 182, col: 46, offset: 7286}, + name: "WS", }, }, }, @@ -9525,1595 +1670,284 @@ var g = &grammar{ }, }, { - name: "Section2Title", - pos: position{line: 230, col: 1, offset: 9038}, + name: "AttributeValue", + pos: position{line: 187, col: 1, offset: 7368}, expr: &actionExpr{ - pos: position{line: 230, col: 18, offset: 9055}, - run: (*parser).callonSection2Title1, + pos: position{line: 187, col: 19, offset: 7386}, + run: (*parser).callonAttributeValue1, expr: &seqExpr{ - pos: position{line: 230, col: 18, offset: 9055}, + pos: position{line: 187, col: 19, offset: 7386}, exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 187, col: 19, offset: 7386}, + expr: &ruleRefExpr{ + pos: position{line: 187, col: 19, offset: 7386}, + name: "WS", + }, + }, &labeledExpr{ - pos: position{line: 230, col: 18, offset: 9055}, - label: "attributes", + pos: position{line: 187, col: 23, offset: 7390}, + label: "value", expr: &zeroOrMoreExpr{ - pos: position{line: 230, col: 29, offset: 9066}, - expr: &actionExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - run: (*parser).callonSection2Title5, - expr: &seqExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - label: "attr", - expr: &choiceExpr{ - pos: position{line: 138, col: 27, offset: 5589}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - run: (*parser).callonSection2Title9, - expr: &labeledExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - label: "id", - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonSection2Title11, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection2Title15, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title25, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - run: (*parser).callonSection2Title37, - expr: &seqExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 144, col: 5, offset: 5840}, - val: "[#", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 144, col: 10, offset: 5845}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection2Title41, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title51, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 144, col: 18, offset: 5853}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - run: (*parser).callonSection2Title63, - expr: &seqExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 154, col: 17, offset: 6148}, - val: ".", - ignoreCase: false, - }, - ¬Expr{ - pos: position{line: 154, col: 21, offset: 6152}, - expr: &litMatcher{ - pos: position{line: 154, col: 22, offset: 6153}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 154, col: 26, offset: 6157}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title71, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 154, col: 30, offset: 6161}, - label: "title", - expr: &oneOrMoreExpr{ - pos: position{line: 154, col: 36, offset: 6167}, - expr: &seqExpr{ - pos: position{line: 154, col: 37, offset: 6168}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 154, col: 37, offset: 6168}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 154, col: 46, offset: 6177, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - run: (*parser).callonSection2Title81, - expr: &seqExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 159, col: 30, offset: 6351}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 159, col: 34, offset: 6355}, - label: "k", - expr: &choiceExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - run: (*parser).callonSection2Title86, - expr: &litMatcher{ - pos: position{line: 401, col: 19, offset: 16759}, - val: "TIP", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 403, col: 5, offset: 16797}, - run: (*parser).callonSection2Title88, - expr: &litMatcher{ - pos: position{line: 403, col: 5, offset: 16797}, - val: "NOTE", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 405, col: 5, offset: 16837}, - run: (*parser).callonSection2Title90, - expr: &litMatcher{ - pos: position{line: 405, col: 5, offset: 16837}, - val: "IMPORTANT", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 407, col: 5, offset: 16887}, - run: (*parser).callonSection2Title92, - expr: &litMatcher{ - pos: position{line: 407, col: 5, offset: 16887}, - val: "WARNING", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 409, col: 5, offset: 16933}, - run: (*parser).callonSection2Title94, - expr: &litMatcher{ - pos: position{line: 409, col: 5, offset: 16933}, - val: "CAUTION", - ignoreCase: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 159, col: 53, offset: 6374}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - run: (*parser).callonSection2Title97, - expr: &seqExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 164, col: 19, offset: 6487}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 164, col: 23, offset: 6491}, - label: "attribute", - expr: &choiceExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - run: (*parser).callonSection2Title102, - expr: &seqExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection2Title105, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title113, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title125, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 168, col: 40, offset: 6705}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 168, col: 44, offset: 6709}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonSection2Title129, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title134, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title142, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title152, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - run: (*parser).callonSection2Title154, - expr: &labeledExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection2Title156, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title164, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title176, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 164, col: 52, offset: 6520}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 164, col: 63, offset: 6531}, - expr: &choiceExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - run: (*parser).callonSection2Title181, - expr: &seqExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 174, col: 26, offset: 6967}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 174, col: 30, offset: 6971}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title187, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 174, col: 34, offset: 6975}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection2Title190, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title198, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title210, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 174, col: 53, offset: 6994}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 174, col: 57, offset: 6998}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonSection2Title214, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title219, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title227, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title237, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - run: (*parser).callonSection2Title239, - expr: &seqExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 176, col: 5, offset: 7124}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 176, col: 9, offset: 7128}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title245, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 176, col: 13, offset: 7132}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection2Title248, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title256, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title268, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 164, col: 89, offset: 6557}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - run: (*parser).callonSection2Title271, - expr: &seqExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 192, col: 28, offset: 7529}, - val: "[", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 192, col: 32, offset: 7533}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title277, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 192, col: 36, offset: 7537}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 192, col: 44, offset: 7545}, - expr: &seqExpr{ - pos: position{line: 192, col: 45, offset: 7546}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 192, col: 45, offset: 7546}, - expr: &litMatcher{ - pos: position{line: 192, col: 46, offset: 7547}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 192, col: 50, offset: 7551, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 192, col: 54, offset: 7555}, - val: "]", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 192, col: 58, offset: 7559}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title289, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, + pos: position{line: 187, col: 29, offset: 7396}, + expr: &seqExpr{ + pos: position{line: 187, col: 30, offset: 7397}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 187, col: 30, offset: 7397}, + expr: &ruleRefExpr{ + pos: position{line: 187, col: 31, offset: 7398}, + name: "WS", }, - &zeroOrMoreExpr{ - pos: position{line: 138, col: 124, offset: 5686}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title294, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, + }, + ¬Expr{ + pos: position{line: 187, col: 34, offset: 7401}, + expr: &litMatcher{ + pos: position{line: 187, col: 35, offset: 7402}, + val: "=", + ignoreCase: false, }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, + }, + ¬Expr{ + pos: position{line: 187, col: 39, offset: 7406}, + expr: &litMatcher{ + pos: position{line: 187, col: 40, offset: 7407}, + val: "]", + ignoreCase: false, }, }, + &anyMatcher{ + line: 187, col: 44, offset: 7411, + }, }, }, }, }, - &labeledExpr{ - pos: position{line: 230, col: 49, offset: 9086}, - label: "level", - expr: &litMatcher{ - pos: position{line: 230, col: 56, offset: 9093}, - val: "===", - ignoreCase: false, + &zeroOrMoreExpr{ + pos: position{line: 187, col: 48, offset: 7415}, + expr: &ruleRefExpr{ + pos: position{line: 187, col: 48, offset: 7415}, + name: "WS", }, }, + }, + }, + }, + }, + { + name: "InvalidElementAttribute", + pos: position{line: 192, col: 1, offset: 7502}, + expr: &actionExpr{ + pos: position{line: 192, col: 28, offset: 7529}, + run: (*parser).callonInvalidElementAttribute1, + expr: &seqExpr{ + pos: position{line: 192, col: 28, offset: 7529}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 192, col: 28, offset: 7529}, + val: "[", + ignoreCase: false, + }, &oneOrMoreExpr{ - pos: position{line: 230, col: 63, offset: 9100}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title306, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + pos: position{line: 192, col: 32, offset: 7533}, + expr: &ruleRefExpr{ + pos: position{line: 192, col: 32, offset: 7533}, + name: "WS", }, }, &labeledExpr{ - pos: position{line: 230, col: 67, offset: 9104}, + pos: position{line: 192, col: 36, offset: 7537}, label: "content", - expr: &ruleRefExpr{ - pos: position{line: 230, col: 76, offset: 9113}, - name: "InlineElements", - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 230, col: 92, offset: 9129}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title313, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, + expr: &zeroOrMoreExpr{ + pos: position{line: 192, col: 44, offset: 7545}, + expr: &seqExpr{ + pos: position{line: 192, col: 45, offset: 7546}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 192, col: 45, offset: 7546}, + expr: &litMatcher{ + pos: position{line: 192, col: 46, offset: 7547}, + val: "]", + ignoreCase: false, + }, + }, + &anyMatcher{ + line: 192, col: 50, offset: 7551, }, }, }, }, }, + &litMatcher{ + pos: position{line: 192, col: 54, offset: 7555}, + val: "]", + ignoreCase: false, + }, + &zeroOrMoreExpr{ + pos: position{line: 192, col: 58, offset: 7559}, + expr: &ruleRefExpr{ + pos: position{line: 192, col: 58, offset: 7559}, + name: "WS", + }, + }, + }, + }, + }, + }, + { + name: "Section", + pos: position{line: 199, col: 1, offset: 7724}, + expr: &choiceExpr{ + pos: position{line: 199, col: 12, offset: 7735}, + alternatives: []interface{}{ + &ruleRefExpr{ + pos: position{line: 199, col: 12, offset: 7735}, + name: "Section0", + }, + &ruleRefExpr{ + pos: position{line: 199, col: 23, offset: 7746}, + name: "Section1", + }, + &ruleRefExpr{ + pos: position{line: 199, col: 34, offset: 7757}, + name: "Section2", + }, + &ruleRefExpr{ + pos: position{line: 199, col: 45, offset: 7768}, + name: "Section3", + }, + &ruleRefExpr{ + pos: position{line: 199, col: 56, offset: 7779}, + name: "Section4", + }, + &ruleRefExpr{ + pos: position{line: 199, col: 67, offset: 7790}, + name: "Section5", + }, + }, + }, + }, + { + name: "Section0", + pos: position{line: 202, col: 1, offset: 7801}, + expr: &actionExpr{ + pos: position{line: 202, col: 13, offset: 7813}, + run: (*parser).callonSection01, + expr: &seqExpr{ + pos: position{line: 202, col: 13, offset: 7813}, + exprs: []interface{}{ &labeledExpr{ - pos: position{line: 230, col: 96, offset: 9133}, - label: "id", - expr: &zeroOrOneExpr{ - pos: position{line: 230, col: 99, offset: 9136}, - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonSection2Title317, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection2Title321, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title331, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, + pos: position{line: 202, col: 13, offset: 7813}, + label: "header", + expr: &ruleRefExpr{ + pos: position{line: 202, col: 21, offset: 7821}, + name: "Section0Title", }, }, - &zeroOrMoreExpr{ - pos: position{line: 230, col: 118, offset: 9155}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title346, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, + &labeledExpr{ + pos: position{line: 202, col: 36, offset: 7836}, + label: "elements", + expr: &zeroOrMoreExpr{ + pos: position{line: 202, col: 46, offset: 7846}, + expr: &ruleRefExpr{ + pos: position{line: 202, col: 46, offset: 7846}, + name: "Section0Block", }, }, }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, + }, + }, + }, + }, + { + name: "Section0Title", + pos: position{line: 206, col: 1, offset: 7953}, + expr: &actionExpr{ + pos: position{line: 206, col: 18, offset: 7970}, + run: (*parser).callonSection0Title1, + expr: &seqExpr{ + pos: position{line: 206, col: 18, offset: 7970}, + exprs: []interface{}{ + &labeledExpr{ + pos: position{line: 206, col: 18, offset: 7970}, + label: "attributes", + expr: &zeroOrMoreExpr{ + pos: position{line: 206, col: 29, offset: 7981}, + expr: &ruleRefExpr{ + pos: position{line: 206, col: 30, offset: 7982}, + name: "ElementAttribute", }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, + }, + }, + &labeledExpr{ + pos: position{line: 206, col: 49, offset: 8001}, + label: "level", + expr: &litMatcher{ + pos: position{line: 206, col: 56, offset: 8008}, + val: "=", + ignoreCase: false, + }, + }, + &oneOrMoreExpr{ + pos: position{line: 206, col: 61, offset: 8013}, + expr: &ruleRefExpr{ + pos: position{line: 206, col: 61, offset: 8013}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 206, col: 65, offset: 8017}, + label: "content", + expr: &ruleRefExpr{ + pos: position{line: 206, col: 74, offset: 8026}, + name: "InlineElements", + }, + }, + &zeroOrMoreExpr{ + pos: position{line: 206, col: 90, offset: 8042}, + expr: &ruleRefExpr{ + pos: position{line: 206, col: 90, offset: 8042}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 206, col: 94, offset: 8046}, + label: "id", + expr: &zeroOrOneExpr{ + pos: position{line: 206, col: 97, offset: 8049}, + expr: &ruleRefExpr{ + pos: position{line: 206, col: 98, offset: 8050}, + name: "InlineElementID", }, }, }, + &zeroOrMoreExpr{ + pos: position{line: 206, col: 116, offset: 8068}, + expr: &ruleRefExpr{ + pos: position{line: 206, col: 116, offset: 8068}, + name: "WS", + }, + }, + &ruleRefExpr{ + pos: position{line: 206, col: 120, offset: 8072}, + name: "EOL", + }, &choiceExpr{ - pos: position{line: 230, col: 127, offset: 9164}, + pos: position{line: 206, col: 125, offset: 8077}, alternatives: []interface{}{ &andExpr{ - pos: position{line: 230, col: 127, offset: 9164}, + pos: position{line: 206, col: 125, offset: 8077}, expr: &zeroOrOneExpr{ - pos: position{line: 230, col: 128, offset: 9165}, - expr: &actionExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - run: (*parser).callonSection2Title356, - expr: &seqExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 644, col: 14, offset: 28321}, - expr: ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 644, col: 19, offset: 28326}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection2Title364, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, + pos: position{line: 206, col: 126, offset: 8078}, + expr: &ruleRefExpr{ + pos: position{line: 206, col: 126, offset: 8078}, + name: "BlankLine", }, }, }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, + &ruleRefExpr{ + pos: position{line: 206, col: 139, offset: 8091}, + name: "EOF", }, }, }, @@ -11122,48 +1956,49 @@ var g = &grammar{ }, }, { - name: "Section2Block", - pos: position{line: 234, col: 1, offset: 9293}, + name: "Section0Block", + pos: position{line: 210, col: 1, offset: 8207}, expr: &actionExpr{ - pos: position{line: 234, col: 18, offset: 9310}, - run: (*parser).callonSection2Block1, + pos: position{line: 210, col: 18, offset: 8224}, + run: (*parser).callonSection0Block1, expr: &seqExpr{ - pos: position{line: 234, col: 18, offset: 9310}, + pos: position{line: 210, col: 18, offset: 8224}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 234, col: 18, offset: 9310}, - expr: &ruleRefExpr{ - pos: position{line: 234, col: 19, offset: 9311}, - name: "Section1", - }, - }, - ¬Expr{ - pos: position{line: 234, col: 28, offset: 9320}, + pos: position{line: 210, col: 18, offset: 8224}, expr: &ruleRefExpr{ - pos: position{line: 234, col: 29, offset: 9321}, - name: "Section2", + pos: position{line: 210, col: 19, offset: 8225}, + name: "Section0", }, }, &labeledExpr{ - pos: position{line: 234, col: 38, offset: 9330}, + pos: position{line: 210, col: 28, offset: 8234}, label: "content", expr: &choiceExpr{ - pos: position{line: 234, col: 47, offset: 9339}, + pos: position{line: 210, col: 37, offset: 8243}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 234, col: 47, offset: 9339}, + pos: position{line: 210, col: 37, offset: 8243}, + name: "Section1", + }, + &ruleRefExpr{ + pos: position{line: 210, col: 48, offset: 8254}, + name: "Section2", + }, + &ruleRefExpr{ + pos: position{line: 210, col: 59, offset: 8265}, name: "Section3", }, &ruleRefExpr{ - pos: position{line: 234, col: 58, offset: 9350}, + pos: position{line: 210, col: 70, offset: 8276}, name: "Section4", }, &ruleRefExpr{ - pos: position{line: 234, col: 69, offset: 9361}, + pos: position{line: 210, col: 81, offset: 8287}, name: "Section5", }, &ruleRefExpr{ - pos: position{line: 234, col: 80, offset: 9372}, + pos: position{line: 210, col: 92, offset: 8298}, name: "DocumentBlock", }, }, @@ -11174,30 +2009,30 @@ var g = &grammar{ }, }, { - name: "Section3", - pos: position{line: 238, col: 1, offset: 9416}, + name: "Section1", + pos: position{line: 214, col: 1, offset: 8342}, expr: &actionExpr{ - pos: position{line: 238, col: 13, offset: 9428}, - run: (*parser).callonSection31, + pos: position{line: 214, col: 13, offset: 8354}, + run: (*parser).callonSection11, expr: &seqExpr{ - pos: position{line: 238, col: 13, offset: 9428}, + pos: position{line: 214, col: 13, offset: 8354}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 238, col: 13, offset: 9428}, + pos: position{line: 214, col: 13, offset: 8354}, label: "header", expr: &ruleRefExpr{ - pos: position{line: 238, col: 21, offset: 9436}, - name: "Section3Title", + pos: position{line: 214, col: 21, offset: 8362}, + name: "Section1Title", }, }, &labeledExpr{ - pos: position{line: 238, col: 36, offset: 9451}, + pos: position{line: 214, col: 36, offset: 8377}, label: "elements", expr: &zeroOrMoreExpr{ - pos: position{line: 238, col: 46, offset: 9461}, + pos: position{line: 214, col: 46, offset: 8387}, expr: &ruleRefExpr{ - pos: position{line: 238, col: 46, offset: 9461}, - name: "Section3Block", + pos: position{line: 214, col: 46, offset: 8387}, + name: "Section1Block", }, }, }, @@ -11206,1573 +2041,94 @@ var g = &grammar{ }, }, { - name: "Section3Title", - pos: position{line: 242, col: 1, offset: 9568}, + name: "Section1Title", + pos: position{line: 218, col: 1, offset: 8494}, expr: &actionExpr{ - pos: position{line: 242, col: 18, offset: 9585}, - run: (*parser).callonSection3Title1, + pos: position{line: 218, col: 18, offset: 8511}, + run: (*parser).callonSection1Title1, expr: &seqExpr{ - pos: position{line: 242, col: 18, offset: 9585}, + pos: position{line: 218, col: 18, offset: 8511}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 242, col: 18, offset: 9585}, + pos: position{line: 218, col: 18, offset: 8511}, label: "attributes", expr: &zeroOrMoreExpr{ - pos: position{line: 242, col: 29, offset: 9596}, - expr: &actionExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - run: (*parser).callonSection3Title5, - expr: &seqExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - label: "attr", - expr: &choiceExpr{ - pos: position{line: 138, col: 27, offset: 5589}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - run: (*parser).callonSection3Title9, - expr: &labeledExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - label: "id", - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonSection3Title11, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection3Title15, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title25, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - run: (*parser).callonSection3Title37, - expr: &seqExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 144, col: 5, offset: 5840}, - val: "[#", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 144, col: 10, offset: 5845}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection3Title41, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title51, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 144, col: 18, offset: 5853}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - run: (*parser).callonSection3Title63, - expr: &seqExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 154, col: 17, offset: 6148}, - val: ".", - ignoreCase: false, - }, - ¬Expr{ - pos: position{line: 154, col: 21, offset: 6152}, - expr: &litMatcher{ - pos: position{line: 154, col: 22, offset: 6153}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 154, col: 26, offset: 6157}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title71, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 154, col: 30, offset: 6161}, - label: "title", - expr: &oneOrMoreExpr{ - pos: position{line: 154, col: 36, offset: 6167}, - expr: &seqExpr{ - pos: position{line: 154, col: 37, offset: 6168}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 154, col: 37, offset: 6168}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 154, col: 46, offset: 6177, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - run: (*parser).callonSection3Title81, - expr: &seqExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 159, col: 30, offset: 6351}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 159, col: 34, offset: 6355}, - label: "k", - expr: &choiceExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - run: (*parser).callonSection3Title86, - expr: &litMatcher{ - pos: position{line: 401, col: 19, offset: 16759}, - val: "TIP", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 403, col: 5, offset: 16797}, - run: (*parser).callonSection3Title88, - expr: &litMatcher{ - pos: position{line: 403, col: 5, offset: 16797}, - val: "NOTE", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 405, col: 5, offset: 16837}, - run: (*parser).callonSection3Title90, - expr: &litMatcher{ - pos: position{line: 405, col: 5, offset: 16837}, - val: "IMPORTANT", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 407, col: 5, offset: 16887}, - run: (*parser).callonSection3Title92, - expr: &litMatcher{ - pos: position{line: 407, col: 5, offset: 16887}, - val: "WARNING", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 409, col: 5, offset: 16933}, - run: (*parser).callonSection3Title94, - expr: &litMatcher{ - pos: position{line: 409, col: 5, offset: 16933}, - val: "CAUTION", - ignoreCase: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 159, col: 53, offset: 6374}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - run: (*parser).callonSection3Title97, - expr: &seqExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 164, col: 19, offset: 6487}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 164, col: 23, offset: 6491}, - label: "attribute", - expr: &choiceExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - run: (*parser).callonSection3Title102, - expr: &seqExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection3Title105, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title113, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title125, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 168, col: 40, offset: 6705}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 168, col: 44, offset: 6709}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonSection3Title129, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title134, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title142, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title152, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - run: (*parser).callonSection3Title154, - expr: &labeledExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection3Title156, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title164, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title176, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 164, col: 52, offset: 6520}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 164, col: 63, offset: 6531}, - expr: &choiceExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - run: (*parser).callonSection3Title181, - expr: &seqExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 174, col: 26, offset: 6967}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 174, col: 30, offset: 6971}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title187, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 174, col: 34, offset: 6975}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection3Title190, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title198, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title210, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 174, col: 53, offset: 6994}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 174, col: 57, offset: 6998}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonSection3Title214, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title219, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title227, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title237, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - run: (*parser).callonSection3Title239, - expr: &seqExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 176, col: 5, offset: 7124}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 176, col: 9, offset: 7128}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title245, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 176, col: 13, offset: 7132}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection3Title248, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title256, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title268, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 164, col: 89, offset: 6557}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - run: (*parser).callonSection3Title271, - expr: &seqExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 192, col: 28, offset: 7529}, - val: "[", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 192, col: 32, offset: 7533}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title277, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 192, col: 36, offset: 7537}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 192, col: 44, offset: 7545}, - expr: &seqExpr{ - pos: position{line: 192, col: 45, offset: 7546}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 192, col: 45, offset: 7546}, - expr: &litMatcher{ - pos: position{line: 192, col: 46, offset: 7547}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 192, col: 50, offset: 7551, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 192, col: 54, offset: 7555}, - val: "]", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 192, col: 58, offset: 7559}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title289, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 138, col: 124, offset: 5686}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title294, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, + pos: position{line: 218, col: 29, offset: 8522}, + expr: &ruleRefExpr{ + pos: position{line: 218, col: 30, offset: 8523}, + name: "ElementAttribute", }, }, }, &labeledExpr{ - pos: position{line: 242, col: 49, offset: 9616}, + pos: position{line: 218, col: 49, offset: 8542}, label: "level", expr: &litMatcher{ - pos: position{line: 242, col: 56, offset: 9623}, - val: "====", + pos: position{line: 218, col: 56, offset: 8549}, + val: "==", ignoreCase: false, }, }, &oneOrMoreExpr{ - pos: position{line: 242, col: 64, offset: 9631}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title306, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + pos: position{line: 218, col: 62, offset: 8555}, + expr: &ruleRefExpr{ + pos: position{line: 218, col: 62, offset: 8555}, + name: "WS", }, }, &labeledExpr{ - pos: position{line: 242, col: 68, offset: 9635}, + pos: position{line: 218, col: 66, offset: 8559}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 242, col: 77, offset: 9644}, + pos: position{line: 218, col: 75, offset: 8568}, name: "InlineElements", }, }, &zeroOrMoreExpr{ - pos: position{line: 242, col: 93, offset: 9660}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title313, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + pos: position{line: 218, col: 91, offset: 8584}, + expr: &ruleRefExpr{ + pos: position{line: 218, col: 91, offset: 8584}, + name: "WS", }, }, &labeledExpr{ - pos: position{line: 242, col: 97, offset: 9664}, + pos: position{line: 218, col: 95, offset: 8588}, label: "id", expr: &zeroOrOneExpr{ - pos: position{line: 242, col: 100, offset: 9667}, - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonSection3Title317, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection3Title321, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title331, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, + pos: position{line: 218, col: 98, offset: 8591}, + expr: &ruleRefExpr{ + pos: position{line: 218, col: 99, offset: 8592}, + name: "InlineElementID", }, }, }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, + &zeroOrMoreExpr{ + pos: position{line: 218, col: 117, offset: 8610}, + expr: &ruleRefExpr{ + pos: position{line: 218, col: 117, offset: 8610}, + name: "WS", }, }, + &ruleRefExpr{ + pos: position{line: 218, col: 121, offset: 8614}, + name: "EOL", + }, &choiceExpr{ - pos: position{line: 242, col: 124, offset: 9691}, + pos: position{line: 218, col: 126, offset: 8619}, alternatives: []interface{}{ &andExpr{ - pos: position{line: 242, col: 124, offset: 9691}, + pos: position{line: 218, col: 126, offset: 8619}, expr: &zeroOrOneExpr{ - pos: position{line: 242, col: 125, offset: 9692}, - expr: &actionExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - run: (*parser).callonSection3Title351, - expr: &seqExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 644, col: 14, offset: 28321}, - expr: ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 644, col: 19, offset: 28326}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection3Title359, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, + pos: position{line: 218, col: 127, offset: 8620}, + expr: &ruleRefExpr{ + pos: position{line: 218, col: 127, offset: 8620}, + name: "BlankLine", }, }, }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, + &ruleRefExpr{ + pos: position{line: 218, col: 140, offset: 8633}, + name: "EOF", }, }, }, @@ -12781,51 +2137,45 @@ var g = &grammar{ }, }, { - name: "Section3Block", - pos: position{line: 246, col: 1, offset: 9820}, + name: "Section1Block", + pos: position{line: 222, col: 1, offset: 8749}, expr: &actionExpr{ - pos: position{line: 246, col: 18, offset: 9837}, - run: (*parser).callonSection3Block1, + pos: position{line: 222, col: 18, offset: 8766}, + run: (*parser).callonSection1Block1, expr: &seqExpr{ - pos: position{line: 246, col: 18, offset: 9837}, + pos: position{line: 222, col: 18, offset: 8766}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 246, col: 18, offset: 9837}, + pos: position{line: 222, col: 18, offset: 8766}, expr: &ruleRefExpr{ - pos: position{line: 246, col: 19, offset: 9838}, + pos: position{line: 222, col: 19, offset: 8767}, name: "Section1", }, }, - ¬Expr{ - pos: position{line: 246, col: 28, offset: 9847}, - expr: &ruleRefExpr{ - pos: position{line: 246, col: 29, offset: 9848}, - name: "Section2", - }, - }, - ¬Expr{ - pos: position{line: 246, col: 38, offset: 9857}, - expr: &ruleRefExpr{ - pos: position{line: 246, col: 39, offset: 9858}, - name: "Section3", - }, - }, &labeledExpr{ - pos: position{line: 246, col: 48, offset: 9867}, + pos: position{line: 222, col: 28, offset: 8776}, label: "content", expr: &choiceExpr{ - pos: position{line: 246, col: 57, offset: 9876}, + pos: position{line: 222, col: 37, offset: 8785}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 246, col: 57, offset: 9876}, + pos: position{line: 222, col: 37, offset: 8785}, + name: "Section2", + }, + &ruleRefExpr{ + pos: position{line: 222, col: 48, offset: 8796}, + name: "Section3", + }, + &ruleRefExpr{ + pos: position{line: 222, col: 59, offset: 8807}, name: "Section4", }, &ruleRefExpr{ - pos: position{line: 246, col: 68, offset: 9887}, + pos: position{line: 222, col: 70, offset: 8818}, name: "Section5", }, &ruleRefExpr{ - pos: position{line: 246, col: 79, offset: 9898}, + pos: position{line: 222, col: 81, offset: 8829}, name: "DocumentBlock", }, }, @@ -12836,30 +2186,40 @@ var g = &grammar{ }, }, { - name: "Section4", - pos: position{line: 250, col: 1, offset: 9942}, + name: "Section2", + pos: position{line: 226, col: 1, offset: 8873}, expr: &actionExpr{ - pos: position{line: 250, col: 13, offset: 9954}, - run: (*parser).callonSection41, + pos: position{line: 226, col: 13, offset: 8885}, + run: (*parser).callonSection21, expr: &seqExpr{ - pos: position{line: 250, col: 13, offset: 9954}, + pos: position{line: 226, col: 13, offset: 8885}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 250, col: 13, offset: 9954}, + pos: position{line: 226, col: 13, offset: 8885}, label: "header", expr: &ruleRefExpr{ - pos: position{line: 250, col: 21, offset: 9962}, - name: "Section4Title", + pos: position{line: 226, col: 21, offset: 8893}, + name: "Section2Title", }, }, &labeledExpr{ - pos: position{line: 250, col: 36, offset: 9977}, + pos: position{line: 226, col: 36, offset: 8908}, label: "elements", expr: &zeroOrMoreExpr{ - pos: position{line: 250, col: 46, offset: 9987}, + pos: position{line: 226, col: 46, offset: 8918}, expr: &ruleRefExpr{ - pos: position{line: 250, col: 46, offset: 9987}, - name: "Section4Block", + pos: position{line: 226, col: 46, offset: 8918}, + name: "Section2Block", + }, + }, + }, + &andExpr{ + pos: position{line: 226, col: 62, offset: 8934}, + expr: &zeroOrMoreExpr{ + pos: position{line: 226, col: 63, offset: 8935}, + expr: &ruleRefExpr{ + pos: position{line: 226, col: 64, offset: 8936}, + name: "Section2", }, }, }, @@ -12868,1573 +2228,94 @@ var g = &grammar{ }, }, { - name: "Section4Title", - pos: position{line: 254, col: 1, offset: 10094}, + name: "Section2Title", + pos: position{line: 230, col: 1, offset: 9038}, expr: &actionExpr{ - pos: position{line: 254, col: 18, offset: 10111}, - run: (*parser).callonSection4Title1, + pos: position{line: 230, col: 18, offset: 9055}, + run: (*parser).callonSection2Title1, expr: &seqExpr{ - pos: position{line: 254, col: 18, offset: 10111}, + pos: position{line: 230, col: 18, offset: 9055}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 254, col: 18, offset: 10111}, + pos: position{line: 230, col: 18, offset: 9055}, label: "attributes", expr: &zeroOrMoreExpr{ - pos: position{line: 254, col: 29, offset: 10122}, - expr: &actionExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - run: (*parser).callonSection4Title5, - expr: &seqExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - label: "attr", - expr: &choiceExpr{ - pos: position{line: 138, col: 27, offset: 5589}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - run: (*parser).callonSection4Title9, - expr: &labeledExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - label: "id", - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonSection4Title11, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection4Title15, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title25, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - run: (*parser).callonSection4Title37, - expr: &seqExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 144, col: 5, offset: 5840}, - val: "[#", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 144, col: 10, offset: 5845}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection4Title41, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title51, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 144, col: 18, offset: 5853}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - run: (*parser).callonSection4Title63, - expr: &seqExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 154, col: 17, offset: 6148}, - val: ".", - ignoreCase: false, - }, - ¬Expr{ - pos: position{line: 154, col: 21, offset: 6152}, - expr: &litMatcher{ - pos: position{line: 154, col: 22, offset: 6153}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 154, col: 26, offset: 6157}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title71, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 154, col: 30, offset: 6161}, - label: "title", - expr: &oneOrMoreExpr{ - pos: position{line: 154, col: 36, offset: 6167}, - expr: &seqExpr{ - pos: position{line: 154, col: 37, offset: 6168}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 154, col: 37, offset: 6168}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 154, col: 46, offset: 6177, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - run: (*parser).callonSection4Title81, - expr: &seqExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 159, col: 30, offset: 6351}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 159, col: 34, offset: 6355}, - label: "k", - expr: &choiceExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - run: (*parser).callonSection4Title86, - expr: &litMatcher{ - pos: position{line: 401, col: 19, offset: 16759}, - val: "TIP", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 403, col: 5, offset: 16797}, - run: (*parser).callonSection4Title88, - expr: &litMatcher{ - pos: position{line: 403, col: 5, offset: 16797}, - val: "NOTE", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 405, col: 5, offset: 16837}, - run: (*parser).callonSection4Title90, - expr: &litMatcher{ - pos: position{line: 405, col: 5, offset: 16837}, - val: "IMPORTANT", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 407, col: 5, offset: 16887}, - run: (*parser).callonSection4Title92, - expr: &litMatcher{ - pos: position{line: 407, col: 5, offset: 16887}, - val: "WARNING", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 409, col: 5, offset: 16933}, - run: (*parser).callonSection4Title94, - expr: &litMatcher{ - pos: position{line: 409, col: 5, offset: 16933}, - val: "CAUTION", - ignoreCase: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 159, col: 53, offset: 6374}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - run: (*parser).callonSection4Title97, - expr: &seqExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 164, col: 19, offset: 6487}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 164, col: 23, offset: 6491}, - label: "attribute", - expr: &choiceExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - run: (*parser).callonSection4Title102, - expr: &seqExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection4Title105, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title113, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title125, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 168, col: 40, offset: 6705}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 168, col: 44, offset: 6709}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonSection4Title129, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title134, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title142, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title152, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - run: (*parser).callonSection4Title154, - expr: &labeledExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection4Title156, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title164, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title176, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 164, col: 52, offset: 6520}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 164, col: 63, offset: 6531}, - expr: &choiceExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - run: (*parser).callonSection4Title181, - expr: &seqExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 174, col: 26, offset: 6967}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 174, col: 30, offset: 6971}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title187, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 174, col: 34, offset: 6975}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection4Title190, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title198, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title210, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 174, col: 53, offset: 6994}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 174, col: 57, offset: 6998}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonSection4Title214, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title219, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title227, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title237, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - run: (*parser).callonSection4Title239, - expr: &seqExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 176, col: 5, offset: 7124}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 176, col: 9, offset: 7128}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title245, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 176, col: 13, offset: 7132}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection4Title248, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title256, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title268, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 164, col: 89, offset: 6557}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - run: (*parser).callonSection4Title271, - expr: &seqExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 192, col: 28, offset: 7529}, - val: "[", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 192, col: 32, offset: 7533}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title277, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 192, col: 36, offset: 7537}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 192, col: 44, offset: 7545}, - expr: &seqExpr{ - pos: position{line: 192, col: 45, offset: 7546}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 192, col: 45, offset: 7546}, - expr: &litMatcher{ - pos: position{line: 192, col: 46, offset: 7547}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 192, col: 50, offset: 7551, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 192, col: 54, offset: 7555}, - val: "]", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 192, col: 58, offset: 7559}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title289, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 138, col: 124, offset: 5686}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title294, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, + pos: position{line: 230, col: 29, offset: 9066}, + expr: &ruleRefExpr{ + pos: position{line: 230, col: 30, offset: 9067}, + name: "ElementAttribute", }, }, }, &labeledExpr{ - pos: position{line: 254, col: 49, offset: 10142}, + pos: position{line: 230, col: 49, offset: 9086}, label: "level", expr: &litMatcher{ - pos: position{line: 254, col: 56, offset: 10149}, - val: "=====", + pos: position{line: 230, col: 56, offset: 9093}, + val: "===", ignoreCase: false, }, }, &oneOrMoreExpr{ - pos: position{line: 254, col: 65, offset: 10158}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title306, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + pos: position{line: 230, col: 63, offset: 9100}, + expr: &ruleRefExpr{ + pos: position{line: 230, col: 63, offset: 9100}, + name: "WS", }, }, &labeledExpr{ - pos: position{line: 254, col: 69, offset: 10162}, + pos: position{line: 230, col: 67, offset: 9104}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 254, col: 78, offset: 10171}, + pos: position{line: 230, col: 76, offset: 9113}, name: "InlineElements", }, }, &zeroOrMoreExpr{ - pos: position{line: 254, col: 94, offset: 10187}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title313, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + pos: position{line: 230, col: 92, offset: 9129}, + expr: &ruleRefExpr{ + pos: position{line: 230, col: 92, offset: 9129}, + name: "WS", }, }, &labeledExpr{ - pos: position{line: 254, col: 98, offset: 10191}, + pos: position{line: 230, col: 96, offset: 9133}, label: "id", expr: &zeroOrOneExpr{ - pos: position{line: 254, col: 101, offset: 10194}, - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonSection4Title317, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection4Title321, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title331, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, + pos: position{line: 230, col: 99, offset: 9136}, + expr: &ruleRefExpr{ + pos: position{line: 230, col: 100, offset: 9137}, + name: "InlineElementID", }, }, }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, + &zeroOrMoreExpr{ + pos: position{line: 230, col: 118, offset: 9155}, + expr: &ruleRefExpr{ + pos: position{line: 230, col: 118, offset: 9155}, + name: "WS", }, }, + &ruleRefExpr{ + pos: position{line: 230, col: 122, offset: 9159}, + name: "EOL", + }, &choiceExpr{ - pos: position{line: 254, col: 125, offset: 10218}, + pos: position{line: 230, col: 127, offset: 9164}, alternatives: []interface{}{ &andExpr{ - pos: position{line: 254, col: 125, offset: 10218}, + pos: position{line: 230, col: 127, offset: 9164}, expr: &zeroOrOneExpr{ - pos: position{line: 254, col: 126, offset: 10219}, - expr: &actionExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - run: (*parser).callonSection4Title351, - expr: &seqExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 644, col: 14, offset: 28321}, - expr: ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 644, col: 19, offset: 28326}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection4Title359, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, + pos: position{line: 230, col: 128, offset: 9165}, + expr: &ruleRefExpr{ + pos: position{line: 230, col: 128, offset: 9165}, + name: "BlankLine", }, }, }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, + &ruleRefExpr{ + pos: position{line: 230, col: 141, offset: 9178}, + name: "EOF", }, }, }, @@ -14443,54 +2324,48 @@ var g = &grammar{ }, }, { - name: "Section4Block", - pos: position{line: 258, col: 1, offset: 10347}, + name: "Section2Block", + pos: position{line: 234, col: 1, offset: 9293}, expr: &actionExpr{ - pos: position{line: 258, col: 18, offset: 10364}, - run: (*parser).callonSection4Block1, + pos: position{line: 234, col: 18, offset: 9310}, + run: (*parser).callonSection2Block1, expr: &seqExpr{ - pos: position{line: 258, col: 18, offset: 10364}, + pos: position{line: 234, col: 18, offset: 9310}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 258, col: 18, offset: 10364}, + pos: position{line: 234, col: 18, offset: 9310}, expr: &ruleRefExpr{ - pos: position{line: 258, col: 19, offset: 10365}, + pos: position{line: 234, col: 19, offset: 9311}, name: "Section1", }, }, ¬Expr{ - pos: position{line: 258, col: 28, offset: 10374}, + pos: position{line: 234, col: 28, offset: 9320}, expr: &ruleRefExpr{ - pos: position{line: 258, col: 29, offset: 10375}, + pos: position{line: 234, col: 29, offset: 9321}, name: "Section2", }, }, - ¬Expr{ - pos: position{line: 258, col: 38, offset: 10384}, - expr: &ruleRefExpr{ - pos: position{line: 258, col: 39, offset: 10385}, - name: "Section3", - }, - }, - ¬Expr{ - pos: position{line: 258, col: 48, offset: 10394}, - expr: &ruleRefExpr{ - pos: position{line: 258, col: 49, offset: 10395}, - name: "Section4", - }, - }, &labeledExpr{ - pos: position{line: 258, col: 58, offset: 10404}, + pos: position{line: 234, col: 38, offset: 9330}, label: "content", expr: &choiceExpr{ - pos: position{line: 258, col: 67, offset: 10413}, + pos: position{line: 234, col: 47, offset: 9339}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 258, col: 67, offset: 10413}, + pos: position{line: 234, col: 47, offset: 9339}, + name: "Section3", + }, + &ruleRefExpr{ + pos: position{line: 234, col: 58, offset: 9350}, + name: "Section4", + }, + &ruleRefExpr{ + pos: position{line: 234, col: 69, offset: 9361}, name: "Section5", }, &ruleRefExpr{ - pos: position{line: 258, col: 78, offset: 10424}, + pos: position{line: 234, col: 80, offset: 9372}, name: "DocumentBlock", }, }, @@ -14501,30 +2376,30 @@ var g = &grammar{ }, }, { - name: "Section5", - pos: position{line: 262, col: 1, offset: 10468}, + name: "Section3", + pos: position{line: 238, col: 1, offset: 9416}, expr: &actionExpr{ - pos: position{line: 262, col: 13, offset: 10480}, - run: (*parser).callonSection51, + pos: position{line: 238, col: 13, offset: 9428}, + run: (*parser).callonSection31, expr: &seqExpr{ - pos: position{line: 262, col: 13, offset: 10480}, + pos: position{line: 238, col: 13, offset: 9428}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 262, col: 13, offset: 10480}, + pos: position{line: 238, col: 13, offset: 9428}, label: "header", expr: &ruleRefExpr{ - pos: position{line: 262, col: 21, offset: 10488}, - name: "Section5Title", + pos: position{line: 238, col: 21, offset: 9436}, + name: "Section3Title", }, }, &labeledExpr{ - pos: position{line: 262, col: 36, offset: 10503}, + pos: position{line: 238, col: 36, offset: 9451}, label: "elements", expr: &zeroOrMoreExpr{ - pos: position{line: 262, col: 46, offset: 10513}, + pos: position{line: 238, col: 46, offset: 9461}, expr: &ruleRefExpr{ - pos: position{line: 262, col: 46, offset: 10513}, - name: "Section5Block", + pos: position{line: 238, col: 46, offset: 9461}, + name: "Section3Block", }, }, }, @@ -14533,1573 +2408,87 @@ var g = &grammar{ }, }, { - name: "Section5Title", - pos: position{line: 266, col: 1, offset: 10620}, + name: "Section3Title", + pos: position{line: 242, col: 1, offset: 9568}, expr: &actionExpr{ - pos: position{line: 266, col: 18, offset: 10637}, - run: (*parser).callonSection5Title1, + pos: position{line: 242, col: 18, offset: 9585}, + run: (*parser).callonSection3Title1, expr: &seqExpr{ - pos: position{line: 266, col: 18, offset: 10637}, + pos: position{line: 242, col: 18, offset: 9585}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 266, col: 18, offset: 10637}, + pos: position{line: 242, col: 18, offset: 9585}, label: "attributes", expr: &zeroOrMoreExpr{ - pos: position{line: 266, col: 29, offset: 10648}, - expr: &actionExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - run: (*parser).callonSection5Title5, - expr: &seqExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - label: "attr", - expr: &choiceExpr{ - pos: position{line: 138, col: 27, offset: 5589}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - run: (*parser).callonSection5Title9, - expr: &labeledExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - label: "id", - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonSection5Title11, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection5Title15, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title25, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - run: (*parser).callonSection5Title37, - expr: &seqExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 144, col: 5, offset: 5840}, - val: "[#", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 144, col: 10, offset: 5845}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection5Title41, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title51, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 144, col: 18, offset: 5853}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - run: (*parser).callonSection5Title63, - expr: &seqExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 154, col: 17, offset: 6148}, - val: ".", - ignoreCase: false, - }, - ¬Expr{ - pos: position{line: 154, col: 21, offset: 6152}, - expr: &litMatcher{ - pos: position{line: 154, col: 22, offset: 6153}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 154, col: 26, offset: 6157}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title71, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 154, col: 30, offset: 6161}, - label: "title", - expr: &oneOrMoreExpr{ - pos: position{line: 154, col: 36, offset: 6167}, - expr: &seqExpr{ - pos: position{line: 154, col: 37, offset: 6168}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 154, col: 37, offset: 6168}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 154, col: 46, offset: 6177, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - run: (*parser).callonSection5Title81, - expr: &seqExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 159, col: 30, offset: 6351}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 159, col: 34, offset: 6355}, - label: "k", - expr: &choiceExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - run: (*parser).callonSection5Title86, - expr: &litMatcher{ - pos: position{line: 401, col: 19, offset: 16759}, - val: "TIP", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 403, col: 5, offset: 16797}, - run: (*parser).callonSection5Title88, - expr: &litMatcher{ - pos: position{line: 403, col: 5, offset: 16797}, - val: "NOTE", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 405, col: 5, offset: 16837}, - run: (*parser).callonSection5Title90, - expr: &litMatcher{ - pos: position{line: 405, col: 5, offset: 16837}, - val: "IMPORTANT", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 407, col: 5, offset: 16887}, - run: (*parser).callonSection5Title92, - expr: &litMatcher{ - pos: position{line: 407, col: 5, offset: 16887}, - val: "WARNING", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 409, col: 5, offset: 16933}, - run: (*parser).callonSection5Title94, - expr: &litMatcher{ - pos: position{line: 409, col: 5, offset: 16933}, - val: "CAUTION", - ignoreCase: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 159, col: 53, offset: 6374}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - run: (*parser).callonSection5Title97, - expr: &seqExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 164, col: 19, offset: 6487}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 164, col: 23, offset: 6491}, - label: "attribute", - expr: &choiceExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - run: (*parser).callonSection5Title102, - expr: &seqExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection5Title105, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title113, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title125, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 168, col: 40, offset: 6705}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 168, col: 44, offset: 6709}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonSection5Title129, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title134, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title142, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title152, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - run: (*parser).callonSection5Title154, - expr: &labeledExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection5Title156, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title164, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title176, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 164, col: 52, offset: 6520}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 164, col: 63, offset: 6531}, - expr: &choiceExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - run: (*parser).callonSection5Title181, - expr: &seqExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 174, col: 26, offset: 6967}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 174, col: 30, offset: 6971}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title187, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 174, col: 34, offset: 6975}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection5Title190, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title198, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title210, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 174, col: 53, offset: 6994}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 174, col: 57, offset: 6998}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonSection5Title214, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title219, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title227, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title237, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - run: (*parser).callonSection5Title239, - expr: &seqExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 176, col: 5, offset: 7124}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 176, col: 9, offset: 7128}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title245, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 176, col: 13, offset: 7132}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonSection5Title248, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title256, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title268, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 164, col: 89, offset: 6557}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - run: (*parser).callonSection5Title271, - expr: &seqExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 192, col: 28, offset: 7529}, - val: "[", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 192, col: 32, offset: 7533}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title277, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 192, col: 36, offset: 7537}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 192, col: 44, offset: 7545}, - expr: &seqExpr{ - pos: position{line: 192, col: 45, offset: 7546}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 192, col: 45, offset: 7546}, - expr: &litMatcher{ - pos: position{line: 192, col: 46, offset: 7547}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 192, col: 50, offset: 7551, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 192, col: 54, offset: 7555}, - val: "]", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 192, col: 58, offset: 7559}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title289, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 138, col: 124, offset: 5686}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title294, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, + pos: position{line: 242, col: 29, offset: 9596}, + expr: &ruleRefExpr{ + pos: position{line: 242, col: 30, offset: 9597}, + name: "ElementAttribute", }, }, }, &labeledExpr{ - pos: position{line: 266, col: 49, offset: 10668}, + pos: position{line: 242, col: 49, offset: 9616}, label: "level", expr: &litMatcher{ - pos: position{line: 266, col: 56, offset: 10675}, - val: "======", + pos: position{line: 242, col: 56, offset: 9623}, + val: "====", ignoreCase: false, }, }, &oneOrMoreExpr{ - pos: position{line: 266, col: 66, offset: 10685}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title306, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + pos: position{line: 242, col: 64, offset: 9631}, + expr: &ruleRefExpr{ + pos: position{line: 242, col: 64, offset: 9631}, + name: "WS", }, }, &labeledExpr{ - pos: position{line: 266, col: 70, offset: 10689}, + pos: position{line: 242, col: 68, offset: 9635}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 266, col: 79, offset: 10698}, + pos: position{line: 242, col: 77, offset: 9644}, name: "InlineElements", }, }, &zeroOrMoreExpr{ - pos: position{line: 266, col: 95, offset: 10714}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title313, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + pos: position{line: 242, col: 93, offset: 9660}, + expr: &ruleRefExpr{ + pos: position{line: 242, col: 93, offset: 9660}, + name: "WS", }, }, &labeledExpr{ - pos: position{line: 266, col: 99, offset: 10718}, + pos: position{line: 242, col: 97, offset: 9664}, label: "id", expr: &zeroOrOneExpr{ - pos: position{line: 266, col: 102, offset: 10721}, - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonSection5Title317, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonSection5Title321, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title331, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, + pos: position{line: 242, col: 100, offset: 9667}, + expr: &ruleRefExpr{ + pos: position{line: 242, col: 101, offset: 9668}, + name: "InlineElementID", }, }, }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, + &ruleRefExpr{ + pos: position{line: 242, col: 119, offset: 9686}, + name: "EOL", }, &choiceExpr{ - pos: position{line: 266, col: 126, offset: 10745}, + pos: position{line: 242, col: 124, offset: 9691}, alternatives: []interface{}{ &andExpr{ - pos: position{line: 266, col: 126, offset: 10745}, + pos: position{line: 242, col: 124, offset: 9691}, expr: &zeroOrOneExpr{ - pos: position{line: 266, col: 127, offset: 10746}, - expr: &actionExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - run: (*parser).callonSection5Title351, - expr: &seqExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 644, col: 14, offset: 28321}, - expr: ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 644, col: 19, offset: 28326}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonSection5Title359, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, + pos: position{line: 242, col: 125, offset: 9692}, + expr: &ruleRefExpr{ + pos: position{line: 242, col: 125, offset: 9692}, + name: "BlankLine", }, }, }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, + &ruleRefExpr{ + pos: position{line: 242, col: 138, offset: 9705}, + name: "EOF", }, }, }, @@ -16108,55 +2497,86 @@ var g = &grammar{ }, }, { - name: "Section5Block", - pos: position{line: 270, col: 1, offset: 10874}, + name: "Section3Block", + pos: position{line: 246, col: 1, offset: 9820}, expr: &actionExpr{ - pos: position{line: 270, col: 18, offset: 10891}, - run: (*parser).callonSection5Block1, + pos: position{line: 246, col: 18, offset: 9837}, + run: (*parser).callonSection3Block1, expr: &seqExpr{ - pos: position{line: 270, col: 18, offset: 10891}, + pos: position{line: 246, col: 18, offset: 9837}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 270, col: 18, offset: 10891}, + pos: position{line: 246, col: 18, offset: 9837}, expr: &ruleRefExpr{ - pos: position{line: 270, col: 19, offset: 10892}, + pos: position{line: 246, col: 19, offset: 9838}, name: "Section1", }, }, ¬Expr{ - pos: position{line: 270, col: 28, offset: 10901}, + pos: position{line: 246, col: 28, offset: 9847}, expr: &ruleRefExpr{ - pos: position{line: 270, col: 29, offset: 10902}, + pos: position{line: 246, col: 29, offset: 9848}, name: "Section2", }, }, ¬Expr{ - pos: position{line: 270, col: 38, offset: 10911}, + pos: position{line: 246, col: 38, offset: 9857}, expr: &ruleRefExpr{ - pos: position{line: 270, col: 39, offset: 10912}, + pos: position{line: 246, col: 39, offset: 9858}, name: "Section3", }, }, - ¬Expr{ - pos: position{line: 270, col: 48, offset: 10921}, - expr: &ruleRefExpr{ - pos: position{line: 270, col: 49, offset: 10922}, - name: "Section4", + &labeledExpr{ + pos: position{line: 246, col: 48, offset: 9867}, + label: "content", + expr: &choiceExpr{ + pos: position{line: 246, col: 57, offset: 9876}, + alternatives: []interface{}{ + &ruleRefExpr{ + pos: position{line: 246, col: 57, offset: 9876}, + name: "Section4", + }, + &ruleRefExpr{ + pos: position{line: 246, col: 68, offset: 9887}, + name: "Section5", + }, + &ruleRefExpr{ + pos: position{line: 246, col: 79, offset: 9898}, + name: "DocumentBlock", + }, + }, }, }, - ¬Expr{ - pos: position{line: 270, col: 58, offset: 10931}, + }, + }, + }, + }, + { + name: "Section4", + pos: position{line: 250, col: 1, offset: 9942}, + expr: &actionExpr{ + pos: position{line: 250, col: 13, offset: 9954}, + run: (*parser).callonSection41, + expr: &seqExpr{ + pos: position{line: 250, col: 13, offset: 9954}, + exprs: []interface{}{ + &labeledExpr{ + pos: position{line: 250, col: 13, offset: 9954}, + label: "header", expr: &ruleRefExpr{ - pos: position{line: 270, col: 59, offset: 10932}, - name: "Section5", + pos: position{line: 250, col: 21, offset: 9962}, + name: "Section4Title", }, }, &labeledExpr{ - pos: position{line: 270, col: 68, offset: 10941}, - label: "content", - expr: &ruleRefExpr{ - pos: position{line: 270, col: 77, offset: 10950}, - name: "DocumentBlock", + pos: position{line: 250, col: 36, offset: 9977}, + label: "elements", + expr: &zeroOrMoreExpr{ + pos: position{line: 250, col: 46, offset: 9987}, + expr: &ruleRefExpr{ + pos: position{line: 250, col: 46, offset: 9987}, + name: "Section4Block", + }, }, }, }, @@ -16164,183 +2584,88 @@ var g = &grammar{ }, }, { - name: "List", - pos: position{line: 277, col: 1, offset: 11095}, + name: "Section4Title", + pos: position{line: 254, col: 1, offset: 10094}, expr: &actionExpr{ - pos: position{line: 277, col: 9, offset: 11103}, - run: (*parser).callonList1, + pos: position{line: 254, col: 18, offset: 10111}, + run: (*parser).callonSection4Title1, expr: &seqExpr{ - pos: position{line: 277, col: 9, offset: 11103}, + pos: position{line: 254, col: 18, offset: 10111}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 277, col: 9, offset: 11103}, + pos: position{line: 254, col: 18, offset: 10111}, label: "attributes", expr: &zeroOrMoreExpr{ - pos: position{line: 277, col: 20, offset: 11114}, - expr: &actionExpr{ - pos: position{line: 285, col: 18, offset: 11395}, - run: (*parser).callonList5, - expr: &seqExpr{ - pos: position{line: 285, col: 18, offset: 11395}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 285, col: 18, offset: 11395}, - label: "attribute", - expr: &choiceExpr{ - pos: position{line: 285, col: 29, offset: 11406}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 293, col: 21, offset: 11581}, - run: (*parser).callonList9, - expr: &litMatcher{ - pos: position{line: 293, col: 21, offset: 11581}, - val: "[horizontal]", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 289, col: 11, offset: 11482}, - run: (*parser).callonList11, - expr: &seqExpr{ - pos: position{line: 289, col: 11, offset: 11482}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 289, col: 11, offset: 11482}, - val: "[#", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 289, col: 16, offset: 11487}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonList15, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonList25, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 289, col: 24, offset: 11495}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - }, + pos: position{line: 254, col: 29, offset: 10122}, + expr: &ruleRefExpr{ + pos: position{line: 254, col: 30, offset: 10123}, + name: "ElementAttribute", }, }, }, &labeledExpr{ - pos: position{line: 279, col: 5, offset: 11204}, - label: "elements", + pos: position{line: 254, col: 49, offset: 10142}, + label: "level", + expr: &litMatcher{ + pos: position{line: 254, col: 56, offset: 10149}, + val: "=====", + ignoreCase: false, + }, + }, + &oneOrMoreExpr{ + pos: position{line: 254, col: 65, offset: 10158}, expr: &ruleRefExpr{ - pos: position{line: 279, col: 14, offset: 11213}, - name: "ListItems", + pos: position{line: 254, col: 65, offset: 10158}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 254, col: 69, offset: 10162}, + label: "content", + expr: &ruleRefExpr{ + pos: position{line: 254, col: 78, offset: 10171}, + name: "InlineElements", + }, + }, + &zeroOrMoreExpr{ + pos: position{line: 254, col: 94, offset: 10187}, + expr: &ruleRefExpr{ + pos: position{line: 254, col: 94, offset: 10187}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 254, col: 98, offset: 10191}, + label: "id", + expr: &zeroOrOneExpr{ + pos: position{line: 254, col: 101, offset: 10194}, + expr: &ruleRefExpr{ + pos: position{line: 254, col: 102, offset: 10195}, + name: "InlineElementID", + }, + }, + }, + &ruleRefExpr{ + pos: position{line: 254, col: 120, offset: 10213}, + name: "EOL", + }, + &choiceExpr{ + pos: position{line: 254, col: 125, offset: 10218}, + alternatives: []interface{}{ + &andExpr{ + pos: position{line: 254, col: 125, offset: 10218}, + expr: &zeroOrOneExpr{ + pos: position{line: 254, col: 126, offset: 10219}, + expr: &ruleRefExpr{ + pos: position{line: 254, col: 126, offset: 10219}, + name: "BlankLine", + }, + }, + }, + &ruleRefExpr{ + pos: position{line: 254, col: 139, offset: 10232}, + name: "EOF", + }, }, }, }, @@ -16348,2886 +2673,88 @@ var g = &grammar{ }, }, { - name: "ListItems", - pos: position{line: 283, col: 1, offset: 11307}, - expr: &oneOrMoreExpr{ - pos: position{line: 283, col: 14, offset: 11320}, - expr: &choiceExpr{ - pos: position{line: 283, col: 15, offset: 11321}, - alternatives: []interface{}{ - &ruleRefExpr{ - pos: position{line: 283, col: 15, offset: 11321}, - name: "OrderedListItem", + name: "Section4Block", + pos: position{line: 258, col: 1, offset: 10347}, + expr: &actionExpr{ + pos: position{line: 258, col: 18, offset: 10364}, + run: (*parser).callonSection4Block1, + expr: &seqExpr{ + pos: position{line: 258, col: 18, offset: 10364}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 258, col: 18, offset: 10364}, + expr: &ruleRefExpr{ + pos: position{line: 258, col: 19, offset: 10365}, + name: "Section1", + }, }, - &ruleRefExpr{ - pos: position{line: 283, col: 33, offset: 11339}, - name: "UnorderedListItem", + ¬Expr{ + pos: position{line: 258, col: 28, offset: 10374}, + expr: &ruleRefExpr{ + pos: position{line: 258, col: 29, offset: 10375}, + name: "Section2", + }, }, - &ruleRefExpr{ - pos: position{line: 283, col: 53, offset: 11359}, - name: "LabeledListItem", + ¬Expr{ + pos: position{line: 258, col: 38, offset: 10384}, + expr: &ruleRefExpr{ + pos: position{line: 258, col: 39, offset: 10385}, + name: "Section3", + }, + }, + ¬Expr{ + pos: position{line: 258, col: 48, offset: 10394}, + expr: &ruleRefExpr{ + pos: position{line: 258, col: 49, offset: 10395}, + name: "Section4", + }, + }, + &labeledExpr{ + pos: position{line: 258, col: 58, offset: 10404}, + label: "content", + expr: &choiceExpr{ + pos: position{line: 258, col: 67, offset: 10413}, + alternatives: []interface{}{ + &ruleRefExpr{ + pos: position{line: 258, col: 67, offset: 10413}, + name: "Section5", + }, + &ruleRefExpr{ + pos: position{line: 258, col: 78, offset: 10424}, + name: "DocumentBlock", + }, + }, + }, }, }, }, }, }, { - name: "ListParagraph", - pos: position{line: 297, col: 1, offset: 11664}, + name: "Section5", + pos: position{line: 262, col: 1, offset: 10468}, expr: &actionExpr{ - pos: position{line: 297, col: 19, offset: 11682}, - run: (*parser).callonListParagraph1, - expr: &labeledExpr{ - pos: position{line: 297, col: 19, offset: 11682}, - label: "lines", - expr: &oneOrMoreExpr{ - pos: position{line: 297, col: 25, offset: 11688}, - expr: &seqExpr{ - pos: position{line: 298, col: 5, offset: 11694}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 298, col: 5, offset: 11694}, - expr: &choiceExpr{ - pos: position{line: 325, col: 1, offset: 12586}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 325, col: 1, offset: 12586}, - run: (*parser).callonListParagraph7, - expr: &seqExpr{ - pos: position{line: 325, col: 1, offset: 12586}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 325, col: 1, offset: 12586}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph12, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 325, col: 5, offset: 12590}, - label: "style", - expr: &litMatcher{ - pos: position{line: 325, col: 12, offset: 12597}, - val: ".", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 325, col: 17, offset: 12602}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph19, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 327, col: 5, offset: 12695}, - run: (*parser).callonListParagraph21, - expr: &seqExpr{ - pos: position{line: 327, col: 5, offset: 12695}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 327, col: 5, offset: 12695}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph26, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 327, col: 9, offset: 12699}, - label: "style", - expr: &litMatcher{ - pos: position{line: 327, col: 16, offset: 12706}, - val: "..", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 327, col: 22, offset: 12712}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph33, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 329, col: 5, offset: 12810}, - run: (*parser).callonListParagraph35, - expr: &seqExpr{ - pos: position{line: 329, col: 5, offset: 12810}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 329, col: 5, offset: 12810}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph40, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 329, col: 9, offset: 12814}, - label: "style", - expr: &litMatcher{ - pos: position{line: 329, col: 16, offset: 12821}, - val: "...", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 329, col: 23, offset: 12828}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph47, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 331, col: 5, offset: 12927}, - run: (*parser).callonListParagraph49, - expr: &seqExpr{ - pos: position{line: 331, col: 5, offset: 12927}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 331, col: 5, offset: 12927}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph54, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 331, col: 9, offset: 12931}, - label: "style", - expr: &litMatcher{ - pos: position{line: 331, col: 16, offset: 12938}, - val: "....", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 331, col: 24, offset: 12946}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph61, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 333, col: 5, offset: 13046}, - run: (*parser).callonListParagraph63, - expr: &seqExpr{ - pos: position{line: 333, col: 5, offset: 13046}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 333, col: 5, offset: 13046}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph68, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 333, col: 9, offset: 13050}, - label: "style", - expr: &litMatcher{ - pos: position{line: 333, col: 16, offset: 13057}, - val: ".....", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 333, col: 25, offset: 13066}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph75, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 336, col: 5, offset: 13189}, - run: (*parser).callonListParagraph77, - expr: &seqExpr{ - pos: position{line: 336, col: 5, offset: 13189}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 336, col: 5, offset: 13189}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph82, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 336, col: 9, offset: 13193}, - label: "style", - expr: &seqExpr{ - pos: position{line: 336, col: 16, offset: 13200}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 336, col: 16, offset: 13200}, - expr: &seqExpr{ - pos: position{line: 336, col: 17, offset: 13201}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 336, col: 17, offset: 13201}, - expr: &litMatcher{ - pos: position{line: 336, col: 18, offset: 13202}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 336, col: 22, offset: 13206}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph93, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 336, col: 26, offset: 13210}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &charClassMatcher{ - pos: position{line: 336, col: 35, offset: 13219}, - val: "[0-9]", - ranges: []rune{'0', '9'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 336, col: 43, offset: 13227}, - val: ".", - ignoreCase: false, - }, - }, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 336, col: 48, offset: 13232}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph104, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 338, col: 5, offset: 13327}, - run: (*parser).callonListParagraph106, - expr: &seqExpr{ - pos: position{line: 338, col: 5, offset: 13327}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 338, col: 5, offset: 13327}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph111, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 338, col: 9, offset: 13331}, - label: "style", - expr: &seqExpr{ - pos: position{line: 338, col: 16, offset: 13338}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 338, col: 16, offset: 13338}, - expr: &seqExpr{ - pos: position{line: 338, col: 17, offset: 13339}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 338, col: 17, offset: 13339}, - expr: &litMatcher{ - pos: position{line: 338, col: 18, offset: 13340}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 338, col: 22, offset: 13344}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph122, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 338, col: 26, offset: 13348}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &charClassMatcher{ - pos: position{line: 338, col: 35, offset: 13357}, - val: "[a-z]", - ranges: []rune{'a', 'z'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 338, col: 43, offset: 13365}, - val: ".", - ignoreCase: false, - }, - }, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 338, col: 48, offset: 13370}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph133, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 340, col: 5, offset: 13468}, - run: (*parser).callonListParagraph135, - expr: &seqExpr{ - pos: position{line: 340, col: 5, offset: 13468}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 340, col: 5, offset: 13468}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph140, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 340, col: 9, offset: 13472}, - label: "style", - expr: &seqExpr{ - pos: position{line: 340, col: 16, offset: 13479}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 340, col: 16, offset: 13479}, - expr: &seqExpr{ - pos: position{line: 340, col: 17, offset: 13480}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 340, col: 17, offset: 13480}, - expr: &litMatcher{ - pos: position{line: 340, col: 18, offset: 13481}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 340, col: 22, offset: 13485}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph151, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 340, col: 26, offset: 13489}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &charClassMatcher{ - pos: position{line: 340, col: 35, offset: 13498}, - val: "[A-Z]", - ranges: []rune{'A', 'Z'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 340, col: 43, offset: 13506}, - val: ".", - ignoreCase: false, - }, - }, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 340, col: 48, offset: 13511}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph162, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 342, col: 5, offset: 13609}, - run: (*parser).callonListParagraph164, - expr: &seqExpr{ - pos: position{line: 342, col: 5, offset: 13609}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 342, col: 5, offset: 13609}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph169, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 342, col: 9, offset: 13613}, - label: "style", - expr: &seqExpr{ - pos: position{line: 342, col: 16, offset: 13620}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 342, col: 16, offset: 13620}, - expr: &seqExpr{ - pos: position{line: 342, col: 17, offset: 13621}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 342, col: 17, offset: 13621}, - expr: &litMatcher{ - pos: position{line: 342, col: 18, offset: 13622}, - val: ")", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 342, col: 22, offset: 13626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph180, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 342, col: 26, offset: 13630}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &charClassMatcher{ - pos: position{line: 342, col: 35, offset: 13639}, - val: "[a-z]", - ranges: []rune{'a', 'z'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 342, col: 43, offset: 13647}, - val: ")", - ignoreCase: false, - }, - }, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 342, col: 48, offset: 13652}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph191, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 344, col: 5, offset: 13750}, - run: (*parser).callonListParagraph193, - expr: &seqExpr{ - pos: position{line: 344, col: 5, offset: 13750}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 344, col: 5, offset: 13750}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph198, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 344, col: 9, offset: 13754}, - label: "style", - expr: &seqExpr{ - pos: position{line: 344, col: 16, offset: 13761}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 344, col: 16, offset: 13761}, - expr: &seqExpr{ - pos: position{line: 344, col: 17, offset: 13762}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 344, col: 17, offset: 13762}, - expr: &litMatcher{ - pos: position{line: 344, col: 18, offset: 13763}, - val: ")", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 344, col: 22, offset: 13767}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph209, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 344, col: 26, offset: 13771}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &charClassMatcher{ - pos: position{line: 344, col: 35, offset: 13780}, - val: "[A-Z]", - ranges: []rune{'A', 'Z'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 344, col: 43, offset: 13788}, - val: ")", - ignoreCase: false, - }, - }, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 344, col: 48, offset: 13793}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph220, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 299, col: 5, offset: 11724}, - expr: &choiceExpr{ - pos: position{line: 359, col: 28, offset: 14504}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 359, col: 28, offset: 14504}, - run: (*parser).callonListParagraph224, - expr: &seqExpr{ - pos: position{line: 359, col: 28, offset: 14504}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 359, col: 28, offset: 14504}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph229, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 359, col: 32, offset: 14508}, - label: "level", - expr: &litMatcher{ - pos: position{line: 359, col: 39, offset: 14515}, - val: "*****", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 359, col: 48, offset: 14524}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph236, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 361, col: 5, offset: 14663}, - run: (*parser).callonListParagraph238, - expr: &seqExpr{ - pos: position{line: 361, col: 5, offset: 14663}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 361, col: 5, offset: 14663}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph243, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 361, col: 9, offset: 14667}, - label: "level", - expr: &litMatcher{ - pos: position{line: 361, col: 16, offset: 14674}, - val: "****", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 361, col: 24, offset: 14682}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph250, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 363, col: 5, offset: 14821}, - run: (*parser).callonListParagraph252, - expr: &seqExpr{ - pos: position{line: 363, col: 5, offset: 14821}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 363, col: 5, offset: 14821}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph257, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 363, col: 9, offset: 14825}, - label: "level", - expr: &litMatcher{ - pos: position{line: 363, col: 16, offset: 14832}, - val: "***", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 363, col: 23, offset: 14839}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph264, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 365, col: 5, offset: 14979}, - run: (*parser).callonListParagraph266, - expr: &seqExpr{ - pos: position{line: 365, col: 5, offset: 14979}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 365, col: 5, offset: 14979}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph271, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 365, col: 9, offset: 14983}, - label: "level", - expr: &litMatcher{ - pos: position{line: 365, col: 16, offset: 14990}, - val: "**", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 365, col: 22, offset: 14996}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph278, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 367, col: 5, offset: 15134}, - run: (*parser).callonListParagraph280, - expr: &seqExpr{ - pos: position{line: 367, col: 5, offset: 15134}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 367, col: 5, offset: 15134}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph285, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 367, col: 9, offset: 15138}, - label: "level", - expr: &litMatcher{ - pos: position{line: 367, col: 16, offset: 15145}, - val: "*", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 367, col: 21, offset: 15150}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph292, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 369, col: 5, offset: 15287}, - run: (*parser).callonListParagraph294, - expr: &seqExpr{ - pos: position{line: 369, col: 5, offset: 15287}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 369, col: 5, offset: 15287}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph299, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 369, col: 9, offset: 15291}, - label: "level", - expr: &litMatcher{ - pos: position{line: 369, col: 16, offset: 15298}, - val: "-", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 369, col: 21, offset: 15303}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph306, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 300, col: 5, offset: 11756}, - expr: &seqExpr{ - pos: position{line: 300, col: 7, offset: 11758}, - exprs: []interface{}{ - &actionExpr{ - pos: position{line: 386, col: 24, offset: 16213}, - run: (*parser).callonListParagraph310, - expr: &labeledExpr{ - pos: position{line: 386, col: 24, offset: 16213}, - label: "term", - expr: &zeroOrMoreExpr{ - pos: position{line: 386, col: 29, offset: 16218}, - expr: &seqExpr{ - pos: position{line: 386, col: 30, offset: 16219}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 386, col: 30, offset: 16219}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 386, col: 39, offset: 16228}, - expr: &litMatcher{ - pos: position{line: 386, col: 40, offset: 16229}, - val: "::", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 386, col: 45, offset: 16234, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 391, col: 30, offset: 16354}, - val: "::", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 391, col: 35, offset: 16359}, - expr: &choiceExpr{ - pos: position{line: 391, col: 36, offset: 16360}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph325, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 301, col: 5, offset: 11809}, - expr: &actionExpr{ - pos: position{line: 308, col: 25, offset: 11993}, - run: (*parser).callonListParagraph330, - expr: &seqExpr{ - pos: position{line: 308, col: 25, offset: 11993}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 308, col: 25, offset: 11993}, - val: "+", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 308, col: 29, offset: 11997}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph336, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 302, col: 5, offset: 11838}, - expr: &actionExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - run: (*parser).callonListParagraph344, - expr: &seqExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - label: "attr", - expr: &choiceExpr{ - pos: position{line: 138, col: 27, offset: 5589}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - run: (*parser).callonListParagraph348, - expr: &labeledExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - label: "id", - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonListParagraph350, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonListParagraph354, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph364, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - run: (*parser).callonListParagraph376, - expr: &seqExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 144, col: 5, offset: 5840}, - val: "[#", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 144, col: 10, offset: 5845}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonListParagraph380, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph390, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 144, col: 18, offset: 5853}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - run: (*parser).callonListParagraph402, - expr: &seqExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 154, col: 17, offset: 6148}, - val: ".", - ignoreCase: false, - }, - ¬Expr{ - pos: position{line: 154, col: 21, offset: 6152}, - expr: &litMatcher{ - pos: position{line: 154, col: 22, offset: 6153}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 154, col: 26, offset: 6157}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph410, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 154, col: 30, offset: 6161}, - label: "title", - expr: &oneOrMoreExpr{ - pos: position{line: 154, col: 36, offset: 6167}, - expr: &seqExpr{ - pos: position{line: 154, col: 37, offset: 6168}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 154, col: 37, offset: 6168}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 154, col: 46, offset: 6177, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - run: (*parser).callonListParagraph420, - expr: &seqExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 159, col: 30, offset: 6351}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 159, col: 34, offset: 6355}, - label: "k", - expr: &choiceExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - run: (*parser).callonListParagraph425, - expr: &litMatcher{ - pos: position{line: 401, col: 19, offset: 16759}, - val: "TIP", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 403, col: 5, offset: 16797}, - run: (*parser).callonListParagraph427, - expr: &litMatcher{ - pos: position{line: 403, col: 5, offset: 16797}, - val: "NOTE", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 405, col: 5, offset: 16837}, - run: (*parser).callonListParagraph429, - expr: &litMatcher{ - pos: position{line: 405, col: 5, offset: 16837}, - val: "IMPORTANT", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 407, col: 5, offset: 16887}, - run: (*parser).callonListParagraph431, - expr: &litMatcher{ - pos: position{line: 407, col: 5, offset: 16887}, - val: "WARNING", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 409, col: 5, offset: 16933}, - run: (*parser).callonListParagraph433, - expr: &litMatcher{ - pos: position{line: 409, col: 5, offset: 16933}, - val: "CAUTION", - ignoreCase: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 159, col: 53, offset: 6374}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - run: (*parser).callonListParagraph436, - expr: &seqExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 164, col: 19, offset: 6487}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 164, col: 23, offset: 6491}, - label: "attribute", - expr: &choiceExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - run: (*parser).callonListParagraph441, - expr: &seqExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonListParagraph444, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph452, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph464, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 168, col: 40, offset: 6705}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 168, col: 44, offset: 6709}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonListParagraph468, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph473, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph481, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph491, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - run: (*parser).callonListParagraph493, - expr: &labeledExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonListParagraph495, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph503, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph515, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 164, col: 52, offset: 6520}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 164, col: 63, offset: 6531}, - expr: &choiceExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - run: (*parser).callonListParagraph520, - expr: &seqExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 174, col: 26, offset: 6967}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 174, col: 30, offset: 6971}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph526, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 174, col: 34, offset: 6975}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonListParagraph529, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph537, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph549, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 174, col: 53, offset: 6994}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 174, col: 57, offset: 6998}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonListParagraph553, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph558, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph566, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph576, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - run: (*parser).callonListParagraph578, - expr: &seqExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 176, col: 5, offset: 7124}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 176, col: 9, offset: 7128}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph584, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 176, col: 13, offset: 7132}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonListParagraph587, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph595, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph607, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 164, col: 89, offset: 6557}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - run: (*parser).callonListParagraph610, - expr: &seqExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 192, col: 28, offset: 7529}, - val: "[", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 192, col: 32, offset: 7533}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph616, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 192, col: 36, offset: 7537}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 192, col: 44, offset: 7545}, - expr: &seqExpr{ - pos: position{line: 192, col: 45, offset: 7546}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 192, col: 45, offset: 7546}, - expr: &litMatcher{ - pos: position{line: 192, col: 46, offset: 7547}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 192, col: 50, offset: 7551, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 192, col: 54, offset: 7555}, - val: "]", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 192, col: 58, offset: 7559}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph628, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 138, col: 124, offset: 5686}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListParagraph633, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 303, col: 5, offset: 11862}, - expr: &choiceExpr{ - pos: position{line: 580, col: 19, offset: 25428}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 634, col: 26, offset: 27956}, - val: "....", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 582, col: 25, offset: 25546}, - val: "```", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 588, col: 26, offset: 25853}, - val: "----", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 594, col: 26, offset: 26165}, - val: "====", - ignoreCase: false, - }, - }, - }, - }, - &ruleRefExpr{ - pos: position{line: 304, col: 5, offset: 11884}, - name: "InlineElements", - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, + pos: position{line: 262, col: 13, offset: 10480}, + run: (*parser).callonSection51, + expr: &seqExpr{ + pos: position{line: 262, col: 13, offset: 10480}, + exprs: []interface{}{ + &labeledExpr{ + pos: position{line: 262, col: 13, offset: 10480}, + label: "header", + expr: &ruleRefExpr{ + pos: position{line: 262, col: 21, offset: 10488}, + name: "Section5Title", + }, + }, + &labeledExpr{ + pos: position{line: 262, col: 36, offset: 10503}, + label: "elements", + expr: &zeroOrMoreExpr{ + pos: position{line: 262, col: 46, offset: 10513}, + expr: &ruleRefExpr{ + pos: position{line: 262, col: 46, offset: 10513}, + name: "Section5Block", }, }, }, @@ -19236,2455 +2763,411 @@ var g = &grammar{ }, }, { - name: "ContinuedDocumentBlock", - pos: position{line: 312, col: 1, offset: 12053}, + name: "Section5Title", + pos: position{line: 266, col: 1, offset: 10620}, expr: &actionExpr{ - pos: position{line: 312, col: 27, offset: 12079}, - run: (*parser).callonContinuedDocumentBlock1, + pos: position{line: 266, col: 18, offset: 10637}, + run: (*parser).callonSection5Title1, expr: &seqExpr{ - pos: position{line: 312, col: 27, offset: 12079}, + pos: position{line: 266, col: 18, offset: 10637}, exprs: []interface{}{ - &actionExpr{ - pos: position{line: 308, col: 25, offset: 11993}, - run: (*parser).callonContinuedDocumentBlock3, - expr: &seqExpr{ - pos: position{line: 308, col: 25, offset: 11993}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 308, col: 25, offset: 11993}, - val: "+", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 308, col: 29, offset: 11997}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonContinuedDocumentBlock9, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, + &labeledExpr{ + pos: position{line: 266, col: 18, offset: 10637}, + label: "attributes", + expr: &zeroOrMoreExpr{ + pos: position{line: 266, col: 29, offset: 10648}, + expr: &ruleRefExpr{ + pos: position{line: 266, col: 30, offset: 10649}, + name: "ElementAttribute", }, }, }, &labeledExpr{ - pos: position{line: 312, col: 48, offset: 12100}, - label: "element", + pos: position{line: 266, col: 49, offset: 10668}, + label: "level", + expr: &litMatcher{ + pos: position{line: 266, col: 56, offset: 10675}, + val: "======", + ignoreCase: false, + }, + }, + &oneOrMoreExpr{ + pos: position{line: 266, col: 66, offset: 10685}, expr: &ruleRefExpr{ - pos: position{line: 312, col: 56, offset: 12108}, - name: "DocumentBlock", + pos: position{line: 266, col: 66, offset: 10685}, + name: "WS", }, }, - }, - }, - }, - }, - { - name: "OrderedListItem", - pos: position{line: 319, col: 1, offset: 12265}, - expr: &actionExpr{ - pos: position{line: 319, col: 20, offset: 12284}, - run: (*parser).callonOrderedListItem1, - expr: &seqExpr{ - pos: position{line: 319, col: 20, offset: 12284}, - exprs: []interface{}{ &labeledExpr{ - pos: position{line: 319, col: 20, offset: 12284}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 319, col: 31, offset: 12295}, - expr: &actionExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - run: (*parser).callonOrderedListItem5, - expr: &seqExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - label: "attr", - expr: &choiceExpr{ - pos: position{line: 138, col: 27, offset: 5589}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - run: (*parser).callonOrderedListItem9, - expr: &labeledExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - label: "id", - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonOrderedListItem11, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonOrderedListItem15, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem25, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - run: (*parser).callonOrderedListItem37, - expr: &seqExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 144, col: 5, offset: 5840}, - val: "[#", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 144, col: 10, offset: 5845}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonOrderedListItem41, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem51, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 144, col: 18, offset: 5853}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - run: (*parser).callonOrderedListItem63, - expr: &seqExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 154, col: 17, offset: 6148}, - val: ".", - ignoreCase: false, - }, - ¬Expr{ - pos: position{line: 154, col: 21, offset: 6152}, - expr: &litMatcher{ - pos: position{line: 154, col: 22, offset: 6153}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 154, col: 26, offset: 6157}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem71, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 154, col: 30, offset: 6161}, - label: "title", - expr: &oneOrMoreExpr{ - pos: position{line: 154, col: 36, offset: 6167}, - expr: &seqExpr{ - pos: position{line: 154, col: 37, offset: 6168}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 154, col: 37, offset: 6168}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 154, col: 46, offset: 6177, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - run: (*parser).callonOrderedListItem81, - expr: &seqExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 159, col: 30, offset: 6351}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 159, col: 34, offset: 6355}, - label: "k", - expr: &choiceExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - run: (*parser).callonOrderedListItem86, - expr: &litMatcher{ - pos: position{line: 401, col: 19, offset: 16759}, - val: "TIP", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 403, col: 5, offset: 16797}, - run: (*parser).callonOrderedListItem88, - expr: &litMatcher{ - pos: position{line: 403, col: 5, offset: 16797}, - val: "NOTE", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 405, col: 5, offset: 16837}, - run: (*parser).callonOrderedListItem90, - expr: &litMatcher{ - pos: position{line: 405, col: 5, offset: 16837}, - val: "IMPORTANT", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 407, col: 5, offset: 16887}, - run: (*parser).callonOrderedListItem92, - expr: &litMatcher{ - pos: position{line: 407, col: 5, offset: 16887}, - val: "WARNING", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 409, col: 5, offset: 16933}, - run: (*parser).callonOrderedListItem94, - expr: &litMatcher{ - pos: position{line: 409, col: 5, offset: 16933}, - val: "CAUTION", - ignoreCase: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 159, col: 53, offset: 6374}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - run: (*parser).callonOrderedListItem97, - expr: &seqExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 164, col: 19, offset: 6487}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 164, col: 23, offset: 6491}, - label: "attribute", - expr: &choiceExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - run: (*parser).callonOrderedListItem102, - expr: &seqExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonOrderedListItem105, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem113, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem125, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 168, col: 40, offset: 6705}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 168, col: 44, offset: 6709}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonOrderedListItem129, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem134, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem142, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem152, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - run: (*parser).callonOrderedListItem154, - expr: &labeledExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonOrderedListItem156, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem164, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem176, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 164, col: 52, offset: 6520}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 164, col: 63, offset: 6531}, - expr: &choiceExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - run: (*parser).callonOrderedListItem181, - expr: &seqExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 174, col: 26, offset: 6967}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 174, col: 30, offset: 6971}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem187, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 174, col: 34, offset: 6975}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonOrderedListItem190, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem198, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem210, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 174, col: 53, offset: 6994}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 174, col: 57, offset: 6998}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonOrderedListItem214, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem219, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem227, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem237, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - run: (*parser).callonOrderedListItem239, - expr: &seqExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 176, col: 5, offset: 7124}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 176, col: 9, offset: 7128}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem245, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 176, col: 13, offset: 7132}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonOrderedListItem248, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem256, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem268, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 164, col: 89, offset: 6557}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - run: (*parser).callonOrderedListItem271, - expr: &seqExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 192, col: 28, offset: 7529}, - val: "[", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 192, col: 32, offset: 7533}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem277, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 192, col: 36, offset: 7537}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 192, col: 44, offset: 7545}, - expr: &seqExpr{ - pos: position{line: 192, col: 45, offset: 7546}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 192, col: 45, offset: 7546}, - expr: &litMatcher{ - pos: position{line: 192, col: 46, offset: 7547}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 192, col: 50, offset: 7551, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 192, col: 54, offset: 7555}, - val: "]", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 192, col: 58, offset: 7559}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem289, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 138, col: 124, offset: 5686}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem294, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, + pos: position{line: 266, col: 70, offset: 10689}, + label: "content", + expr: &ruleRefExpr{ + pos: position{line: 266, col: 79, offset: 10698}, + name: "InlineElements", + }, + }, + &zeroOrMoreExpr{ + pos: position{line: 266, col: 95, offset: 10714}, + expr: &ruleRefExpr{ + pos: position{line: 266, col: 95, offset: 10714}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 266, col: 99, offset: 10718}, + label: "id", + expr: &zeroOrOneExpr{ + pos: position{line: 266, col: 102, offset: 10721}, + expr: &ruleRefExpr{ + pos: position{line: 266, col: 103, offset: 10722}, + name: "InlineElementID", + }, + }, + }, + &ruleRefExpr{ + pos: position{line: 266, col: 121, offset: 10740}, + name: "EOL", + }, + &choiceExpr{ + pos: position{line: 266, col: 126, offset: 10745}, + alternatives: []interface{}{ + &andExpr{ + pos: position{line: 266, col: 126, offset: 10745}, + expr: &zeroOrOneExpr{ + pos: position{line: 266, col: 127, offset: 10746}, + expr: &ruleRefExpr{ + pos: position{line: 266, col: 127, offset: 10746}, + name: "BlankLine", }, }, }, + &ruleRefExpr{ + pos: position{line: 266, col: 140, offset: 10759}, + name: "EOF", + }, + }, + }, + }, + }, + }, + }, + { + name: "Section5Block", + pos: position{line: 270, col: 1, offset: 10874}, + expr: &actionExpr{ + pos: position{line: 270, col: 18, offset: 10891}, + run: (*parser).callonSection5Block1, + expr: &seqExpr{ + pos: position{line: 270, col: 18, offset: 10891}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 270, col: 18, offset: 10891}, + expr: &ruleRefExpr{ + pos: position{line: 270, col: 19, offset: 10892}, + name: "Section1", + }, + }, + ¬Expr{ + pos: position{line: 270, col: 28, offset: 10901}, + expr: &ruleRefExpr{ + pos: position{line: 270, col: 29, offset: 10902}, + name: "Section2", + }, + }, + ¬Expr{ + pos: position{line: 270, col: 38, offset: 10911}, + expr: &ruleRefExpr{ + pos: position{line: 270, col: 39, offset: 10912}, + name: "Section3", + }, + }, + ¬Expr{ + pos: position{line: 270, col: 48, offset: 10921}, + expr: &ruleRefExpr{ + pos: position{line: 270, col: 49, offset: 10922}, + name: "Section4", + }, + }, + ¬Expr{ + pos: position{line: 270, col: 58, offset: 10931}, + expr: &ruleRefExpr{ + pos: position{line: 270, col: 59, offset: 10932}, + name: "Section5", }, }, &labeledExpr{ - pos: position{line: 319, col: 51, offset: 12315}, - label: "prefix", + pos: position{line: 270, col: 68, offset: 10941}, + label: "content", + expr: &ruleRefExpr{ + pos: position{line: 270, col: 77, offset: 10950}, + name: "DocumentBlock", + }, + }, + }, + }, + }, + }, + { + name: "List", + pos: position{line: 277, col: 1, offset: 11095}, + expr: &actionExpr{ + pos: position{line: 277, col: 9, offset: 11103}, + run: (*parser).callonList1, + expr: &seqExpr{ + pos: position{line: 277, col: 9, offset: 11103}, + exprs: []interface{}{ + &labeledExpr{ + pos: position{line: 277, col: 9, offset: 11103}, + label: "attributes", + expr: &zeroOrMoreExpr{ + pos: position{line: 277, col: 20, offset: 11114}, + expr: &ruleRefExpr{ + pos: position{line: 277, col: 21, offset: 11115}, + name: "ListAttribute", + }, + }, + }, + &labeledExpr{ + pos: position{line: 279, col: 5, offset: 11204}, + label: "elements", + expr: &ruleRefExpr{ + pos: position{line: 279, col: 14, offset: 11213}, + name: "ListItems", + }, + }, + }, + }, + }, + }, + { + name: "ListItems", + pos: position{line: 283, col: 1, offset: 11307}, + expr: &oneOrMoreExpr{ + pos: position{line: 283, col: 14, offset: 11320}, + expr: &choiceExpr{ + pos: position{line: 283, col: 15, offset: 11321}, + alternatives: []interface{}{ + &ruleRefExpr{ + pos: position{line: 283, col: 15, offset: 11321}, + name: "OrderedListItem", + }, + &ruleRefExpr{ + pos: position{line: 283, col: 33, offset: 11339}, + name: "UnorderedListItem", + }, + &ruleRefExpr{ + pos: position{line: 283, col: 53, offset: 11359}, + name: "LabeledListItem", + }, + }, + }, + }, + }, + { + name: "ListAttribute", + pos: position{line: 285, col: 1, offset: 11378}, + expr: &actionExpr{ + pos: position{line: 285, col: 18, offset: 11395}, + run: (*parser).callonListAttribute1, + expr: &seqExpr{ + pos: position{line: 285, col: 18, offset: 11395}, + exprs: []interface{}{ + &labeledExpr{ + pos: position{line: 285, col: 18, offset: 11395}, + label: "attribute", expr: &choiceExpr{ - pos: position{line: 325, col: 1, offset: 12586}, + pos: position{line: 285, col: 29, offset: 11406}, alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 325, col: 1, offset: 12586}, - run: (*parser).callonOrderedListItem303, - expr: &seqExpr{ - pos: position{line: 325, col: 1, offset: 12586}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 325, col: 1, offset: 12586}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem308, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 325, col: 5, offset: 12590}, - label: "style", - expr: &litMatcher{ - pos: position{line: 325, col: 12, offset: 12597}, - val: ".", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 325, col: 17, offset: 12602}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem315, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, + &ruleRefExpr{ + pos: position{line: 285, col: 29, offset: 11406}, + name: "HorizontalLayout", + }, + &ruleRefExpr{ + pos: position{line: 285, col: 48, offset: 11425}, + name: "ListID", + }, + }, + }, + }, + &ruleRefExpr{ + pos: position{line: 285, col: 56, offset: 11433}, + name: "NEWLINE", + }, + }, + }, + }, + }, + { + name: "ListID", + pos: position{line: 289, col: 1, offset: 11472}, + expr: &actionExpr{ + pos: position{line: 289, col: 11, offset: 11482}, + run: (*parser).callonListID1, + expr: &seqExpr{ + pos: position{line: 289, col: 11, offset: 11482}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 289, col: 11, offset: 11482}, + val: "[#", + ignoreCase: false, + }, + &labeledExpr{ + pos: position{line: 289, col: 16, offset: 11487}, + label: "id", + expr: &ruleRefExpr{ + pos: position{line: 289, col: 20, offset: 11491}, + name: "ID", + }, + }, + &litMatcher{ + pos: position{line: 289, col: 24, offset: 11495}, + val: "]", + ignoreCase: false, + }, + }, + }, + }, + }, + { + name: "HorizontalLayout", + pos: position{line: 293, col: 1, offset: 11561}, + expr: &actionExpr{ + pos: position{line: 293, col: 21, offset: 11581}, + run: (*parser).callonHorizontalLayout1, + expr: &litMatcher{ + pos: position{line: 293, col: 21, offset: 11581}, + val: "[horizontal]", + ignoreCase: false, + }, + }, + }, + { + name: "ListParagraph", + pos: position{line: 297, col: 1, offset: 11664}, + expr: &actionExpr{ + pos: position{line: 297, col: 19, offset: 11682}, + run: (*parser).callonListParagraph1, + expr: &labeledExpr{ + pos: position{line: 297, col: 19, offset: 11682}, + label: "lines", + expr: &oneOrMoreExpr{ + pos: position{line: 297, col: 25, offset: 11688}, + expr: &seqExpr{ + pos: position{line: 298, col: 5, offset: 11694}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 298, col: 5, offset: 11694}, + expr: &ruleRefExpr{ + pos: position{line: 298, col: 7, offset: 11696}, + name: "OrderedListItemPrefix", + }, + }, + ¬Expr{ + pos: position{line: 299, col: 5, offset: 11724}, + expr: &ruleRefExpr{ + pos: position{line: 299, col: 7, offset: 11726}, + name: "UnorderedListItemPrefix", + }, + }, + ¬Expr{ + pos: position{line: 300, col: 5, offset: 11756}, + expr: &seqExpr{ + pos: position{line: 300, col: 7, offset: 11758}, + exprs: []interface{}{ + &ruleRefExpr{ + pos: position{line: 300, col: 7, offset: 11758}, + name: "LabeledListItemTerm", + }, + &ruleRefExpr{ + pos: position{line: 300, col: 27, offset: 11778}, + name: "LabeledListItemSeparator", }, }, }, - &actionExpr{ - pos: position{line: 327, col: 5, offset: 12695}, - run: (*parser).callonOrderedListItem317, - expr: &seqExpr{ - pos: position{line: 327, col: 5, offset: 12695}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 327, col: 5, offset: 12695}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem322, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 327, col: 9, offset: 12699}, - label: "style", - expr: &litMatcher{ - pos: position{line: 327, col: 16, offset: 12706}, - val: "..", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 327, col: 22, offset: 12712}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem329, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 329, col: 5, offset: 12810}, - run: (*parser).callonOrderedListItem331, - expr: &seqExpr{ - pos: position{line: 329, col: 5, offset: 12810}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 329, col: 5, offset: 12810}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem336, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 329, col: 9, offset: 12814}, - label: "style", - expr: &litMatcher{ - pos: position{line: 329, col: 16, offset: 12821}, - val: "...", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 329, col: 23, offset: 12828}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem343, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 331, col: 5, offset: 12927}, - run: (*parser).callonOrderedListItem345, - expr: &seqExpr{ - pos: position{line: 331, col: 5, offset: 12927}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 331, col: 5, offset: 12927}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem350, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 331, col: 9, offset: 12931}, - label: "style", - expr: &litMatcher{ - pos: position{line: 331, col: 16, offset: 12938}, - val: "....", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 331, col: 24, offset: 12946}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem357, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 333, col: 5, offset: 13046}, - run: (*parser).callonOrderedListItem359, - expr: &seqExpr{ - pos: position{line: 333, col: 5, offset: 13046}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 333, col: 5, offset: 13046}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem364, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 333, col: 9, offset: 13050}, - label: "style", - expr: &litMatcher{ - pos: position{line: 333, col: 16, offset: 13057}, - val: ".....", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 333, col: 25, offset: 13066}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem371, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 336, col: 5, offset: 13189}, - run: (*parser).callonOrderedListItem373, - expr: &seqExpr{ - pos: position{line: 336, col: 5, offset: 13189}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 336, col: 5, offset: 13189}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem378, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 336, col: 9, offset: 13193}, - label: "style", - expr: &seqExpr{ - pos: position{line: 336, col: 16, offset: 13200}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 336, col: 16, offset: 13200}, - expr: &seqExpr{ - pos: position{line: 336, col: 17, offset: 13201}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 336, col: 17, offset: 13201}, - expr: &litMatcher{ - pos: position{line: 336, col: 18, offset: 13202}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 336, col: 22, offset: 13206}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem389, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 336, col: 26, offset: 13210}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &charClassMatcher{ - pos: position{line: 336, col: 35, offset: 13219}, - val: "[0-9]", - ranges: []rune{'0', '9'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 336, col: 43, offset: 13227}, - val: ".", - ignoreCase: false, - }, - }, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 336, col: 48, offset: 13232}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem400, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 338, col: 5, offset: 13327}, - run: (*parser).callonOrderedListItem402, - expr: &seqExpr{ - pos: position{line: 338, col: 5, offset: 13327}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 338, col: 5, offset: 13327}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem407, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 338, col: 9, offset: 13331}, - label: "style", - expr: &seqExpr{ - pos: position{line: 338, col: 16, offset: 13338}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 338, col: 16, offset: 13338}, - expr: &seqExpr{ - pos: position{line: 338, col: 17, offset: 13339}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 338, col: 17, offset: 13339}, - expr: &litMatcher{ - pos: position{line: 338, col: 18, offset: 13340}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 338, col: 22, offset: 13344}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem418, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 338, col: 26, offset: 13348}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &charClassMatcher{ - pos: position{line: 338, col: 35, offset: 13357}, - val: "[a-z]", - ranges: []rune{'a', 'z'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 338, col: 43, offset: 13365}, - val: ".", - ignoreCase: false, - }, - }, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 338, col: 48, offset: 13370}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem429, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 340, col: 5, offset: 13468}, - run: (*parser).callonOrderedListItem431, - expr: &seqExpr{ - pos: position{line: 340, col: 5, offset: 13468}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 340, col: 5, offset: 13468}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem436, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 340, col: 9, offset: 13472}, - label: "style", - expr: &seqExpr{ - pos: position{line: 340, col: 16, offset: 13479}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 340, col: 16, offset: 13479}, - expr: &seqExpr{ - pos: position{line: 340, col: 17, offset: 13480}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 340, col: 17, offset: 13480}, - expr: &litMatcher{ - pos: position{line: 340, col: 18, offset: 13481}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 340, col: 22, offset: 13485}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem447, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 340, col: 26, offset: 13489}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &charClassMatcher{ - pos: position{line: 340, col: 35, offset: 13498}, - val: "[A-Z]", - ranges: []rune{'A', 'Z'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 340, col: 43, offset: 13506}, - val: ".", - ignoreCase: false, - }, - }, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 340, col: 48, offset: 13511}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem458, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, + }, + ¬Expr{ + pos: position{line: 301, col: 5, offset: 11809}, + expr: &ruleRefExpr{ + pos: position{line: 301, col: 7, offset: 11811}, + name: "ListItemContinuation", }, - &actionExpr{ - pos: position{line: 342, col: 5, offset: 13609}, - run: (*parser).callonOrderedListItem460, - expr: &seqExpr{ - pos: position{line: 342, col: 5, offset: 13609}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 342, col: 5, offset: 13609}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem465, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 342, col: 9, offset: 13613}, - label: "style", - expr: &seqExpr{ - pos: position{line: 342, col: 16, offset: 13620}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 342, col: 16, offset: 13620}, - expr: &seqExpr{ - pos: position{line: 342, col: 17, offset: 13621}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 342, col: 17, offset: 13621}, - expr: &litMatcher{ - pos: position{line: 342, col: 18, offset: 13622}, - val: ")", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 342, col: 22, offset: 13626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem476, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 342, col: 26, offset: 13630}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &charClassMatcher{ - pos: position{line: 342, col: 35, offset: 13639}, - val: "[a-z]", - ranges: []rune{'a', 'z'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 342, col: 43, offset: 13647}, - val: ")", - ignoreCase: false, - }, - }, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 342, col: 48, offset: 13652}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem487, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, + }, + ¬Expr{ + pos: position{line: 302, col: 5, offset: 11838}, + expr: &ruleRefExpr{ + pos: position{line: 302, col: 7, offset: 11840}, + name: "ElementAttribute", }, - &actionExpr{ - pos: position{line: 344, col: 5, offset: 13750}, - run: (*parser).callonOrderedListItem489, - expr: &seqExpr{ - pos: position{line: 344, col: 5, offset: 13750}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 344, col: 5, offset: 13750}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem494, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 344, col: 9, offset: 13754}, - label: "style", - expr: &seqExpr{ - pos: position{line: 344, col: 16, offset: 13761}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 344, col: 16, offset: 13761}, - expr: &seqExpr{ - pos: position{line: 344, col: 17, offset: 13762}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 344, col: 17, offset: 13762}, - expr: &litMatcher{ - pos: position{line: 344, col: 18, offset: 13763}, - val: ")", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 344, col: 22, offset: 13767}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem505, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 344, col: 26, offset: 13771}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &charClassMatcher{ - pos: position{line: 344, col: 35, offset: 13780}, - val: "[A-Z]", - ranges: []rune{'A', 'Z'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 344, col: 43, offset: 13788}, - val: ")", - ignoreCase: false, - }, - }, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 344, col: 48, offset: 13793}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem516, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, + }, + ¬Expr{ + pos: position{line: 303, col: 5, offset: 11862}, + expr: &ruleRefExpr{ + pos: position{line: 303, col: 7, offset: 11864}, + name: "BlockDelimiter", }, }, + &ruleRefExpr{ + pos: position{line: 304, col: 5, offset: 11884}, + name: "InlineElements", + }, + &ruleRefExpr{ + pos: position{line: 304, col: 20, offset: 11899}, + name: "EOL", + }, }, }, - &labeledExpr{ - pos: position{line: 319, col: 82, offset: 12346}, - label: "content", + }, + }, + }, + }, + { + name: "ListItemContinuation", + pos: position{line: 308, col: 1, offset: 11969}, + expr: &actionExpr{ + pos: position{line: 308, col: 25, offset: 11993}, + run: (*parser).callonListItemContinuation1, + expr: &seqExpr{ + pos: position{line: 308, col: 25, offset: 11993}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 308, col: 25, offset: 11993}, + val: "+", + ignoreCase: false, + }, + &zeroOrMoreExpr{ + pos: position{line: 308, col: 29, offset: 11997}, expr: &ruleRefExpr{ - pos: position{line: 319, col: 91, offset: 12355}, - name: "OrderedListItemContent", + pos: position{line: 308, col: 29, offset: 11997}, + name: "WS", }, }, - &zeroOrOneExpr{ - pos: position{line: 319, col: 115, offset: 12379}, - expr: &actionExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - run: (*parser).callonOrderedListItem521, - expr: &seqExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 644, col: 14, offset: 28321}, - expr: ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 644, col: 19, offset: 28326}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonOrderedListItem529, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, + &ruleRefExpr{ + pos: position{line: 308, col: 33, offset: 12001}, + name: "EOL", }, }, }, }, }, { - name: "OrderedListItemContent", - pos: position{line: 348, col: 1, offset: 13891}, - expr: &actionExpr{ - pos: position{line: 348, col: 27, offset: 13917}, - run: (*parser).callonOrderedListItemContent1, - expr: &labeledExpr{ - pos: position{line: 348, col: 27, offset: 13917}, - label: "elements", - expr: &seqExpr{ - pos: position{line: 348, col: 37, offset: 13927}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 348, col: 37, offset: 13927}, - expr: &ruleRefExpr{ - pos: position{line: 348, col: 37, offset: 13927}, - name: "ListParagraph", - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 348, col: 52, offset: 13942}, - expr: &ruleRefExpr{ - pos: position{line: 348, col: 52, offset: 13942}, - name: "ContinuedDocumentBlock", - }, + name: "ContinuedDocumentBlock", + pos: position{line: 312, col: 1, offset: 12053}, + expr: &actionExpr{ + pos: position{line: 312, col: 27, offset: 12079}, + run: (*parser).callonContinuedDocumentBlock1, + expr: &seqExpr{ + pos: position{line: 312, col: 27, offset: 12079}, + exprs: []interface{}{ + &ruleRefExpr{ + pos: position{line: 312, col: 27, offset: 12079}, + name: "ListItemContinuation", + }, + &labeledExpr{ + pos: position{line: 312, col: 48, offset: 12100}, + label: "element", + expr: &ruleRefExpr{ + pos: position{line: 312, col: 56, offset: 12108}, + name: "DocumentBlock", }, }, }, @@ -21692,467 +3175,585 @@ var g = &grammar{ }, }, { - name: "UnorderedListItem", - pos: position{line: 355, col: 1, offset: 14269}, + name: "OrderedListItem", + pos: position{line: 319, col: 1, offset: 12265}, expr: &actionExpr{ - pos: position{line: 355, col: 22, offset: 14290}, - run: (*parser).callonUnorderedListItem1, + pos: position{line: 319, col: 20, offset: 12284}, + run: (*parser).callonOrderedListItem1, expr: &seqExpr{ - pos: position{line: 355, col: 22, offset: 14290}, + pos: position{line: 319, col: 20, offset: 12284}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 355, col: 22, offset: 14290}, + pos: position{line: 319, col: 20, offset: 12284}, + label: "attributes", + expr: &zeroOrMoreExpr{ + pos: position{line: 319, col: 31, offset: 12295}, + expr: &ruleRefExpr{ + pos: position{line: 319, col: 32, offset: 12296}, + name: "ElementAttribute", + }, + }, + }, + &labeledExpr{ + pos: position{line: 319, col: 51, offset: 12315}, label: "prefix", - expr: &choiceExpr{ - pos: position{line: 359, col: 28, offset: 14504}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 359, col: 28, offset: 14504}, - run: (*parser).callonUnorderedListItem5, - expr: &seqExpr{ - pos: position{line: 359, col: 28, offset: 14504}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 359, col: 28, offset: 14504}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", + expr: &ruleRefExpr{ + pos: position{line: 319, col: 59, offset: 12323}, + name: "OrderedListItemPrefix", + }, + }, + &labeledExpr{ + pos: position{line: 319, col: 82, offset: 12346}, + label: "content", + expr: &ruleRefExpr{ + pos: position{line: 319, col: 91, offset: 12355}, + name: "OrderedListItemContent", + }, + }, + &zeroOrOneExpr{ + pos: position{line: 319, col: 115, offset: 12379}, + expr: &ruleRefExpr{ + pos: position{line: 319, col: 115, offset: 12379}, + name: "BlankLine", + }, + }, + }, + }, + }, + }, + { + name: "OrderedListItemPrefix", + pos: position{line: 323, col: 1, offset: 12522}, + expr: &choiceExpr{ + pos: position{line: 325, col: 1, offset: 12586}, + alternatives: []interface{}{ + &actionExpr{ + pos: position{line: 325, col: 1, offset: 12586}, + run: (*parser).callonOrderedListItemPrefix2, + expr: &seqExpr{ + pos: position{line: 325, col: 1, offset: 12586}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 325, col: 1, offset: 12586}, + expr: &ruleRefExpr{ + pos: position{line: 325, col: 1, offset: 12586}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 325, col: 5, offset: 12590}, + label: "style", + expr: &litMatcher{ + pos: position{line: 325, col: 12, offset: 12597}, + val: ".", + ignoreCase: false, + }, + }, + &oneOrMoreExpr{ + pos: position{line: 325, col: 17, offset: 12602}, + expr: &ruleRefExpr{ + pos: position{line: 325, col: 17, offset: 12602}, + name: "WS", + }, + }, + }, + }, + }, + &actionExpr{ + pos: position{line: 327, col: 5, offset: 12695}, + run: (*parser).callonOrderedListItemPrefix10, + expr: &seqExpr{ + pos: position{line: 327, col: 5, offset: 12695}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 327, col: 5, offset: 12695}, + expr: &ruleRefExpr{ + pos: position{line: 327, col: 5, offset: 12695}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 327, col: 9, offset: 12699}, + label: "style", + expr: &litMatcher{ + pos: position{line: 327, col: 16, offset: 12706}, + val: "..", + ignoreCase: false, + }, + }, + &oneOrMoreExpr{ + pos: position{line: 327, col: 22, offset: 12712}, + expr: &ruleRefExpr{ + pos: position{line: 327, col: 22, offset: 12712}, + name: "WS", + }, + }, + }, + }, + }, + &actionExpr{ + pos: position{line: 329, col: 5, offset: 12810}, + run: (*parser).callonOrderedListItemPrefix18, + expr: &seqExpr{ + pos: position{line: 329, col: 5, offset: 12810}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 329, col: 5, offset: 12810}, + expr: &ruleRefExpr{ + pos: position{line: 329, col: 5, offset: 12810}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 329, col: 9, offset: 12814}, + label: "style", + expr: &litMatcher{ + pos: position{line: 329, col: 16, offset: 12821}, + val: "...", + ignoreCase: false, + }, + }, + &oneOrMoreExpr{ + pos: position{line: 329, col: 23, offset: 12828}, + expr: &ruleRefExpr{ + pos: position{line: 329, col: 23, offset: 12828}, + name: "WS", + }, + }, + }, + }, + }, + &actionExpr{ + pos: position{line: 331, col: 5, offset: 12927}, + run: (*parser).callonOrderedListItemPrefix26, + expr: &seqExpr{ + pos: position{line: 331, col: 5, offset: 12927}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 331, col: 5, offset: 12927}, + expr: &ruleRefExpr{ + pos: position{line: 331, col: 5, offset: 12927}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 331, col: 9, offset: 12931}, + label: "style", + expr: &litMatcher{ + pos: position{line: 331, col: 16, offset: 12938}, + val: "....", + ignoreCase: false, + }, + }, + &oneOrMoreExpr{ + pos: position{line: 331, col: 24, offset: 12946}, + expr: &ruleRefExpr{ + pos: position{line: 331, col: 24, offset: 12946}, + name: "WS", + }, + }, + }, + }, + }, + &actionExpr{ + pos: position{line: 333, col: 5, offset: 13046}, + run: (*parser).callonOrderedListItemPrefix34, + expr: &seqExpr{ + pos: position{line: 333, col: 5, offset: 13046}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 333, col: 5, offset: 13046}, + expr: &ruleRefExpr{ + pos: position{line: 333, col: 5, offset: 13046}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 333, col: 9, offset: 13050}, + label: "style", + expr: &litMatcher{ + pos: position{line: 333, col: 16, offset: 13057}, + val: ".....", + ignoreCase: false, + }, + }, + &oneOrMoreExpr{ + pos: position{line: 333, col: 25, offset: 13066}, + expr: &ruleRefExpr{ + pos: position{line: 333, col: 25, offset: 13066}, + name: "WS", + }, + }, + }, + }, + }, + &actionExpr{ + pos: position{line: 336, col: 5, offset: 13189}, + run: (*parser).callonOrderedListItemPrefix42, + expr: &seqExpr{ + pos: position{line: 336, col: 5, offset: 13189}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 336, col: 5, offset: 13189}, + expr: &ruleRefExpr{ + pos: position{line: 336, col: 5, offset: 13189}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 336, col: 9, offset: 13193}, + label: "style", + expr: &seqExpr{ + pos: position{line: 336, col: 16, offset: 13200}, + exprs: []interface{}{ + &oneOrMoreExpr{ + pos: position{line: 336, col: 16, offset: 13200}, + expr: &seqExpr{ + pos: position{line: 336, col: 17, offset: 13201}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 336, col: 17, offset: 13201}, + expr: &litMatcher{ + pos: position{line: 336, col: 18, offset: 13202}, + val: ".", ignoreCase: false, }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonUnorderedListItem10, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, }, - }, - }, - &labeledExpr{ - pos: position{line: 359, col: 32, offset: 14508}, - label: "level", - expr: &litMatcher{ - pos: position{line: 359, col: 39, offset: 14515}, - val: "*****", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 359, col: 48, offset: 14524}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, + ¬Expr{ + pos: position{line: 336, col: 22, offset: 13206}, + expr: &ruleRefExpr{ + pos: position{line: 336, col: 23, offset: 13207}, + name: "WS", }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonUnorderedListItem17, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, + }, + ¬Expr{ + pos: position{line: 336, col: 26, offset: 13210}, + expr: &ruleRefExpr{ + pos: position{line: 336, col: 27, offset: 13211}, + name: "NEWLINE", }, }, + &charClassMatcher{ + pos: position{line: 336, col: 35, offset: 13219}, + val: "[0-9]", + ranges: []rune{'0', '9'}, + ignoreCase: false, + inverted: false, + }, }, }, }, + &litMatcher{ + pos: position{line: 336, col: 43, offset: 13227}, + val: ".", + ignoreCase: false, + }, }, }, - &actionExpr{ - pos: position{line: 361, col: 5, offset: 14663}, - run: (*parser).callonUnorderedListItem19, - expr: &seqExpr{ - pos: position{line: 361, col: 5, offset: 14663}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 361, col: 5, offset: 14663}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", + }, + &oneOrMoreExpr{ + pos: position{line: 336, col: 48, offset: 13232}, + expr: &ruleRefExpr{ + pos: position{line: 336, col: 48, offset: 13232}, + name: "WS", + }, + }, + }, + }, + }, + &actionExpr{ + pos: position{line: 338, col: 5, offset: 13327}, + run: (*parser).callonOrderedListItemPrefix60, + expr: &seqExpr{ + pos: position{line: 338, col: 5, offset: 13327}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 338, col: 5, offset: 13327}, + expr: &ruleRefExpr{ + pos: position{line: 338, col: 5, offset: 13327}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 338, col: 9, offset: 13331}, + label: "style", + expr: &seqExpr{ + pos: position{line: 338, col: 16, offset: 13338}, + exprs: []interface{}{ + &oneOrMoreExpr{ + pos: position{line: 338, col: 16, offset: 13338}, + expr: &seqExpr{ + pos: position{line: 338, col: 17, offset: 13339}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 338, col: 17, offset: 13339}, + expr: &litMatcher{ + pos: position{line: 338, col: 18, offset: 13340}, + val: ".", ignoreCase: false, }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonUnorderedListItem24, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, }, - }, - }, - &labeledExpr{ - pos: position{line: 361, col: 9, offset: 14667}, - label: "level", - expr: &litMatcher{ - pos: position{line: 361, col: 16, offset: 14674}, - val: "****", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 361, col: 24, offset: 14682}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, + ¬Expr{ + pos: position{line: 338, col: 22, offset: 13344}, + expr: &ruleRefExpr{ + pos: position{line: 338, col: 23, offset: 13345}, + name: "WS", }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonUnorderedListItem31, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, + }, + ¬Expr{ + pos: position{line: 338, col: 26, offset: 13348}, + expr: &ruleRefExpr{ + pos: position{line: 338, col: 27, offset: 13349}, + name: "NEWLINE", }, }, + &charClassMatcher{ + pos: position{line: 338, col: 35, offset: 13357}, + val: "[a-z]", + ranges: []rune{'a', 'z'}, + ignoreCase: false, + inverted: false, + }, }, }, }, + &litMatcher{ + pos: position{line: 338, col: 43, offset: 13365}, + val: ".", + ignoreCase: false, + }, }, }, - &actionExpr{ - pos: position{line: 363, col: 5, offset: 14821}, - run: (*parser).callonUnorderedListItem33, - expr: &seqExpr{ - pos: position{line: 363, col: 5, offset: 14821}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 363, col: 5, offset: 14821}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", + }, + &oneOrMoreExpr{ + pos: position{line: 338, col: 48, offset: 13370}, + expr: &ruleRefExpr{ + pos: position{line: 338, col: 48, offset: 13370}, + name: "WS", + }, + }, + }, + }, + }, + &actionExpr{ + pos: position{line: 340, col: 5, offset: 13468}, + run: (*parser).callonOrderedListItemPrefix78, + expr: &seqExpr{ + pos: position{line: 340, col: 5, offset: 13468}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 340, col: 5, offset: 13468}, + expr: &ruleRefExpr{ + pos: position{line: 340, col: 5, offset: 13468}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 340, col: 9, offset: 13472}, + label: "style", + expr: &seqExpr{ + pos: position{line: 340, col: 16, offset: 13479}, + exprs: []interface{}{ + &oneOrMoreExpr{ + pos: position{line: 340, col: 16, offset: 13479}, + expr: &seqExpr{ + pos: position{line: 340, col: 17, offset: 13480}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 340, col: 17, offset: 13480}, + expr: &litMatcher{ + pos: position{line: 340, col: 18, offset: 13481}, + val: ".", ignoreCase: false, }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonUnorderedListItem38, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, }, - }, - }, - &labeledExpr{ - pos: position{line: 363, col: 9, offset: 14825}, - label: "level", - expr: &litMatcher{ - pos: position{line: 363, col: 16, offset: 14832}, - val: "***", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 363, col: 23, offset: 14839}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonUnorderedListItem45, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, + ¬Expr{ + pos: position{line: 340, col: 22, offset: 13485}, + expr: &ruleRefExpr{ + pos: position{line: 340, col: 23, offset: 13486}, + name: "WS", }, }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 365, col: 5, offset: 14979}, - run: (*parser).callonUnorderedListItem47, - expr: &seqExpr{ - pos: position{line: 365, col: 5, offset: 14979}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 365, col: 5, offset: 14979}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonUnorderedListItem52, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, + ¬Expr{ + pos: position{line: 340, col: 26, offset: 13489}, + expr: &ruleRefExpr{ + pos: position{line: 340, col: 27, offset: 13490}, + name: "NEWLINE", }, }, - }, - }, - &labeledExpr{ - pos: position{line: 365, col: 9, offset: 14983}, - label: "level", - expr: &litMatcher{ - pos: position{line: 365, col: 16, offset: 14990}, - val: "**", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 365, col: 22, offset: 14996}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonUnorderedListItem59, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, + &charClassMatcher{ + pos: position{line: 340, col: 35, offset: 13498}, + val: "[A-Z]", + ranges: []rune{'A', 'Z'}, + ignoreCase: false, + inverted: false, }, }, }, }, + &litMatcher{ + pos: position{line: 340, col: 43, offset: 13506}, + val: ".", + ignoreCase: false, + }, }, }, - &actionExpr{ - pos: position{line: 367, col: 5, offset: 15134}, - run: (*parser).callonUnorderedListItem61, - expr: &seqExpr{ - pos: position{line: 367, col: 5, offset: 15134}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 367, col: 5, offset: 15134}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", + }, + &oneOrMoreExpr{ + pos: position{line: 340, col: 48, offset: 13511}, + expr: &ruleRefExpr{ + pos: position{line: 340, col: 48, offset: 13511}, + name: "WS", + }, + }, + }, + }, + }, + &actionExpr{ + pos: position{line: 342, col: 5, offset: 13609}, + run: (*parser).callonOrderedListItemPrefix96, + expr: &seqExpr{ + pos: position{line: 342, col: 5, offset: 13609}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 342, col: 5, offset: 13609}, + expr: &ruleRefExpr{ + pos: position{line: 342, col: 5, offset: 13609}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 342, col: 9, offset: 13613}, + label: "style", + expr: &seqExpr{ + pos: position{line: 342, col: 16, offset: 13620}, + exprs: []interface{}{ + &oneOrMoreExpr{ + pos: position{line: 342, col: 16, offset: 13620}, + expr: &seqExpr{ + pos: position{line: 342, col: 17, offset: 13621}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 342, col: 17, offset: 13621}, + expr: &litMatcher{ + pos: position{line: 342, col: 18, offset: 13622}, + val: ")", ignoreCase: false, }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonUnorderedListItem66, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, }, - }, - }, - &labeledExpr{ - pos: position{line: 367, col: 9, offset: 15138}, - label: "level", - expr: &litMatcher{ - pos: position{line: 367, col: 16, offset: 15145}, - val: "*", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 367, col: 21, offset: 15150}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, + ¬Expr{ + pos: position{line: 342, col: 22, offset: 13626}, + expr: &ruleRefExpr{ + pos: position{line: 342, col: 23, offset: 13627}, + name: "WS", }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonUnorderedListItem73, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, + }, + ¬Expr{ + pos: position{line: 342, col: 26, offset: 13630}, + expr: &ruleRefExpr{ + pos: position{line: 342, col: 27, offset: 13631}, + name: "NEWLINE", }, }, + &charClassMatcher{ + pos: position{line: 342, col: 35, offset: 13639}, + val: "[a-z]", + ranges: []rune{'a', 'z'}, + ignoreCase: false, + inverted: false, + }, }, }, }, + &litMatcher{ + pos: position{line: 342, col: 43, offset: 13647}, + val: ")", + ignoreCase: false, + }, }, }, - &actionExpr{ - pos: position{line: 369, col: 5, offset: 15287}, - run: (*parser).callonUnorderedListItem75, - expr: &seqExpr{ - pos: position{line: 369, col: 5, offset: 15287}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 369, col: 5, offset: 15287}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", + }, + &oneOrMoreExpr{ + pos: position{line: 342, col: 48, offset: 13652}, + expr: &ruleRefExpr{ + pos: position{line: 342, col: 48, offset: 13652}, + name: "WS", + }, + }, + }, + }, + }, + &actionExpr{ + pos: position{line: 344, col: 5, offset: 13750}, + run: (*parser).callonOrderedListItemPrefix114, + expr: &seqExpr{ + pos: position{line: 344, col: 5, offset: 13750}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 344, col: 5, offset: 13750}, + expr: &ruleRefExpr{ + pos: position{line: 344, col: 5, offset: 13750}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 344, col: 9, offset: 13754}, + label: "style", + expr: &seqExpr{ + pos: position{line: 344, col: 16, offset: 13761}, + exprs: []interface{}{ + &oneOrMoreExpr{ + pos: position{line: 344, col: 16, offset: 13761}, + expr: &seqExpr{ + pos: position{line: 344, col: 17, offset: 13762}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 344, col: 17, offset: 13762}, + expr: &litMatcher{ + pos: position{line: 344, col: 18, offset: 13763}, + val: ")", ignoreCase: false, }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonUnorderedListItem80, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, }, - }, - }, - &labeledExpr{ - pos: position{line: 369, col: 9, offset: 15291}, - label: "level", - expr: &litMatcher{ - pos: position{line: 369, col: 16, offset: 15298}, - val: "-", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 369, col: 21, offset: 15303}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, + ¬Expr{ + pos: position{line: 344, col: 22, offset: 13767}, + expr: &ruleRefExpr{ + pos: position{line: 344, col: 23, offset: 13768}, + name: "WS", }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonUnorderedListItem87, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, + }, + ¬Expr{ + pos: position{line: 344, col: 26, offset: 13771}, + expr: &ruleRefExpr{ + pos: position{line: 344, col: 27, offset: 13772}, + name: "NEWLINE", }, }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 355, col: 55, offset: 14323}, - label: "content", - expr: &ruleRefExpr{ - pos: position{line: 355, col: 64, offset: 14332}, - name: "UnorderedListItemContent", - }, - }, - &zeroOrOneExpr{ - pos: position{line: 355, col: 90, offset: 14358}, - expr: &actionExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - run: (*parser).callonUnorderedListItem92, - expr: &seqExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 644, col: 14, offset: 28321}, - expr: ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 644, col: 19, offset: 28326}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonUnorderedListItem100, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", + &charClassMatcher{ + pos: position{line: 344, col: 35, offset: 13780}, + val: "[A-Z]", + ranges: []rune{'A', 'Z'}, ignoreCase: false, + inverted: false, }, }, }, }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, + &litMatcher{ + pos: position{line: 344, col: 43, offset: 13788}, + val: ")", + ignoreCase: false, }, }, }, }, + &oneOrMoreExpr{ + pos: position{line: 344, col: 48, offset: 13793}, + expr: &ruleRefExpr{ + pos: position{line: 344, col: 48, offset: 13793}, + name: "WS", + }, + }, }, }, }, @@ -22160,28 +3761,28 @@ var g = &grammar{ }, }, { - name: "UnorderedListItemContent", - pos: position{line: 373, col: 1, offset: 15433}, + name: "OrderedListItemContent", + pos: position{line: 348, col: 1, offset: 13891}, expr: &actionExpr{ - pos: position{line: 373, col: 29, offset: 15461}, - run: (*parser).callonUnorderedListItemContent1, + pos: position{line: 348, col: 27, offset: 13917}, + run: (*parser).callonOrderedListItemContent1, expr: &labeledExpr{ - pos: position{line: 373, col: 29, offset: 15461}, + pos: position{line: 348, col: 27, offset: 13917}, label: "elements", expr: &seqExpr{ - pos: position{line: 373, col: 39, offset: 15471}, + pos: position{line: 348, col: 37, offset: 13927}, exprs: []interface{}{ &oneOrMoreExpr{ - pos: position{line: 373, col: 39, offset: 15471}, + pos: position{line: 348, col: 37, offset: 13927}, expr: &ruleRefExpr{ - pos: position{line: 373, col: 39, offset: 15471}, + pos: position{line: 348, col: 37, offset: 13927}, name: "ListParagraph", }, }, &zeroOrMoreExpr{ - pos: position{line: 373, col: 54, offset: 15486}, + pos: position{line: 348, col: 52, offset: 13942}, expr: &ruleRefExpr{ - pos: position{line: 373, col: 54, offset: 15486}, + pos: position{line: 348, col: 52, offset: 13942}, name: "ContinuedDocumentBlock", }, }, @@ -22191,107 +3792,297 @@ var g = &grammar{ }, }, { - name: "LabeledListItem", - pos: position{line: 380, col: 1, offset: 15811}, + name: "UnorderedListItem", + pos: position{line: 355, col: 1, offset: 14269}, + expr: &actionExpr{ + pos: position{line: 355, col: 22, offset: 14290}, + run: (*parser).callonUnorderedListItem1, + expr: &seqExpr{ + pos: position{line: 355, col: 22, offset: 14290}, + exprs: []interface{}{ + &labeledExpr{ + pos: position{line: 355, col: 22, offset: 14290}, + label: "prefix", + expr: &ruleRefExpr{ + pos: position{line: 355, col: 30, offset: 14298}, + name: "UnorderedListItemPrefix", + }, + }, + &labeledExpr{ + pos: position{line: 355, col: 55, offset: 14323}, + label: "content", + expr: &ruleRefExpr{ + pos: position{line: 355, col: 64, offset: 14332}, + name: "UnorderedListItemContent", + }, + }, + &zeroOrOneExpr{ + pos: position{line: 355, col: 90, offset: 14358}, + expr: &ruleRefExpr{ + pos: position{line: 355, col: 90, offset: 14358}, + name: "BlankLine", + }, + }, + }, + }, + }, + }, + { + name: "UnorderedListItemPrefix", + pos: position{line: 359, col: 1, offset: 14477}, expr: &choiceExpr{ - pos: position{line: 380, col: 20, offset: 15830}, + pos: position{line: 359, col: 28, offset: 14504}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 380, col: 20, offset: 15830}, - run: (*parser).callonLabeledListItem2, + pos: position{line: 359, col: 28, offset: 14504}, + run: (*parser).callonUnorderedListItemPrefix2, expr: &seqExpr{ - pos: position{line: 380, col: 20, offset: 15830}, + pos: position{line: 359, col: 28, offset: 14504}, exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 359, col: 28, offset: 14504}, + expr: &ruleRefExpr{ + pos: position{line: 359, col: 28, offset: 14504}, + name: "WS", + }, + }, &labeledExpr{ - pos: position{line: 380, col: 20, offset: 15830}, - label: "term", - expr: &actionExpr{ - pos: position{line: 386, col: 24, offset: 16213}, - run: (*parser).callonLabeledListItem5, - expr: &labeledExpr{ - pos: position{line: 386, col: 24, offset: 16213}, - label: "term", - expr: &zeroOrMoreExpr{ - pos: position{line: 386, col: 29, offset: 16218}, - expr: &seqExpr{ - pos: position{line: 386, col: 30, offset: 16219}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 386, col: 30, offset: 16219}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 386, col: 39, offset: 16228}, - expr: &litMatcher{ - pos: position{line: 386, col: 40, offset: 16229}, - val: "::", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 386, col: 45, offset: 16234, - }, - }, - }, - }, - }, + pos: position{line: 359, col: 32, offset: 14508}, + label: "level", + expr: &litMatcher{ + pos: position{line: 359, col: 39, offset: 14515}, + val: "*****", + ignoreCase: false, }, }, - &litMatcher{ - pos: position{line: 391, col: 30, offset: 16354}, - val: "::", - ignoreCase: false, + &oneOrMoreExpr{ + pos: position{line: 359, col: 48, offset: 14524}, + expr: &ruleRefExpr{ + pos: position{line: 359, col: 48, offset: 14524}, + name: "WS", + }, + }, + }, + }, + }, + &actionExpr{ + pos: position{line: 361, col: 5, offset: 14663}, + run: (*parser).callonUnorderedListItemPrefix10, + expr: &seqExpr{ + pos: position{line: 361, col: 5, offset: 14663}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 361, col: 5, offset: 14663}, + expr: &ruleRefExpr{ + pos: position{line: 361, col: 5, offset: 14663}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 361, col: 9, offset: 14667}, + label: "level", + expr: &litMatcher{ + pos: position{line: 361, col: 16, offset: 14674}, + val: "****", + ignoreCase: false, + }, }, &oneOrMoreExpr{ - pos: position{line: 391, col: 35, offset: 16359}, - expr: &choiceExpr{ - pos: position{line: 391, col: 36, offset: 16360}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonLabeledListItem20, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, + pos: position{line: 361, col: 24, offset: 14682}, + expr: &ruleRefExpr{ + pos: position{line: 361, col: 24, offset: 14682}, + name: "WS", + }, + }, + }, + }, + }, + &actionExpr{ + pos: position{line: 363, col: 5, offset: 14821}, + run: (*parser).callonUnorderedListItemPrefix18, + expr: &seqExpr{ + pos: position{line: 363, col: 5, offset: 14821}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 363, col: 5, offset: 14821}, + expr: &ruleRefExpr{ + pos: position{line: 363, col: 5, offset: 14821}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 363, col: 9, offset: 14825}, + label: "level", + expr: &litMatcher{ + pos: position{line: 363, col: 16, offset: 14832}, + val: "***", + ignoreCase: false, + }, + }, + &oneOrMoreExpr{ + pos: position{line: 363, col: 23, offset: 14839}, + expr: &ruleRefExpr{ + pos: position{line: 363, col: 23, offset: 14839}, + name: "WS", + }, + }, + }, + }, + }, + &actionExpr{ + pos: position{line: 365, col: 5, offset: 14979}, + run: (*parser).callonUnorderedListItemPrefix26, + expr: &seqExpr{ + pos: position{line: 365, col: 5, offset: 14979}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 365, col: 5, offset: 14979}, + expr: &ruleRefExpr{ + pos: position{line: 365, col: 5, offset: 14979}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 365, col: 9, offset: 14983}, + label: "level", + expr: &litMatcher{ + pos: position{line: 365, col: 16, offset: 14990}, + val: "**", + ignoreCase: false, + }, + }, + &oneOrMoreExpr{ + pos: position{line: 365, col: 22, offset: 14996}, + expr: &ruleRefExpr{ + pos: position{line: 365, col: 22, offset: 14996}, + name: "WS", + }, + }, + }, + }, + }, + &actionExpr{ + pos: position{line: 367, col: 5, offset: 15134}, + run: (*parser).callonUnorderedListItemPrefix34, + expr: &seqExpr{ + pos: position{line: 367, col: 5, offset: 15134}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 367, col: 5, offset: 15134}, + expr: &ruleRefExpr{ + pos: position{line: 367, col: 5, offset: 15134}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 367, col: 9, offset: 15138}, + label: "level", + expr: &litMatcher{ + pos: position{line: 367, col: 16, offset: 15145}, + val: "*", + ignoreCase: false, + }, + }, + &oneOrMoreExpr{ + pos: position{line: 367, col: 21, offset: 15150}, + expr: &ruleRefExpr{ + pos: position{line: 367, col: 21, offset: 15150}, + name: "WS", + }, + }, + }, + }, + }, + &actionExpr{ + pos: position{line: 369, col: 5, offset: 15287}, + run: (*parser).callonUnorderedListItemPrefix42, + expr: &seqExpr{ + pos: position{line: 369, col: 5, offset: 15287}, + exprs: []interface{}{ + &zeroOrMoreExpr{ + pos: position{line: 369, col: 5, offset: 15287}, + expr: &ruleRefExpr{ + pos: position{line: 369, col: 5, offset: 15287}, + name: "WS", + }, + }, + &labeledExpr{ + pos: position{line: 369, col: 9, offset: 15291}, + label: "level", + expr: &litMatcher{ + pos: position{line: 369, col: 16, offset: 15298}, + val: "-", + ignoreCase: false, + }, + }, + &oneOrMoreExpr{ + pos: position{line: 369, col: 21, offset: 15303}, + expr: &ruleRefExpr{ + pos: position{line: 369, col: 21, offset: 15303}, + name: "WS", + }, + }, + }, + }, + }, + }, + }, + }, + { + name: "UnorderedListItemContent", + pos: position{line: 373, col: 1, offset: 15433}, + expr: &actionExpr{ + pos: position{line: 373, col: 29, offset: 15461}, + run: (*parser).callonUnorderedListItemContent1, + expr: &labeledExpr{ + pos: position{line: 373, col: 29, offset: 15461}, + label: "elements", + expr: &seqExpr{ + pos: position{line: 373, col: 39, offset: 15471}, + exprs: []interface{}{ + &oneOrMoreExpr{ + pos: position{line: 373, col: 39, offset: 15471}, + expr: &ruleRefExpr{ + pos: position{line: 373, col: 39, offset: 15471}, + name: "ListParagraph", + }, + }, + &zeroOrMoreExpr{ + pos: position{line: 373, col: 54, offset: 15486}, + expr: &ruleRefExpr{ + pos: position{line: 373, col: 54, offset: 15486}, + name: "ContinuedDocumentBlock", + }, + }, + }, + }, + }, + }, + }, + { + name: "LabeledListItem", + pos: position{line: 380, col: 1, offset: 15811}, + expr: &choiceExpr{ + pos: position{line: 380, col: 20, offset: 15830}, + alternatives: []interface{}{ + &actionExpr{ + pos: position{line: 380, col: 20, offset: 15830}, + run: (*parser).callonLabeledListItem2, + expr: &seqExpr{ + pos: position{line: 380, col: 20, offset: 15830}, + exprs: []interface{}{ + &labeledExpr{ + pos: position{line: 380, col: 20, offset: 15830}, + label: "term", + expr: &ruleRefExpr{ + pos: position{line: 380, col: 26, offset: 15836}, + name: "LabeledListItemTerm", }, }, + &ruleRefExpr{ + pos: position{line: 380, col: 47, offset: 15857}, + name: "LabeledListItemSeparator", + }, &labeledExpr{ pos: position{line: 380, col: 72, offset: 15882}, label: "description", @@ -22305,59 +4096,16 @@ var g = &grammar{ }, &actionExpr{ pos: position{line: 382, col: 6, offset: 16017}, - run: (*parser).callonLabeledListItem26, + run: (*parser).callonLabeledListItem9, expr: &seqExpr{ pos: position{line: 382, col: 6, offset: 16017}, exprs: []interface{}{ &labeledExpr{ pos: position{line: 382, col: 6, offset: 16017}, label: "term", - expr: &actionExpr{ - pos: position{line: 386, col: 24, offset: 16213}, - run: (*parser).callonLabeledListItem29, - expr: &labeledExpr{ - pos: position{line: 386, col: 24, offset: 16213}, - label: "term", - expr: &zeroOrMoreExpr{ - pos: position{line: 386, col: 29, offset: 16218}, - expr: &seqExpr{ - pos: position{line: 386, col: 30, offset: 16219}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 386, col: 30, offset: 16219}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 386, col: 39, offset: 16228}, - expr: &litMatcher{ - pos: position{line: 386, col: 40, offset: 16229}, - val: "::", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 386, col: 45, offset: 16234, - }, - }, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 382, col: 12, offset: 16023}, + name: "LabeledListItemTerm", }, }, &litMatcher{ @@ -22367,49 +4115,83 @@ var g = &grammar{ }, &zeroOrMoreExpr{ pos: position{line: 382, col: 38, offset: 16049}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonLabeledListItem44, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 382, col: 38, offset: 16049}, + name: "WS", }, }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, + &ruleRefExpr{ + pos: position{line: 382, col: 42, offset: 16053}, + name: "EOL", + }, + }, + }, + }, + }, + }, + }, + { + name: "LabeledListItemTerm", + pos: position{line: 386, col: 1, offset: 16190}, + expr: &actionExpr{ + pos: position{line: 386, col: 24, offset: 16213}, + run: (*parser).callonLabeledListItemTerm1, + expr: &labeledExpr{ + pos: position{line: 386, col: 24, offset: 16213}, + label: "term", + expr: &zeroOrMoreExpr{ + pos: position{line: 386, col: 29, offset: 16218}, + expr: &seqExpr{ + pos: position{line: 386, col: 30, offset: 16219}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 386, col: 30, offset: 16219}, + expr: &ruleRefExpr{ + pos: position{line: 386, col: 31, offset: 16220}, + name: "NEWLINE", + }, + }, + ¬Expr{ + pos: position{line: 386, col: 39, offset: 16228}, + expr: &litMatcher{ + pos: position{line: 386, col: 40, offset: 16229}, + val: "::", + ignoreCase: false, }, }, + &anyMatcher{ + line: 386, col: 45, offset: 16234, + }, + }, + }, + }, + }, + }, + }, + { + name: "LabeledListItemSeparator", + pos: position{line: 391, col: 1, offset: 16325}, + expr: &seqExpr{ + pos: position{line: 391, col: 30, offset: 16354}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 391, col: 30, offset: 16354}, + val: "::", + ignoreCase: false, + }, + &oneOrMoreExpr{ + pos: position{line: 391, col: 35, offset: 16359}, + expr: &choiceExpr{ + pos: position{line: 391, col: 36, offset: 16360}, + alternatives: []interface{}{ + &ruleRefExpr{ + pos: position{line: 391, col: 36, offset: 16360}, + name: "WS", + }, + &ruleRefExpr{ + pos: position{line: 391, col: 41, offset: 16365}, + name: "NEWLINE", + }, }, }, }, @@ -22445,1293 +4227,79 @@ var g = &grammar{ }, }, { - name: "Paragraph", - pos: position{line: 418, col: 1, offset: 17236}, + name: "AdmonitionKind", + pos: position{line: 401, col: 1, offset: 16741}, expr: &choiceExpr{ - pos: position{line: 420, col: 5, offset: 17283}, + pos: position{line: 401, col: 19, offset: 16759}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 420, col: 5, offset: 17283}, - run: (*parser).callonParagraph2, - expr: &seqExpr{ - pos: position{line: 420, col: 5, offset: 17283}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 420, col: 5, offset: 17283}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 420, col: 16, offset: 17294}, - expr: &actionExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - run: (*parser).callonParagraph6, - expr: &seqExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - label: "attr", - expr: &choiceExpr{ - pos: position{line: 138, col: 27, offset: 5589}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - run: (*parser).callonParagraph10, - expr: &labeledExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - label: "id", - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonParagraph12, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonParagraph16, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph26, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - run: (*parser).callonParagraph38, - expr: &seqExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 144, col: 5, offset: 5840}, - val: "[#", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 144, col: 10, offset: 5845}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonParagraph42, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph52, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 144, col: 18, offset: 5853}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - run: (*parser).callonParagraph64, - expr: &seqExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 154, col: 17, offset: 6148}, - val: ".", - ignoreCase: false, - }, - ¬Expr{ - pos: position{line: 154, col: 21, offset: 6152}, - expr: &litMatcher{ - pos: position{line: 154, col: 22, offset: 6153}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 154, col: 26, offset: 6157}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph72, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 154, col: 30, offset: 6161}, - label: "title", - expr: &oneOrMoreExpr{ - pos: position{line: 154, col: 36, offset: 6167}, - expr: &seqExpr{ - pos: position{line: 154, col: 37, offset: 6168}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 154, col: 37, offset: 6168}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 154, col: 46, offset: 6177, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - run: (*parser).callonParagraph82, - expr: &seqExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 159, col: 30, offset: 6351}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 159, col: 34, offset: 6355}, - label: "k", - expr: &choiceExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - run: (*parser).callonParagraph87, - expr: &litMatcher{ - pos: position{line: 401, col: 19, offset: 16759}, - val: "TIP", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 403, col: 5, offset: 16797}, - run: (*parser).callonParagraph89, - expr: &litMatcher{ - pos: position{line: 403, col: 5, offset: 16797}, - val: "NOTE", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 405, col: 5, offset: 16837}, - run: (*parser).callonParagraph91, - expr: &litMatcher{ - pos: position{line: 405, col: 5, offset: 16837}, - val: "IMPORTANT", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 407, col: 5, offset: 16887}, - run: (*parser).callonParagraph93, - expr: &litMatcher{ - pos: position{line: 407, col: 5, offset: 16887}, - val: "WARNING", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 409, col: 5, offset: 16933}, - run: (*parser).callonParagraph95, - expr: &litMatcher{ - pos: position{line: 409, col: 5, offset: 16933}, - val: "CAUTION", - ignoreCase: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 159, col: 53, offset: 6374}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - run: (*parser).callonParagraph98, - expr: &seqExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 164, col: 19, offset: 6487}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 164, col: 23, offset: 6491}, - label: "attribute", - expr: &choiceExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - run: (*parser).callonParagraph103, - expr: &seqExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonParagraph106, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph114, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph126, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 168, col: 40, offset: 6705}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 168, col: 44, offset: 6709}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonParagraph130, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph135, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph143, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph153, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - run: (*parser).callonParagraph155, - expr: &labeledExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonParagraph157, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph165, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph177, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 164, col: 52, offset: 6520}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 164, col: 63, offset: 6531}, - expr: &choiceExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - run: (*parser).callonParagraph182, - expr: &seqExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 174, col: 26, offset: 6967}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 174, col: 30, offset: 6971}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph188, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 174, col: 34, offset: 6975}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonParagraph191, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph199, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph211, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 174, col: 53, offset: 6994}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 174, col: 57, offset: 6998}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonParagraph215, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph220, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph228, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph238, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - run: (*parser).callonParagraph240, - expr: &seqExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 176, col: 5, offset: 7124}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 176, col: 9, offset: 7128}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph246, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 176, col: 13, offset: 7132}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonParagraph249, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph257, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph269, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 164, col: 89, offset: 6557}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - run: (*parser).callonParagraph272, - expr: &seqExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 192, col: 28, offset: 7529}, - val: "[", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 192, col: 32, offset: 7533}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph278, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 192, col: 36, offset: 7537}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 192, col: 44, offset: 7545}, - expr: &seqExpr{ - pos: position{line: 192, col: 45, offset: 7546}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 192, col: 45, offset: 7546}, - expr: &litMatcher{ - pos: position{line: 192, col: 46, offset: 7547}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 192, col: 50, offset: 7551, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 192, col: 54, offset: 7555}, - val: "]", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 192, col: 58, offset: 7559}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph290, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 138, col: 124, offset: 5686}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph295, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, + pos: position{line: 401, col: 19, offset: 16759}, + run: (*parser).callonAdmonitionKind2, + expr: &litMatcher{ + pos: position{line: 401, col: 19, offset: 16759}, + val: "TIP", + ignoreCase: false, + }, + }, + &actionExpr{ + pos: position{line: 403, col: 5, offset: 16797}, + run: (*parser).callonAdmonitionKind4, + expr: &litMatcher{ + pos: position{line: 403, col: 5, offset: 16797}, + val: "NOTE", + ignoreCase: false, + }, + }, + &actionExpr{ + pos: position{line: 405, col: 5, offset: 16837}, + run: (*parser).callonAdmonitionKind6, + expr: &litMatcher{ + pos: position{line: 405, col: 5, offset: 16837}, + val: "IMPORTANT", + ignoreCase: false, + }, + }, + &actionExpr{ + pos: position{line: 407, col: 5, offset: 16887}, + run: (*parser).callonAdmonitionKind8, + expr: &litMatcher{ + pos: position{line: 407, col: 5, offset: 16887}, + val: "WARNING", + ignoreCase: false, + }, + }, + &actionExpr{ + pos: position{line: 409, col: 5, offset: 16933}, + run: (*parser).callonAdmonitionKind10, + expr: &litMatcher{ + pos: position{line: 409, col: 5, offset: 16933}, + val: "CAUTION", + ignoreCase: false, + }, + }, + }, + }, + }, + { + name: "Paragraph", + pos: position{line: 418, col: 1, offset: 17236}, + expr: &choiceExpr{ + pos: position{line: 420, col: 5, offset: 17283}, + alternatives: []interface{}{ + &actionExpr{ + pos: position{line: 420, col: 5, offset: 17283}, + run: (*parser).callonParagraph2, + expr: &seqExpr{ + pos: position{line: 420, col: 5, offset: 17283}, + exprs: []interface{}{ + &labeledExpr{ + pos: position{line: 420, col: 5, offset: 17283}, + label: "attributes", + expr: &zeroOrMoreExpr{ + pos: position{line: 420, col: 16, offset: 17294}, + expr: &ruleRefExpr{ + pos: position{line: 420, col: 17, offset: 17295}, + name: "ElementAttribute", }, }, }, @@ -23750,44 +4318,16 @@ var g = &grammar{ }, &oneOrMoreExpr{ pos: position{line: 420, col: 43, offset: 17321}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph309, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 420, col: 43, offset: 17321}, + name: "WS", }, }, ¬Expr{ pos: position{line: 420, col: 47, offset: 17325}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 420, col: 48, offset: 17326}, + name: "NEWLINE", }, }, }, @@ -23796,55 +4336,9 @@ var g = &grammar{ &labeledExpr{ pos: position{line: 420, col: 57, offset: 17335}, label: "t", - expr: &choiceExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - run: (*parser).callonParagraph317, - expr: &litMatcher{ - pos: position{line: 401, col: 19, offset: 16759}, - val: "TIP", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 403, col: 5, offset: 16797}, - run: (*parser).callonParagraph319, - expr: &litMatcher{ - pos: position{line: 403, col: 5, offset: 16797}, - val: "NOTE", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 405, col: 5, offset: 16837}, - run: (*parser).callonParagraph321, - expr: &litMatcher{ - pos: position{line: 405, col: 5, offset: 16837}, - val: "IMPORTANT", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 407, col: 5, offset: 16887}, - run: (*parser).callonParagraph323, - expr: &litMatcher{ - pos: position{line: 407, col: 5, offset: 16887}, - val: "WARNING", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 409, col: 5, offset: 16933}, - run: (*parser).callonParagraph325, - expr: &litMatcher{ - pos: position{line: 409, col: 5, offset: 16933}, - val: "CAUTION", - ignoreCase: false, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 420, col: 60, offset: 17338}, + name: "AdmonitionKind", }, }, &litMatcher{ @@ -23864,28 +4358,9 @@ var g = &grammar{ pos: position{line: 420, col: 88, offset: 17366}, name: "InlineElements", }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, + &ruleRefExpr{ + pos: position{line: 420, col: 103, offset: 17381}, + name: "EOL", }, }, }, @@ -23896,7 +4371,7 @@ var g = &grammar{ }, &actionExpr{ pos: position{line: 424, col: 5, offset: 17547}, - run: (*parser).callonParagraph337, + run: (*parser).callonParagraph23, expr: &seqExpr{ pos: position{line: 424, col: 5, offset: 17547}, exprs: []interface{}{ @@ -23905,1277 +4380,9 @@ var g = &grammar{ label: "attributes", expr: &zeroOrMoreExpr{ pos: position{line: 424, col: 16, offset: 17558}, - expr: &actionExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - run: (*parser).callonParagraph341, - expr: &seqExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - label: "attr", - expr: &choiceExpr{ - pos: position{line: 138, col: 27, offset: 5589}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - run: (*parser).callonParagraph345, - expr: &labeledExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - label: "id", - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonParagraph347, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonParagraph351, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph361, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - run: (*parser).callonParagraph373, - expr: &seqExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 144, col: 5, offset: 5840}, - val: "[#", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 144, col: 10, offset: 5845}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonParagraph377, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph387, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 144, col: 18, offset: 5853}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - run: (*parser).callonParagraph399, - expr: &seqExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 154, col: 17, offset: 6148}, - val: ".", - ignoreCase: false, - }, - ¬Expr{ - pos: position{line: 154, col: 21, offset: 6152}, - expr: &litMatcher{ - pos: position{line: 154, col: 22, offset: 6153}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 154, col: 26, offset: 6157}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph407, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 154, col: 30, offset: 6161}, - label: "title", - expr: &oneOrMoreExpr{ - pos: position{line: 154, col: 36, offset: 6167}, - expr: &seqExpr{ - pos: position{line: 154, col: 37, offset: 6168}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 154, col: 37, offset: 6168}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 154, col: 46, offset: 6177, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - run: (*parser).callonParagraph417, - expr: &seqExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 159, col: 30, offset: 6351}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 159, col: 34, offset: 6355}, - label: "k", - expr: &choiceExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - run: (*parser).callonParagraph422, - expr: &litMatcher{ - pos: position{line: 401, col: 19, offset: 16759}, - val: "TIP", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 403, col: 5, offset: 16797}, - run: (*parser).callonParagraph424, - expr: &litMatcher{ - pos: position{line: 403, col: 5, offset: 16797}, - val: "NOTE", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 405, col: 5, offset: 16837}, - run: (*parser).callonParagraph426, - expr: &litMatcher{ - pos: position{line: 405, col: 5, offset: 16837}, - val: "IMPORTANT", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 407, col: 5, offset: 16887}, - run: (*parser).callonParagraph428, - expr: &litMatcher{ - pos: position{line: 407, col: 5, offset: 16887}, - val: "WARNING", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 409, col: 5, offset: 16933}, - run: (*parser).callonParagraph430, - expr: &litMatcher{ - pos: position{line: 409, col: 5, offset: 16933}, - val: "CAUTION", - ignoreCase: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 159, col: 53, offset: 6374}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - run: (*parser).callonParagraph433, - expr: &seqExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 164, col: 19, offset: 6487}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 164, col: 23, offset: 6491}, - label: "attribute", - expr: &choiceExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - run: (*parser).callonParagraph438, - expr: &seqExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonParagraph441, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph449, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph461, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 168, col: 40, offset: 6705}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 168, col: 44, offset: 6709}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonParagraph465, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph470, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph478, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph488, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - run: (*parser).callonParagraph490, - expr: &labeledExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonParagraph492, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph500, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph512, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 164, col: 52, offset: 6520}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 164, col: 63, offset: 6531}, - expr: &choiceExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - run: (*parser).callonParagraph517, - expr: &seqExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 174, col: 26, offset: 6967}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 174, col: 30, offset: 6971}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph523, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 174, col: 34, offset: 6975}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonParagraph526, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph534, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph546, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 174, col: 53, offset: 6994}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 174, col: 57, offset: 6998}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonParagraph550, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph555, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph563, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph573, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - run: (*parser).callonParagraph575, - expr: &seqExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 176, col: 5, offset: 7124}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 176, col: 9, offset: 7128}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph581, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 176, col: 13, offset: 7132}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonParagraph584, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph592, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph604, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 164, col: 89, offset: 6557}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - run: (*parser).callonParagraph607, - expr: &seqExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 192, col: 28, offset: 7529}, - val: "[", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 192, col: 32, offset: 7533}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph613, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 192, col: 36, offset: 7537}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 192, col: 44, offset: 7545}, - expr: &seqExpr{ - pos: position{line: 192, col: 45, offset: 7546}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 192, col: 45, offset: 7546}, - expr: &litMatcher{ - pos: position{line: 192, col: 46, offset: 7547}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 192, col: 50, offset: 7551, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 192, col: 54, offset: 7555}, - val: "]", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 192, col: 58, offset: 7559}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph625, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 138, col: 124, offset: 5686}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph630, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 424, col: 17, offset: 17559}, + name: "ElementAttribute", }, }, }, @@ -25194,44 +4401,16 @@ var g = &grammar{ }, &oneOrMoreExpr{ pos: position{line: 424, col: 43, offset: 17585}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonParagraph644, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 424, col: 43, offset: 17585}, + name: "WS", }, }, ¬Expr{ pos: position{line: 424, col: 47, offset: 17589}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 424, col: 48, offset: 17590}, + name: "NEWLINE", }, }, }, @@ -25249,28 +4428,9 @@ var g = &grammar{ pos: position{line: 424, col: 64, offset: 17606}, name: "InlineElements", }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, + &ruleRefExpr{ + pos: position{line: 424, col: 79, offset: 17621}, + name: "EOL", }, }, }, @@ -25293,30 +4453,9 @@ var g = &grammar{ exprs: []interface{}{ ¬Expr{ pos: position{line: 428, col: 19, offset: 17741}, - expr: &choiceExpr{ - pos: position{line: 580, col: 19, offset: 25428}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 634, col: 26, offset: 27956}, - val: "....", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 582, col: 25, offset: 25546}, - val: "```", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 588, col: 26, offset: 25853}, - val: "----", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 594, col: 26, offset: 26165}, - val: "====", - ignoreCase: false, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 428, col: 20, offset: 17742}, + name: "BlockDelimiter", }, }, &labeledExpr{ @@ -25329,139 +4468,16 @@ var g = &grammar{ exprs: []interface{}{ &zeroOrMoreExpr{ pos: position{line: 428, col: 45, offset: 17767}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonInlineElements15, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 428, col: 45, offset: 17767}, + name: "WS", }, }, ¬Expr{ pos: position{line: 428, col: 49, offset: 17771}, - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonInlineElements18, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonInlineElements22, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonInlineElements32, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 428, col: 50, offset: 17772}, + name: "InlineElementID", }, }, &ruleRefExpr{ @@ -25470,24 +4486,9 @@ var g = &grammar{ }, &zeroOrMoreExpr{ pos: position{line: 428, col: 80, offset: 17802}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonInlineElements48, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 428, col: 80, offset: 17802}, + name: "WS", }, }, }, @@ -25503,802 +4504,335 @@ var g = &grammar{ pos: position{line: 432, col: 1, offset: 17914}, expr: &choiceExpr{ pos: position{line: 432, col: 18, offset: 17931}, + alternatives: []interface{}{ + &ruleRefExpr{ + pos: position{line: 432, col: 18, offset: 17931}, + name: "CrossReference", + }, + &ruleRefExpr{ + pos: position{line: 432, col: 35, offset: 17948}, + name: "Passthrough", + }, + &ruleRefExpr{ + pos: position{line: 432, col: 49, offset: 17962}, + name: "InlineImage", + }, + &ruleRefExpr{ + pos: position{line: 432, col: 63, offset: 17976}, + name: "QuotedText", + }, + &ruleRefExpr{ + pos: position{line: 432, col: 76, offset: 17989}, + name: "Link", + }, + &ruleRefExpr{ + pos: position{line: 432, col: 83, offset: 17996}, + name: "DocumentAttributeSubstitution", + }, + &ruleRefExpr{ + pos: position{line: 432, col: 115, offset: 18028}, + name: "Word", + }, + }, + }, + }, + { + name: "QuotedText", + pos: position{line: 437, col: 1, offset: 18273}, + expr: &choiceExpr{ + pos: position{line: 437, col: 15, offset: 18287}, + alternatives: []interface{}{ + &ruleRefExpr{ + pos: position{line: 437, col: 15, offset: 18287}, + name: "BoldText", + }, + &ruleRefExpr{ + pos: position{line: 437, col: 26, offset: 18298}, + name: "ItalicText", + }, + &ruleRefExpr{ + pos: position{line: 437, col: 39, offset: 18311}, + name: "MonospaceText", + }, + &ruleRefExpr{ + pos: position{line: 438, col: 13, offset: 18339}, + name: "EscapedBoldText", + }, + &ruleRefExpr{ + pos: position{line: 438, col: 31, offset: 18357}, + name: "EscapedItalicText", + }, + &ruleRefExpr{ + pos: position{line: 438, col: 51, offset: 18377}, + name: "EscapedMonospaceText", + }, + }, + }, + }, + { + name: "BoldText", + pos: position{line: 440, col: 1, offset: 18399}, + expr: &choiceExpr{ + pos: position{line: 440, col: 13, offset: 18411}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 531, col: 19, offset: 23656}, - run: (*parser).callonInlineElement2, + pos: position{line: 440, col: 13, offset: 18411}, + run: (*parser).callonBoldText2, expr: &seqExpr{ - pos: position{line: 531, col: 19, offset: 23656}, + pos: position{line: 440, col: 13, offset: 18411}, exprs: []interface{}{ + ¬Expr{ + pos: position{line: 440, col: 13, offset: 18411}, + expr: &litMatcher{ + pos: position{line: 440, col: 14, offset: 18412}, + val: "\\\\", + ignoreCase: false, + }, + }, &litMatcher{ - pos: position{line: 531, col: 19, offset: 23656}, - val: "<<", + pos: position{line: 440, col: 19, offset: 18417}, + val: "**", ignoreCase: false, }, &labeledExpr{ - pos: position{line: 531, col: 24, offset: 23661}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonInlineElement6, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonInlineElement16, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, + pos: position{line: 440, col: 24, offset: 18422}, + label: "content", + expr: &ruleRefExpr{ + pos: position{line: 440, col: 33, offset: 18431}, + name: "QuotedTextContent", }, }, &litMatcher{ - pos: position{line: 531, col: 32, offset: 23669}, - val: ">>", + pos: position{line: 440, col: 52, offset: 18450}, + val: "**", ignoreCase: false, }, }, }, }, - &ruleRefExpr{ - pos: position{line: 432, col: 35, offset: 17948}, - name: "Passthrough", - }, &actionExpr{ - pos: position{line: 566, col: 16, offset: 24796}, - run: (*parser).callonInlineElement29, - expr: &labeledExpr{ - pos: position{line: 566, col: 16, offset: 24796}, - label: "image", - expr: &actionExpr{ - pos: position{line: 571, col: 21, offset: 24967}, - run: (*parser).callonInlineElement31, - expr: &seqExpr{ - pos: position{line: 571, col: 21, offset: 24967}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 571, col: 21, offset: 24967}, - val: "image:", - ignoreCase: false, - }, - ¬Expr{ - pos: position{line: 571, col: 30, offset: 24976}, - expr: &litMatcher{ - pos: position{line: 571, col: 31, offset: 24977}, - val: ":", - ignoreCase: false, - }, - }, - &labeledExpr{ - pos: position{line: 571, col: 35, offset: 24981}, - label: "path", - expr: &actionExpr{ - pos: position{line: 655, col: 8, offset: 28546}, - run: (*parser).callonInlineElement37, - expr: &oneOrMoreExpr{ - pos: position{line: 655, col: 8, offset: 28546}, - expr: &seqExpr{ - pos: position{line: 655, col: 9, offset: 28547}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 655, col: 9, offset: 28547}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 655, col: 18, offset: 28556}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonInlineElement47, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 655, col: 22, offset: 28560}, - expr: &litMatcher{ - pos: position{line: 655, col: 23, offset: 28561}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 655, col: 27, offset: 28565}, - expr: &litMatcher{ - pos: position{line: 655, col: 28, offset: 28566}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 655, col: 32, offset: 28570, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 571, col: 46, offset: 24992}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 571, col: 50, offset: 24996}, - label: "attributes", - expr: &zeroOrOneExpr{ - pos: position{line: 571, col: 62, offset: 25008}, - expr: &actionExpr{ - pos: position{line: 663, col: 13, offset: 28703}, - run: (*parser).callonInlineElement57, - expr: &oneOrMoreExpr{ - pos: position{line: 663, col: 13, offset: 28703}, - expr: &seqExpr{ - pos: position{line: 663, col: 14, offset: 28704}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 663, col: 14, offset: 28704}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 663, col: 23, offset: 28713}, - expr: &litMatcher{ - pos: position{line: 663, col: 24, offset: 28714}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 663, col: 28, offset: 28718}, - expr: &litMatcher{ - pos: position{line: 663, col: 29, offset: 28719}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 663, col: 33, offset: 28723, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 571, col: 73, offset: 25019}, - val: "]", - ignoreCase: false, - }, + pos: position{line: 442, col: 5, offset: 18575}, + run: (*parser).callonBoldText10, + expr: &seqExpr{ + pos: position{line: 442, col: 5, offset: 18575}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 442, col: 5, offset: 18575}, + expr: &litMatcher{ + pos: position{line: 442, col: 6, offset: 18576}, + val: "\\\\", + ignoreCase: false, + }, + }, + &litMatcher{ + pos: position{line: 442, col: 11, offset: 18581}, + val: "**", + ignoreCase: false, + }, + &labeledExpr{ + pos: position{line: 442, col: 16, offset: 18586}, + label: "content", + expr: &ruleRefExpr{ + pos: position{line: 442, col: 25, offset: 18595}, + name: "QuotedTextContent", }, }, + &litMatcher{ + pos: position{line: 442, col: 44, offset: 18614}, + val: "*", + ignoreCase: false, + }, }, }, }, - &ruleRefExpr{ - pos: position{line: 432, col: 63, offset: 17976}, - name: "QuotedText", - }, &actionExpr{ - pos: position{line: 547, col: 17, offset: 24102}, - run: (*parser).callonInlineElement71, + pos: position{line: 445, col: 5, offset: 18779}, + run: (*parser).callonBoldText18, expr: &seqExpr{ - pos: position{line: 547, col: 17, offset: 24102}, + pos: position{line: 445, col: 5, offset: 18779}, exprs: []interface{}{ + ¬Expr{ + pos: position{line: 445, col: 5, offset: 18779}, + expr: &litMatcher{ + pos: position{line: 445, col: 6, offset: 18780}, + val: "\\", + ignoreCase: false, + }, + }, &litMatcher{ - pos: position{line: 547, col: 17, offset: 24102}, - val: "link:", + pos: position{line: 445, col: 10, offset: 18784}, + val: "*", ignoreCase: false, }, &labeledExpr{ - pos: position{line: 547, col: 25, offset: 24110}, - label: "url", - expr: &seqExpr{ - pos: position{line: 547, col: 30, offset: 24115}, - exprs: []interface{}{ - &zeroOrOneExpr{ - pos: position{line: 547, col: 30, offset: 24115}, - expr: &choiceExpr{ - pos: position{line: 667, col: 15, offset: 28777}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 667, col: 15, offset: 28777}, - val: "http://", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 667, col: 27, offset: 28789}, - val: "https://", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 667, col: 40, offset: 28802}, - val: "ftp://", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 667, col: 51, offset: 28813}, - val: "irc://", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 667, col: 62, offset: 28824}, - val: "mailto:", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 655, col: 8, offset: 28546}, - run: (*parser).callonInlineElement83, - expr: &oneOrMoreExpr{ - pos: position{line: 655, col: 8, offset: 28546}, - expr: &seqExpr{ - pos: position{line: 655, col: 9, offset: 28547}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 655, col: 9, offset: 28547}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 655, col: 18, offset: 28556}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonInlineElement93, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 655, col: 22, offset: 28560}, - expr: &litMatcher{ - pos: position{line: 655, col: 23, offset: 28561}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 655, col: 27, offset: 28565}, - expr: &litMatcher{ - pos: position{line: 655, col: 28, offset: 28566}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 655, col: 32, offset: 28570, - }, - }, - }, - }, - }, - }, + pos: position{line: 445, col: 14, offset: 18788}, + label: "content", + expr: &ruleRefExpr{ + pos: position{line: 445, col: 23, offset: 18797}, + name: "QuotedTextContent", }, }, - &labeledExpr{ - pos: position{line: 547, col: 47, offset: 24132}, - label: "text", - expr: &seqExpr{ - pos: position{line: 547, col: 53, offset: 24138}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 547, col: 53, offset: 24138}, - val: "[", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 547, col: 57, offset: 24142}, - expr: &actionExpr{ - pos: position{line: 663, col: 13, offset: 28703}, - run: (*parser).callonInlineElement104, - expr: &oneOrMoreExpr{ - pos: position{line: 663, col: 13, offset: 28703}, - expr: &seqExpr{ - pos: position{line: 663, col: 14, offset: 28704}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 663, col: 14, offset: 28704}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 663, col: 23, offset: 28713}, - expr: &litMatcher{ - pos: position{line: 663, col: 24, offset: 28714}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 663, col: 28, offset: 28718}, - expr: &litMatcher{ - pos: position{line: 663, col: 29, offset: 28719}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 663, col: 33, offset: 28723, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 547, col: 69, offset: 24154}, - val: "]", - ignoreCase: false, - }, - }, - }, + &litMatcher{ + pos: position{line: 445, col: 42, offset: 18816}, + val: "*", + ignoreCase: false, }, }, }, }, + }, + }, + }, + { + name: "EscapedBoldText", + pos: position{line: 449, col: 1, offset: 18916}, + expr: &choiceExpr{ + pos: position{line: 449, col: 20, offset: 18935}, + alternatives: []interface{}{ &actionExpr{ - pos: position{line: 540, col: 17, offset: 23882}, - run: (*parser).callonInlineElement117, + pos: position{line: 449, col: 20, offset: 18935}, + run: (*parser).callonEscapedBoldText2, expr: &seqExpr{ - pos: position{line: 540, col: 17, offset: 23882}, + pos: position{line: 449, col: 20, offset: 18935}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 540, col: 17, offset: 23882}, - label: "url", + pos: position{line: 449, col: 20, offset: 18935}, + label: "backslashes", expr: &seqExpr{ - pos: position{line: 540, col: 22, offset: 23887}, + pos: position{line: 449, col: 33, offset: 18948}, exprs: []interface{}{ - &choiceExpr{ - pos: position{line: 667, col: 15, offset: 28777}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 667, col: 15, offset: 28777}, - val: "http://", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 667, col: 27, offset: 28789}, - val: "https://", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 667, col: 40, offset: 28802}, - val: "ftp://", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 667, col: 51, offset: 28813}, - val: "irc://", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 667, col: 62, offset: 28824}, - val: "mailto:", - ignoreCase: false, - }, - }, + &litMatcher{ + pos: position{line: 449, col: 33, offset: 18948}, + val: "\\\\", + ignoreCase: false, }, - &actionExpr{ - pos: position{line: 655, col: 8, offset: 28546}, - run: (*parser).callonInlineElement127, - expr: &oneOrMoreExpr{ - pos: position{line: 655, col: 8, offset: 28546}, - expr: &seqExpr{ - pos: position{line: 655, col: 9, offset: 28547}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 655, col: 9, offset: 28547}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 655, col: 18, offset: 28556}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonInlineElement137, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 655, col: 22, offset: 28560}, - expr: &litMatcher{ - pos: position{line: 655, col: 23, offset: 28561}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 655, col: 27, offset: 28565}, - expr: &litMatcher{ - pos: position{line: 655, col: 28, offset: 28566}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 655, col: 32, offset: 28570, - }, - }, - }, + &zeroOrMoreExpr{ + pos: position{line: 449, col: 38, offset: 18953}, + expr: &litMatcher{ + pos: position{line: 449, col: 38, offset: 18953}, + val: "\\", + ignoreCase: false, }, }, }, }, }, + &litMatcher{ + pos: position{line: 449, col: 44, offset: 18959}, + val: "**", + ignoreCase: false, + }, &labeledExpr{ - pos: position{line: 540, col: 38, offset: 23903}, - label: "text", - expr: &zeroOrOneExpr{ - pos: position{line: 540, col: 43, offset: 23908}, - expr: &seqExpr{ - pos: position{line: 540, col: 44, offset: 23909}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 540, col: 44, offset: 23909}, - val: "[", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 540, col: 48, offset: 23913}, - expr: &actionExpr{ - pos: position{line: 663, col: 13, offset: 28703}, - run: (*parser).callonInlineElement149, - expr: &oneOrMoreExpr{ - pos: position{line: 663, col: 13, offset: 28703}, - expr: &seqExpr{ - pos: position{line: 663, col: 14, offset: 28704}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 663, col: 14, offset: 28704}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 663, col: 23, offset: 28713}, - expr: &litMatcher{ - pos: position{line: 663, col: 24, offset: 28714}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 663, col: 28, offset: 28718}, - expr: &litMatcher{ - pos: position{line: 663, col: 29, offset: 28719}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 663, col: 33, offset: 28723, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 540, col: 60, offset: 23925}, - val: "]", - ignoreCase: false, - }, - }, - }, + pos: position{line: 449, col: 49, offset: 18964}, + label: "content", + expr: &ruleRefExpr{ + pos: position{line: 449, col: 58, offset: 18973}, + name: "QuotedTextContent", }, }, + &litMatcher{ + pos: position{line: 449, col: 77, offset: 18992}, + val: "**", + ignoreCase: false, + }, }, }, }, &actionExpr{ - pos: position{line: 121, col: 34, offset: 4941}, - run: (*parser).callonInlineElement162, + pos: position{line: 451, col: 5, offset: 19147}, + run: (*parser).callonEscapedBoldText13, expr: &seqExpr{ - pos: position{line: 121, col: 34, offset: 4941}, + pos: position{line: 451, col: 5, offset: 19147}, exprs: []interface{}{ - &litMatcher{ - pos: position{line: 121, col: 34, offset: 4941}, - val: "{", - ignoreCase: false, - }, &labeledExpr{ - pos: position{line: 121, col: 38, offset: 4945}, - label: "name", + pos: position{line: 451, col: 5, offset: 19147}, + label: "backslashes", expr: &seqExpr{ - pos: position{line: 128, col: 18, offset: 5231}, + pos: position{line: 451, col: 18, offset: 19160}, exprs: []interface{}{ - &charClassMatcher{ - pos: position{line: 128, col: 19, offset: 5232}, - val: "[_A-Za-z0-9]", - chars: []rune{'_'}, - ranges: []rune{'A', 'Z', 'a', 'z', '0', '9'}, + &litMatcher{ + pos: position{line: 451, col: 18, offset: 19160}, + val: "\\", ignoreCase: false, - inverted: false, }, &zeroOrMoreExpr{ - pos: position{line: 128, col: 48, offset: 5261}, - expr: &charClassMatcher{ - pos: position{line: 128, col: 49, offset: 5262}, - val: "[-A-Za-z0-9]", - chars: []rune{'-'}, - ranges: []rune{'A', 'Z', 'a', 'z', '0', '9'}, + pos: position{line: 451, col: 22, offset: 19164}, + expr: &litMatcher{ + pos: position{line: 451, col: 22, offset: 19164}, + val: "\\", ignoreCase: false, - inverted: false, }, }, }, }, }, &litMatcher{ - pos: position{line: 121, col: 59, offset: 4966}, - val: "}", + pos: position{line: 451, col: 28, offset: 19170}, + val: "**", ignoreCase: false, }, - }, - }, - }, - &actionExpr{ - pos: position{line: 651, col: 9, offset: 28485}, - run: (*parser).callonInlineElement171, - expr: &oneOrMoreExpr{ - pos: position{line: 651, col: 9, offset: 28485}, - expr: &seqExpr{ - pos: position{line: 651, col: 10, offset: 28486}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 651, col: 10, offset: 28486}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, + &labeledExpr{ + pos: position{line: 451, col: 33, offset: 19175}, + label: "content", + expr: &ruleRefExpr{ + pos: position{line: 451, col: 42, offset: 19184}, + name: "QuotedTextContent", }, - ¬Expr{ - pos: position{line: 651, col: 19, offset: 28495}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", + }, + &litMatcher{ + pos: position{line: 451, col: 61, offset: 19203}, + val: "*", + ignoreCase: false, + }, + }, + }, + }, + &actionExpr{ + pos: position{line: 454, col: 5, offset: 19397}, + run: (*parser).callonEscapedBoldText24, + expr: &seqExpr{ + pos: position{line: 454, col: 5, offset: 19397}, + exprs: []interface{}{ + &labeledExpr{ + pos: position{line: 454, col: 5, offset: 19397}, + label: "backslashes", + expr: &seqExpr{ + pos: position{line: 454, col: 18, offset: 19410}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 454, col: 18, offset: 19410}, + val: "\\", + ignoreCase: false, + }, + &zeroOrMoreExpr{ + pos: position{line: 454, col: 22, offset: 19414}, + expr: &litMatcher{ + pos: position{line: 454, col: 22, offset: 19414}, + val: "\\", ignoreCase: false, }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonInlineElement181, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, }, }, }, - &anyMatcher{ - line: 651, col: 23, offset: 28499, + }, + &litMatcher{ + pos: position{line: 454, col: 28, offset: 19420}, + val: "*", + ignoreCase: false, + }, + &labeledExpr{ + pos: position{line: 454, col: 32, offset: 19424}, + label: "content", + expr: &ruleRefExpr{ + pos: position{line: 454, col: 41, offset: 19433}, + name: "QuotedTextContent", }, }, + &litMatcher{ + pos: position{line: 454, col: 60, offset: 19452}, + val: "*", + ignoreCase: false, + }, }, }, }, @@ -26306,144 +4840,111 @@ var g = &grammar{ }, }, { - name: "QuotedText", - pos: position{line: 437, col: 1, offset: 18273}, - expr: &choiceExpr{ - pos: position{line: 437, col: 15, offset: 18287}, - alternatives: []interface{}{ - &ruleRefExpr{ - pos: position{line: 437, col: 15, offset: 18287}, - name: "BoldText", - }, - &ruleRefExpr{ - pos: position{line: 437, col: 26, offset: 18298}, - name: "ItalicText", - }, - &ruleRefExpr{ - pos: position{line: 437, col: 39, offset: 18311}, - name: "MonospaceText", - }, - &ruleRefExpr{ - pos: position{line: 438, col: 13, offset: 18339}, - name: "EscapedBoldText", - }, - &ruleRefExpr{ - pos: position{line: 438, col: 31, offset: 18357}, - name: "EscapedItalicText", - }, - &ruleRefExpr{ - pos: position{line: 438, col: 51, offset: 18377}, - name: "EscapedMonospaceText", - }, - }, - }, - }, - { - name: "BoldText", - pos: position{line: 440, col: 1, offset: 18399}, + name: "ItalicText", + pos: position{line: 458, col: 1, offset: 19604}, expr: &choiceExpr{ - pos: position{line: 440, col: 13, offset: 18411}, + pos: position{line: 458, col: 15, offset: 19618}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 440, col: 13, offset: 18411}, - run: (*parser).callonBoldText2, + pos: position{line: 458, col: 15, offset: 19618}, + run: (*parser).callonItalicText2, expr: &seqExpr{ - pos: position{line: 440, col: 13, offset: 18411}, + pos: position{line: 458, col: 15, offset: 19618}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 440, col: 13, offset: 18411}, + pos: position{line: 458, col: 15, offset: 19618}, expr: &litMatcher{ - pos: position{line: 440, col: 14, offset: 18412}, + pos: position{line: 458, col: 16, offset: 19619}, val: "\\\\", ignoreCase: false, }, }, &litMatcher{ - pos: position{line: 440, col: 19, offset: 18417}, - val: "**", + pos: position{line: 458, col: 21, offset: 19624}, + val: "__", ignoreCase: false, }, &labeledExpr{ - pos: position{line: 440, col: 24, offset: 18422}, + pos: position{line: 458, col: 26, offset: 19629}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 440, col: 33, offset: 18431}, + pos: position{line: 458, col: 35, offset: 19638}, name: "QuotedTextContent", }, }, &litMatcher{ - pos: position{line: 440, col: 52, offset: 18450}, - val: "**", + pos: position{line: 458, col: 54, offset: 19657}, + val: "__", ignoreCase: false, }, }, }, }, &actionExpr{ - pos: position{line: 442, col: 5, offset: 18575}, - run: (*parser).callonBoldText10, + pos: position{line: 460, col: 5, offset: 19738}, + run: (*parser).callonItalicText10, expr: &seqExpr{ - pos: position{line: 442, col: 5, offset: 18575}, + pos: position{line: 460, col: 5, offset: 19738}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 442, col: 5, offset: 18575}, + pos: position{line: 460, col: 5, offset: 19738}, expr: &litMatcher{ - pos: position{line: 442, col: 6, offset: 18576}, + pos: position{line: 460, col: 6, offset: 19739}, val: "\\\\", ignoreCase: false, }, }, &litMatcher{ - pos: position{line: 442, col: 11, offset: 18581}, - val: "**", + pos: position{line: 460, col: 11, offset: 19744}, + val: "__", ignoreCase: false, }, &labeledExpr{ - pos: position{line: 442, col: 16, offset: 18586}, + pos: position{line: 460, col: 16, offset: 19749}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 442, col: 25, offset: 18595}, + pos: position{line: 460, col: 25, offset: 19758}, name: "QuotedTextContent", }, }, &litMatcher{ - pos: position{line: 442, col: 44, offset: 18614}, - val: "*", + pos: position{line: 460, col: 44, offset: 19777}, + val: "_", ignoreCase: false, }, }, }, }, &actionExpr{ - pos: position{line: 445, col: 5, offset: 18779}, - run: (*parser).callonBoldText18, + pos: position{line: 463, col: 5, offset: 19944}, + run: (*parser).callonItalicText18, expr: &seqExpr{ - pos: position{line: 445, col: 5, offset: 18779}, + pos: position{line: 463, col: 5, offset: 19944}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 445, col: 5, offset: 18779}, + pos: position{line: 463, col: 5, offset: 19944}, expr: &litMatcher{ - pos: position{line: 445, col: 6, offset: 18780}, + pos: position{line: 463, col: 6, offset: 19945}, val: "\\", ignoreCase: false, }, }, &litMatcher{ - pos: position{line: 445, col: 10, offset: 18784}, - val: "*", + pos: position{line: 463, col: 10, offset: 19949}, + val: "_", ignoreCase: false, }, &labeledExpr{ - pos: position{line: 445, col: 14, offset: 18788}, + pos: position{line: 463, col: 14, offset: 19953}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 445, col: 23, offset: 18797}, + pos: position{line: 463, col: 23, offset: 19962}, name: "QuotedTextContent", }, }, &litMatcher{ - pos: position{line: 445, col: 42, offset: 18816}, - val: "*", + pos: position{line: 463, col: 42, offset: 19981}, + val: "_", ignoreCase: false, }, }, @@ -26453,32 +4954,32 @@ var g = &grammar{ }, }, { - name: "EscapedBoldText", - pos: position{line: 449, col: 1, offset: 18916}, + name: "EscapedItalicText", + pos: position{line: 467, col: 1, offset: 20060}, expr: &choiceExpr{ - pos: position{line: 449, col: 20, offset: 18935}, + pos: position{line: 467, col: 22, offset: 20081}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 449, col: 20, offset: 18935}, - run: (*parser).callonEscapedBoldText2, + pos: position{line: 467, col: 22, offset: 20081}, + run: (*parser).callonEscapedItalicText2, expr: &seqExpr{ - pos: position{line: 449, col: 20, offset: 18935}, + pos: position{line: 467, col: 22, offset: 20081}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 449, col: 20, offset: 18935}, + pos: position{line: 467, col: 22, offset: 20081}, label: "backslashes", expr: &seqExpr{ - pos: position{line: 449, col: 33, offset: 18948}, + pos: position{line: 467, col: 35, offset: 20094}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 449, col: 33, offset: 18948}, + pos: position{line: 467, col: 35, offset: 20094}, val: "\\\\", ignoreCase: false, }, &zeroOrMoreExpr{ - pos: position{line: 449, col: 38, offset: 18953}, + pos: position{line: 467, col: 40, offset: 20099}, expr: &litMatcher{ - pos: position{line: 449, col: 38, offset: 18953}, + pos: position{line: 467, col: 40, offset: 20099}, val: "\\", ignoreCase: false, }, @@ -26487,47 +4988,47 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 449, col: 44, offset: 18959}, - val: "**", + pos: position{line: 467, col: 46, offset: 20105}, + val: "__", ignoreCase: false, }, &labeledExpr{ - pos: position{line: 449, col: 49, offset: 18964}, + pos: position{line: 467, col: 51, offset: 20110}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 449, col: 58, offset: 18973}, + pos: position{line: 467, col: 60, offset: 20119}, name: "QuotedTextContent", }, }, &litMatcher{ - pos: position{line: 449, col: 77, offset: 18992}, - val: "**", + pos: position{line: 467, col: 79, offset: 20138}, + val: "__", ignoreCase: false, }, }, }, }, &actionExpr{ - pos: position{line: 451, col: 5, offset: 19147}, - run: (*parser).callonEscapedBoldText13, + pos: position{line: 469, col: 5, offset: 20293}, + run: (*parser).callonEscapedItalicText13, expr: &seqExpr{ - pos: position{line: 451, col: 5, offset: 19147}, + pos: position{line: 469, col: 5, offset: 20293}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 451, col: 5, offset: 19147}, + pos: position{line: 469, col: 5, offset: 20293}, label: "backslashes", expr: &seqExpr{ - pos: position{line: 451, col: 18, offset: 19160}, + pos: position{line: 469, col: 18, offset: 20306}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 451, col: 18, offset: 19160}, + pos: position{line: 469, col: 18, offset: 20306}, val: "\\", ignoreCase: false, }, &zeroOrMoreExpr{ - pos: position{line: 451, col: 22, offset: 19164}, + pos: position{line: 469, col: 22, offset: 20310}, expr: &litMatcher{ - pos: position{line: 451, col: 22, offset: 19164}, + pos: position{line: 469, col: 22, offset: 20310}, val: "\\", ignoreCase: false, }, @@ -26536,47 +5037,47 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 451, col: 28, offset: 19170}, - val: "**", + pos: position{line: 469, col: 28, offset: 20316}, + val: "__", ignoreCase: false, }, &labeledExpr{ - pos: position{line: 451, col: 33, offset: 19175}, + pos: position{line: 469, col: 33, offset: 20321}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 451, col: 42, offset: 19184}, + pos: position{line: 469, col: 42, offset: 20330}, name: "QuotedTextContent", }, }, &litMatcher{ - pos: position{line: 451, col: 61, offset: 19203}, - val: "*", + pos: position{line: 469, col: 61, offset: 20349}, + val: "_", ignoreCase: false, }, }, }, }, &actionExpr{ - pos: position{line: 454, col: 5, offset: 19397}, - run: (*parser).callonEscapedBoldText24, + pos: position{line: 472, col: 5, offset: 20543}, + run: (*parser).callonEscapedItalicText24, expr: &seqExpr{ - pos: position{line: 454, col: 5, offset: 19397}, + pos: position{line: 472, col: 5, offset: 20543}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 454, col: 5, offset: 19397}, + pos: position{line: 472, col: 5, offset: 20543}, label: "backslashes", expr: &seqExpr{ - pos: position{line: 454, col: 18, offset: 19410}, + pos: position{line: 472, col: 18, offset: 20556}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 454, col: 18, offset: 19410}, + pos: position{line: 472, col: 18, offset: 20556}, val: "\\", ignoreCase: false, }, &zeroOrMoreExpr{ - pos: position{line: 454, col: 22, offset: 19414}, + pos: position{line: 472, col: 22, offset: 20560}, expr: &litMatcher{ - pos: position{line: 454, col: 22, offset: 19414}, + pos: position{line: 472, col: 22, offset: 20560}, val: "\\", ignoreCase: false, }, @@ -26585,21 +5086,21 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 454, col: 28, offset: 19420}, - val: "*", + pos: position{line: 472, col: 28, offset: 20566}, + val: "_", ignoreCase: false, }, &labeledExpr{ - pos: position{line: 454, col: 32, offset: 19424}, + pos: position{line: 472, col: 32, offset: 20570}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 454, col: 41, offset: 19433}, + pos: position{line: 472, col: 41, offset: 20579}, name: "QuotedTextContent", }, }, &litMatcher{ - pos: position{line: 454, col: 60, offset: 19452}, - val: "*", + pos: position{line: 472, col: 60, offset: 20598}, + val: "_", ignoreCase: false, }, }, @@ -26609,111 +5110,111 @@ var g = &grammar{ }, }, { - name: "ItalicText", - pos: position{line: 458, col: 1, offset: 19604}, + name: "MonospaceText", + pos: position{line: 476, col: 1, offset: 20750}, expr: &choiceExpr{ - pos: position{line: 458, col: 15, offset: 19618}, + pos: position{line: 476, col: 18, offset: 20767}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 458, col: 15, offset: 19618}, - run: (*parser).callonItalicText2, + pos: position{line: 476, col: 18, offset: 20767}, + run: (*parser).callonMonospaceText2, expr: &seqExpr{ - pos: position{line: 458, col: 15, offset: 19618}, + pos: position{line: 476, col: 18, offset: 20767}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 458, col: 15, offset: 19618}, + pos: position{line: 476, col: 18, offset: 20767}, expr: &litMatcher{ - pos: position{line: 458, col: 16, offset: 19619}, + pos: position{line: 476, col: 19, offset: 20768}, val: "\\\\", ignoreCase: false, }, }, &litMatcher{ - pos: position{line: 458, col: 21, offset: 19624}, - val: "__", + pos: position{line: 476, col: 24, offset: 20773}, + val: "``", ignoreCase: false, }, &labeledExpr{ - pos: position{line: 458, col: 26, offset: 19629}, + pos: position{line: 476, col: 29, offset: 20778}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 458, col: 35, offset: 19638}, + pos: position{line: 476, col: 38, offset: 20787}, name: "QuotedTextContent", }, }, &litMatcher{ - pos: position{line: 458, col: 54, offset: 19657}, - val: "__", + pos: position{line: 476, col: 57, offset: 20806}, + val: "``", ignoreCase: false, }, }, }, }, &actionExpr{ - pos: position{line: 460, col: 5, offset: 19738}, - run: (*parser).callonItalicText10, + pos: position{line: 478, col: 5, offset: 20936}, + run: (*parser).callonMonospaceText10, expr: &seqExpr{ - pos: position{line: 460, col: 5, offset: 19738}, + pos: position{line: 478, col: 5, offset: 20936}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 460, col: 5, offset: 19738}, + pos: position{line: 478, col: 5, offset: 20936}, expr: &litMatcher{ - pos: position{line: 460, col: 6, offset: 19739}, + pos: position{line: 478, col: 6, offset: 20937}, val: "\\\\", ignoreCase: false, }, }, &litMatcher{ - pos: position{line: 460, col: 11, offset: 19744}, - val: "__", + pos: position{line: 478, col: 11, offset: 20942}, + val: "``", ignoreCase: false, }, &labeledExpr{ - pos: position{line: 460, col: 16, offset: 19749}, + pos: position{line: 478, col: 16, offset: 20947}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 460, col: 25, offset: 19758}, + pos: position{line: 478, col: 25, offset: 20956}, name: "QuotedTextContent", }, }, &litMatcher{ - pos: position{line: 460, col: 44, offset: 19777}, - val: "_", + pos: position{line: 478, col: 44, offset: 20975}, + val: "`", ignoreCase: false, }, }, }, }, &actionExpr{ - pos: position{line: 463, col: 5, offset: 19944}, - run: (*parser).callonItalicText18, + pos: position{line: 481, col: 5, offset: 21145}, + run: (*parser).callonMonospaceText18, expr: &seqExpr{ - pos: position{line: 463, col: 5, offset: 19944}, + pos: position{line: 481, col: 5, offset: 21145}, exprs: []interface{}{ ¬Expr{ - pos: position{line: 463, col: 5, offset: 19944}, + pos: position{line: 481, col: 5, offset: 21145}, expr: &litMatcher{ - pos: position{line: 463, col: 6, offset: 19945}, + pos: position{line: 481, col: 6, offset: 21146}, val: "\\", ignoreCase: false, }, }, &litMatcher{ - pos: position{line: 463, col: 10, offset: 19949}, - val: "_", + pos: position{line: 481, col: 10, offset: 21150}, + val: "`", ignoreCase: false, }, &labeledExpr{ - pos: position{line: 463, col: 14, offset: 19953}, + pos: position{line: 481, col: 14, offset: 21154}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 463, col: 23, offset: 19962}, + pos: position{line: 481, col: 23, offset: 21163}, name: "QuotedTextContent", }, }, &litMatcher{ - pos: position{line: 463, col: 42, offset: 19981}, - val: "_", + pos: position{line: 481, col: 42, offset: 21182}, + val: "`", ignoreCase: false, }, }, @@ -26723,32 +5224,32 @@ var g = &grammar{ }, }, { - name: "EscapedItalicText", - pos: position{line: 467, col: 1, offset: 20060}, + name: "EscapedMonospaceText", + pos: position{line: 485, col: 1, offset: 21309}, expr: &choiceExpr{ - pos: position{line: 467, col: 22, offset: 20081}, + pos: position{line: 485, col: 25, offset: 21333}, alternatives: []interface{}{ &actionExpr{ - pos: position{line: 467, col: 22, offset: 20081}, - run: (*parser).callonEscapedItalicText2, + pos: position{line: 485, col: 25, offset: 21333}, + run: (*parser).callonEscapedMonospaceText2, expr: &seqExpr{ - pos: position{line: 467, col: 22, offset: 20081}, + pos: position{line: 485, col: 25, offset: 21333}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 467, col: 22, offset: 20081}, + pos: position{line: 485, col: 25, offset: 21333}, label: "backslashes", expr: &seqExpr{ - pos: position{line: 467, col: 35, offset: 20094}, + pos: position{line: 485, col: 38, offset: 21346}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 467, col: 35, offset: 20094}, + pos: position{line: 485, col: 38, offset: 21346}, val: "\\\\", ignoreCase: false, }, &zeroOrMoreExpr{ - pos: position{line: 467, col: 40, offset: 20099}, + pos: position{line: 485, col: 43, offset: 21351}, expr: &litMatcher{ - pos: position{line: 467, col: 40, offset: 20099}, + pos: position{line: 485, col: 43, offset: 21351}, val: "\\", ignoreCase: false, }, @@ -26757,47 +5258,47 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 467, col: 46, offset: 20105}, - val: "__", + pos: position{line: 485, col: 49, offset: 21357}, + val: "``", ignoreCase: false, }, &labeledExpr{ - pos: position{line: 467, col: 51, offset: 20110}, + pos: position{line: 485, col: 54, offset: 21362}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 467, col: 60, offset: 20119}, + pos: position{line: 485, col: 63, offset: 21371}, name: "QuotedTextContent", }, }, &litMatcher{ - pos: position{line: 467, col: 79, offset: 20138}, - val: "__", + pos: position{line: 485, col: 82, offset: 21390}, + val: "``", ignoreCase: false, }, }, }, }, &actionExpr{ - pos: position{line: 469, col: 5, offset: 20293}, - run: (*parser).callonEscapedItalicText13, + pos: position{line: 487, col: 5, offset: 21545}, + run: (*parser).callonEscapedMonospaceText13, expr: &seqExpr{ - pos: position{line: 469, col: 5, offset: 20293}, + pos: position{line: 487, col: 5, offset: 21545}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 469, col: 5, offset: 20293}, + pos: position{line: 487, col: 5, offset: 21545}, label: "backslashes", expr: &seqExpr{ - pos: position{line: 469, col: 18, offset: 20306}, + pos: position{line: 487, col: 18, offset: 21558}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 469, col: 18, offset: 20306}, + pos: position{line: 487, col: 18, offset: 21558}, val: "\\", ignoreCase: false, }, &zeroOrMoreExpr{ - pos: position{line: 469, col: 22, offset: 20310}, + pos: position{line: 487, col: 22, offset: 21562}, expr: &litMatcher{ - pos: position{line: 469, col: 22, offset: 20310}, + pos: position{line: 487, col: 22, offset: 21562}, val: "\\", ignoreCase: false, }, @@ -26806,47 +5307,47 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 469, col: 28, offset: 20316}, - val: "__", + pos: position{line: 487, col: 28, offset: 21568}, + val: "``", ignoreCase: false, }, &labeledExpr{ - pos: position{line: 469, col: 33, offset: 20321}, + pos: position{line: 487, col: 33, offset: 21573}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 469, col: 42, offset: 20330}, + pos: position{line: 487, col: 42, offset: 21582}, name: "QuotedTextContent", }, }, &litMatcher{ - pos: position{line: 469, col: 61, offset: 20349}, - val: "_", + pos: position{line: 487, col: 61, offset: 21601}, + val: "`", ignoreCase: false, }, }, }, }, &actionExpr{ - pos: position{line: 472, col: 5, offset: 20543}, - run: (*parser).callonEscapedItalicText24, + pos: position{line: 490, col: 5, offset: 21795}, + run: (*parser).callonEscapedMonospaceText24, expr: &seqExpr{ - pos: position{line: 472, col: 5, offset: 20543}, + pos: position{line: 490, col: 5, offset: 21795}, exprs: []interface{}{ &labeledExpr{ - pos: position{line: 472, col: 5, offset: 20543}, + pos: position{line: 490, col: 5, offset: 21795}, label: "backslashes", expr: &seqExpr{ - pos: position{line: 472, col: 18, offset: 20556}, + pos: position{line: 490, col: 18, offset: 21808}, exprs: []interface{}{ &litMatcher{ - pos: position{line: 472, col: 18, offset: 20556}, + pos: position{line: 490, col: 18, offset: 21808}, val: "\\", ignoreCase: false, }, &zeroOrMoreExpr{ - pos: position{line: 472, col: 22, offset: 20560}, + pos: position{line: 490, col: 22, offset: 21812}, expr: &litMatcher{ - pos: position{line: 472, col: 22, offset: 20560}, + pos: position{line: 490, col: 22, offset: 21812}, val: "\\", ignoreCase: false, }, @@ -26855,21 +5356,21 @@ var g = &grammar{ }, }, &litMatcher{ - pos: position{line: 472, col: 28, offset: 20566}, - val: "_", + pos: position{line: 490, col: 28, offset: 21818}, + val: "`", ignoreCase: false, }, &labeledExpr{ - pos: position{line: 472, col: 32, offset: 20570}, + pos: position{line: 490, col: 32, offset: 21822}, label: "content", expr: &ruleRefExpr{ - pos: position{line: 472, col: 41, offset: 20579}, + pos: position{line: 490, col: 41, offset: 21831}, name: "QuotedTextContent", }, }, &litMatcher{ - pos: position{line: 472, col: 60, offset: 20598}, - val: "_", + pos: position{line: 490, col: 60, offset: 21850}, + val: "`", ignoreCase: false, }, }, @@ -26879,267 +5380,358 @@ var g = &grammar{ }, }, { - name: "MonospaceText", - pos: position{line: 476, col: 1, offset: 20750}, - expr: &choiceExpr{ - pos: position{line: 476, col: 18, offset: 20767}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 476, col: 18, offset: 20767}, - run: (*parser).callonMonospaceText2, - expr: &seqExpr{ - pos: position{line: 476, col: 18, offset: 20767}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 476, col: 18, offset: 20767}, - expr: &litMatcher{ - pos: position{line: 476, col: 19, offset: 20768}, - val: "\\\\", - ignoreCase: false, - }, - }, - &litMatcher{ - pos: position{line: 476, col: 24, offset: 20773}, - val: "``", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 476, col: 29, offset: 20778}, - label: "content", - expr: &ruleRefExpr{ - pos: position{line: 476, col: 38, offset: 20787}, - name: "QuotedTextContent", - }, - }, - &litMatcher{ - pos: position{line: 476, col: 57, offset: 20806}, - val: "``", - ignoreCase: false, - }, - }, - }, + name: "QuotedTextContent", + pos: position{line: 494, col: 1, offset: 22002}, + expr: &seqExpr{ + pos: position{line: 494, col: 22, offset: 22023}, + exprs: []interface{}{ + &ruleRefExpr{ + pos: position{line: 494, col: 22, offset: 22023}, + name: "QuotedTextContentElement", }, - &actionExpr{ - pos: position{line: 478, col: 5, offset: 20936}, - run: (*parser).callonMonospaceText10, + &zeroOrMoreExpr{ + pos: position{line: 494, col: 47, offset: 22048}, expr: &seqExpr{ - pos: position{line: 478, col: 5, offset: 20936}, + pos: position{line: 494, col: 48, offset: 22049}, exprs: []interface{}{ - ¬Expr{ - pos: position{line: 478, col: 5, offset: 20936}, - expr: &litMatcher{ - pos: position{line: 478, col: 6, offset: 20937}, - val: "\\\\", - ignoreCase: false, - }, - }, - &litMatcher{ - pos: position{line: 478, col: 11, offset: 20942}, - val: "``", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 478, col: 16, offset: 20947}, - label: "content", + &oneOrMoreExpr{ + pos: position{line: 494, col: 48, offset: 22049}, expr: &ruleRefExpr{ - pos: position{line: 478, col: 25, offset: 20956}, - name: "QuotedTextContent", + pos: position{line: 494, col: 48, offset: 22049}, + name: "WS", }, }, - &litMatcher{ - pos: position{line: 478, col: 44, offset: 20975}, - val: "`", - ignoreCase: false, + &ruleRefExpr{ + pos: position{line: 494, col: 52, offset: 22053}, + name: "QuotedTextContentElement", }, }, }, }, - &actionExpr{ - pos: position{line: 481, col: 5, offset: 21145}, - run: (*parser).callonMonospaceText18, - expr: &seqExpr{ - pos: position{line: 481, col: 5, offset: 21145}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 481, col: 5, offset: 21145}, - expr: &litMatcher{ - pos: position{line: 481, col: 6, offset: 21146}, - val: "\\", - ignoreCase: false, - }, - }, - &litMatcher{ - pos: position{line: 481, col: 10, offset: 21150}, - val: "`", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 481, col: 14, offset: 21154}, - label: "content", - expr: &ruleRefExpr{ - pos: position{line: 481, col: 23, offset: 21163}, - name: "QuotedTextContent", - }, + }, + }, + }, + { + name: "QuotedTextContentElement", + pos: position{line: 496, col: 1, offset: 22081}, + expr: &choiceExpr{ + pos: position{line: 496, col: 29, offset: 22109}, + alternatives: []interface{}{ + &ruleRefExpr{ + pos: position{line: 496, col: 29, offset: 22109}, + name: "QuotedText", + }, + &ruleRefExpr{ + pos: position{line: 496, col: 42, offset: 22122}, + name: "QuotedTextWord", + }, + &ruleRefExpr{ + pos: position{line: 496, col: 59, offset: 22139}, + name: "WordWithQuotePunctuation", + }, + }, + }, + }, + { + name: "QuotedTextWord", + pos: position{line: 498, col: 1, offset: 22268}, + expr: &oneOrMoreExpr{ + pos: position{line: 498, col: 19, offset: 22286}, + expr: &seqExpr{ + pos: position{line: 498, col: 20, offset: 22287}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 498, col: 20, offset: 22287}, + expr: &ruleRefExpr{ + pos: position{line: 498, col: 21, offset: 22288}, + name: "NEWLINE", + }, + }, + ¬Expr{ + pos: position{line: 498, col: 29, offset: 22296}, + expr: &ruleRefExpr{ + pos: position{line: 498, col: 30, offset: 22297}, + name: "WS", + }, + }, + ¬Expr{ + pos: position{line: 498, col: 33, offset: 22300}, + expr: &litMatcher{ + pos: position{line: 498, col: 34, offset: 22301}, + val: "*", + ignoreCase: false, + }, + }, + ¬Expr{ + pos: position{line: 498, col: 38, offset: 22305}, + expr: &litMatcher{ + pos: position{line: 498, col: 39, offset: 22306}, + val: "_", + ignoreCase: false, + }, + }, + ¬Expr{ + pos: position{line: 498, col: 43, offset: 22310}, + expr: &litMatcher{ + pos: position{line: 498, col: 44, offset: 22311}, + val: "`", + ignoreCase: false, + }, + }, + &anyMatcher{ + line: 498, col: 48, offset: 22315, + }, + }, + }, + }, + }, + { + name: "WordWithQuotePunctuation", + pos: position{line: 500, col: 1, offset: 22358}, + expr: &actionExpr{ + pos: position{line: 500, col: 29, offset: 22386}, + run: (*parser).callonWordWithQuotePunctuation1, + expr: &oneOrMoreExpr{ + pos: position{line: 500, col: 29, offset: 22386}, + expr: &seqExpr{ + pos: position{line: 500, col: 30, offset: 22387}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 500, col: 30, offset: 22387}, + expr: &ruleRefExpr{ + pos: position{line: 500, col: 31, offset: 22388}, + name: "NEWLINE", }, - &litMatcher{ - pos: position{line: 481, col: 42, offset: 21182}, - val: "`", - ignoreCase: false, + }, + ¬Expr{ + pos: position{line: 500, col: 39, offset: 22396}, + expr: &ruleRefExpr{ + pos: position{line: 500, col: 40, offset: 22397}, + name: "WS", }, }, + &anyMatcher{ + line: 500, col: 44, offset: 22401, + }, }, }, }, }, }, { - name: "EscapedMonospaceText", - pos: position{line: 485, col: 1, offset: 21309}, + name: "UnbalancedQuotePunctuation", + pos: position{line: 505, col: 1, offset: 22646}, expr: &choiceExpr{ - pos: position{line: 485, col: 25, offset: 21333}, + pos: position{line: 505, col: 31, offset: 22676}, alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 485, col: 25, offset: 21333}, - run: (*parser).callonEscapedMonospaceText2, - expr: &seqExpr{ - pos: position{line: 485, col: 25, offset: 21333}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 485, col: 25, offset: 21333}, - label: "backslashes", - expr: &seqExpr{ - pos: position{line: 485, col: 38, offset: 21346}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 485, col: 38, offset: 21346}, - val: "\\\\", + &litMatcher{ + pos: position{line: 505, col: 31, offset: 22676}, + val: "*", + ignoreCase: false, + }, + &litMatcher{ + pos: position{line: 505, col: 37, offset: 22682}, + val: "_", + ignoreCase: false, + }, + &litMatcher{ + pos: position{line: 505, col: 43, offset: 22688}, + val: "`", + ignoreCase: false, + }, + }, + }, + }, + { + name: "Passthrough", + pos: position{line: 510, col: 1, offset: 22800}, + expr: &choiceExpr{ + pos: position{line: 510, col: 16, offset: 22815}, + alternatives: []interface{}{ + &ruleRefExpr{ + pos: position{line: 510, col: 16, offset: 22815}, + name: "TriplePlusPassthrough", + }, + &ruleRefExpr{ + pos: position{line: 510, col: 40, offset: 22839}, + name: "SinglePlusPassthrough", + }, + &ruleRefExpr{ + pos: position{line: 510, col: 64, offset: 22863}, + name: "PassthroughMacro", + }, + }, + }, + }, + { + name: "SinglePlusPassthrough", + pos: position{line: 512, col: 1, offset: 22881}, + expr: &actionExpr{ + pos: position{line: 512, col: 26, offset: 22906}, + run: (*parser).callonSinglePlusPassthrough1, + expr: &seqExpr{ + pos: position{line: 512, col: 26, offset: 22906}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 512, col: 26, offset: 22906}, + val: "+", + ignoreCase: false, + }, + &labeledExpr{ + pos: position{line: 512, col: 30, offset: 22910}, + label: "content", + expr: &zeroOrMoreExpr{ + pos: position{line: 512, col: 38, offset: 22918}, + expr: &seqExpr{ + pos: position{line: 512, col: 39, offset: 22919}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 512, col: 39, offset: 22919}, + expr: &ruleRefExpr{ + pos: position{line: 512, col: 40, offset: 22920}, + name: "NEWLINE", + }, + }, + ¬Expr{ + pos: position{line: 512, col: 48, offset: 22928}, + expr: &litMatcher{ + pos: position{line: 512, col: 49, offset: 22929}, + val: "+", ignoreCase: false, }, - &zeroOrMoreExpr{ - pos: position{line: 485, col: 43, offset: 21351}, - expr: &litMatcher{ - pos: position{line: 485, col: 43, offset: 21351}, - val: "\\", - ignoreCase: false, - }, + }, + &anyMatcher{ + line: 512, col: 53, offset: 22933, + }, + }, + }, + }, + }, + &litMatcher{ + pos: position{line: 512, col: 57, offset: 22937}, + val: "+", + ignoreCase: false, + }, + }, + }, + }, + }, + { + name: "TriplePlusPassthrough", + pos: position{line: 516, col: 1, offset: 23032}, + expr: &actionExpr{ + pos: position{line: 516, col: 26, offset: 23057}, + run: (*parser).callonTriplePlusPassthrough1, + expr: &seqExpr{ + pos: position{line: 516, col: 26, offset: 23057}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 516, col: 26, offset: 23057}, + val: "+++", + ignoreCase: false, + }, + &labeledExpr{ + pos: position{line: 516, col: 32, offset: 23063}, + label: "content", + expr: &zeroOrMoreExpr{ + pos: position{line: 516, col: 40, offset: 23071}, + expr: &seqExpr{ + pos: position{line: 516, col: 41, offset: 23072}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 516, col: 41, offset: 23072}, + expr: &litMatcher{ + pos: position{line: 516, col: 42, offset: 23073}, + val: "+++", + ignoreCase: false, }, }, + &anyMatcher{ + line: 516, col: 48, offset: 23079, + }, }, }, + }, + }, + &litMatcher{ + pos: position{line: 516, col: 52, offset: 23083}, + val: "+++", + ignoreCase: false, + }, + }, + }, + }, + }, + { + name: "PassthroughMacro", + pos: position{line: 520, col: 1, offset: 23180}, + expr: &choiceExpr{ + pos: position{line: 520, col: 21, offset: 23200}, + alternatives: []interface{}{ + &actionExpr{ + pos: position{line: 520, col: 21, offset: 23200}, + run: (*parser).callonPassthroughMacro2, + expr: &seqExpr{ + pos: position{line: 520, col: 21, offset: 23200}, + exprs: []interface{}{ &litMatcher{ - pos: position{line: 485, col: 49, offset: 21357}, - val: "``", + pos: position{line: 520, col: 21, offset: 23200}, + val: "pass:[", ignoreCase: false, }, &labeledExpr{ - pos: position{line: 485, col: 54, offset: 21362}, + pos: position{line: 520, col: 30, offset: 23209}, label: "content", - expr: &ruleRefExpr{ - pos: position{line: 485, col: 63, offset: 21371}, - name: "QuotedTextContent", + expr: &zeroOrMoreExpr{ + pos: position{line: 520, col: 38, offset: 23217}, + expr: &ruleRefExpr{ + pos: position{line: 520, col: 39, offset: 23218}, + name: "PassthroughMacroCharacter", + }, }, }, &litMatcher{ - pos: position{line: 485, col: 82, offset: 21390}, - val: "``", + pos: position{line: 520, col: 67, offset: 23246}, + val: "]", ignoreCase: false, }, }, }, }, &actionExpr{ - pos: position{line: 487, col: 5, offset: 21545}, - run: (*parser).callonEscapedMonospaceText13, + pos: position{line: 522, col: 5, offset: 23337}, + run: (*parser).callonPassthroughMacro9, expr: &seqExpr{ - pos: position{line: 487, col: 5, offset: 21545}, + pos: position{line: 522, col: 5, offset: 23337}, exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 487, col: 5, offset: 21545}, - label: "backslashes", - expr: &seqExpr{ - pos: position{line: 487, col: 18, offset: 21558}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 487, col: 18, offset: 21558}, - val: "\\", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 487, col: 22, offset: 21562}, - expr: &litMatcher{ - pos: position{line: 487, col: 22, offset: 21562}, - val: "\\", - ignoreCase: false, - }, - }, - }, - }, - }, &litMatcher{ - pos: position{line: 487, col: 28, offset: 21568}, - val: "``", + pos: position{line: 522, col: 5, offset: 23337}, + val: "pass:q[", ignoreCase: false, }, &labeledExpr{ - pos: position{line: 487, col: 33, offset: 21573}, + pos: position{line: 522, col: 15, offset: 23347}, label: "content", - expr: &ruleRefExpr{ - pos: position{line: 487, col: 42, offset: 21582}, - name: "QuotedTextContent", - }, - }, - &litMatcher{ - pos: position{line: 487, col: 61, offset: 21601}, - val: "`", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 490, col: 5, offset: 21795}, - run: (*parser).callonEscapedMonospaceText24, - expr: &seqExpr{ - pos: position{line: 490, col: 5, offset: 21795}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 490, col: 5, offset: 21795}, - label: "backslashes", - expr: &seqExpr{ - pos: position{line: 490, col: 18, offset: 21808}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 490, col: 18, offset: 21808}, - val: "\\", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 490, col: 22, offset: 21812}, - expr: &litMatcher{ - pos: position{line: 490, col: 22, offset: 21812}, - val: "\\", - ignoreCase: false, + expr: &zeroOrMoreExpr{ + pos: position{line: 522, col: 23, offset: 23355}, + expr: &choiceExpr{ + pos: position{line: 522, col: 24, offset: 23356}, + alternatives: []interface{}{ + &ruleRefExpr{ + pos: position{line: 522, col: 24, offset: 23356}, + name: "QuotedText", + }, + &ruleRefExpr{ + pos: position{line: 522, col: 37, offset: 23369}, + name: "PassthroughMacroCharacter", }, }, }, }, }, &litMatcher{ - pos: position{line: 490, col: 28, offset: 21818}, - val: "`", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 490, col: 32, offset: 21822}, - label: "content", - expr: &ruleRefExpr{ - pos: position{line: 490, col: 41, offset: 21831}, - name: "QuotedTextContent", - }, - }, - &litMatcher{ - pos: position{line: 490, col: 60, offset: 21850}, - val: "`", + pos: position{line: 522, col: 65, offset: 23397}, + val: "]", ignoreCase: false, }, }, @@ -27149,191 +5741,188 @@ var g = &grammar{ }, }, { - name: "QuotedTextContent", - pos: position{line: 494, col: 1, offset: 22002}, + name: "PassthroughMacroCharacter", + pos: position{line: 526, col: 1, offset: 23487}, expr: &seqExpr{ - pos: position{line: 494, col: 22, offset: 22023}, + pos: position{line: 526, col: 31, offset: 23517}, exprs: []interface{}{ - &ruleRefExpr{ - pos: position{line: 494, col: 22, offset: 22023}, - name: "QuotedTextContentElement", + ¬Expr{ + pos: position{line: 526, col: 31, offset: 23517}, + expr: &litMatcher{ + pos: position{line: 526, col: 32, offset: 23518}, + val: "]", + ignoreCase: false, + }, }, - &zeroOrMoreExpr{ - pos: position{line: 494, col: 47, offset: 22048}, - expr: &seqExpr{ - pos: position{line: 494, col: 48, offset: 22049}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 494, col: 48, offset: 22049}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonQuotedTextContent8, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &ruleRefExpr{ - pos: position{line: 494, col: 52, offset: 22053}, - name: "QuotedTextContentElement", - }, + &anyMatcher{ + line: 526, col: 36, offset: 23522, + }, + }, + }, + }, + { + name: "CrossReference", + pos: position{line: 531, col: 1, offset: 23638}, + expr: &actionExpr{ + pos: position{line: 531, col: 19, offset: 23656}, + run: (*parser).callonCrossReference1, + expr: &seqExpr{ + pos: position{line: 531, col: 19, offset: 23656}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 531, col: 19, offset: 23656}, + val: "<<", + ignoreCase: false, + }, + &labeledExpr{ + pos: position{line: 531, col: 24, offset: 23661}, + label: "id", + expr: &ruleRefExpr{ + pos: position{line: 531, col: 28, offset: 23665}, + name: "ID", }, }, + &litMatcher{ + pos: position{line: 531, col: 32, offset: 23669}, + val: ">>", + ignoreCase: false, + }, }, }, }, }, { - name: "QuotedTextContentElement", - pos: position{line: 496, col: 1, offset: 22081}, + name: "Link", + pos: position{line: 538, col: 1, offset: 23828}, expr: &choiceExpr{ - pos: position{line: 496, col: 29, offset: 22109}, + pos: position{line: 538, col: 9, offset: 23836}, alternatives: []interface{}{ &ruleRefExpr{ - pos: position{line: 496, col: 29, offset: 22109}, - name: "QuotedText", + pos: position{line: 538, col: 9, offset: 23836}, + name: "RelativeLink", }, - &oneOrMoreExpr{ - pos: position{line: 498, col: 19, offset: 22286}, - expr: &seqExpr{ - pos: position{line: 498, col: 20, offset: 22287}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 498, col: 20, offset: 22287}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, + &ruleRefExpr{ + pos: position{line: 538, col: 24, offset: 23851}, + name: "ExternalLink", + }, + }, + }, + }, + { + name: "ExternalLink", + pos: position{line: 540, col: 1, offset: 23866}, + expr: &actionExpr{ + pos: position{line: 540, col: 17, offset: 23882}, + run: (*parser).callonExternalLink1, + expr: &seqExpr{ + pos: position{line: 540, col: 17, offset: 23882}, + exprs: []interface{}{ + &labeledExpr{ + pos: position{line: 540, col: 17, offset: 23882}, + label: "url", + expr: &seqExpr{ + pos: position{line: 540, col: 22, offset: 23887}, + exprs: []interface{}{ + &ruleRefExpr{ + pos: position{line: 540, col: 22, offset: 23887}, + name: "URL_SCHEME", + }, + &ruleRefExpr{ + pos: position{line: 540, col: 33, offset: 23898}, + name: "URL", }, }, - ¬Expr{ - pos: position{line: 498, col: 29, offset: 22296}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonQuotedTextContentElement12, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, + }, + }, + &labeledExpr{ + pos: position{line: 540, col: 38, offset: 23903}, + label: "text", + expr: &zeroOrOneExpr{ + pos: position{line: 540, col: 43, offset: 23908}, + expr: &seqExpr{ + pos: position{line: 540, col: 44, offset: 23909}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 540, col: 44, offset: 23909}, + val: "[", + ignoreCase: false, + }, + &zeroOrMoreExpr{ + pos: position{line: 540, col: 48, offset: 23913}, + expr: &ruleRefExpr{ + pos: position{line: 540, col: 49, offset: 23914}, + name: "URL_TEXT", }, }, + &litMatcher{ + pos: position{line: 540, col: 60, offset: 23925}, + val: "]", + ignoreCase: false, + }, }, }, - ¬Expr{ - pos: position{line: 498, col: 33, offset: 22300}, - expr: &litMatcher{ - pos: position{line: 498, col: 34, offset: 22301}, - val: "*", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 498, col: 38, offset: 22305}, - expr: &litMatcher{ - pos: position{line: 498, col: 39, offset: 22306}, - val: "_", - ignoreCase: false, + }, + }, + }, + }, + }, + }, + { + name: "RelativeLink", + pos: position{line: 547, col: 1, offset: 24086}, + expr: &actionExpr{ + pos: position{line: 547, col: 17, offset: 24102}, + run: (*parser).callonRelativeLink1, + expr: &seqExpr{ + pos: position{line: 547, col: 17, offset: 24102}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 547, col: 17, offset: 24102}, + val: "link:", + ignoreCase: false, + }, + &labeledExpr{ + pos: position{line: 547, col: 25, offset: 24110}, + label: "url", + expr: &seqExpr{ + pos: position{line: 547, col: 30, offset: 24115}, + exprs: []interface{}{ + &zeroOrOneExpr{ + pos: position{line: 547, col: 30, offset: 24115}, + expr: &ruleRefExpr{ + pos: position{line: 547, col: 30, offset: 24115}, + name: "URL_SCHEME", + }, }, - }, - ¬Expr{ - pos: position{line: 498, col: 43, offset: 22310}, - expr: &litMatcher{ - pos: position{line: 498, col: 44, offset: 22311}, - val: "`", - ignoreCase: false, + &ruleRefExpr{ + pos: position{line: 547, col: 42, offset: 24127}, + name: "URL", }, }, - &anyMatcher{ - line: 498, col: 48, offset: 22315, - }, }, }, - }, - &actionExpr{ - pos: position{line: 500, col: 29, offset: 22386}, - run: (*parser).callonQuotedTextContentElement21, - expr: &oneOrMoreExpr{ - pos: position{line: 500, col: 29, offset: 22386}, + &labeledExpr{ + pos: position{line: 547, col: 47, offset: 24132}, + label: "text", expr: &seqExpr{ - pos: position{line: 500, col: 30, offset: 22387}, + pos: position{line: 547, col: 53, offset: 24138}, exprs: []interface{}{ - ¬Expr{ - pos: position{line: 500, col: 30, offset: 22387}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, + &litMatcher{ + pos: position{line: 547, col: 53, offset: 24138}, + val: "[", + ignoreCase: false, }, - ¬Expr{ - pos: position{line: 500, col: 39, offset: 22396}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonQuotedTextContentElement31, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + &zeroOrMoreExpr{ + pos: position{line: 547, col: 57, offset: 24142}, + expr: &ruleRefExpr{ + pos: position{line: 547, col: 58, offset: 24143}, + name: "URL_TEXT", }, }, - &anyMatcher{ - line: 500, col: 44, offset: 22401, + &litMatcher{ + pos: position{line: 547, col: 69, offset: 24154}, + val: "]", + ignoreCase: false, }, }, }, @@ -27343,220 +5932,162 @@ var g = &grammar{ }, }, { - name: "Passthrough", - pos: position{line: 510, col: 1, offset: 22800}, - expr: &choiceExpr{ - pos: position{line: 510, col: 16, offset: 22815}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 516, col: 26, offset: 23057}, - run: (*parser).callonPassthrough2, - expr: &seqExpr{ - pos: position{line: 516, col: 26, offset: 23057}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 516, col: 26, offset: 23057}, - val: "+++", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 516, col: 32, offset: 23063}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 516, col: 40, offset: 23071}, - expr: &seqExpr{ - pos: position{line: 516, col: 41, offset: 23072}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 516, col: 41, offset: 23072}, - expr: &litMatcher{ - pos: position{line: 516, col: 42, offset: 23073}, - val: "+++", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 516, col: 48, offset: 23079, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 516, col: 52, offset: 23083}, - val: "+++", - ignoreCase: false, + name: "BlockImage", + pos: position{line: 557, col: 1, offset: 24416}, + expr: &actionExpr{ + pos: position{line: 557, col: 15, offset: 24430}, + run: (*parser).callonBlockImage1, + expr: &seqExpr{ + pos: position{line: 557, col: 15, offset: 24430}, + exprs: []interface{}{ + &labeledExpr{ + pos: position{line: 557, col: 15, offset: 24430}, + label: "attributes", + expr: &zeroOrMoreExpr{ + pos: position{line: 557, col: 26, offset: 24441}, + expr: &ruleRefExpr{ + pos: position{line: 557, col: 27, offset: 24442}, + name: "ElementAttribute", }, }, }, + &labeledExpr{ + pos: position{line: 557, col: 46, offset: 24461}, + label: "image", + expr: &ruleRefExpr{ + pos: position{line: 557, col: 52, offset: 24467}, + name: "BlockImageMacro", + }, + }, + &zeroOrMoreExpr{ + pos: position{line: 557, col: 69, offset: 24484}, + expr: &ruleRefExpr{ + pos: position{line: 557, col: 69, offset: 24484}, + name: "WS", + }, + }, + &ruleRefExpr{ + pos: position{line: 557, col: 73, offset: 24488}, + name: "EOL", + }, }, - &actionExpr{ - pos: position{line: 512, col: 26, offset: 22906}, - run: (*parser).callonPassthrough12, - expr: &seqExpr{ - pos: position{line: 512, col: 26, offset: 22906}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 512, col: 26, offset: 22906}, - val: "+", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 512, col: 30, offset: 22910}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 512, col: 38, offset: 22918}, - expr: &seqExpr{ - pos: position{line: 512, col: 39, offset: 22919}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 512, col: 39, offset: 22919}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 512, col: 48, offset: 22928}, - expr: &litMatcher{ - pos: position{line: 512, col: 49, offset: 22929}, - val: "+", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 512, col: 53, offset: 22933, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 512, col: 57, offset: 22937}, - val: "+", - ignoreCase: false, + }, + }, + }, + { + name: "BlockImageMacro", + pos: position{line: 562, col: 1, offset: 24647}, + expr: &actionExpr{ + pos: position{line: 562, col: 20, offset: 24666}, + run: (*parser).callonBlockImageMacro1, + expr: &seqExpr{ + pos: position{line: 562, col: 20, offset: 24666}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 562, col: 20, offset: 24666}, + val: "image::", + ignoreCase: false, + }, + &labeledExpr{ + pos: position{line: 562, col: 30, offset: 24676}, + label: "path", + expr: &ruleRefExpr{ + pos: position{line: 562, col: 36, offset: 24682}, + name: "URL", + }, + }, + &litMatcher{ + pos: position{line: 562, col: 41, offset: 24687}, + val: "[", + ignoreCase: false, + }, + &labeledExpr{ + pos: position{line: 562, col: 45, offset: 24691}, + label: "attributes", + expr: &zeroOrOneExpr{ + pos: position{line: 562, col: 57, offset: 24703}, + expr: &ruleRefExpr{ + pos: position{line: 562, col: 57, offset: 24703}, + name: "URL_TEXT", }, }, }, + &litMatcher{ + pos: position{line: 562, col: 68, offset: 24714}, + val: "]", + ignoreCase: false, + }, }, - &ruleRefExpr{ - pos: position{line: 510, col: 64, offset: 22863}, - name: "PassthroughMacro", + }, + }, + }, + { + name: "InlineImage", + pos: position{line: 566, col: 1, offset: 24781}, + expr: &actionExpr{ + pos: position{line: 566, col: 16, offset: 24796}, + run: (*parser).callonInlineImage1, + expr: &labeledExpr{ + pos: position{line: 566, col: 16, offset: 24796}, + label: "image", + expr: &ruleRefExpr{ + pos: position{line: 566, col: 22, offset: 24802}, + name: "InlineImageMacro", }, }, }, }, { - name: "PassthroughMacro", - pos: position{line: 520, col: 1, offset: 23180}, - expr: &choiceExpr{ - pos: position{line: 520, col: 21, offset: 23200}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 520, col: 21, offset: 23200}, - run: (*parser).callonPassthroughMacro2, - expr: &seqExpr{ - pos: position{line: 520, col: 21, offset: 23200}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 520, col: 21, offset: 23200}, - val: "pass:[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 520, col: 30, offset: 23209}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 520, col: 38, offset: 23217}, - expr: &seqExpr{ - pos: position{line: 526, col: 31, offset: 23517}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 526, col: 31, offset: 23517}, - expr: &litMatcher{ - pos: position{line: 526, col: 32, offset: 23518}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 526, col: 36, offset: 23522, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 520, col: 67, offset: 23246}, - val: "]", - ignoreCase: false, - }, + name: "InlineImageMacro", + pos: position{line: 571, col: 1, offset: 24947}, + expr: &actionExpr{ + pos: position{line: 571, col: 21, offset: 24967}, + run: (*parser).callonInlineImageMacro1, + expr: &seqExpr{ + pos: position{line: 571, col: 21, offset: 24967}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 571, col: 21, offset: 24967}, + val: "image:", + ignoreCase: false, + }, + ¬Expr{ + pos: position{line: 571, col: 30, offset: 24976}, + expr: &litMatcher{ + pos: position{line: 571, col: 31, offset: 24977}, + val: ":", + ignoreCase: false, }, }, - }, - &actionExpr{ - pos: position{line: 522, col: 5, offset: 23337}, - run: (*parser).callonPassthroughMacro12, - expr: &seqExpr{ - pos: position{line: 522, col: 5, offset: 23337}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 522, col: 5, offset: 23337}, - val: "pass:q[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 522, col: 15, offset: 23347}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 522, col: 23, offset: 23355}, - expr: &choiceExpr{ - pos: position{line: 522, col: 24, offset: 23356}, - alternatives: []interface{}{ - &ruleRefExpr{ - pos: position{line: 522, col: 24, offset: 23356}, - name: "QuotedText", - }, - &seqExpr{ - pos: position{line: 526, col: 31, offset: 23517}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 526, col: 31, offset: 23517}, - expr: &litMatcher{ - pos: position{line: 526, col: 32, offset: 23518}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 526, col: 36, offset: 23522, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 522, col: 65, offset: 23397}, - val: "]", - ignoreCase: false, + &labeledExpr{ + pos: position{line: 571, col: 35, offset: 24981}, + label: "path", + expr: &ruleRefExpr{ + pos: position{line: 571, col: 41, offset: 24987}, + name: "URL", + }, + }, + &litMatcher{ + pos: position{line: 571, col: 46, offset: 24992}, + val: "[", + ignoreCase: false, + }, + &labeledExpr{ + pos: position{line: 571, col: 50, offset: 24996}, + label: "attributes", + expr: &zeroOrOneExpr{ + pos: position{line: 571, col: 62, offset: 25008}, + expr: &ruleRefExpr{ + pos: position{line: 571, col: 62, offset: 25008}, + name: "URL_TEXT", }, }, }, + &litMatcher{ + pos: position{line: 571, col: 73, offset: 25019}, + val: "]", + ignoreCase: false, + }, }, }, }, @@ -27582,6 +6113,40 @@ var g = &grammar{ }, }, }, + { + name: "BlockDelimiter", + pos: position{line: 580, col: 1, offset: 25410}, + expr: &choiceExpr{ + pos: position{line: 580, col: 19, offset: 25428}, + alternatives: []interface{}{ + &ruleRefExpr{ + pos: position{line: 580, col: 19, offset: 25428}, + name: "LiteralBlockDelimiter", + }, + &ruleRefExpr{ + pos: position{line: 580, col: 43, offset: 25452}, + name: "FencedBlockDelimiter", + }, + &ruleRefExpr{ + pos: position{line: 580, col: 66, offset: 25475}, + name: "ListingBlockDelimiter", + }, + &ruleRefExpr{ + pos: position{line: 580, col: 90, offset: 25499}, + name: "ExampleBlockDelimiter", + }, + }, + }, + }, + { + name: "FencedBlockDelimiter", + pos: position{line: 582, col: 1, offset: 25522}, + expr: &litMatcher{ + pos: position{line: 582, col: 25, offset: 25546}, + val: "```", + ignoreCase: false, + }, + }, { name: "FencedBlock", pos: position{line: 584, col: 1, offset: 25553}, @@ -27596,1323 +6161,26 @@ var g = &grammar{ label: "attributes", expr: &zeroOrMoreExpr{ pos: position{line: 584, col: 27, offset: 25579}, - expr: &actionExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - run: (*parser).callonFencedBlock5, - expr: &seqExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - label: "attr", - expr: &choiceExpr{ - pos: position{line: 138, col: 27, offset: 5589}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - run: (*parser).callonFencedBlock9, - expr: &labeledExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - label: "id", - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonFencedBlock11, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonFencedBlock15, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock25, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - run: (*parser).callonFencedBlock37, - expr: &seqExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 144, col: 5, offset: 5840}, - val: "[#", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 144, col: 10, offset: 5845}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonFencedBlock41, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock51, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 144, col: 18, offset: 5853}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - run: (*parser).callonFencedBlock63, - expr: &seqExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 154, col: 17, offset: 6148}, - val: ".", - ignoreCase: false, - }, - ¬Expr{ - pos: position{line: 154, col: 21, offset: 6152}, - expr: &litMatcher{ - pos: position{line: 154, col: 22, offset: 6153}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 154, col: 26, offset: 6157}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock71, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 154, col: 30, offset: 6161}, - label: "title", - expr: &oneOrMoreExpr{ - pos: position{line: 154, col: 36, offset: 6167}, - expr: &seqExpr{ - pos: position{line: 154, col: 37, offset: 6168}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 154, col: 37, offset: 6168}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 154, col: 46, offset: 6177, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - run: (*parser).callonFencedBlock81, - expr: &seqExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 159, col: 30, offset: 6351}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 159, col: 34, offset: 6355}, - label: "k", - expr: &choiceExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - run: (*parser).callonFencedBlock86, - expr: &litMatcher{ - pos: position{line: 401, col: 19, offset: 16759}, - val: "TIP", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 403, col: 5, offset: 16797}, - run: (*parser).callonFencedBlock88, - expr: &litMatcher{ - pos: position{line: 403, col: 5, offset: 16797}, - val: "NOTE", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 405, col: 5, offset: 16837}, - run: (*parser).callonFencedBlock90, - expr: &litMatcher{ - pos: position{line: 405, col: 5, offset: 16837}, - val: "IMPORTANT", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 407, col: 5, offset: 16887}, - run: (*parser).callonFencedBlock92, - expr: &litMatcher{ - pos: position{line: 407, col: 5, offset: 16887}, - val: "WARNING", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 409, col: 5, offset: 16933}, - run: (*parser).callonFencedBlock94, - expr: &litMatcher{ - pos: position{line: 409, col: 5, offset: 16933}, - val: "CAUTION", - ignoreCase: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 159, col: 53, offset: 6374}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - run: (*parser).callonFencedBlock97, - expr: &seqExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 164, col: 19, offset: 6487}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 164, col: 23, offset: 6491}, - label: "attribute", - expr: &choiceExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - run: (*parser).callonFencedBlock102, - expr: &seqExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonFencedBlock105, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock113, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock125, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 168, col: 40, offset: 6705}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 168, col: 44, offset: 6709}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonFencedBlock129, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock134, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock142, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock152, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - run: (*parser).callonFencedBlock154, - expr: &labeledExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonFencedBlock156, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock164, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock176, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 164, col: 52, offset: 6520}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 164, col: 63, offset: 6531}, - expr: &choiceExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - run: (*parser).callonFencedBlock181, - expr: &seqExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 174, col: 26, offset: 6967}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 174, col: 30, offset: 6971}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock187, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 174, col: 34, offset: 6975}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonFencedBlock190, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock198, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock210, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 174, col: 53, offset: 6994}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 174, col: 57, offset: 6998}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonFencedBlock214, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock219, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock227, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock237, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - run: (*parser).callonFencedBlock239, - expr: &seqExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 176, col: 5, offset: 7124}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 176, col: 9, offset: 7128}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock245, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 176, col: 13, offset: 7132}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonFencedBlock248, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock256, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock268, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 164, col: 89, offset: 6557}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - run: (*parser).callonFencedBlock271, - expr: &seqExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 192, col: 28, offset: 7529}, - val: "[", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 192, col: 32, offset: 7533}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock277, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 192, col: 36, offset: 7537}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 192, col: 44, offset: 7545}, - expr: &seqExpr{ - pos: position{line: 192, col: 45, offset: 7546}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 192, col: 45, offset: 7546}, - expr: &litMatcher{ - pos: position{line: 192, col: 46, offset: 7547}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 192, col: 50, offset: 7551, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 192, col: 54, offset: 7555}, - val: "]", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 192, col: 58, offset: 7559}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock289, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 138, col: 124, offset: 5686}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock294, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 584, col: 28, offset: 25580}, + name: "ElementAttribute", }, }, }, - &litMatcher{ - pos: position{line: 582, col: 25, offset: 25546}, - val: "```", - ignoreCase: false, + &ruleRefExpr{ + pos: position{line: 584, col: 47, offset: 25599}, + name: "FencedBlockDelimiter", }, &zeroOrMoreExpr{ pos: position{line: 584, col: 68, offset: 25620}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock305, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 584, col: 68, offset: 25620}, + name: "WS", }, }, - &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, + &ruleRefExpr{ + pos: position{line: 584, col: 72, offset: 25624}, + name: "NEWLINE", }, &labeledExpr{ pos: position{line: 584, col: 80, offset: 25632}, @@ -28930,68 +6198,9 @@ var g = &grammar{ pos: position{line: 584, col: 96, offset: 25648}, name: "BlockParagraph", }, - &actionExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - run: (*parser).callonFencedBlock315, - expr: &seqExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 644, col: 14, offset: 28321}, - expr: ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 644, col: 19, offset: 28326}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock323, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, + &ruleRefExpr{ + pos: position{line: 584, col: 113, offset: 25665}, + name: "BlankLine", }, }, }, @@ -29003,63 +6212,26 @@ var g = &grammar{ &seqExpr{ pos: position{line: 584, col: 127, offset: 25679}, exprs: []interface{}{ - &litMatcher{ - pos: position{line: 582, col: 25, offset: 25546}, - val: "```", - ignoreCase: false, + &ruleRefExpr{ + pos: position{line: 584, col: 127, offset: 25679}, + name: "FencedBlockDelimiter", }, &zeroOrMoreExpr{ pos: position{line: 584, col: 148, offset: 25700}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonFencedBlock336, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 584, col: 148, offset: 25700}, + name: "WS", }, }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, + &ruleRefExpr{ + pos: position{line: 584, col: 152, offset: 25704}, + name: "EOL", }, }, }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, + &ruleRefExpr{ + pos: position{line: 584, col: 159, offset: 25711}, + name: "EOF", }, }, }, @@ -29067,6 +6239,15 @@ var g = &grammar{ }, }, }, + { + name: "ListingBlockDelimiter", + pos: position{line: 588, col: 1, offset: 25828}, + expr: &litMatcher{ + pos: position{line: 588, col: 26, offset: 25853}, + val: "----", + ignoreCase: false, + }, + }, { name: "ListingBlock", pos: position{line: 590, col: 1, offset: 25861}, @@ -29081,1323 +6262,26 @@ var g = &grammar{ label: "attributes", expr: &zeroOrMoreExpr{ pos: position{line: 590, col: 28, offset: 25888}, - expr: &actionExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - run: (*parser).callonListingBlock5, - expr: &seqExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - label: "attr", - expr: &choiceExpr{ - pos: position{line: 138, col: 27, offset: 5589}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - run: (*parser).callonListingBlock9, - expr: &labeledExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - label: "id", - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonListingBlock11, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonListingBlock15, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock25, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - run: (*parser).callonListingBlock37, - expr: &seqExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 144, col: 5, offset: 5840}, - val: "[#", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 144, col: 10, offset: 5845}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonListingBlock41, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock51, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 144, col: 18, offset: 5853}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - run: (*parser).callonListingBlock63, - expr: &seqExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 154, col: 17, offset: 6148}, - val: ".", - ignoreCase: false, - }, - ¬Expr{ - pos: position{line: 154, col: 21, offset: 6152}, - expr: &litMatcher{ - pos: position{line: 154, col: 22, offset: 6153}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 154, col: 26, offset: 6157}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock71, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 154, col: 30, offset: 6161}, - label: "title", - expr: &oneOrMoreExpr{ - pos: position{line: 154, col: 36, offset: 6167}, - expr: &seqExpr{ - pos: position{line: 154, col: 37, offset: 6168}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 154, col: 37, offset: 6168}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 154, col: 46, offset: 6177, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - run: (*parser).callonListingBlock81, - expr: &seqExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 159, col: 30, offset: 6351}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 159, col: 34, offset: 6355}, - label: "k", - expr: &choiceExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - run: (*parser).callonListingBlock86, - expr: &litMatcher{ - pos: position{line: 401, col: 19, offset: 16759}, - val: "TIP", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 403, col: 5, offset: 16797}, - run: (*parser).callonListingBlock88, - expr: &litMatcher{ - pos: position{line: 403, col: 5, offset: 16797}, - val: "NOTE", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 405, col: 5, offset: 16837}, - run: (*parser).callonListingBlock90, - expr: &litMatcher{ - pos: position{line: 405, col: 5, offset: 16837}, - val: "IMPORTANT", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 407, col: 5, offset: 16887}, - run: (*parser).callonListingBlock92, - expr: &litMatcher{ - pos: position{line: 407, col: 5, offset: 16887}, - val: "WARNING", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 409, col: 5, offset: 16933}, - run: (*parser).callonListingBlock94, - expr: &litMatcher{ - pos: position{line: 409, col: 5, offset: 16933}, - val: "CAUTION", - ignoreCase: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 159, col: 53, offset: 6374}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - run: (*parser).callonListingBlock97, - expr: &seqExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 164, col: 19, offset: 6487}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 164, col: 23, offset: 6491}, - label: "attribute", - expr: &choiceExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - run: (*parser).callonListingBlock102, - expr: &seqExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonListingBlock105, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock113, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock125, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 168, col: 40, offset: 6705}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 168, col: 44, offset: 6709}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonListingBlock129, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock134, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock142, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock152, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - run: (*parser).callonListingBlock154, - expr: &labeledExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonListingBlock156, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock164, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock176, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 164, col: 52, offset: 6520}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 164, col: 63, offset: 6531}, - expr: &choiceExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - run: (*parser).callonListingBlock181, - expr: &seqExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 174, col: 26, offset: 6967}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 174, col: 30, offset: 6971}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock187, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 174, col: 34, offset: 6975}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonListingBlock190, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock198, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock210, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 174, col: 53, offset: 6994}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 174, col: 57, offset: 6998}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonListingBlock214, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock219, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock227, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock237, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - run: (*parser).callonListingBlock239, - expr: &seqExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 176, col: 5, offset: 7124}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 176, col: 9, offset: 7128}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock245, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 176, col: 13, offset: 7132}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonListingBlock248, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock256, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock268, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 164, col: 89, offset: 6557}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - run: (*parser).callonListingBlock271, - expr: &seqExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 192, col: 28, offset: 7529}, - val: "[", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 192, col: 32, offset: 7533}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock277, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 192, col: 36, offset: 7537}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 192, col: 44, offset: 7545}, - expr: &seqExpr{ - pos: position{line: 192, col: 45, offset: 7546}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 192, col: 45, offset: 7546}, - expr: &litMatcher{ - pos: position{line: 192, col: 46, offset: 7547}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 192, col: 50, offset: 7551, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 192, col: 54, offset: 7555}, - val: "]", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 192, col: 58, offset: 7559}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock289, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 138, col: 124, offset: 5686}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock294, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 590, col: 29, offset: 25889}, + name: "ElementAttribute", }, }, }, - &litMatcher{ - pos: position{line: 588, col: 26, offset: 25853}, - val: "----", - ignoreCase: false, + &ruleRefExpr{ + pos: position{line: 590, col: 48, offset: 25908}, + name: "ListingBlockDelimiter", }, &zeroOrMoreExpr{ pos: position{line: 590, col: 70, offset: 25930}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock305, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 590, col: 70, offset: 25930}, + name: "WS", }, }, - &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, + &ruleRefExpr{ + pos: position{line: 590, col: 74, offset: 25934}, + name: "NEWLINE", }, &labeledExpr{ pos: position{line: 590, col: 82, offset: 25942}, @@ -30415,68 +6299,9 @@ var g = &grammar{ pos: position{line: 590, col: 98, offset: 25958}, name: "BlockParagraph", }, - &actionExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - run: (*parser).callonListingBlock315, - expr: &seqExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 644, col: 14, offset: 28321}, - expr: ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 644, col: 19, offset: 28326}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock323, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, + &ruleRefExpr{ + pos: position{line: 590, col: 115, offset: 25975}, + name: "BlankLine", }, }, }, @@ -30488,63 +6313,26 @@ var g = &grammar{ &seqExpr{ pos: position{line: 590, col: 129, offset: 25989}, exprs: []interface{}{ - &litMatcher{ - pos: position{line: 588, col: 26, offset: 25853}, - val: "----", - ignoreCase: false, + &ruleRefExpr{ + pos: position{line: 590, col: 129, offset: 25989}, + name: "ListingBlockDelimiter", }, &zeroOrMoreExpr{ pos: position{line: 590, col: 151, offset: 26011}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonListingBlock336, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 590, col: 151, offset: 26011}, + name: "WS", }, }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, + &ruleRefExpr{ + pos: position{line: 590, col: 155, offset: 26015}, + name: "EOL", }, }, }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, + &ruleRefExpr{ + pos: position{line: 590, col: 162, offset: 26022}, + name: "EOF", }, }, }, @@ -30552,6 +6340,15 @@ var g = &grammar{ }, }, }, + { + name: "ExampleBlockDelimiter", + pos: position{line: 594, col: 1, offset: 26140}, + expr: &litMatcher{ + pos: position{line: 594, col: 26, offset: 26165}, + val: "====", + ignoreCase: false, + }, + }, { name: "ExampleBlock", pos: position{line: 596, col: 1, offset: 26173}, @@ -30566,1323 +6363,26 @@ var g = &grammar{ label: "attributes", expr: &zeroOrMoreExpr{ pos: position{line: 596, col: 28, offset: 26200}, - expr: &actionExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - run: (*parser).callonExampleBlock5, - expr: &seqExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 138, col: 21, offset: 5583}, - label: "attr", - expr: &choiceExpr{ - pos: position{line: 138, col: 27, offset: 5589}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - run: (*parser).callonExampleBlock9, - expr: &labeledExpr{ - pos: position{line: 142, col: 14, offset: 5794}, - label: "id", - expr: &actionExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - run: (*parser).callonExampleBlock11, - expr: &seqExpr{ - pos: position{line: 148, col: 20, offset: 5924}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 148, col: 20, offset: 5924}, - val: "[[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 148, col: 25, offset: 5929}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonExampleBlock15, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock25, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 148, col: 33, offset: 5937}, - val: "]]", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - run: (*parser).callonExampleBlock37, - expr: &seqExpr{ - pos: position{line: 144, col: 5, offset: 5840}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 144, col: 5, offset: 5840}, - val: "[#", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 144, col: 10, offset: 5845}, - label: "id", - expr: &actionExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - run: (*parser).callonExampleBlock41, - expr: &oneOrMoreExpr{ - pos: position{line: 659, col: 7, offset: 28616}, - expr: &seqExpr{ - pos: position{line: 659, col: 8, offset: 28617}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 659, col: 8, offset: 28617}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 17, offset: 28626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock51, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 21, offset: 28630}, - expr: &litMatcher{ - pos: position{line: 659, col: 22, offset: 28631}, - val: "[", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 26, offset: 28635}, - expr: &litMatcher{ - pos: position{line: 659, col: 27, offset: 28636}, - val: "]", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 31, offset: 28640}, - expr: &litMatcher{ - pos: position{line: 659, col: 32, offset: 28641}, - val: "<<", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 659, col: 37, offset: 28646}, - expr: &litMatcher{ - pos: position{line: 659, col: 38, offset: 28647}, - val: ">>", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 659, col: 42, offset: 28651, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 144, col: 18, offset: 5853}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - run: (*parser).callonExampleBlock63, - expr: &seqExpr{ - pos: position{line: 154, col: 17, offset: 6148}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 154, col: 17, offset: 6148}, - val: ".", - ignoreCase: false, - }, - ¬Expr{ - pos: position{line: 154, col: 21, offset: 6152}, - expr: &litMatcher{ - pos: position{line: 154, col: 22, offset: 6153}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 154, col: 26, offset: 6157}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock71, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 154, col: 30, offset: 6161}, - label: "title", - expr: &oneOrMoreExpr{ - pos: position{line: 154, col: 36, offset: 6167}, - expr: &seqExpr{ - pos: position{line: 154, col: 37, offset: 6168}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 154, col: 37, offset: 6168}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &anyMatcher{ - line: 154, col: 46, offset: 6177, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - run: (*parser).callonExampleBlock81, - expr: &seqExpr{ - pos: position{line: 159, col: 30, offset: 6351}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 159, col: 30, offset: 6351}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 159, col: 34, offset: 6355}, - label: "k", - expr: &choiceExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 401, col: 19, offset: 16759}, - run: (*parser).callonExampleBlock86, - expr: &litMatcher{ - pos: position{line: 401, col: 19, offset: 16759}, - val: "TIP", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 403, col: 5, offset: 16797}, - run: (*parser).callonExampleBlock88, - expr: &litMatcher{ - pos: position{line: 403, col: 5, offset: 16797}, - val: "NOTE", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 405, col: 5, offset: 16837}, - run: (*parser).callonExampleBlock90, - expr: &litMatcher{ - pos: position{line: 405, col: 5, offset: 16837}, - val: "IMPORTANT", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 407, col: 5, offset: 16887}, - run: (*parser).callonExampleBlock92, - expr: &litMatcher{ - pos: position{line: 407, col: 5, offset: 16887}, - val: "WARNING", - ignoreCase: false, - }, - }, - &actionExpr{ - pos: position{line: 409, col: 5, offset: 16933}, - run: (*parser).callonExampleBlock94, - expr: &litMatcher{ - pos: position{line: 409, col: 5, offset: 16933}, - val: "CAUTION", - ignoreCase: false, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 159, col: 53, offset: 6374}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - run: (*parser).callonExampleBlock97, - expr: &seqExpr{ - pos: position{line: 164, col: 19, offset: 6487}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 164, col: 19, offset: 6487}, - val: "[", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 164, col: 23, offset: 6491}, - label: "attribute", - expr: &choiceExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - run: (*parser).callonExampleBlock102, - expr: &seqExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 168, col: 21, offset: 6686}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonExampleBlock105, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock113, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock125, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 168, col: 40, offset: 6705}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 168, col: 44, offset: 6709}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonExampleBlock129, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock134, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock142, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock152, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - run: (*parser).callonExampleBlock154, - expr: &labeledExpr{ - pos: position{line: 170, col: 5, offset: 6835}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonExampleBlock156, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock164, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock176, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 164, col: 52, offset: 6520}, - label: "attributes", - expr: &zeroOrMoreExpr{ - pos: position{line: 164, col: 63, offset: 6531}, - expr: &choiceExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - run: (*parser).callonExampleBlock181, - expr: &seqExpr{ - pos: position{line: 174, col: 26, offset: 6967}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 174, col: 26, offset: 6967}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 174, col: 30, offset: 6971}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock187, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 174, col: 34, offset: 6975}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonExampleBlock190, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock198, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock210, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 174, col: 53, offset: 6994}, - val: "=", - ignoreCase: false, - }, - &labeledExpr{ - pos: position{line: 174, col: 57, offset: 6998}, - label: "value", - expr: &actionExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - run: (*parser).callonExampleBlock214, - expr: &seqExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 187, col: 19, offset: 7386}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock219, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 187, col: 23, offset: 7390}, - label: "value", - expr: &zeroOrMoreExpr{ - pos: position{line: 187, col: 29, offset: 7396}, - expr: &seqExpr{ - pos: position{line: 187, col: 30, offset: 7397}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 187, col: 30, offset: 7397}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock227, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 34, offset: 7401}, - expr: &litMatcher{ - pos: position{line: 187, col: 35, offset: 7402}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 187, col: 39, offset: 7406}, - expr: &litMatcher{ - pos: position{line: 187, col: 40, offset: 7407}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 187, col: 44, offset: 7411, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 187, col: 48, offset: 7415}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock237, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - run: (*parser).callonExampleBlock239, - expr: &seqExpr{ - pos: position{line: 176, col: 5, offset: 7124}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 176, col: 5, offset: 7124}, - val: ",", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 176, col: 9, offset: 7128}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock245, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 176, col: 13, offset: 7132}, - label: "key", - expr: &actionExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - run: (*parser).callonExampleBlock248, - expr: &seqExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - exprs: []interface{}{ - &labeledExpr{ - pos: position{line: 182, col: 17, offset: 7257}, - label: "key", - expr: &oneOrMoreExpr{ - pos: position{line: 182, col: 22, offset: 7262}, - expr: &seqExpr{ - pos: position{line: 182, col: 23, offset: 7263}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 182, col: 23, offset: 7263}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock256, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 27, offset: 7267}, - expr: &litMatcher{ - pos: position{line: 182, col: 28, offset: 7268}, - val: "=", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 32, offset: 7272}, - expr: &litMatcher{ - pos: position{line: 182, col: 33, offset: 7273}, - val: ",", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 182, col: 37, offset: 7277}, - expr: &litMatcher{ - pos: position{line: 182, col: 38, offset: 7278}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 182, col: 42, offset: 7282, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 182, col: 46, offset: 7286}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock268, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 164, col: 89, offset: 6557}, - val: "]", - ignoreCase: false, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - run: (*parser).callonExampleBlock271, - expr: &seqExpr{ - pos: position{line: 192, col: 28, offset: 7529}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 192, col: 28, offset: 7529}, - val: "[", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 192, col: 32, offset: 7533}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock277, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 192, col: 36, offset: 7537}, - label: "content", - expr: &zeroOrMoreExpr{ - pos: position{line: 192, col: 44, offset: 7545}, - expr: &seqExpr{ - pos: position{line: 192, col: 45, offset: 7546}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 192, col: 45, offset: 7546}, - expr: &litMatcher{ - pos: position{line: 192, col: 46, offset: 7547}, - val: "]", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 192, col: 50, offset: 7551, - }, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 192, col: 54, offset: 7555}, - val: "]", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 192, col: 58, offset: 7559}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock289, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 138, col: 124, offset: 5686}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock294, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 596, col: 29, offset: 26201}, + name: "ElementAttribute", }, }, }, - &litMatcher{ - pos: position{line: 594, col: 26, offset: 26165}, - val: "====", - ignoreCase: false, + &ruleRefExpr{ + pos: position{line: 596, col: 48, offset: 26220}, + name: "ExampleBlockDelimiter", }, &zeroOrMoreExpr{ pos: position{line: 596, col: 70, offset: 26242}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock305, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 596, col: 70, offset: 26242}, + name: "WS", }, }, - &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, + &ruleRefExpr{ + pos: position{line: 596, col: 74, offset: 26246}, + name: "NEWLINE", }, &labeledExpr{ pos: position{line: 596, col: 82, offset: 26254}, @@ -31900,68 +6400,9 @@ var g = &grammar{ pos: position{line: 596, col: 98, offset: 26270}, name: "BlockParagraph", }, - &actionExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - run: (*parser).callonExampleBlock315, - expr: &seqExpr{ - pos: position{line: 644, col: 14, offset: 28321}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 644, col: 14, offset: 28321}, - expr: ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - &zeroOrMoreExpr{ - pos: position{line: 644, col: 19, offset: 28326}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock323, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, + &ruleRefExpr{ + pos: position{line: 596, col: 115, offset: 26287}, + name: "BlankLine", }, }, }, @@ -31973,63 +6414,26 @@ var g = &grammar{ &seqExpr{ pos: position{line: 596, col: 130, offset: 26302}, exprs: []interface{}{ - &litMatcher{ - pos: position{line: 594, col: 26, offset: 26165}, - val: "====", - ignoreCase: false, + &ruleRefExpr{ + pos: position{line: 596, col: 130, offset: 26302}, + name: "ExampleBlockDelimiter", }, &zeroOrMoreExpr{ pos: position{line: 596, col: 152, offset: 26324}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonExampleBlock336, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 596, col: 152, offset: 26324}, + name: "WS", }, }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, + &ruleRefExpr{ + pos: position{line: 596, col: 156, offset: 26328}, + name: "EOL", }, }, }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, + &ruleRefExpr{ + pos: position{line: 596, col: 163, offset: 26335}, + name: "EOF", }, }, }, @@ -32053,1572 +6457,158 @@ var g = &grammar{ exprs: []interface{}{ ¬Expr{ pos: position{line: 601, col: 5, offset: 26484}, - expr: &choiceExpr{ - pos: position{line: 325, col: 1, offset: 12586}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 325, col: 1, offset: 12586}, - run: (*parser).callonBlockParagraph7, - expr: &seqExpr{ - pos: position{line: 325, col: 1, offset: 12586}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 325, col: 1, offset: 12586}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph12, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 325, col: 5, offset: 12590}, - label: "style", - expr: &litMatcher{ - pos: position{line: 325, col: 12, offset: 12597}, - val: ".", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 325, col: 17, offset: 12602}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph19, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, + expr: &ruleRefExpr{ + pos: position{line: 601, col: 7, offset: 26486}, + name: "OrderedListItemPrefix", + }, + }, + ¬Expr{ + pos: position{line: 602, col: 5, offset: 26514}, + expr: &ruleRefExpr{ + pos: position{line: 602, col: 7, offset: 26516}, + name: "UnorderedListItemPrefix", + }, + }, + ¬Expr{ + pos: position{line: 603, col: 5, offset: 26546}, + expr: &seqExpr{ + pos: position{line: 603, col: 7, offset: 26548}, + exprs: []interface{}{ + &ruleRefExpr{ + pos: position{line: 603, col: 7, offset: 26548}, + name: "LabeledListItemTerm", }, - &actionExpr{ - pos: position{line: 327, col: 5, offset: 12695}, - run: (*parser).callonBlockParagraph21, - expr: &seqExpr{ - pos: position{line: 327, col: 5, offset: 12695}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 327, col: 5, offset: 12695}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph26, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 327, col: 9, offset: 12699}, - label: "style", - expr: &litMatcher{ - pos: position{line: 327, col: 16, offset: 12706}, - val: "..", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 327, col: 22, offset: 12712}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph33, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 329, col: 5, offset: 12810}, - run: (*parser).callonBlockParagraph35, - expr: &seqExpr{ - pos: position{line: 329, col: 5, offset: 12810}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 329, col: 5, offset: 12810}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph40, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 329, col: 9, offset: 12814}, - label: "style", - expr: &litMatcher{ - pos: position{line: 329, col: 16, offset: 12821}, - val: "...", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 329, col: 23, offset: 12828}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph47, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 331, col: 5, offset: 12927}, - run: (*parser).callonBlockParagraph49, - expr: &seqExpr{ - pos: position{line: 331, col: 5, offset: 12927}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 331, col: 5, offset: 12927}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph54, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 331, col: 9, offset: 12931}, - label: "style", - expr: &litMatcher{ - pos: position{line: 331, col: 16, offset: 12938}, - val: "....", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 331, col: 24, offset: 12946}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph61, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 333, col: 5, offset: 13046}, - run: (*parser).callonBlockParagraph63, - expr: &seqExpr{ - pos: position{line: 333, col: 5, offset: 13046}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 333, col: 5, offset: 13046}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph68, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 333, col: 9, offset: 13050}, - label: "style", - expr: &litMatcher{ - pos: position{line: 333, col: 16, offset: 13057}, - val: ".....", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 333, col: 25, offset: 13066}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph75, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 336, col: 5, offset: 13189}, - run: (*parser).callonBlockParagraph77, - expr: &seqExpr{ - pos: position{line: 336, col: 5, offset: 13189}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 336, col: 5, offset: 13189}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph82, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 336, col: 9, offset: 13193}, - label: "style", - expr: &seqExpr{ - pos: position{line: 336, col: 16, offset: 13200}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 336, col: 16, offset: 13200}, - expr: &seqExpr{ - pos: position{line: 336, col: 17, offset: 13201}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 336, col: 17, offset: 13201}, - expr: &litMatcher{ - pos: position{line: 336, col: 18, offset: 13202}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 336, col: 22, offset: 13206}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph93, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 336, col: 26, offset: 13210}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &charClassMatcher{ - pos: position{line: 336, col: 35, offset: 13219}, - val: "[0-9]", - ranges: []rune{'0', '9'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 336, col: 43, offset: 13227}, - val: ".", - ignoreCase: false, - }, - }, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 336, col: 48, offset: 13232}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph104, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 338, col: 5, offset: 13327}, - run: (*parser).callonBlockParagraph106, - expr: &seqExpr{ - pos: position{line: 338, col: 5, offset: 13327}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 338, col: 5, offset: 13327}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph111, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 338, col: 9, offset: 13331}, - label: "style", - expr: &seqExpr{ - pos: position{line: 338, col: 16, offset: 13338}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 338, col: 16, offset: 13338}, - expr: &seqExpr{ - pos: position{line: 338, col: 17, offset: 13339}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 338, col: 17, offset: 13339}, - expr: &litMatcher{ - pos: position{line: 338, col: 18, offset: 13340}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 338, col: 22, offset: 13344}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph122, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 338, col: 26, offset: 13348}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &charClassMatcher{ - pos: position{line: 338, col: 35, offset: 13357}, - val: "[a-z]", - ranges: []rune{'a', 'z'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 338, col: 43, offset: 13365}, - val: ".", - ignoreCase: false, - }, - }, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 338, col: 48, offset: 13370}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph133, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 340, col: 5, offset: 13468}, - run: (*parser).callonBlockParagraph135, - expr: &seqExpr{ - pos: position{line: 340, col: 5, offset: 13468}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 340, col: 5, offset: 13468}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph140, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 340, col: 9, offset: 13472}, - label: "style", - expr: &seqExpr{ - pos: position{line: 340, col: 16, offset: 13479}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 340, col: 16, offset: 13479}, - expr: &seqExpr{ - pos: position{line: 340, col: 17, offset: 13480}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 340, col: 17, offset: 13480}, - expr: &litMatcher{ - pos: position{line: 340, col: 18, offset: 13481}, - val: ".", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 340, col: 22, offset: 13485}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph151, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 340, col: 26, offset: 13489}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &charClassMatcher{ - pos: position{line: 340, col: 35, offset: 13498}, - val: "[A-Z]", - ranges: []rune{'A', 'Z'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 340, col: 43, offset: 13506}, - val: ".", - ignoreCase: false, - }, - }, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 340, col: 48, offset: 13511}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph162, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 342, col: 5, offset: 13609}, - run: (*parser).callonBlockParagraph164, - expr: &seqExpr{ - pos: position{line: 342, col: 5, offset: 13609}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 342, col: 5, offset: 13609}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph169, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 342, col: 9, offset: 13613}, - label: "style", - expr: &seqExpr{ - pos: position{line: 342, col: 16, offset: 13620}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 342, col: 16, offset: 13620}, - expr: &seqExpr{ - pos: position{line: 342, col: 17, offset: 13621}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 342, col: 17, offset: 13621}, - expr: &litMatcher{ - pos: position{line: 342, col: 18, offset: 13622}, - val: ")", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 342, col: 22, offset: 13626}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph180, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 342, col: 26, offset: 13630}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &charClassMatcher{ - pos: position{line: 342, col: 35, offset: 13639}, - val: "[a-z]", - ranges: []rune{'a', 'z'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 342, col: 43, offset: 13647}, - val: ")", - ignoreCase: false, - }, - }, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 342, col: 48, offset: 13652}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph191, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 344, col: 5, offset: 13750}, - run: (*parser).callonBlockParagraph193, - expr: &seqExpr{ - pos: position{line: 344, col: 5, offset: 13750}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 344, col: 5, offset: 13750}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph198, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 344, col: 9, offset: 13754}, - label: "style", - expr: &seqExpr{ - pos: position{line: 344, col: 16, offset: 13761}, - exprs: []interface{}{ - &oneOrMoreExpr{ - pos: position{line: 344, col: 16, offset: 13761}, - expr: &seqExpr{ - pos: position{line: 344, col: 17, offset: 13762}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 344, col: 17, offset: 13762}, - expr: &litMatcher{ - pos: position{line: 344, col: 18, offset: 13763}, - val: ")", - ignoreCase: false, - }, - }, - ¬Expr{ - pos: position{line: 344, col: 22, offset: 13767}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph209, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 344, col: 26, offset: 13771}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &charClassMatcher{ - pos: position{line: 344, col: 35, offset: 13780}, - val: "[A-Z]", - ranges: []rune{'A', 'Z'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - &litMatcher{ - pos: position{line: 344, col: 43, offset: 13788}, - val: ")", - ignoreCase: false, - }, - }, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 344, col: 48, offset: 13793}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph220, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, + &ruleRefExpr{ + pos: position{line: 603, col: 27, offset: 26568}, + name: "LabeledListItemSeparator", }, }, }, }, ¬Expr{ - pos: position{line: 602, col: 5, offset: 26514}, - expr: &choiceExpr{ - pos: position{line: 359, col: 28, offset: 14504}, - alternatives: []interface{}{ - &actionExpr{ - pos: position{line: 359, col: 28, offset: 14504}, - run: (*parser).callonBlockParagraph224, - expr: &seqExpr{ - pos: position{line: 359, col: 28, offset: 14504}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 359, col: 28, offset: 14504}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph229, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 359, col: 32, offset: 14508}, - label: "level", - expr: &litMatcher{ - pos: position{line: 359, col: 39, offset: 14515}, - val: "*****", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 359, col: 48, offset: 14524}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph236, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 361, col: 5, offset: 14663}, - run: (*parser).callonBlockParagraph238, - expr: &seqExpr{ - pos: position{line: 361, col: 5, offset: 14663}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 361, col: 5, offset: 14663}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph243, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 361, col: 9, offset: 14667}, - label: "level", - expr: &litMatcher{ - pos: position{line: 361, col: 16, offset: 14674}, - val: "****", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 361, col: 24, offset: 14682}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph250, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 363, col: 5, offset: 14821}, - run: (*parser).callonBlockParagraph252, - expr: &seqExpr{ - pos: position{line: 363, col: 5, offset: 14821}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 363, col: 5, offset: 14821}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph257, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 363, col: 9, offset: 14825}, - label: "level", - expr: &litMatcher{ - pos: position{line: 363, col: 16, offset: 14832}, - val: "***", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 363, col: 23, offset: 14839}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph264, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 365, col: 5, offset: 14979}, - run: (*parser).callonBlockParagraph266, - expr: &seqExpr{ - pos: position{line: 365, col: 5, offset: 14979}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 365, col: 5, offset: 14979}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph271, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 365, col: 9, offset: 14983}, - label: "level", - expr: &litMatcher{ - pos: position{line: 365, col: 16, offset: 14990}, - val: "**", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 365, col: 22, offset: 14996}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph278, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 367, col: 5, offset: 15134}, - run: (*parser).callonBlockParagraph280, - expr: &seqExpr{ - pos: position{line: 367, col: 5, offset: 15134}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 367, col: 5, offset: 15134}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph285, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 367, col: 9, offset: 15138}, - label: "level", - expr: &litMatcher{ - pos: position{line: 367, col: 16, offset: 15145}, - val: "*", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 367, col: 21, offset: 15150}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph292, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - &actionExpr{ - pos: position{line: 369, col: 5, offset: 15287}, - run: (*parser).callonBlockParagraph294, - expr: &seqExpr{ - pos: position{line: 369, col: 5, offset: 15287}, - exprs: []interface{}{ - &zeroOrMoreExpr{ - pos: position{line: 369, col: 5, offset: 15287}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph299, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &labeledExpr{ - pos: position{line: 369, col: 9, offset: 15291}, - label: "level", - expr: &litMatcher{ - pos: position{line: 369, col: 16, offset: 15298}, - val: "-", - ignoreCase: false, - }, - }, - &oneOrMoreExpr{ - pos: position{line: 369, col: 21, offset: 15303}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph306, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - }, - }, - }, - }, + pos: position{line: 604, col: 5, offset: 26599}, + expr: &ruleRefExpr{ + pos: position{line: 604, col: 7, offset: 26601}, + name: "ListItemContinuation", }, }, ¬Expr{ - pos: position{line: 603, col: 5, offset: 26546}, + pos: position{line: 606, col: 5, offset: 26654}, + expr: &ruleRefExpr{ + pos: position{line: 606, col: 7, offset: 26656}, + name: "BlockDelimiter", + }, + }, + &ruleRefExpr{ + pos: position{line: 607, col: 5, offset: 26676}, + name: "InlineElements", + }, + &ruleRefExpr{ + pos: position{line: 607, col: 20, offset: 26691}, + name: "EOL", + }, + }, + }, + }, + }, + }, + }, + { + name: "LiteralBlock", + pos: position{line: 614, col: 1, offset: 27028}, + expr: &choiceExpr{ + pos: position{line: 614, col: 17, offset: 27044}, + alternatives: []interface{}{ + &ruleRefExpr{ + pos: position{line: 614, col: 17, offset: 27044}, + name: "ParagraphWithSpaces", + }, + &ruleRefExpr{ + pos: position{line: 614, col: 39, offset: 27066}, + name: "ParagraphWithLiteralBlockDelimiter", + }, + &ruleRefExpr{ + pos: position{line: 614, col: 76, offset: 27103}, + name: "ParagraphWithLiteralAttribute", + }, + }, + }, + }, + { + name: "ParagraphWithSpaces", + pos: position{line: 617, col: 1, offset: 27198}, + expr: &actionExpr{ + pos: position{line: 617, col: 24, offset: 27221}, + run: (*parser).callonParagraphWithSpaces1, + expr: &seqExpr{ + pos: position{line: 617, col: 24, offset: 27221}, + exprs: []interface{}{ + &labeledExpr{ + pos: position{line: 617, col: 24, offset: 27221}, + label: "spaces", + expr: &oneOrMoreExpr{ + pos: position{line: 617, col: 32, offset: 27229}, + expr: &ruleRefExpr{ + pos: position{line: 617, col: 32, offset: 27229}, + name: "WS", + }, + }, + }, + ¬Expr{ + pos: position{line: 617, col: 37, offset: 27234}, + expr: &ruleRefExpr{ + pos: position{line: 617, col: 38, offset: 27235}, + name: "NEWLINE", + }, + }, + &labeledExpr{ + pos: position{line: 617, col: 46, offset: 27243}, + label: "content", + expr: &ruleRefExpr{ + pos: position{line: 617, col: 55, offset: 27252}, + name: "LiteralBlockContent", + }, + }, + &ruleRefExpr{ + pos: position{line: 617, col: 76, offset: 27273}, + name: "EndOfLiteralBlock", + }, + }, + }, + }, + }, + { + name: "LiteralBlockContent", + pos: position{line: 622, col: 1, offset: 27454}, + expr: &actionExpr{ + pos: position{line: 622, col: 24, offset: 27477}, + run: (*parser).callonLiteralBlockContent1, + expr: &labeledExpr{ + pos: position{line: 622, col: 24, offset: 27477}, + label: "content", + expr: &oneOrMoreExpr{ + pos: position{line: 622, col: 32, offset: 27485}, + expr: &seqExpr{ + pos: position{line: 622, col: 33, offset: 27486}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 622, col: 33, offset: 27486}, expr: &seqExpr{ - pos: position{line: 603, col: 7, offset: 26548}, + pos: position{line: 622, col: 35, offset: 27488}, exprs: []interface{}{ - &actionExpr{ - pos: position{line: 386, col: 24, offset: 16213}, - run: (*parser).callonBlockParagraph310, - expr: &labeledExpr{ - pos: position{line: 386, col: 24, offset: 16213}, - label: "term", - expr: &zeroOrMoreExpr{ - pos: position{line: 386, col: 29, offset: 16218}, - expr: &seqExpr{ - pos: position{line: 386, col: 30, offset: 16219}, - exprs: []interface{}{ - ¬Expr{ - pos: position{line: 386, col: 30, offset: 16219}, - expr: &choiceExpr{ - pos: position{line: 671, col: 12, offset: 28862}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 386, col: 39, offset: 16228}, - expr: &litMatcher{ - pos: position{line: 386, col: 40, offset: 16229}, - val: "::", - ignoreCase: false, - }, - }, - &anyMatcher{ - line: 386, col: 45, offset: 16234, - }, - }, - }, - }, - }, + &ruleRefExpr{ + pos: position{line: 622, col: 35, offset: 27488}, + name: "NEWLINE", }, - &litMatcher{ - pos: position{line: 391, col: 30, offset: 16354}, - val: "::", - ignoreCase: false, - }, - &oneOrMoreExpr{ - pos: position{line: 391, col: 35, offset: 16359}, - expr: &choiceExpr{ - pos: position{line: 391, col: 36, offset: 16360}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph325, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - }, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 604, col: 5, offset: 26599}, - expr: &actionExpr{ - pos: position{line: 308, col: 25, offset: 11993}, - run: (*parser).callonBlockParagraph330, - expr: &seqExpr{ - pos: position{line: 308, col: 25, offset: 11993}, - exprs: []interface{}{ - &litMatcher{ - pos: position{line: 308, col: 25, offset: 11993}, - val: "+", - ignoreCase: false, - }, - &zeroOrMoreExpr{ - pos: position{line: 308, col: 29, offset: 11997}, - expr: &choiceExpr{ - pos: position{line: 673, col: 7, offset: 28890}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 673, col: 7, offset: 28890}, - val: " ", - ignoreCase: false, - }, - &actionExpr{ - pos: position{line: 673, col: 13, offset: 28896}, - run: (*parser).callonBlockParagraph336, - expr: &litMatcher{ - pos: position{line: 673, col: 13, offset: 28896}, - val: "\t", - ignoreCase: false, - }, - }, - }, - }, - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, - }, - }, - }, - }, - }, - ¬Expr{ - pos: position{line: 606, col: 5, offset: 26654}, - expr: &choiceExpr{ - pos: position{line: 580, col: 19, offset: 25428}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 634, col: 26, offset: 27956}, - val: "....", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 582, col: 25, offset: 25546}, - val: "```", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 588, col: 26, offset: 25853}, - val: "----", - ignoreCase: false, - }, - &litMatcher{ - pos: position{line: 594, col: 26, offset: 26165}, - val: "====", - ignoreCase: false, + &ruleRefExpr{ + pos: position{line: 622, col: 43, offset: 27496}, + name: "BlankLine", }, }, }, }, - &ruleRefExpr{ - pos: position{line: 607, col: 5, offset: 26676}, - name: "InlineElements", - }, - &choiceExpr{ - pos: position{line: 679, col: 8, offset: 28959}, - alternatives: []interface{}{ - &litMatcher{ - pos: position{line: 671, col: 12, offset: 28862}, - val: "\r\n", - ignoreCase: false, - }, - &charClassMatcher{ - pos: position{line: 671, col: 21, offset: 28871}, - val: "[\\r\\n]", - chars: []rune{'\r', '\n'}, - ignoreCase: false, - inverted: false, - }, - ¬Expr{ - pos: position{line: 677, col: 8, offset: 28948}, - expr: &anyMatcher{ - line: 677, col: 9, offset: 28949, - }, - }, - }, + &anyMatcher{ + line: 622, col: 54, offset: 27507, }, }, }, @@ -33626,11354 +6616,1873 @@ var g = &grammar{ }, }, }, - }, -} - -func (c *current) onDocument1(frontMatter, documentHeader, blocks interface{}) (interface{}, error) { - return types.NewDocument(frontMatter, documentHeader, blocks.([]interface{})) -} - -func (p *parser) callonDocument1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocument1(stack["frontMatter"], stack["documentHeader"], stack["blocks"]) -} - -func (c *current) onDocumentBlock15() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock15() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock15() -} - -func (c *current) onDocumentBlock3(name interface{}) (interface{}, error) { - return types.NewDocumentAttributeDeclaration(name.([]interface{}), nil) -} - -func (p *parser) callonDocumentBlock3() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock3(stack["name"]) -} - -func (c *current) onDocumentBlock34() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock34() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock34() -} - -func (c *current) onDocumentBlock22(name, value interface{}) (interface{}, error) { - return types.NewDocumentAttributeDeclaration(name.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonDocumentBlock22() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock22(stack["name"], stack["value"]) -} - -func (c *current) onDocumentBlock61() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock61() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock61() -} - -func (c *current) onDocumentBlock49(name interface{}) (interface{}, error) { - return types.NewDocumentAttributeReset(name.([]interface{})) -} - -func (p *parser) callonDocumentBlock49() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock49(stack["name"]) -} - -func (c *current) onDocumentBlock80() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock80() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock80() -} - -func (c *current) onDocumentBlock68(name interface{}) (interface{}, error) { - return types.NewDocumentAttributeReset(name.([]interface{})) -} - -func (p *parser) callonDocumentBlock68() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock68(stack["name"]) -} - -func (c *current) onDocumentBlock116() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock116() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock116() -} - -func (c *current) onDocumentBlock106() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock106() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock106() -} - -func (c *current) onDocumentBlock102(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonDocumentBlock102() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock102(stack["id"]) -} - -func (c *current) onDocumentBlock100(id interface{}) (interface{}, error) { - return id, nil -} - -func (p *parser) callonDocumentBlock100() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock100(stack["id"]) -} - -func (c *current) onDocumentBlock142() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock142() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock142() -} - -func (c *current) onDocumentBlock132() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock132() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock132() -} - -func (c *current) onDocumentBlock128(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonDocumentBlock128() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock128(stack["id"]) -} - -func (c *current) onDocumentBlock162() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock162() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock162() -} - -func (c *current) onDocumentBlock154(title interface{}) (interface{}, error) { - return types.NewElementTitle(title.([]interface{})) -} - -func (p *parser) callonDocumentBlock154() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock154(stack["title"]) -} - -func (c *current) onDocumentBlock177() (interface{}, error) { - return types.Tip, nil -} - -func (p *parser) callonDocumentBlock177() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock177() -} - -func (c *current) onDocumentBlock179() (interface{}, error) { - return types.Note, nil -} - -func (p *parser) callonDocumentBlock179() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock179() -} - -func (c *current) onDocumentBlock181() (interface{}, error) { - return types.Important, nil -} - -func (p *parser) callonDocumentBlock181() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock181() -} - -func (c *current) onDocumentBlock183() (interface{}, error) { - return types.Warning, nil -} - -func (p *parser) callonDocumentBlock183() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock183() -} - -func (c *current) onDocumentBlock185() (interface{}, error) { - return types.Caution, nil -} - -func (p *parser) callonDocumentBlock185() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock185() -} - -func (c *current) onDocumentBlock172(k interface{}) (interface{}, error) { - return k, nil -} - -func (p *parser) callonDocumentBlock172() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock172(stack["k"]) -} - -func (c *current) onDocumentBlock204() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock204() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock204() -} - -func (c *current) onDocumentBlock216() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock216() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock216() -} - -func (c *current) onDocumentBlock196(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonDocumentBlock196() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock196(stack["key"]) -} - -func (c *current) onDocumentBlock225() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock225() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock225() -} - -func (c *current) onDocumentBlock233() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock233() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock233() -} - -func (c *current) onDocumentBlock243() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock243() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock243() -} - -func (c *current) onDocumentBlock220(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonDocumentBlock220() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock220(stack["value"]) -} - -func (c *current) onDocumentBlock193(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonDocumentBlock193() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock193(stack["key"], stack["value"]) -} - -func (c *current) onDocumentBlock255() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock255() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock255() -} - -func (c *current) onDocumentBlock267() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock267() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock267() -} - -func (c *current) onDocumentBlock247(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonDocumentBlock247() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock247(stack["key"]) -} - -func (c *current) onDocumentBlock245(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonDocumentBlock245() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock245(stack["key"]) -} - -func (c *current) onDocumentBlock278() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock278() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock278() -} - -func (c *current) onDocumentBlock289() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock289() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock289() -} - -func (c *current) onDocumentBlock301() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock301() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock301() -} - -func (c *current) onDocumentBlock281(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonDocumentBlock281() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock281(stack["key"]) -} - -func (c *current) onDocumentBlock310() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock310() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock310() -} - -func (c *current) onDocumentBlock318() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock318() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock318() -} - -func (c *current) onDocumentBlock328() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock328() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock328() -} - -func (c *current) onDocumentBlock305(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonDocumentBlock305() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock305(stack["value"]) -} - -func (c *current) onDocumentBlock272(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonDocumentBlock272() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock272(stack["key"], stack["value"]) -} - -func (c *current) onDocumentBlock336() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock336() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock336() -} - -func (c *current) onDocumentBlock347() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock347() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock347() -} - -func (c *current) onDocumentBlock359() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock359() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock359() -} - -func (c *current) onDocumentBlock339(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonDocumentBlock339() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock339(stack["key"]) -} - -func (c *current) onDocumentBlock330(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonDocumentBlock330() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock330(stack["key"]) -} - -func (c *current) onDocumentBlock188(attribute, attributes interface{}) (interface{}, error) { - return types.NewAttributeGroup(append([]interface{}{attribute}, attributes.([]interface{})...)) -} - -func (p *parser) callonDocumentBlock188() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock188(stack["attribute"], stack["attributes"]) -} - -func (c *current) onDocumentBlock368() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock368() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock368() -} - -func (c *current) onDocumentBlock380() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock380() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock380() -} - -func (c *current) onDocumentBlock362(content interface{}) (interface{}, error) { - return types.NewInvalidElementAttribute(c.text) -} - -func (p *parser) callonDocumentBlock362() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock362(stack["content"]) -} - -func (c *current) onDocumentBlock385() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock385() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock385() -} - -func (c *current) onDocumentBlock96(attr interface{}) (interface{}, error) { - return attr, nil // avoid returning something like `[]interface{}{attr, EOL}` -} - -func (p *parser) callonDocumentBlock96() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock96(stack["attr"]) -} - -func (c *current) onDocumentBlock407() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock407() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock407() -} - -func (c *current) onDocumentBlock397() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock397() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock397() -} - -func (c *current) onDocumentBlock417() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock417() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock417() -} - -func (c *current) onDocumentBlock393(path, attributes interface{}) (interface{}, error) { - return types.NewImageMacro(path.(string), attributes) -} - -func (p *parser) callonDocumentBlock393() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock393(stack["path"], stack["attributes"]) -} - -func (c *current) onDocumentBlock433() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock433() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock433() -} - -func (c *current) onDocumentBlock92(attributes, image interface{}) (interface{}, error) { - // here we can ignore the blank line in the returned element - return types.NewBlockImage(image.(types.ImageMacro), attributes.([]interface{})) -} - -func (p *parser) callonDocumentBlock92() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock92(stack["attributes"], stack["image"]) -} - -func (c *current) onDocumentBlock447() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock447() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock447() -} - -func (c *current) onDocumentBlock471() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock471() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock471() -} - -func (c *current) onDocumentBlock463() (interface{}, error) { - return types.NewBlankLine() -} - -func (p *parser) callonDocumentBlock463() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock463() -} - -func (c *current) onDocumentBlock454(content interface{}) (interface{}, error) { - - return content, nil -} - -func (p *parser) callonDocumentBlock454() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock454(stack["content"]) -} - -func (c *current) onDocumentBlock492() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock492() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock492() -} - -func (c *current) onDocumentBlock484() (interface{}, error) { - return types.NewBlankLine() -} - -func (p *parser) callonDocumentBlock484() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock484() -} - -func (c *current) onDocumentBlock441(spaces, content interface{}) (interface{}, error) { - return types.NewLiteralBlock(spaces.([]interface{}), content.([]interface{})) -} - -func (p *parser) callonDocumentBlock441() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock441(stack["spaces"], stack["content"]) -} - -func (c *current) onDocumentBlock509() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock509() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock509() -} - -func (c *current) onDocumentBlock526() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock526() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock526() -} - -func (c *current) onDocumentBlock503(content interface{}) (interface{}, error) { - return types.NewLiteralBlock([]interface{}{}, content.([]interface{})) -} - -func (p *parser) callonDocumentBlock503() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock503(stack["content"]) -} - -func (c *current) onDocumentBlock541() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock541() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock541() -} - -func (c *current) onDocumentBlock564() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock564() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock564() -} - -func (c *current) onDocumentBlock556() (interface{}, error) { - return types.NewBlankLine() -} - -func (p *parser) callonDocumentBlock556() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock556() -} - -func (c *current) onDocumentBlock547(content interface{}) (interface{}, error) { - - return content, nil -} - -func (p *parser) callonDocumentBlock547() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock547(stack["content"]) -} - -func (c *current) onDocumentBlock585() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock585() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock585() -} - -func (c *current) onDocumentBlock577() (interface{}, error) { - return types.NewBlankLine() -} - -func (p *parser) callonDocumentBlock577() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock577() -} - -func (c *current) onDocumentBlock535(content interface{}) (interface{}, error) { - return types.NewLiteralBlock([]interface{}{}, content.([]interface{})) -} - -func (p *parser) callonDocumentBlock535() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock535(stack["content"]) -} - -func (c *current) onDocumentBlock605() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentBlock605() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock605() -} - -func (c *current) onDocumentBlock597() (interface{}, error) { - return types.NewBlankLine() -} - -func (p *parser) callonDocumentBlock597() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentBlock597() -} - -func (c *current) onFrontMatter10() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFrontMatter10() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFrontMatter10() -} - -func (c *current) onFrontMatter1(content interface{}) (interface{}, error) { - return types.NewYamlFrontMatter(content.(string)) -} - -func (p *parser) callonFrontMatter1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFrontMatter1(stack["content"]) -} - -func (c *current) onDocumentHeader13() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader13() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader13() -} - -func (c *current) onDocumentHeader24() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader24() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader24() -} - -func (c *current) onDocumentHeader42() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader42() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader42() -} - -func (c *current) onDocumentHeader32() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader32() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader32() -} - -func (c *current) onDocumentHeader48() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader48() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader48() -} - -func (c *current) onDocumentHeader67() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader67() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader67() -} - -func (c *current) onDocumentHeader57() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader57() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader57() -} - -func (c *current) onDocumentHeader73() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader73() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader73() -} - -func (c *current) onDocumentHeader92() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader92() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader92() -} - -func (c *current) onDocumentHeader82() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader82() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader82() -} - -func (c *current) onDocumentHeader98() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader98() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader98() -} - -func (c *current) onDocumentHeader120() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader120() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader120() -} - -func (c *current) onDocumentHeader127() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader127() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader127() -} - -func (c *current) onDocumentHeader19(namePart1, namePart2, namePart3, email interface{}) (interface{}, error) { - return types.NewDocumentAuthor(namePart1, namePart2, namePart3, email) -} - -func (p *parser) callonDocumentHeader19() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader19(stack["namePart1"], stack["namePart2"], stack["namePart3"], stack["email"]) -} - -func (c *current) onDocumentHeader8(authors interface{}) (interface{}, error) { - return types.NewDocumentAuthors(authors.([]interface{})) -} - -func (p *parser) callonDocumentHeader8() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader8(stack["authors"]) -} - -func (c *current) onDocumentHeader139() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader139() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader139() -} - -func (c *current) onDocumentHeader148() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader148() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader148() -} - -func (c *current) onDocumentHeader166() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader166() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader166() -} - -func (c *current) onDocumentHeader156() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader156() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader156() -} - -func (c *current) onDocumentHeader172() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader172() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader172() -} - -func (c *current) onDocumentHeader244() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader244() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader244() -} - -func (c *current) onDocumentHeader251() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader251() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader251() -} - -func (c *current) onDocumentHeader143(namePart1, namePart2, namePart3, email interface{}) (interface{}, error) { - return types.NewDocumentAuthor(namePart1, namePart2, namePart3, email) -} - -func (p *parser) callonDocumentHeader143() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader143(stack["namePart1"], stack["namePart2"], stack["namePart3"], stack["email"]) -} - -func (c *current) onDocumentHeader134(author interface{}) (interface{}, error) { - return []types.DocumentAuthor{author.(types.DocumentAuthor)}, nil -} - -func (p *parser) callonDocumentHeader134() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader134(stack["author"]) -} - -func (c *current) onDocumentHeader260() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader260() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader260() -} - -func (c *current) onDocumentHeader303() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader303() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader303() -} - -func (c *current) onDocumentHeader255(revnumber, revdate, revremark interface{}) (interface{}, error) { - return types.NewDocumentRevision(revnumber, revdate, revremark) -} - -func (p *parser) callonDocumentHeader255() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader255(stack["revnumber"], stack["revdate"], stack["revremark"]) -} - -func (c *current) onDocumentHeader355() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader355() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader355() -} - -func (c *current) onDocumentHeader343(name interface{}) (interface{}, error) { - return types.NewDocumentAttributeDeclaration(name.([]interface{}), nil) -} - -func (p *parser) callonDocumentHeader343() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader343(stack["name"]) -} - -func (c *current) onDocumentHeader374() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentHeader374() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader374() -} - -func (c *current) onDocumentHeader362(name, value interface{}) (interface{}, error) { - return types.NewDocumentAttributeDeclaration(name.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonDocumentHeader362() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader362(stack["name"], stack["value"]) -} - -func (c *current) onDocumentHeader1(header, authors, revision, otherAttributes interface{}) (interface{}, error) { - - return types.NewDocumentHeader(header, authors, revision, otherAttributes.([]interface{})) -} - -func (p *parser) callonDocumentHeader1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentHeader1(stack["header"], stack["authors"], stack["revision"], stack["otherAttributes"]) -} - -func (c *current) onDocumentTitle25() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle25() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle25() -} - -func (c *current) onDocumentTitle15() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle15() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle15() -} - -func (c *current) onDocumentTitle11(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonDocumentTitle11() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle11(stack["id"]) -} - -func (c *current) onDocumentTitle9(id interface{}) (interface{}, error) { - return id, nil -} - -func (p *parser) callonDocumentTitle9() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle9(stack["id"]) -} - -func (c *current) onDocumentTitle51() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle51() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle51() -} - -func (c *current) onDocumentTitle41() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle41() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle41() -} - -func (c *current) onDocumentTitle37(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonDocumentTitle37() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle37(stack["id"]) -} - -func (c *current) onDocumentTitle71() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle71() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle71() -} - -func (c *current) onDocumentTitle63(title interface{}) (interface{}, error) { - return types.NewElementTitle(title.([]interface{})) -} - -func (p *parser) callonDocumentTitle63() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle63(stack["title"]) -} - -func (c *current) onDocumentTitle86() (interface{}, error) { - return types.Tip, nil -} - -func (p *parser) callonDocumentTitle86() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle86() -} - -func (c *current) onDocumentTitle88() (interface{}, error) { - return types.Note, nil -} - -func (p *parser) callonDocumentTitle88() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle88() -} - -func (c *current) onDocumentTitle90() (interface{}, error) { - return types.Important, nil -} - -func (p *parser) callonDocumentTitle90() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle90() -} - -func (c *current) onDocumentTitle92() (interface{}, error) { - return types.Warning, nil -} - -func (p *parser) callonDocumentTitle92() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle92() -} - -func (c *current) onDocumentTitle94() (interface{}, error) { - return types.Caution, nil -} - -func (p *parser) callonDocumentTitle94() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle94() -} - -func (c *current) onDocumentTitle81(k interface{}) (interface{}, error) { - return k, nil -} - -func (p *parser) callonDocumentTitle81() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle81(stack["k"]) -} - -func (c *current) onDocumentTitle113() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle113() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle113() -} - -func (c *current) onDocumentTitle125() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle125() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle125() -} - -func (c *current) onDocumentTitle105(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonDocumentTitle105() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle105(stack["key"]) -} - -func (c *current) onDocumentTitle134() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle134() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle134() -} - -func (c *current) onDocumentTitle142() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle142() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle142() -} - -func (c *current) onDocumentTitle152() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle152() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle152() -} - -func (c *current) onDocumentTitle129(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonDocumentTitle129() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle129(stack["value"]) -} - -func (c *current) onDocumentTitle102(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonDocumentTitle102() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle102(stack["key"], stack["value"]) -} - -func (c *current) onDocumentTitle164() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle164() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle164() -} - -func (c *current) onDocumentTitle176() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle176() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle176() -} - -func (c *current) onDocumentTitle156(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonDocumentTitle156() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle156(stack["key"]) -} - -func (c *current) onDocumentTitle154(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonDocumentTitle154() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle154(stack["key"]) -} - -func (c *current) onDocumentTitle187() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle187() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle187() -} - -func (c *current) onDocumentTitle198() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle198() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle198() -} - -func (c *current) onDocumentTitle210() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle210() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle210() -} - -func (c *current) onDocumentTitle190(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonDocumentTitle190() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle190(stack["key"]) -} - -func (c *current) onDocumentTitle219() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle219() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle219() -} - -func (c *current) onDocumentTitle227() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle227() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle227() -} - -func (c *current) onDocumentTitle237() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle237() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle237() -} - -func (c *current) onDocumentTitle214(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonDocumentTitle214() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle214(stack["value"]) -} - -func (c *current) onDocumentTitle181(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonDocumentTitle181() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle181(stack["key"], stack["value"]) -} - -func (c *current) onDocumentTitle245() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle245() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle245() -} - -func (c *current) onDocumentTitle256() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle256() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle256() -} - -func (c *current) onDocumentTitle268() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle268() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle268() -} - -func (c *current) onDocumentTitle248(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonDocumentTitle248() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle248(stack["key"]) -} - -func (c *current) onDocumentTitle239(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonDocumentTitle239() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle239(stack["key"]) -} - -func (c *current) onDocumentTitle97(attribute, attributes interface{}) (interface{}, error) { - return types.NewAttributeGroup(append([]interface{}{attribute}, attributes.([]interface{})...)) -} - -func (p *parser) callonDocumentTitle97() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle97(stack["attribute"], stack["attributes"]) -} - -func (c *current) onDocumentTitle277() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle277() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle277() -} - -func (c *current) onDocumentTitle289() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle289() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle289() -} - -func (c *current) onDocumentTitle271(content interface{}) (interface{}, error) { - return types.NewInvalidElementAttribute(c.text) -} - -func (p *parser) callonDocumentTitle271() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle271(stack["content"]) -} - -func (c *current) onDocumentTitle294() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle294() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle294() -} - -func (c *current) onDocumentTitle5(attr interface{}) (interface{}, error) { - return attr, nil // avoid returning something like `[]interface{}{attr, EOL}` -} - -func (p *parser) callonDocumentTitle5() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle5(stack["attr"]) -} - -func (c *current) onDocumentTitle306() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle306() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle306() -} - -func (c *current) onDocumentTitle313() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle313() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle313() -} - -func (c *current) onDocumentTitle331() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle331() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle331() -} - -func (c *current) onDocumentTitle321() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonDocumentTitle321() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle321() -} - -func (c *current) onDocumentTitle317(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonDocumentTitle317() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle317(stack["id"]) -} - -func (c *current) onDocumentTitle1(attributes, level, content, id interface{}) (interface{}, error) { - - return types.NewSectionTitle(content.(types.InlineElements), append(attributes.([]interface{}), id)) -} - -func (p *parser) callonDocumentTitle1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onDocumentTitle1(stack["attributes"], stack["level"], stack["content"], stack["id"]) -} - -func (c *current) onSection01(header, elements interface{}) (interface{}, error) { - return types.NewSection(0, header.(types.SectionTitle), elements.([]interface{})) -} - -func (p *parser) callonSection01() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection01(stack["header"], stack["elements"]) -} - -func (c *current) onSection0Title25() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title25() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title25() -} - -func (c *current) onSection0Title15() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title15() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title15() -} - -func (c *current) onSection0Title11(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection0Title11() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title11(stack["id"]) -} - -func (c *current) onSection0Title9(id interface{}) (interface{}, error) { - return id, nil -} - -func (p *parser) callonSection0Title9() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title9(stack["id"]) -} - -func (c *current) onSection0Title51() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title51() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title51() -} - -func (c *current) onSection0Title41() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title41() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title41() -} - -func (c *current) onSection0Title37(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection0Title37() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title37(stack["id"]) -} - -func (c *current) onSection0Title71() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title71() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title71() -} - -func (c *current) onSection0Title63(title interface{}) (interface{}, error) { - return types.NewElementTitle(title.([]interface{})) -} - -func (p *parser) callonSection0Title63() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title63(stack["title"]) -} - -func (c *current) onSection0Title86() (interface{}, error) { - return types.Tip, nil -} - -func (p *parser) callonSection0Title86() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title86() -} - -func (c *current) onSection0Title88() (interface{}, error) { - return types.Note, nil -} - -func (p *parser) callonSection0Title88() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title88() -} - -func (c *current) onSection0Title90() (interface{}, error) { - return types.Important, nil -} - -func (p *parser) callonSection0Title90() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title90() -} - -func (c *current) onSection0Title92() (interface{}, error) { - return types.Warning, nil -} - -func (p *parser) callonSection0Title92() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title92() -} - -func (c *current) onSection0Title94() (interface{}, error) { - return types.Caution, nil -} - -func (p *parser) callonSection0Title94() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title94() -} - -func (c *current) onSection0Title81(k interface{}) (interface{}, error) { - return k, nil -} - -func (p *parser) callonSection0Title81() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title81(stack["k"]) -} - -func (c *current) onSection0Title113() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title113() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title113() -} - -func (c *current) onSection0Title125() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title125() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title125() -} - -func (c *current) onSection0Title105(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection0Title105() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title105(stack["key"]) -} - -func (c *current) onSection0Title134() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title134() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title134() -} - -func (c *current) onSection0Title142() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title142() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title142() -} - -func (c *current) onSection0Title152() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title152() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title152() -} - -func (c *current) onSection0Title129(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonSection0Title129() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title129(stack["value"]) -} - -func (c *current) onSection0Title102(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonSection0Title102() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title102(stack["key"], stack["value"]) -} - -func (c *current) onSection0Title164() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title164() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title164() -} - -func (c *current) onSection0Title176() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title176() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title176() -} - -func (c *current) onSection0Title156(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection0Title156() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title156(stack["key"]) -} - -func (c *current) onSection0Title154(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonSection0Title154() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title154(stack["key"]) -} - -func (c *current) onSection0Title187() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title187() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title187() -} - -func (c *current) onSection0Title198() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title198() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title198() -} - -func (c *current) onSection0Title210() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title210() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title210() -} - -func (c *current) onSection0Title190(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection0Title190() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title190(stack["key"]) -} - -func (c *current) onSection0Title219() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title219() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title219() -} - -func (c *current) onSection0Title227() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title227() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title227() -} - -func (c *current) onSection0Title237() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title237() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title237() -} - -func (c *current) onSection0Title214(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonSection0Title214() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title214(stack["value"]) -} - -func (c *current) onSection0Title181(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonSection0Title181() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title181(stack["key"], stack["value"]) -} - -func (c *current) onSection0Title245() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title245() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title245() -} - -func (c *current) onSection0Title256() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title256() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title256() -} - -func (c *current) onSection0Title268() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title268() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title268() -} - -func (c *current) onSection0Title248(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection0Title248() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title248(stack["key"]) -} - -func (c *current) onSection0Title239(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonSection0Title239() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title239(stack["key"]) -} - -func (c *current) onSection0Title97(attribute, attributes interface{}) (interface{}, error) { - return types.NewAttributeGroup(append([]interface{}{attribute}, attributes.([]interface{})...)) -} - -func (p *parser) callonSection0Title97() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title97(stack["attribute"], stack["attributes"]) -} - -func (c *current) onSection0Title277() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title277() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title277() -} - -func (c *current) onSection0Title289() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title289() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title289() -} - -func (c *current) onSection0Title271(content interface{}) (interface{}, error) { - return types.NewInvalidElementAttribute(c.text) -} - -func (p *parser) callonSection0Title271() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title271(stack["content"]) -} - -func (c *current) onSection0Title294() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title294() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title294() -} - -func (c *current) onSection0Title5(attr interface{}) (interface{}, error) { - return attr, nil // avoid returning something like `[]interface{}{attr, EOL}` -} - -func (p *parser) callonSection0Title5() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title5(stack["attr"]) -} - -func (c *current) onSection0Title306() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title306() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title306() -} - -func (c *current) onSection0Title313() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title313() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title313() -} - -func (c *current) onSection0Title331() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title331() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title331() -} - -func (c *current) onSection0Title321() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title321() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title321() -} - -func (c *current) onSection0Title317(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection0Title317() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title317(stack["id"]) -} - -func (c *current) onSection0Title346() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title346() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title346() -} - -func (c *current) onSection0Title364() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection0Title364() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title364() -} - -func (c *current) onSection0Title356() (interface{}, error) { - return types.NewBlankLine() -} - -func (p *parser) callonSection0Title356() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title356() -} - -func (c *current) onSection0Title1(attributes, level, content, id interface{}) (interface{}, error) { - - return types.NewSectionTitle(content.(types.InlineElements), append(attributes.([]interface{}), id)) -} - -func (p *parser) callonSection0Title1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Title1(stack["attributes"], stack["level"], stack["content"], stack["id"]) -} - -func (c *current) onSection0Block1(content interface{}) (interface{}, error) { - return content, nil -} - -func (p *parser) callonSection0Block1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection0Block1(stack["content"]) -} - -func (c *current) onSection11(header, elements interface{}) (interface{}, error) { - return types.NewSection(1, header.(types.SectionTitle), elements.([]interface{})) -} - -func (p *parser) callonSection11() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection11(stack["header"], stack["elements"]) -} - -func (c *current) onSection1Title25() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title25() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title25() -} - -func (c *current) onSection1Title15() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title15() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title15() -} - -func (c *current) onSection1Title11(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection1Title11() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title11(stack["id"]) -} - -func (c *current) onSection1Title9(id interface{}) (interface{}, error) { - return id, nil -} - -func (p *parser) callonSection1Title9() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title9(stack["id"]) -} - -func (c *current) onSection1Title51() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title51() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title51() -} - -func (c *current) onSection1Title41() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title41() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title41() -} - -func (c *current) onSection1Title37(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection1Title37() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title37(stack["id"]) -} - -func (c *current) onSection1Title71() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title71() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title71() -} - -func (c *current) onSection1Title63(title interface{}) (interface{}, error) { - return types.NewElementTitle(title.([]interface{})) -} - -func (p *parser) callonSection1Title63() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title63(stack["title"]) -} - -func (c *current) onSection1Title86() (interface{}, error) { - return types.Tip, nil -} - -func (p *parser) callonSection1Title86() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title86() -} - -func (c *current) onSection1Title88() (interface{}, error) { - return types.Note, nil -} - -func (p *parser) callonSection1Title88() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title88() -} - -func (c *current) onSection1Title90() (interface{}, error) { - return types.Important, nil -} - -func (p *parser) callonSection1Title90() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title90() -} - -func (c *current) onSection1Title92() (interface{}, error) { - return types.Warning, nil -} - -func (p *parser) callonSection1Title92() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title92() -} - -func (c *current) onSection1Title94() (interface{}, error) { - return types.Caution, nil -} - -func (p *parser) callonSection1Title94() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title94() -} - -func (c *current) onSection1Title81(k interface{}) (interface{}, error) { - return k, nil -} - -func (p *parser) callonSection1Title81() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title81(stack["k"]) -} - -func (c *current) onSection1Title113() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title113() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title113() -} - -func (c *current) onSection1Title125() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title125() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title125() -} - -func (c *current) onSection1Title105(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection1Title105() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title105(stack["key"]) -} - -func (c *current) onSection1Title134() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title134() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title134() -} - -func (c *current) onSection1Title142() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title142() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title142() -} - -func (c *current) onSection1Title152() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title152() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title152() -} - -func (c *current) onSection1Title129(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonSection1Title129() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title129(stack["value"]) -} - -func (c *current) onSection1Title102(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonSection1Title102() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title102(stack["key"], stack["value"]) -} - -func (c *current) onSection1Title164() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title164() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title164() -} - -func (c *current) onSection1Title176() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title176() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title176() -} - -func (c *current) onSection1Title156(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection1Title156() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title156(stack["key"]) -} - -func (c *current) onSection1Title154(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonSection1Title154() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title154(stack["key"]) -} - -func (c *current) onSection1Title187() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title187() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title187() -} - -func (c *current) onSection1Title198() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title198() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title198() -} - -func (c *current) onSection1Title210() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title210() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title210() -} - -func (c *current) onSection1Title190(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection1Title190() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title190(stack["key"]) -} - -func (c *current) onSection1Title219() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title219() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title219() -} - -func (c *current) onSection1Title227() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title227() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title227() -} - -func (c *current) onSection1Title237() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title237() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title237() -} - -func (c *current) onSection1Title214(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonSection1Title214() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title214(stack["value"]) -} - -func (c *current) onSection1Title181(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonSection1Title181() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title181(stack["key"], stack["value"]) -} - -func (c *current) onSection1Title245() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title245() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title245() -} - -func (c *current) onSection1Title256() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title256() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title256() -} - -func (c *current) onSection1Title268() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title268() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title268() -} - -func (c *current) onSection1Title248(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection1Title248() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title248(stack["key"]) -} - -func (c *current) onSection1Title239(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonSection1Title239() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title239(stack["key"]) -} - -func (c *current) onSection1Title97(attribute, attributes interface{}) (interface{}, error) { - return types.NewAttributeGroup(append([]interface{}{attribute}, attributes.([]interface{})...)) -} - -func (p *parser) callonSection1Title97() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title97(stack["attribute"], stack["attributes"]) -} - -func (c *current) onSection1Title277() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title277() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title277() -} - -func (c *current) onSection1Title289() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title289() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title289() -} - -func (c *current) onSection1Title271(content interface{}) (interface{}, error) { - return types.NewInvalidElementAttribute(c.text) -} - -func (p *parser) callonSection1Title271() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title271(stack["content"]) -} - -func (c *current) onSection1Title294() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title294() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title294() -} - -func (c *current) onSection1Title5(attr interface{}) (interface{}, error) { - return attr, nil // avoid returning something like `[]interface{}{attr, EOL}` -} - -func (p *parser) callonSection1Title5() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title5(stack["attr"]) -} - -func (c *current) onSection1Title306() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title306() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title306() -} - -func (c *current) onSection1Title313() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title313() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title313() -} - -func (c *current) onSection1Title331() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title331() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title331() -} - -func (c *current) onSection1Title321() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title321() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title321() -} - -func (c *current) onSection1Title317(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection1Title317() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title317(stack["id"]) -} - -func (c *current) onSection1Title346() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title346() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title346() -} - -func (c *current) onSection1Title364() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection1Title364() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title364() -} - -func (c *current) onSection1Title356() (interface{}, error) { - return types.NewBlankLine() -} - -func (p *parser) callonSection1Title356() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title356() -} - -func (c *current) onSection1Title1(attributes, level, content, id interface{}) (interface{}, error) { - - return types.NewSectionTitle(content.(types.InlineElements), append(attributes.([]interface{}), id)) -} - -func (p *parser) callonSection1Title1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Title1(stack["attributes"], stack["level"], stack["content"], stack["id"]) -} - -func (c *current) onSection1Block1(content interface{}) (interface{}, error) { - return content, nil -} - -func (p *parser) callonSection1Block1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection1Block1(stack["content"]) -} - -func (c *current) onSection21(header, elements interface{}) (interface{}, error) { - return types.NewSection(2, header.(types.SectionTitle), elements.([]interface{})) -} - -func (p *parser) callonSection21() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection21(stack["header"], stack["elements"]) -} - -func (c *current) onSection2Title25() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title25() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title25() -} - -func (c *current) onSection2Title15() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title15() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title15() -} - -func (c *current) onSection2Title11(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection2Title11() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title11(stack["id"]) -} - -func (c *current) onSection2Title9(id interface{}) (interface{}, error) { - return id, nil -} - -func (p *parser) callonSection2Title9() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title9(stack["id"]) -} - -func (c *current) onSection2Title51() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title51() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title51() -} - -func (c *current) onSection2Title41() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title41() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title41() -} - -func (c *current) onSection2Title37(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection2Title37() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title37(stack["id"]) -} - -func (c *current) onSection2Title71() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title71() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title71() -} - -func (c *current) onSection2Title63(title interface{}) (interface{}, error) { - return types.NewElementTitle(title.([]interface{})) -} - -func (p *parser) callonSection2Title63() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title63(stack["title"]) -} - -func (c *current) onSection2Title86() (interface{}, error) { - return types.Tip, nil -} - -func (p *parser) callonSection2Title86() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title86() -} - -func (c *current) onSection2Title88() (interface{}, error) { - return types.Note, nil -} - -func (p *parser) callonSection2Title88() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title88() -} - -func (c *current) onSection2Title90() (interface{}, error) { - return types.Important, nil -} - -func (p *parser) callonSection2Title90() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title90() -} - -func (c *current) onSection2Title92() (interface{}, error) { - return types.Warning, nil -} - -func (p *parser) callonSection2Title92() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title92() -} - -func (c *current) onSection2Title94() (interface{}, error) { - return types.Caution, nil -} - -func (p *parser) callonSection2Title94() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title94() -} - -func (c *current) onSection2Title81(k interface{}) (interface{}, error) { - return k, nil -} - -func (p *parser) callonSection2Title81() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title81(stack["k"]) -} - -func (c *current) onSection2Title113() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title113() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title113() -} - -func (c *current) onSection2Title125() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title125() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title125() -} - -func (c *current) onSection2Title105(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection2Title105() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title105(stack["key"]) -} - -func (c *current) onSection2Title134() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title134() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title134() -} - -func (c *current) onSection2Title142() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title142() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title142() -} - -func (c *current) onSection2Title152() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title152() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title152() -} - -func (c *current) onSection2Title129(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonSection2Title129() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title129(stack["value"]) -} - -func (c *current) onSection2Title102(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonSection2Title102() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title102(stack["key"], stack["value"]) -} - -func (c *current) onSection2Title164() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title164() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title164() -} - -func (c *current) onSection2Title176() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title176() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title176() -} - -func (c *current) onSection2Title156(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection2Title156() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title156(stack["key"]) -} - -func (c *current) onSection2Title154(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonSection2Title154() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title154(stack["key"]) -} - -func (c *current) onSection2Title187() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title187() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title187() -} - -func (c *current) onSection2Title198() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title198() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title198() -} - -func (c *current) onSection2Title210() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title210() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title210() -} - -func (c *current) onSection2Title190(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection2Title190() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title190(stack["key"]) -} - -func (c *current) onSection2Title219() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title219() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title219() -} - -func (c *current) onSection2Title227() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title227() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title227() -} - -func (c *current) onSection2Title237() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title237() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title237() -} - -func (c *current) onSection2Title214(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonSection2Title214() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title214(stack["value"]) -} - -func (c *current) onSection2Title181(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonSection2Title181() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title181(stack["key"], stack["value"]) -} - -func (c *current) onSection2Title245() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title245() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title245() -} - -func (c *current) onSection2Title256() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title256() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title256() -} - -func (c *current) onSection2Title268() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title268() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title268() -} - -func (c *current) onSection2Title248(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection2Title248() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title248(stack["key"]) -} - -func (c *current) onSection2Title239(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonSection2Title239() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title239(stack["key"]) -} - -func (c *current) onSection2Title97(attribute, attributes interface{}) (interface{}, error) { - return types.NewAttributeGroup(append([]interface{}{attribute}, attributes.([]interface{})...)) -} - -func (p *parser) callonSection2Title97() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title97(stack["attribute"], stack["attributes"]) -} - -func (c *current) onSection2Title277() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title277() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title277() -} - -func (c *current) onSection2Title289() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title289() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title289() -} - -func (c *current) onSection2Title271(content interface{}) (interface{}, error) { - return types.NewInvalidElementAttribute(c.text) -} - -func (p *parser) callonSection2Title271() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title271(stack["content"]) -} - -func (c *current) onSection2Title294() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title294() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title294() -} - -func (c *current) onSection2Title5(attr interface{}) (interface{}, error) { - return attr, nil // avoid returning something like `[]interface{}{attr, EOL}` -} - -func (p *parser) callonSection2Title5() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title5(stack["attr"]) -} - -func (c *current) onSection2Title306() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title306() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title306() -} - -func (c *current) onSection2Title313() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title313() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title313() -} - -func (c *current) onSection2Title331() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title331() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title331() -} - -func (c *current) onSection2Title321() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title321() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title321() -} - -func (c *current) onSection2Title317(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection2Title317() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title317(stack["id"]) -} - -func (c *current) onSection2Title346() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title346() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title346() -} - -func (c *current) onSection2Title364() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection2Title364() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title364() -} - -func (c *current) onSection2Title356() (interface{}, error) { - return types.NewBlankLine() -} - -func (p *parser) callonSection2Title356() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title356() -} - -func (c *current) onSection2Title1(attributes, level, content, id interface{}) (interface{}, error) { - return types.NewSectionTitle(content.(types.InlineElements), append(attributes.([]interface{}), id)) -} - -func (p *parser) callonSection2Title1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Title1(stack["attributes"], stack["level"], stack["content"], stack["id"]) -} - -func (c *current) onSection2Block1(content interface{}) (interface{}, error) { - return content, nil -} - -func (p *parser) callonSection2Block1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection2Block1(stack["content"]) -} - -func (c *current) onSection31(header, elements interface{}) (interface{}, error) { - return types.NewSection(3, header.(types.SectionTitle), elements.([]interface{})) -} - -func (p *parser) callonSection31() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection31(stack["header"], stack["elements"]) -} - -func (c *current) onSection3Title25() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title25() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title25() -} - -func (c *current) onSection3Title15() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title15() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title15() -} - -func (c *current) onSection3Title11(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection3Title11() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title11(stack["id"]) -} - -func (c *current) onSection3Title9(id interface{}) (interface{}, error) { - return id, nil -} - -func (p *parser) callonSection3Title9() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title9(stack["id"]) -} - -func (c *current) onSection3Title51() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title51() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title51() -} - -func (c *current) onSection3Title41() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title41() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title41() -} - -func (c *current) onSection3Title37(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection3Title37() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title37(stack["id"]) -} - -func (c *current) onSection3Title71() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title71() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title71() -} - -func (c *current) onSection3Title63(title interface{}) (interface{}, error) { - return types.NewElementTitle(title.([]interface{})) -} - -func (p *parser) callonSection3Title63() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title63(stack["title"]) -} - -func (c *current) onSection3Title86() (interface{}, error) { - return types.Tip, nil -} - -func (p *parser) callonSection3Title86() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title86() -} - -func (c *current) onSection3Title88() (interface{}, error) { - return types.Note, nil -} - -func (p *parser) callonSection3Title88() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title88() -} - -func (c *current) onSection3Title90() (interface{}, error) { - return types.Important, nil -} - -func (p *parser) callonSection3Title90() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title90() -} - -func (c *current) onSection3Title92() (interface{}, error) { - return types.Warning, nil -} - -func (p *parser) callonSection3Title92() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title92() -} - -func (c *current) onSection3Title94() (interface{}, error) { - return types.Caution, nil -} - -func (p *parser) callonSection3Title94() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title94() -} - -func (c *current) onSection3Title81(k interface{}) (interface{}, error) { - return k, nil -} - -func (p *parser) callonSection3Title81() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title81(stack["k"]) -} - -func (c *current) onSection3Title113() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title113() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title113() -} - -func (c *current) onSection3Title125() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title125() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title125() -} - -func (c *current) onSection3Title105(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection3Title105() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title105(stack["key"]) -} - -func (c *current) onSection3Title134() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title134() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title134() -} - -func (c *current) onSection3Title142() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title142() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title142() -} - -func (c *current) onSection3Title152() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title152() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title152() -} - -func (c *current) onSection3Title129(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonSection3Title129() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title129(stack["value"]) -} - -func (c *current) onSection3Title102(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonSection3Title102() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title102(stack["key"], stack["value"]) -} - -func (c *current) onSection3Title164() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title164() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title164() -} - -func (c *current) onSection3Title176() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title176() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title176() -} - -func (c *current) onSection3Title156(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection3Title156() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title156(stack["key"]) -} - -func (c *current) onSection3Title154(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonSection3Title154() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title154(stack["key"]) -} - -func (c *current) onSection3Title187() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title187() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title187() -} - -func (c *current) onSection3Title198() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title198() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title198() -} - -func (c *current) onSection3Title210() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title210() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title210() -} - -func (c *current) onSection3Title190(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection3Title190() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title190(stack["key"]) -} - -func (c *current) onSection3Title219() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title219() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title219() -} - -func (c *current) onSection3Title227() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title227() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title227() -} - -func (c *current) onSection3Title237() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title237() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title237() -} - -func (c *current) onSection3Title214(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonSection3Title214() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title214(stack["value"]) -} - -func (c *current) onSection3Title181(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonSection3Title181() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title181(stack["key"], stack["value"]) -} - -func (c *current) onSection3Title245() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title245() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title245() -} - -func (c *current) onSection3Title256() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title256() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title256() -} - -func (c *current) onSection3Title268() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title268() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title268() -} - -func (c *current) onSection3Title248(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection3Title248() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title248(stack["key"]) -} - -func (c *current) onSection3Title239(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonSection3Title239() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title239(stack["key"]) -} - -func (c *current) onSection3Title97(attribute, attributes interface{}) (interface{}, error) { - return types.NewAttributeGroup(append([]interface{}{attribute}, attributes.([]interface{})...)) -} - -func (p *parser) callonSection3Title97() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title97(stack["attribute"], stack["attributes"]) -} - -func (c *current) onSection3Title277() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title277() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title277() -} - -func (c *current) onSection3Title289() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title289() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title289() -} - -func (c *current) onSection3Title271(content interface{}) (interface{}, error) { - return types.NewInvalidElementAttribute(c.text) -} - -func (p *parser) callonSection3Title271() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title271(stack["content"]) -} - -func (c *current) onSection3Title294() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title294() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title294() -} - -func (c *current) onSection3Title5(attr interface{}) (interface{}, error) { - return attr, nil // avoid returning something like `[]interface{}{attr, EOL}` -} - -func (p *parser) callonSection3Title5() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title5(stack["attr"]) -} - -func (c *current) onSection3Title306() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title306() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title306() -} - -func (c *current) onSection3Title313() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title313() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title313() -} - -func (c *current) onSection3Title331() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title331() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title331() -} - -func (c *current) onSection3Title321() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title321() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title321() -} - -func (c *current) onSection3Title317(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection3Title317() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title317(stack["id"]) -} - -func (c *current) onSection3Title359() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection3Title359() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title359() -} - -func (c *current) onSection3Title351() (interface{}, error) { - return types.NewBlankLine() -} - -func (p *parser) callonSection3Title351() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title351() -} - -func (c *current) onSection3Title1(attributes, level, content, id interface{}) (interface{}, error) { - return types.NewSectionTitle(content.(types.InlineElements), append(attributes.([]interface{}), id)) -} - -func (p *parser) callonSection3Title1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Title1(stack["attributes"], stack["level"], stack["content"], stack["id"]) -} - -func (c *current) onSection3Block1(content interface{}) (interface{}, error) { - return content, nil -} - -func (p *parser) callonSection3Block1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection3Block1(stack["content"]) -} - -func (c *current) onSection41(header, elements interface{}) (interface{}, error) { - return types.NewSection(4, header.(types.SectionTitle), elements.([]interface{})) -} - -func (p *parser) callonSection41() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection41(stack["header"], stack["elements"]) -} - -func (c *current) onSection4Title25() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title25() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title25() -} - -func (c *current) onSection4Title15() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title15() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title15() -} - -func (c *current) onSection4Title11(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection4Title11() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title11(stack["id"]) -} - -func (c *current) onSection4Title9(id interface{}) (interface{}, error) { - return id, nil -} - -func (p *parser) callonSection4Title9() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title9(stack["id"]) -} - -func (c *current) onSection4Title51() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title51() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title51() -} - -func (c *current) onSection4Title41() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title41() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title41() -} - -func (c *current) onSection4Title37(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection4Title37() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title37(stack["id"]) -} - -func (c *current) onSection4Title71() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title71() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title71() -} - -func (c *current) onSection4Title63(title interface{}) (interface{}, error) { - return types.NewElementTitle(title.([]interface{})) -} - -func (p *parser) callonSection4Title63() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title63(stack["title"]) -} - -func (c *current) onSection4Title86() (interface{}, error) { - return types.Tip, nil -} - -func (p *parser) callonSection4Title86() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title86() -} - -func (c *current) onSection4Title88() (interface{}, error) { - return types.Note, nil -} - -func (p *parser) callonSection4Title88() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title88() -} - -func (c *current) onSection4Title90() (interface{}, error) { - return types.Important, nil -} - -func (p *parser) callonSection4Title90() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title90() -} - -func (c *current) onSection4Title92() (interface{}, error) { - return types.Warning, nil -} - -func (p *parser) callonSection4Title92() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title92() -} - -func (c *current) onSection4Title94() (interface{}, error) { - return types.Caution, nil -} - -func (p *parser) callonSection4Title94() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title94() -} - -func (c *current) onSection4Title81(k interface{}) (interface{}, error) { - return k, nil -} - -func (p *parser) callonSection4Title81() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title81(stack["k"]) -} - -func (c *current) onSection4Title113() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title113() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title113() -} - -func (c *current) onSection4Title125() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title125() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title125() -} - -func (c *current) onSection4Title105(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection4Title105() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title105(stack["key"]) -} - -func (c *current) onSection4Title134() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title134() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title134() -} - -func (c *current) onSection4Title142() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title142() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title142() -} - -func (c *current) onSection4Title152() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title152() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title152() -} - -func (c *current) onSection4Title129(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonSection4Title129() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title129(stack["value"]) -} - -func (c *current) onSection4Title102(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonSection4Title102() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title102(stack["key"], stack["value"]) -} - -func (c *current) onSection4Title164() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title164() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title164() -} - -func (c *current) onSection4Title176() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title176() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title176() -} - -func (c *current) onSection4Title156(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection4Title156() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title156(stack["key"]) -} - -func (c *current) onSection4Title154(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonSection4Title154() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title154(stack["key"]) -} - -func (c *current) onSection4Title187() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title187() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title187() -} - -func (c *current) onSection4Title198() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title198() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title198() -} - -func (c *current) onSection4Title210() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title210() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title210() -} - -func (c *current) onSection4Title190(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection4Title190() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title190(stack["key"]) -} - -func (c *current) onSection4Title219() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title219() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title219() -} - -func (c *current) onSection4Title227() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title227() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title227() -} - -func (c *current) onSection4Title237() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title237() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title237() -} - -func (c *current) onSection4Title214(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonSection4Title214() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title214(stack["value"]) -} - -func (c *current) onSection4Title181(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonSection4Title181() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title181(stack["key"], stack["value"]) -} - -func (c *current) onSection4Title245() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title245() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title245() -} - -func (c *current) onSection4Title256() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title256() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title256() -} - -func (c *current) onSection4Title268() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title268() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title268() -} - -func (c *current) onSection4Title248(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection4Title248() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title248(stack["key"]) -} - -func (c *current) onSection4Title239(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonSection4Title239() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title239(stack["key"]) -} - -func (c *current) onSection4Title97(attribute, attributes interface{}) (interface{}, error) { - return types.NewAttributeGroup(append([]interface{}{attribute}, attributes.([]interface{})...)) -} - -func (p *parser) callonSection4Title97() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title97(stack["attribute"], stack["attributes"]) -} - -func (c *current) onSection4Title277() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title277() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title277() -} - -func (c *current) onSection4Title289() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title289() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title289() -} - -func (c *current) onSection4Title271(content interface{}) (interface{}, error) { - return types.NewInvalidElementAttribute(c.text) -} - -func (p *parser) callonSection4Title271() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title271(stack["content"]) -} - -func (c *current) onSection4Title294() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title294() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title294() -} - -func (c *current) onSection4Title5(attr interface{}) (interface{}, error) { - return attr, nil // avoid returning something like `[]interface{}{attr, EOL}` -} - -func (p *parser) callonSection4Title5() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title5(stack["attr"]) -} - -func (c *current) onSection4Title306() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title306() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title306() -} - -func (c *current) onSection4Title313() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title313() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title313() -} - -func (c *current) onSection4Title331() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title331() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title331() -} - -func (c *current) onSection4Title321() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title321() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title321() -} - -func (c *current) onSection4Title317(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection4Title317() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title317(stack["id"]) -} - -func (c *current) onSection4Title359() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection4Title359() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title359() -} - -func (c *current) onSection4Title351() (interface{}, error) { - return types.NewBlankLine() -} - -func (p *parser) callonSection4Title351() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title351() -} - -func (c *current) onSection4Title1(attributes, level, content, id interface{}) (interface{}, error) { - return types.NewSectionTitle(content.(types.InlineElements), append(attributes.([]interface{}), id)) -} - -func (p *parser) callonSection4Title1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Title1(stack["attributes"], stack["level"], stack["content"], stack["id"]) -} - -func (c *current) onSection4Block1(content interface{}) (interface{}, error) { - return content, nil -} - -func (p *parser) callonSection4Block1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection4Block1(stack["content"]) -} - -func (c *current) onSection51(header, elements interface{}) (interface{}, error) { - return types.NewSection(5, header.(types.SectionTitle), elements.([]interface{})) -} - -func (p *parser) callonSection51() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection51(stack["header"], stack["elements"]) -} - -func (c *current) onSection5Title25() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title25() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title25() -} - -func (c *current) onSection5Title15() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title15() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title15() -} - -func (c *current) onSection5Title11(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection5Title11() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title11(stack["id"]) -} - -func (c *current) onSection5Title9(id interface{}) (interface{}, error) { - return id, nil -} - -func (p *parser) callonSection5Title9() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title9(stack["id"]) -} - -func (c *current) onSection5Title51() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title51() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title51() -} - -func (c *current) onSection5Title41() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title41() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title41() -} - -func (c *current) onSection5Title37(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection5Title37() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title37(stack["id"]) -} - -func (c *current) onSection5Title71() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title71() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title71() -} - -func (c *current) onSection5Title63(title interface{}) (interface{}, error) { - return types.NewElementTitle(title.([]interface{})) -} - -func (p *parser) callonSection5Title63() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title63(stack["title"]) -} - -func (c *current) onSection5Title86() (interface{}, error) { - return types.Tip, nil -} - -func (p *parser) callonSection5Title86() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title86() -} - -func (c *current) onSection5Title88() (interface{}, error) { - return types.Note, nil -} - -func (p *parser) callonSection5Title88() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title88() -} - -func (c *current) onSection5Title90() (interface{}, error) { - return types.Important, nil -} - -func (p *parser) callonSection5Title90() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title90() -} - -func (c *current) onSection5Title92() (interface{}, error) { - return types.Warning, nil -} - -func (p *parser) callonSection5Title92() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title92() -} - -func (c *current) onSection5Title94() (interface{}, error) { - return types.Caution, nil -} - -func (p *parser) callonSection5Title94() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title94() -} - -func (c *current) onSection5Title81(k interface{}) (interface{}, error) { - return k, nil -} - -func (p *parser) callonSection5Title81() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title81(stack["k"]) -} - -func (c *current) onSection5Title113() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title113() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title113() -} - -func (c *current) onSection5Title125() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title125() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title125() -} - -func (c *current) onSection5Title105(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection5Title105() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title105(stack["key"]) -} - -func (c *current) onSection5Title134() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title134() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title134() -} - -func (c *current) onSection5Title142() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title142() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title142() -} - -func (c *current) onSection5Title152() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title152() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title152() -} - -func (c *current) onSection5Title129(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonSection5Title129() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title129(stack["value"]) -} - -func (c *current) onSection5Title102(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonSection5Title102() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title102(stack["key"], stack["value"]) -} - -func (c *current) onSection5Title164() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title164() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title164() -} - -func (c *current) onSection5Title176() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title176() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title176() -} - -func (c *current) onSection5Title156(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection5Title156() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title156(stack["key"]) -} - -func (c *current) onSection5Title154(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonSection5Title154() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title154(stack["key"]) -} - -func (c *current) onSection5Title187() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title187() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title187() -} - -func (c *current) onSection5Title198() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title198() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title198() -} - -func (c *current) onSection5Title210() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title210() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title210() -} - -func (c *current) onSection5Title190(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection5Title190() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title190(stack["key"]) -} - -func (c *current) onSection5Title219() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title219() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title219() -} - -func (c *current) onSection5Title227() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title227() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title227() -} - -func (c *current) onSection5Title237() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title237() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title237() -} - -func (c *current) onSection5Title214(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonSection5Title214() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title214(stack["value"]) -} - -func (c *current) onSection5Title181(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonSection5Title181() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title181(stack["key"], stack["value"]) -} - -func (c *current) onSection5Title245() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title245() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title245() -} - -func (c *current) onSection5Title256() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title256() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title256() -} - -func (c *current) onSection5Title268() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title268() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title268() -} - -func (c *current) onSection5Title248(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonSection5Title248() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title248(stack["key"]) -} - -func (c *current) onSection5Title239(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonSection5Title239() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title239(stack["key"]) -} - -func (c *current) onSection5Title97(attribute, attributes interface{}) (interface{}, error) { - return types.NewAttributeGroup(append([]interface{}{attribute}, attributes.([]interface{})...)) -} - -func (p *parser) callonSection5Title97() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title97(stack["attribute"], stack["attributes"]) -} - -func (c *current) onSection5Title277() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title277() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title277() -} - -func (c *current) onSection5Title289() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title289() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title289() -} - -func (c *current) onSection5Title271(content interface{}) (interface{}, error) { - return types.NewInvalidElementAttribute(c.text) -} - -func (p *parser) callonSection5Title271() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title271(stack["content"]) -} - -func (c *current) onSection5Title294() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title294() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title294() -} - -func (c *current) onSection5Title5(attr interface{}) (interface{}, error) { - return attr, nil // avoid returning something like `[]interface{}{attr, EOL}` -} - -func (p *parser) callonSection5Title5() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title5(stack["attr"]) -} - -func (c *current) onSection5Title306() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title306() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title306() -} - -func (c *current) onSection5Title313() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title313() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title313() -} - -func (c *current) onSection5Title331() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title331() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title331() -} - -func (c *current) onSection5Title321() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title321() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title321() -} - -func (c *current) onSection5Title317(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonSection5Title317() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title317(stack["id"]) -} - -func (c *current) onSection5Title359() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonSection5Title359() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title359() -} - -func (c *current) onSection5Title351() (interface{}, error) { - return types.NewBlankLine() -} - -func (p *parser) callonSection5Title351() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title351() -} - -func (c *current) onSection5Title1(attributes, level, content, id interface{}) (interface{}, error) { - return types.NewSectionTitle(content.(types.InlineElements), append(attributes.([]interface{}), id)) -} - -func (p *parser) callonSection5Title1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Title1(stack["attributes"], stack["level"], stack["content"], stack["id"]) -} - -func (c *current) onSection5Block1(content interface{}) (interface{}, error) { - return content, nil -} - -func (p *parser) callonSection5Block1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onSection5Block1(stack["content"]) -} - -func (c *current) onList9() (interface{}, error) { - return map[string]interface{}{"layout": "horizontal"}, nil -} - -func (p *parser) callonList9() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onList9() -} - -func (c *current) onList25() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonList25() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onList25() -} - -func (c *current) onList15() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonList15() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onList15() -} - -func (c *current) onList11(id interface{}) (interface{}, error) { - return map[string]interface{}{"ID": id.(string)}, nil -} - -func (p *parser) callonList11() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onList11(stack["id"]) -} - -func (c *current) onList5(attribute interface{}) (interface{}, error) { - return attribute, nil -} - -func (p *parser) callonList5() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onList5(stack["attribute"]) -} - -func (c *current) onList1(attributes, elements interface{}) (interface{}, error) { - return types.NewList(elements.([]interface{}), attributes.([]interface{})) -} - -func (p *parser) callonList1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onList1(stack["attributes"], stack["elements"]) -} - -func (c *current) onListParagraph12() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph12() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph12() -} - -func (c *current) onListParagraph19() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph19() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph19() -} - -func (c *current) onListParagraph7(style interface{}) (interface{}, error) { - // numbering style: "." - return types.NewOrderedListItemPrefix(types.Arabic, 1) -} - -func (p *parser) callonListParagraph7() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph7(stack["style"]) -} - -func (c *current) onListParagraph26() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph26() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph26() -} - -func (c *current) onListParagraph33() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph33() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph33() -} - -func (c *current) onListParagraph21(style interface{}) (interface{}, error) { - // numbering style: ".." - return types.NewOrderedListItemPrefix(types.LowerAlpha, 2) -} - -func (p *parser) callonListParagraph21() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph21(stack["style"]) -} - -func (c *current) onListParagraph40() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph40() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph40() -} - -func (c *current) onListParagraph47() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph47() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph47() -} - -func (c *current) onListParagraph35(style interface{}) (interface{}, error) { - // numbering style: "..." - return types.NewOrderedListItemPrefix(types.LowerRoman, 3) -} - -func (p *parser) callonListParagraph35() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph35(stack["style"]) -} - -func (c *current) onListParagraph54() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph54() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph54() -} - -func (c *current) onListParagraph61() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph61() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph61() -} - -func (c *current) onListParagraph49(style interface{}) (interface{}, error) { - // numbering style: "...." - return types.NewOrderedListItemPrefix(types.UpperAlpha, 4) -} - -func (p *parser) callonListParagraph49() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph49(stack["style"]) -} - -func (c *current) onListParagraph68() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph68() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph68() -} - -func (c *current) onListParagraph75() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph75() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph75() -} - -func (c *current) onListParagraph63(style interface{}) (interface{}, error) { - // numbering style: "....." - return types.NewOrderedListItemPrefix(types.UpperRoman, 5) - // explicit numbering -} - -func (p *parser) callonListParagraph63() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph63(stack["style"]) -} - -func (c *current) onListParagraph82() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph82() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph82() -} - -func (c *current) onListParagraph93() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph93() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph93() -} - -func (c *current) onListParagraph104() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph104() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph104() -} - -func (c *current) onListParagraph77(style interface{}) (interface{}, error) { - // numbering style: "1." - return types.NewOrderedListItemPrefix(types.Arabic, 1) -} - -func (p *parser) callonListParagraph77() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph77(stack["style"]) -} - -func (c *current) onListParagraph111() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph111() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph111() -} - -func (c *current) onListParagraph122() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph122() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph122() -} - -func (c *current) onListParagraph133() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph133() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph133() -} - -func (c *current) onListParagraph106(style interface{}) (interface{}, error) { - // numbering style: "a." - return types.NewOrderedListItemPrefix(types.LowerAlpha, 1) -} - -func (p *parser) callonListParagraph106() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph106(stack["style"]) -} - -func (c *current) onListParagraph140() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph140() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph140() -} - -func (c *current) onListParagraph151() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph151() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph151() -} - -func (c *current) onListParagraph162() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph162() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph162() -} - -func (c *current) onListParagraph135(style interface{}) (interface{}, error) { - // numbering style: "A." - return types.NewOrderedListItemPrefix(types.UpperAlpha, 1) -} - -func (p *parser) callonListParagraph135() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph135(stack["style"]) -} - -func (c *current) onListParagraph169() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph169() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph169() -} - -func (c *current) onListParagraph180() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph180() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph180() -} - -func (c *current) onListParagraph191() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph191() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph191() -} - -func (c *current) onListParagraph164(style interface{}) (interface{}, error) { - // numbering style: "i)" - return types.NewOrderedListItemPrefix(types.LowerRoman, 1) -} - -func (p *parser) callonListParagraph164() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph164(stack["style"]) -} - -func (c *current) onListParagraph198() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph198() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph198() -} - -func (c *current) onListParagraph209() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph209() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph209() -} - -func (c *current) onListParagraph220() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph220() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph220() -} - -func (c *current) onListParagraph193(style interface{}) (interface{}, error) { - // numbering style: "I)" - return types.NewOrderedListItemPrefix(types.UpperRoman, 1) -} - -func (p *parser) callonListParagraph193() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph193(stack["style"]) -} - -func (c *current) onListParagraph229() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph229() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph229() -} - -func (c *current) onListParagraph236() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph236() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph236() -} - -func (c *current) onListParagraph224(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.FiveAsterisks, 5) -} - -func (p *parser) callonListParagraph224() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph224(stack["level"]) -} - -func (c *current) onListParagraph243() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph243() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph243() -} - -func (c *current) onListParagraph250() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph250() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph250() -} - -func (c *current) onListParagraph238(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.FourAsterisks, 4) -} - -func (p *parser) callonListParagraph238() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph238(stack["level"]) -} - -func (c *current) onListParagraph257() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph257() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph257() -} - -func (c *current) onListParagraph264() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph264() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph264() -} - -func (c *current) onListParagraph252(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.ThreeAsterisks, 3) -} - -func (p *parser) callonListParagraph252() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph252(stack["level"]) -} - -func (c *current) onListParagraph271() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph271() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph271() -} - -func (c *current) onListParagraph278() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph278() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph278() -} - -func (c *current) onListParagraph266(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.TwoAsterisks, 2) -} - -func (p *parser) callonListParagraph266() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph266(stack["level"]) -} - -func (c *current) onListParagraph285() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph285() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph285() -} - -func (c *current) onListParagraph292() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph292() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph292() -} - -func (c *current) onListParagraph280(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.OneAsterisk, 1) -} - -func (p *parser) callonListParagraph280() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph280(stack["level"]) -} - -func (c *current) onListParagraph299() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph299() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph299() -} - -func (c *current) onListParagraph306() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph306() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph306() -} - -func (c *current) onListParagraph294(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.Dash, 1) -} - -func (p *parser) callonListParagraph294() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph294(stack["level"]) -} - -func (c *current) onListParagraph310(term interface{}) (interface{}, error) { - return term, nil -} - -func (p *parser) callonListParagraph310() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph310(stack["term"]) -} - -func (c *current) onListParagraph325() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph325() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph325() -} - -func (c *current) onListParagraph336() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph336() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph336() -} - -func (c *current) onListParagraph330() (interface{}, error) { - return types.NewListItemContinuation() -} - -func (p *parser) callonListParagraph330() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph330() -} - -func (c *current) onListParagraph364() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph364() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph364() -} - -func (c *current) onListParagraph354() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph354() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph354() -} - -func (c *current) onListParagraph350(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonListParagraph350() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph350(stack["id"]) -} - -func (c *current) onListParagraph348(id interface{}) (interface{}, error) { - return id, nil -} - -func (p *parser) callonListParagraph348() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph348(stack["id"]) -} - -func (c *current) onListParagraph390() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph390() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph390() -} - -func (c *current) onListParagraph380() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph380() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph380() -} - -func (c *current) onListParagraph376(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonListParagraph376() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph376(stack["id"]) -} - -func (c *current) onListParagraph410() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph410() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph410() -} - -func (c *current) onListParagraph402(title interface{}) (interface{}, error) { - return types.NewElementTitle(title.([]interface{})) -} - -func (p *parser) callonListParagraph402() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph402(stack["title"]) -} - -func (c *current) onListParagraph425() (interface{}, error) { - return types.Tip, nil -} - -func (p *parser) callonListParagraph425() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph425() -} - -func (c *current) onListParagraph427() (interface{}, error) { - return types.Note, nil -} - -func (p *parser) callonListParagraph427() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph427() -} - -func (c *current) onListParagraph429() (interface{}, error) { - return types.Important, nil -} - -func (p *parser) callonListParagraph429() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph429() -} - -func (c *current) onListParagraph431() (interface{}, error) { - return types.Warning, nil -} - -func (p *parser) callonListParagraph431() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph431() -} - -func (c *current) onListParagraph433() (interface{}, error) { - return types.Caution, nil -} - -func (p *parser) callonListParagraph433() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph433() -} - -func (c *current) onListParagraph420(k interface{}) (interface{}, error) { - return k, nil -} - -func (p *parser) callonListParagraph420() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph420(stack["k"]) -} - -func (c *current) onListParagraph452() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph452() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph452() -} - -func (c *current) onListParagraph464() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph464() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph464() -} - -func (c *current) onListParagraph444(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonListParagraph444() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph444(stack["key"]) -} - -func (c *current) onListParagraph473() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph473() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph473() -} - -func (c *current) onListParagraph481() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph481() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph481() -} - -func (c *current) onListParagraph491() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph491() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph491() -} - -func (c *current) onListParagraph468(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonListParagraph468() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph468(stack["value"]) -} - -func (c *current) onListParagraph441(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonListParagraph441() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph441(stack["key"], stack["value"]) -} - -func (c *current) onListParagraph503() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph503() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph503() -} - -func (c *current) onListParagraph515() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph515() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph515() -} - -func (c *current) onListParagraph495(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonListParagraph495() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph495(stack["key"]) -} - -func (c *current) onListParagraph493(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonListParagraph493() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph493(stack["key"]) -} - -func (c *current) onListParagraph526() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph526() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph526() -} - -func (c *current) onListParagraph537() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph537() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph537() -} - -func (c *current) onListParagraph549() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph549() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph549() -} - -func (c *current) onListParagraph529(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonListParagraph529() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph529(stack["key"]) -} - -func (c *current) onListParagraph558() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph558() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph558() -} - -func (c *current) onListParagraph566() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph566() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph566() -} - -func (c *current) onListParagraph576() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph576() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph576() -} - -func (c *current) onListParagraph553(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonListParagraph553() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph553(stack["value"]) -} - -func (c *current) onListParagraph520(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonListParagraph520() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph520(stack["key"], stack["value"]) -} - -func (c *current) onListParagraph584() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph584() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph584() -} - -func (c *current) onListParagraph595() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph595() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph595() -} - -func (c *current) onListParagraph607() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph607() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph607() -} - -func (c *current) onListParagraph587(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonListParagraph587() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph587(stack["key"]) -} - -func (c *current) onListParagraph578(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonListParagraph578() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph578(stack["key"]) -} - -func (c *current) onListParagraph436(attribute, attributes interface{}) (interface{}, error) { - return types.NewAttributeGroup(append([]interface{}{attribute}, attributes.([]interface{})...)) -} - -func (p *parser) callonListParagraph436() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph436(stack["attribute"], stack["attributes"]) -} - -func (c *current) onListParagraph616() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph616() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph616() -} - -func (c *current) onListParagraph628() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph628() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph628() -} - -func (c *current) onListParagraph610(content interface{}) (interface{}, error) { - return types.NewInvalidElementAttribute(c.text) -} - -func (p *parser) callonListParagraph610() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph610(stack["content"]) -} - -func (c *current) onListParagraph633() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListParagraph633() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph633() -} - -func (c *current) onListParagraph344(attr interface{}) (interface{}, error) { - return attr, nil // avoid returning something like `[]interface{}{attr, EOL}` -} - -func (p *parser) callonListParagraph344() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph344(stack["attr"]) -} - -func (c *current) onListParagraph1(lines interface{}) (interface{}, error) { - return types.NewParagraph(lines.([]interface{}), nil) -} - -func (p *parser) callonListParagraph1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListParagraph1(stack["lines"]) -} - -func (c *current) onContinuedDocumentBlock9() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonContinuedDocumentBlock9() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onContinuedDocumentBlock9() -} - -func (c *current) onContinuedDocumentBlock3() (interface{}, error) { - return types.NewListItemContinuation() -} - -func (p *parser) callonContinuedDocumentBlock3() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onContinuedDocumentBlock3() -} - -func (c *current) onContinuedDocumentBlock1(element interface{}) (interface{}, error) { - return element, nil -} - -func (p *parser) callonContinuedDocumentBlock1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onContinuedDocumentBlock1(stack["element"]) -} - -func (c *current) onOrderedListItem25() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem25() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem25() -} - -func (c *current) onOrderedListItem15() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem15() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem15() -} - -func (c *current) onOrderedListItem11(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonOrderedListItem11() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem11(stack["id"]) -} - -func (c *current) onOrderedListItem9(id interface{}) (interface{}, error) { - return id, nil -} - -func (p *parser) callonOrderedListItem9() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem9(stack["id"]) -} - -func (c *current) onOrderedListItem51() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem51() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem51() -} - -func (c *current) onOrderedListItem41() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem41() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem41() -} - -func (c *current) onOrderedListItem37(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonOrderedListItem37() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem37(stack["id"]) -} - -func (c *current) onOrderedListItem71() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem71() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem71() -} - -func (c *current) onOrderedListItem63(title interface{}) (interface{}, error) { - return types.NewElementTitle(title.([]interface{})) -} - -func (p *parser) callonOrderedListItem63() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem63(stack["title"]) -} - -func (c *current) onOrderedListItem86() (interface{}, error) { - return types.Tip, nil -} - -func (p *parser) callonOrderedListItem86() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem86() -} - -func (c *current) onOrderedListItem88() (interface{}, error) { - return types.Note, nil -} - -func (p *parser) callonOrderedListItem88() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem88() -} - -func (c *current) onOrderedListItem90() (interface{}, error) { - return types.Important, nil -} - -func (p *parser) callonOrderedListItem90() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem90() -} - -func (c *current) onOrderedListItem92() (interface{}, error) { - return types.Warning, nil -} - -func (p *parser) callonOrderedListItem92() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem92() -} - -func (c *current) onOrderedListItem94() (interface{}, error) { - return types.Caution, nil -} - -func (p *parser) callonOrderedListItem94() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem94() -} - -func (c *current) onOrderedListItem81(k interface{}) (interface{}, error) { - return k, nil -} - -func (p *parser) callonOrderedListItem81() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem81(stack["k"]) -} - -func (c *current) onOrderedListItem113() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem113() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem113() -} - -func (c *current) onOrderedListItem125() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem125() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem125() -} - -func (c *current) onOrderedListItem105(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonOrderedListItem105() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem105(stack["key"]) -} - -func (c *current) onOrderedListItem134() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem134() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem134() -} - -func (c *current) onOrderedListItem142() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem142() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem142() -} - -func (c *current) onOrderedListItem152() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem152() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem152() -} - -func (c *current) onOrderedListItem129(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonOrderedListItem129() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem129(stack["value"]) -} - -func (c *current) onOrderedListItem102(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonOrderedListItem102() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem102(stack["key"], stack["value"]) -} - -func (c *current) onOrderedListItem164() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem164() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem164() -} - -func (c *current) onOrderedListItem176() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem176() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem176() -} - -func (c *current) onOrderedListItem156(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonOrderedListItem156() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem156(stack["key"]) -} - -func (c *current) onOrderedListItem154(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonOrderedListItem154() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem154(stack["key"]) -} - -func (c *current) onOrderedListItem187() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem187() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem187() -} - -func (c *current) onOrderedListItem198() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem198() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem198() -} - -func (c *current) onOrderedListItem210() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem210() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem210() -} - -func (c *current) onOrderedListItem190(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonOrderedListItem190() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem190(stack["key"]) -} - -func (c *current) onOrderedListItem219() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem219() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem219() -} - -func (c *current) onOrderedListItem227() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem227() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem227() -} - -func (c *current) onOrderedListItem237() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem237() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem237() -} - -func (c *current) onOrderedListItem214(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonOrderedListItem214() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem214(stack["value"]) -} - -func (c *current) onOrderedListItem181(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonOrderedListItem181() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem181(stack["key"], stack["value"]) -} - -func (c *current) onOrderedListItem245() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem245() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem245() -} - -func (c *current) onOrderedListItem256() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem256() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem256() -} - -func (c *current) onOrderedListItem268() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem268() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem268() -} - -func (c *current) onOrderedListItem248(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonOrderedListItem248() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem248(stack["key"]) -} - -func (c *current) onOrderedListItem239(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonOrderedListItem239() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem239(stack["key"]) -} - -func (c *current) onOrderedListItem97(attribute, attributes interface{}) (interface{}, error) { - return types.NewAttributeGroup(append([]interface{}{attribute}, attributes.([]interface{})...)) -} - -func (p *parser) callonOrderedListItem97() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem97(stack["attribute"], stack["attributes"]) -} - -func (c *current) onOrderedListItem277() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem277() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem277() -} - -func (c *current) onOrderedListItem289() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem289() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem289() -} - -func (c *current) onOrderedListItem271(content interface{}) (interface{}, error) { - return types.NewInvalidElementAttribute(c.text) -} - -func (p *parser) callonOrderedListItem271() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem271(stack["content"]) -} - -func (c *current) onOrderedListItem294() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem294() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem294() -} - -func (c *current) onOrderedListItem5(attr interface{}) (interface{}, error) { - return attr, nil // avoid returning something like `[]interface{}{attr, EOL}` -} - -func (p *parser) callonOrderedListItem5() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem5(stack["attr"]) -} - -func (c *current) onOrderedListItem308() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem308() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem308() -} - -func (c *current) onOrderedListItem315() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem315() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem315() -} - -func (c *current) onOrderedListItem303(style interface{}) (interface{}, error) { - // numbering style: "." - return types.NewOrderedListItemPrefix(types.Arabic, 1) -} - -func (p *parser) callonOrderedListItem303() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem303(stack["style"]) -} - -func (c *current) onOrderedListItem322() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem322() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem322() -} - -func (c *current) onOrderedListItem329() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem329() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem329() -} - -func (c *current) onOrderedListItem317(style interface{}) (interface{}, error) { - // numbering style: ".." - return types.NewOrderedListItemPrefix(types.LowerAlpha, 2) -} - -func (p *parser) callonOrderedListItem317() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem317(stack["style"]) -} - -func (c *current) onOrderedListItem336() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem336() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem336() -} - -func (c *current) onOrderedListItem343() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem343() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem343() -} - -func (c *current) onOrderedListItem331(style interface{}) (interface{}, error) { - // numbering style: "..." - return types.NewOrderedListItemPrefix(types.LowerRoman, 3) -} - -func (p *parser) callonOrderedListItem331() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem331(stack["style"]) -} - -func (c *current) onOrderedListItem350() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem350() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem350() -} - -func (c *current) onOrderedListItem357() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem357() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem357() -} - -func (c *current) onOrderedListItem345(style interface{}) (interface{}, error) { - // numbering style: "...." - return types.NewOrderedListItemPrefix(types.UpperAlpha, 4) -} - -func (p *parser) callonOrderedListItem345() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem345(stack["style"]) -} - -func (c *current) onOrderedListItem364() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem364() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem364() -} - -func (c *current) onOrderedListItem371() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem371() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem371() -} - -func (c *current) onOrderedListItem359(style interface{}) (interface{}, error) { - // numbering style: "....." - return types.NewOrderedListItemPrefix(types.UpperRoman, 5) - // explicit numbering -} - -func (p *parser) callonOrderedListItem359() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem359(stack["style"]) -} - -func (c *current) onOrderedListItem378() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem378() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem378() -} - -func (c *current) onOrderedListItem389() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem389() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem389() -} - -func (c *current) onOrderedListItem400() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem400() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem400() -} - -func (c *current) onOrderedListItem373(style interface{}) (interface{}, error) { - // numbering style: "1." - return types.NewOrderedListItemPrefix(types.Arabic, 1) -} - -func (p *parser) callonOrderedListItem373() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem373(stack["style"]) -} - -func (c *current) onOrderedListItem407() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem407() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem407() -} - -func (c *current) onOrderedListItem418() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem418() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem418() -} - -func (c *current) onOrderedListItem429() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem429() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem429() -} - -func (c *current) onOrderedListItem402(style interface{}) (interface{}, error) { - // numbering style: "a." - return types.NewOrderedListItemPrefix(types.LowerAlpha, 1) -} - -func (p *parser) callonOrderedListItem402() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem402(stack["style"]) -} - -func (c *current) onOrderedListItem436() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem436() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem436() -} - -func (c *current) onOrderedListItem447() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem447() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem447() -} - -func (c *current) onOrderedListItem458() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem458() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem458() -} - -func (c *current) onOrderedListItem431(style interface{}) (interface{}, error) { - // numbering style: "A." - return types.NewOrderedListItemPrefix(types.UpperAlpha, 1) -} - -func (p *parser) callonOrderedListItem431() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem431(stack["style"]) -} - -func (c *current) onOrderedListItem465() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem465() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem465() -} - -func (c *current) onOrderedListItem476() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem476() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem476() -} - -func (c *current) onOrderedListItem487() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem487() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem487() -} - -func (c *current) onOrderedListItem460(style interface{}) (interface{}, error) { - // numbering style: "i)" - return types.NewOrderedListItemPrefix(types.LowerRoman, 1) -} - -func (p *parser) callonOrderedListItem460() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem460(stack["style"]) -} - -func (c *current) onOrderedListItem494() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem494() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem494() -} - -func (c *current) onOrderedListItem505() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem505() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem505() -} - -func (c *current) onOrderedListItem516() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem516() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem516() -} - -func (c *current) onOrderedListItem489(style interface{}) (interface{}, error) { - // numbering style: "I)" - return types.NewOrderedListItemPrefix(types.UpperRoman, 1) -} - -func (p *parser) callonOrderedListItem489() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem489(stack["style"]) -} - -func (c *current) onOrderedListItem529() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonOrderedListItem529() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem529() -} - -func (c *current) onOrderedListItem521() (interface{}, error) { - return types.NewBlankLine() -} - -func (p *parser) callonOrderedListItem521() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem521() -} - -func (c *current) onOrderedListItem1(attributes, prefix, content interface{}) (interface{}, error) { - return types.NewOrderedListItem(prefix.(types.OrderedListItemPrefix), content.([]interface{}), attributes.([]interface{})) -} - -func (p *parser) callonOrderedListItem1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItem1(stack["attributes"], stack["prefix"], stack["content"]) -} - -func (c *current) onOrderedListItemContent1(elements interface{}) (interface{}, error) { - // Another list or a literal paragraph immediately following a list item will be implicitly included in the list item - return types.NewListItemContent(elements.([]interface{})) -} - -func (p *parser) callonOrderedListItemContent1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onOrderedListItemContent1(stack["elements"]) -} - -func (c *current) onUnorderedListItem10() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonUnorderedListItem10() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem10() -} - -func (c *current) onUnorderedListItem17() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonUnorderedListItem17() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem17() -} - -func (c *current) onUnorderedListItem5(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.FiveAsterisks, 5) -} - -func (p *parser) callonUnorderedListItem5() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem5(stack["level"]) -} - -func (c *current) onUnorderedListItem24() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonUnorderedListItem24() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem24() -} - -func (c *current) onUnorderedListItem31() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonUnorderedListItem31() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem31() -} - -func (c *current) onUnorderedListItem19(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.FourAsterisks, 4) -} - -func (p *parser) callonUnorderedListItem19() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem19(stack["level"]) -} - -func (c *current) onUnorderedListItem38() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonUnorderedListItem38() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem38() -} - -func (c *current) onUnorderedListItem45() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonUnorderedListItem45() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem45() -} - -func (c *current) onUnorderedListItem33(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.ThreeAsterisks, 3) -} - -func (p *parser) callonUnorderedListItem33() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem33(stack["level"]) -} - -func (c *current) onUnorderedListItem52() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonUnorderedListItem52() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem52() -} - -func (c *current) onUnorderedListItem59() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonUnorderedListItem59() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem59() -} - -func (c *current) onUnorderedListItem47(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.TwoAsterisks, 2) -} - -func (p *parser) callonUnorderedListItem47() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem47(stack["level"]) -} - -func (c *current) onUnorderedListItem66() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonUnorderedListItem66() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem66() -} - -func (c *current) onUnorderedListItem73() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonUnorderedListItem73() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem73() -} - -func (c *current) onUnorderedListItem61(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.OneAsterisk, 1) -} - -func (p *parser) callonUnorderedListItem61() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem61(stack["level"]) -} - -func (c *current) onUnorderedListItem80() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonUnorderedListItem80() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem80() -} - -func (c *current) onUnorderedListItem87() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonUnorderedListItem87() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem87() -} - -func (c *current) onUnorderedListItem75(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.Dash, 1) -} - -func (p *parser) callonUnorderedListItem75() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem75(stack["level"]) -} - -func (c *current) onUnorderedListItem100() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonUnorderedListItem100() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem100() -} - -func (c *current) onUnorderedListItem92() (interface{}, error) { - return types.NewBlankLine() -} - -func (p *parser) callonUnorderedListItem92() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem92() -} - -func (c *current) onUnorderedListItem1(prefix, content interface{}) (interface{}, error) { - return types.NewUnorderedListItem(prefix.(types.UnorderedListItemPrefix), content.([]interface{})) -} - -func (p *parser) callonUnorderedListItem1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItem1(stack["prefix"], stack["content"]) -} - -func (c *current) onUnorderedListItemContent1(elements interface{}) (interface{}, error) { - // Another list or a literal paragraph immediately following a list item will be implicitly included in the list item - return types.NewListItemContent(elements.([]interface{})) -} - -func (p *parser) callonUnorderedListItemContent1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onUnorderedListItemContent1(stack["elements"]) -} - -func (c *current) onLabeledListItem5(term interface{}) (interface{}, error) { - return term, nil -} - -func (p *parser) callonLabeledListItem5() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onLabeledListItem5(stack["term"]) -} - -func (c *current) onLabeledListItem20() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonLabeledListItem20() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onLabeledListItem20() -} - -func (c *current) onLabeledListItem2(term, description interface{}) (interface{}, error) { - return types.NewLabeledListItem(term.([]interface{}), description.([]interface{})) -} - -func (p *parser) callonLabeledListItem2() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onLabeledListItem2(stack["term"], stack["description"]) -} - -func (c *current) onLabeledListItem29(term interface{}) (interface{}, error) { - return term, nil -} - -func (p *parser) callonLabeledListItem29() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onLabeledListItem29(stack["term"]) -} - -func (c *current) onLabeledListItem44() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonLabeledListItem44() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onLabeledListItem44() -} - -func (c *current) onLabeledListItem26(term interface{}) (interface{}, error) { - // here, WS is optional since there is no description afterwards - return types.NewLabeledListItem(term.([]interface{}), nil) -} - -func (p *parser) callonLabeledListItem26() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onLabeledListItem26(stack["term"]) -} - -func (c *current) onLabeledListItemDescription1(elements interface{}) (interface{}, error) { - // TODO: replace with (ListParagraph+ ContinuedDocumentBlock*) and use a single rule for all item contents ? - return types.NewListItemContent(elements.([]interface{})) -} - -func (p *parser) callonLabeledListItemDescription1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onLabeledListItemDescription1(stack["elements"]) -} - -func (c *current) onParagraph26() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph26() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph26() -} - -func (c *current) onParagraph16() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph16() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph16() -} - -func (c *current) onParagraph12(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonParagraph12() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph12(stack["id"]) -} - -func (c *current) onParagraph10(id interface{}) (interface{}, error) { - return id, nil -} - -func (p *parser) callonParagraph10() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph10(stack["id"]) -} - -func (c *current) onParagraph52() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph52() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph52() -} - -func (c *current) onParagraph42() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph42() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph42() -} - -func (c *current) onParagraph38(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonParagraph38() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph38(stack["id"]) -} - -func (c *current) onParagraph72() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph72() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph72() -} - -func (c *current) onParagraph64(title interface{}) (interface{}, error) { - return types.NewElementTitle(title.([]interface{})) -} - -func (p *parser) callonParagraph64() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph64(stack["title"]) -} - -func (c *current) onParagraph87() (interface{}, error) { - return types.Tip, nil -} - -func (p *parser) callonParagraph87() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph87() -} - -func (c *current) onParagraph89() (interface{}, error) { - return types.Note, nil -} - -func (p *parser) callonParagraph89() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph89() -} - -func (c *current) onParagraph91() (interface{}, error) { - return types.Important, nil -} - -func (p *parser) callonParagraph91() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph91() -} - -func (c *current) onParagraph93() (interface{}, error) { - return types.Warning, nil -} - -func (p *parser) callonParagraph93() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph93() -} - -func (c *current) onParagraph95() (interface{}, error) { - return types.Caution, nil -} - -func (p *parser) callonParagraph95() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph95() -} - -func (c *current) onParagraph82(k interface{}) (interface{}, error) { - return k, nil -} - -func (p *parser) callonParagraph82() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph82(stack["k"]) -} - -func (c *current) onParagraph114() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph114() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph114() -} - -func (c *current) onParagraph126() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph126() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph126() -} - -func (c *current) onParagraph106(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonParagraph106() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph106(stack["key"]) -} - -func (c *current) onParagraph135() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph135() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph135() -} - -func (c *current) onParagraph143() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph143() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph143() -} - -func (c *current) onParagraph153() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph153() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph153() -} - -func (c *current) onParagraph130(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonParagraph130() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph130(stack["value"]) -} - -func (c *current) onParagraph103(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonParagraph103() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph103(stack["key"], stack["value"]) -} - -func (c *current) onParagraph165() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph165() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph165() -} - -func (c *current) onParagraph177() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph177() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph177() -} - -func (c *current) onParagraph157(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonParagraph157() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph157(stack["key"]) -} - -func (c *current) onParagraph155(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonParagraph155() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph155(stack["key"]) -} - -func (c *current) onParagraph188() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph188() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph188() -} - -func (c *current) onParagraph199() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph199() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph199() -} - -func (c *current) onParagraph211() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph211() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph211() -} - -func (c *current) onParagraph191(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonParagraph191() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph191(stack["key"]) -} - -func (c *current) onParagraph220() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph220() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph220() -} - -func (c *current) onParagraph228() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph228() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph228() -} - -func (c *current) onParagraph238() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph238() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph238() -} - -func (c *current) onParagraph215(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonParagraph215() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph215(stack["value"]) -} - -func (c *current) onParagraph182(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonParagraph182() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph182(stack["key"], stack["value"]) -} - -func (c *current) onParagraph246() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph246() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph246() -} - -func (c *current) onParagraph257() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph257() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph257() -} - -func (c *current) onParagraph269() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph269() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph269() -} - -func (c *current) onParagraph249(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonParagraph249() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph249(stack["key"]) -} - -func (c *current) onParagraph240(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonParagraph240() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph240(stack["key"]) -} - -func (c *current) onParagraph98(attribute, attributes interface{}) (interface{}, error) { - return types.NewAttributeGroup(append([]interface{}{attribute}, attributes.([]interface{})...)) -} - -func (p *parser) callonParagraph98() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph98(stack["attribute"], stack["attributes"]) -} - -func (c *current) onParagraph278() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph278() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph278() -} - -func (c *current) onParagraph290() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph290() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph290() -} - -func (c *current) onParagraph272(content interface{}) (interface{}, error) { - return types.NewInvalidElementAttribute(c.text) -} - -func (p *parser) callonParagraph272() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph272(stack["content"]) -} - -func (c *current) onParagraph295() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph295() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph295() -} - -func (c *current) onParagraph6(attr interface{}) (interface{}, error) { - return attr, nil // avoid returning something like `[]interface{}{attr, EOL}` -} - -func (p *parser) callonParagraph6() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph6(stack["attr"]) -} - -func (c *current) onParagraph309() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph309() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph309() -} - -func (c *current) onParagraph317() (interface{}, error) { - return types.Tip, nil -} - -func (p *parser) callonParagraph317() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph317() -} - -func (c *current) onParagraph319() (interface{}, error) { - return types.Note, nil -} - -func (p *parser) callonParagraph319() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph319() -} - -func (c *current) onParagraph321() (interface{}, error) { - return types.Important, nil -} - -func (p *parser) callonParagraph321() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph321() -} - -func (c *current) onParagraph323() (interface{}, error) { - return types.Warning, nil -} - -func (p *parser) callonParagraph323() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph323() -} - -func (c *current) onParagraph325() (interface{}, error) { - return types.Caution, nil -} - -func (p *parser) callonParagraph325() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph325() -} - -func (c *current) onParagraph2(attributes, t, lines interface{}) (interface{}, error) { - - return types.NewParagraph(lines.([]interface{}), append(attributes.([]interface{}), t.(types.AdmonitionKind))) - -} - -func (p *parser) callonParagraph2() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph2(stack["attributes"], stack["t"], stack["lines"]) -} - -func (c *current) onParagraph361() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph361() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph361() -} - -func (c *current) onParagraph351() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph351() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph351() -} - -func (c *current) onParagraph347(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonParagraph347() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph347(stack["id"]) -} - -func (c *current) onParagraph345(id interface{}) (interface{}, error) { - return id, nil -} - -func (p *parser) callonParagraph345() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph345(stack["id"]) -} - -func (c *current) onParagraph387() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph387() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph387() -} - -func (c *current) onParagraph377() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph377() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph377() -} - -func (c *current) onParagraph373(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonParagraph373() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph373(stack["id"]) -} - -func (c *current) onParagraph407() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph407() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph407() -} - -func (c *current) onParagraph399(title interface{}) (interface{}, error) { - return types.NewElementTitle(title.([]interface{})) -} - -func (p *parser) callonParagraph399() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph399(stack["title"]) -} - -func (c *current) onParagraph422() (interface{}, error) { - return types.Tip, nil -} - -func (p *parser) callonParagraph422() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph422() -} - -func (c *current) onParagraph424() (interface{}, error) { - return types.Note, nil -} - -func (p *parser) callonParagraph424() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph424() -} - -func (c *current) onParagraph426() (interface{}, error) { - return types.Important, nil -} - -func (p *parser) callonParagraph426() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph426() -} - -func (c *current) onParagraph428() (interface{}, error) { - return types.Warning, nil -} - -func (p *parser) callonParagraph428() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph428() -} - -func (c *current) onParagraph430() (interface{}, error) { - return types.Caution, nil -} - -func (p *parser) callonParagraph430() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph430() -} - -func (c *current) onParagraph417(k interface{}) (interface{}, error) { - return k, nil -} - -func (p *parser) callonParagraph417() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph417(stack["k"]) -} - -func (c *current) onParagraph449() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph449() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph449() -} - -func (c *current) onParagraph461() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph461() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph461() -} - -func (c *current) onParagraph441(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonParagraph441() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph441(stack["key"]) -} - -func (c *current) onParagraph470() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph470() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph470() -} - -func (c *current) onParagraph478() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph478() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph478() -} - -func (c *current) onParagraph488() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph488() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph488() -} - -func (c *current) onParagraph465(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonParagraph465() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph465(stack["value"]) -} - -func (c *current) onParagraph438(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonParagraph438() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph438(stack["key"], stack["value"]) -} - -func (c *current) onParagraph500() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph500() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph500() -} - -func (c *current) onParagraph512() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph512() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph512() -} - -func (c *current) onParagraph492(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonParagraph492() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph492(stack["key"]) -} - -func (c *current) onParagraph490(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonParagraph490() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph490(stack["key"]) -} - -func (c *current) onParagraph523() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph523() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph523() -} - -func (c *current) onParagraph534() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph534() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph534() -} - -func (c *current) onParagraph546() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph546() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph546() -} - -func (c *current) onParagraph526(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonParagraph526() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph526(stack["key"]) -} - -func (c *current) onParagraph555() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph555() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph555() -} - -func (c *current) onParagraph563() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph563() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph563() -} - -func (c *current) onParagraph573() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph573() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph573() -} - -func (c *current) onParagraph550(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonParagraph550() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph550(stack["value"]) -} - -func (c *current) onParagraph517(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonParagraph517() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph517(stack["key"], stack["value"]) -} - -func (c *current) onParagraph581() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph581() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph581() -} - -func (c *current) onParagraph592() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph592() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph592() -} - -func (c *current) onParagraph604() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph604() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph604() -} - -func (c *current) onParagraph584(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonParagraph584() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph584(stack["key"]) -} - -func (c *current) onParagraph575(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonParagraph575() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph575(stack["key"]) -} - -func (c *current) onParagraph433(attribute, attributes interface{}) (interface{}, error) { - return types.NewAttributeGroup(append([]interface{}{attribute}, attributes.([]interface{})...)) -} - -func (p *parser) callonParagraph433() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph433(stack["attribute"], stack["attributes"]) -} - -func (c *current) onParagraph613() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph613() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph613() -} - -func (c *current) onParagraph625() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph625() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph625() -} - -func (c *current) onParagraph607(content interface{}) (interface{}, error) { - return types.NewInvalidElementAttribute(c.text) -} - -func (p *parser) callonParagraph607() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph607(stack["content"]) -} - -func (c *current) onParagraph630() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph630() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph630() -} - -func (c *current) onParagraph341(attr interface{}) (interface{}, error) { - return attr, nil // avoid returning something like `[]interface{}{attr, EOL}` -} - -func (p *parser) callonParagraph341() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph341(stack["attr"]) -} - -func (c *current) onParagraph644() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonParagraph644() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph644() -} - -func (c *current) onParagraph337(attributes, lines interface{}) (interface{}, error) { - - return types.NewParagraph(lines.([]interface{}), attributes.([]interface{})) - -} - -func (p *parser) callonParagraph337() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onParagraph337(stack["attributes"], stack["lines"]) -} - -func (c *current) onInlineElements15() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElements15() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElements15() -} - -func (c *current) onInlineElements32() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElements32() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElements32() -} - -func (c *current) onInlineElements22() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElements22() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElements22() -} - -func (c *current) onInlineElements18(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonInlineElements18() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElements18(stack["id"]) -} - -func (c *current) onInlineElements48() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElements48() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElements48() -} - -func (c *current) onInlineElements1(elements interface{}) (interface{}, error) { - // absorbs heading and trailing spaces - return types.NewInlineElements(elements.([]interface{})) -} - -func (p *parser) callonInlineElements1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElements1(stack["elements"]) -} - -func (c *current) onInlineElement16() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElement16() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement16() -} - -func (c *current) onInlineElement6() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElement6() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement6() -} - -func (c *current) onInlineElement2(id interface{}) (interface{}, error) { - return types.NewCrossReference(id.(string)) -} - -func (p *parser) callonInlineElement2() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement2(stack["id"]) -} - -func (c *current) onInlineElement47() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElement47() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement47() -} - -func (c *current) onInlineElement37() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElement37() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement37() -} - -func (c *current) onInlineElement57() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElement57() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement57() -} - -func (c *current) onInlineElement31(path, attributes interface{}) (interface{}, error) { - return types.NewImageMacro(path.(string), attributes) -} - -func (p *parser) callonInlineElement31() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement31(stack["path"], stack["attributes"]) -} - -func (c *current) onInlineElement29(image interface{}) (interface{}, error) { - // here we can ignore the blank line in the returned element - return types.NewInlineImage(image.(types.ImageMacro)) -} - -func (p *parser) callonInlineElement29() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement29(stack["image"]) -} - -func (c *current) onInlineElement93() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElement93() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement93() -} - -func (c *current) onInlineElement83() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElement83() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement83() -} - -func (c *current) onInlineElement104() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElement104() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement104() -} - -func (c *current) onInlineElement71(url, text interface{}) (interface{}, error) { - if text != nil { - return types.NewLink(url.([]interface{}), text.([]interface{})) - } - return types.NewLink(url.([]interface{}), nil) -} - -func (p *parser) callonInlineElement71() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement71(stack["url"], stack["text"]) -} - -func (c *current) onInlineElement137() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElement137() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement137() -} - -func (c *current) onInlineElement127() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElement127() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement127() -} - -func (c *current) onInlineElement149() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElement149() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement149() -} - -func (c *current) onInlineElement117(url, text interface{}) (interface{}, error) { - if text != nil { - return types.NewLink(url.([]interface{}), text.([]interface{})) - } - return types.NewLink(url.([]interface{}), nil) -} - -func (p *parser) callonInlineElement117() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement117(stack["url"], stack["text"]) -} - -func (c *current) onInlineElement162(name interface{}) (interface{}, error) { - return types.NewDocumentAttributeSubstitution(name.([]interface{})) -} - -func (p *parser) callonInlineElement162() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement162(stack["name"]) -} - -func (c *current) onInlineElement181() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElement181() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement181() -} - -func (c *current) onInlineElement171() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonInlineElement171() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onInlineElement171() -} - -func (c *current) onBoldText2(content interface{}) (interface{}, error) { - // double punctuation must be evaluated first - return types.NewQuotedText(types.Bold, content.([]interface{})) -} - -func (p *parser) callonBoldText2() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onBoldText2(stack["content"]) -} - -func (c *current) onBoldText10(content interface{}) (interface{}, error) { - // unbalanced `**` vs `*` punctuation - result := append([]interface{}{"*"}, content.([]interface{})) - return types.NewQuotedText(types.Bold, result) -} - -func (p *parser) callonBoldText10() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onBoldText10(stack["content"]) -} - -func (c *current) onBoldText18(content interface{}) (interface{}, error) { - // single punctuation - return types.NewQuotedText(types.Bold, content.([]interface{})) -} - -func (p *parser) callonBoldText18() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onBoldText18(stack["content"]) -} - -func (c *current) onEscapedBoldText2(backslashes, content interface{}) (interface{}, error) { - // double punctuation must be evaluated first - return types.NewEscapedQuotedText(backslashes.([]interface{}), "**", content.([]interface{})) -} - -func (p *parser) callonEscapedBoldText2() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onEscapedBoldText2(stack["backslashes"], stack["content"]) -} - -func (c *current) onEscapedBoldText13(backslashes, content interface{}) (interface{}, error) { - // unbalanced `**` vs `*` punctuation - result := append([]interface{}{"*"}, content.([]interface{})) - return types.NewEscapedQuotedText(backslashes.([]interface{}), "*", result) -} - -func (p *parser) callonEscapedBoldText13() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onEscapedBoldText13(stack["backslashes"], stack["content"]) -} - -func (c *current) onEscapedBoldText24(backslashes, content interface{}) (interface{}, error) { - // simple punctuation must be evaluated last - return types.NewEscapedQuotedText(backslashes.([]interface{}), "*", content.([]interface{})) -} - -func (p *parser) callonEscapedBoldText24() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onEscapedBoldText24(stack["backslashes"], stack["content"]) -} - -func (c *current) onItalicText2(content interface{}) (interface{}, error) { - return types.NewQuotedText(types.Italic, content.([]interface{})) -} - -func (p *parser) callonItalicText2() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onItalicText2(stack["content"]) -} - -func (c *current) onItalicText10(content interface{}) (interface{}, error) { - // unbalanced `__` vs `_` punctuation - result := append([]interface{}{"_"}, content.([]interface{})) - return types.NewQuotedText(types.Italic, result) -} - -func (p *parser) callonItalicText10() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onItalicText10(stack["content"]) -} - -func (c *current) onItalicText18(content interface{}) (interface{}, error) { - return types.NewQuotedText(types.Italic, content.([]interface{})) -} - -func (p *parser) callonItalicText18() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onItalicText18(stack["content"]) -} - -func (c *current) onEscapedItalicText2(backslashes, content interface{}) (interface{}, error) { - // double punctuation must be evaluated first - return types.NewEscapedQuotedText(backslashes.([]interface{}), "__", content.([]interface{})) -} - -func (p *parser) callonEscapedItalicText2() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onEscapedItalicText2(stack["backslashes"], stack["content"]) -} - -func (c *current) onEscapedItalicText13(backslashes, content interface{}) (interface{}, error) { - // unbalanced `__` vs `_` punctuation - result := append([]interface{}{"_"}, content.([]interface{})) - return types.NewEscapedQuotedText(backslashes.([]interface{}), "_", result) -} - -func (p *parser) callonEscapedItalicText13() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onEscapedItalicText13(stack["backslashes"], stack["content"]) -} - -func (c *current) onEscapedItalicText24(backslashes, content interface{}) (interface{}, error) { - // simple punctuation must be evaluated last - return types.NewEscapedQuotedText(backslashes.([]interface{}), "_", content.([]interface{})) -} - -func (p *parser) callonEscapedItalicText24() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onEscapedItalicText24(stack["backslashes"], stack["content"]) -} - -func (c *current) onMonospaceText2(content interface{}) (interface{}, error) { - // double punctuation must be evaluated first - return types.NewQuotedText(types.Monospace, content.([]interface{})) -} - -func (p *parser) callonMonospaceText2() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onMonospaceText2(stack["content"]) -} - -func (c *current) onMonospaceText10(content interface{}) (interface{}, error) { - // unbalanced "``" vs "`" punctuation - result := append([]interface{}{"`"}, content.([]interface{})) - return types.NewQuotedText(types.Monospace, result) -} - -func (p *parser) callonMonospaceText10() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onMonospaceText10(stack["content"]) -} - -func (c *current) onMonospaceText18(content interface{}) (interface{}, error) { - // simple punctuation must be evaluated last - return types.NewQuotedText(types.Monospace, content.([]interface{})) -} - -func (p *parser) callonMonospaceText18() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onMonospaceText18(stack["content"]) -} - -func (c *current) onEscapedMonospaceText2(backslashes, content interface{}) (interface{}, error) { - // double punctuation must be evaluated first - return types.NewEscapedQuotedText(backslashes.([]interface{}), "``", content.([]interface{})) -} - -func (p *parser) callonEscapedMonospaceText2() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onEscapedMonospaceText2(stack["backslashes"], stack["content"]) -} - -func (c *current) onEscapedMonospaceText13(backslashes, content interface{}) (interface{}, error) { - // unbalanced "``" vs "`" punctuation - result := append([]interface{}{"`"}, content.([]interface{})) - return types.NewEscapedQuotedText(backslashes.([]interface{}), "`", result) -} - -func (p *parser) callonEscapedMonospaceText13() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onEscapedMonospaceText13(stack["backslashes"], stack["content"]) -} - -func (c *current) onEscapedMonospaceText24(backslashes, content interface{}) (interface{}, error) { - // simple punctuation must be evaluated last - return types.NewEscapedQuotedText(backslashes.([]interface{}), "`", content.([]interface{})) -} - -func (p *parser) callonEscapedMonospaceText24() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onEscapedMonospaceText24(stack["backslashes"], stack["content"]) -} - -func (c *current) onQuotedTextContent8() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonQuotedTextContent8() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onQuotedTextContent8() -} - -func (c *current) onQuotedTextContentElement12() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonQuotedTextContentElement12() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onQuotedTextContentElement12() -} - -func (c *current) onQuotedTextContentElement31() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonQuotedTextContentElement31() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onQuotedTextContentElement31() -} - -func (c *current) onQuotedTextContentElement21() (interface{}, error) { - // can have "*", "_" or "`" within, maybe because the user inserted another quote, or made an error (extra or missing space, for example) - return c.text, nil -} - -func (p *parser) callonQuotedTextContentElement21() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onQuotedTextContentElement21() -} - -func (c *current) onPassthrough2(content interface{}) (interface{}, error) { - return types.NewPassthrough(types.TriplePlusPassthrough, content.([]interface{})) -} - -func (p *parser) callonPassthrough2() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onPassthrough2(stack["content"]) -} - -func (c *current) onPassthrough12(content interface{}) (interface{}, error) { - return types.NewPassthrough(types.SinglePlusPassthrough, content.([]interface{})) -} - -func (p *parser) callonPassthrough12() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onPassthrough12(stack["content"]) -} - -func (c *current) onPassthroughMacro2(content interface{}) (interface{}, error) { - return types.NewPassthrough(types.PassthroughMacro, content.([]interface{})) -} - -func (p *parser) callonPassthroughMacro2() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onPassthroughMacro2(stack["content"]) -} - -func (c *current) onPassthroughMacro12(content interface{}) (interface{}, error) { - return types.NewPassthrough(types.PassthroughMacro, content.([]interface{})) -} - -func (p *parser) callonPassthroughMacro12() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onPassthroughMacro12(stack["content"]) -} - -func (c *current) onFencedBlock25() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock25() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock25() -} - -func (c *current) onFencedBlock15() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock15() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock15() -} - -func (c *current) onFencedBlock11(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonFencedBlock11() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock11(stack["id"]) -} - -func (c *current) onFencedBlock9(id interface{}) (interface{}, error) { - return id, nil -} - -func (p *parser) callonFencedBlock9() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock9(stack["id"]) -} - -func (c *current) onFencedBlock51() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock51() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock51() -} - -func (c *current) onFencedBlock41() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock41() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock41() -} - -func (c *current) onFencedBlock37(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonFencedBlock37() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock37(stack["id"]) -} - -func (c *current) onFencedBlock71() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock71() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock71() -} - -func (c *current) onFencedBlock63(title interface{}) (interface{}, error) { - return types.NewElementTitle(title.([]interface{})) -} - -func (p *parser) callonFencedBlock63() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock63(stack["title"]) -} - -func (c *current) onFencedBlock86() (interface{}, error) { - return types.Tip, nil -} - -func (p *parser) callonFencedBlock86() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock86() -} - -func (c *current) onFencedBlock88() (interface{}, error) { - return types.Note, nil -} - -func (p *parser) callonFencedBlock88() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock88() -} - -func (c *current) onFencedBlock90() (interface{}, error) { - return types.Important, nil -} - -func (p *parser) callonFencedBlock90() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock90() -} - -func (c *current) onFencedBlock92() (interface{}, error) { - return types.Warning, nil -} - -func (p *parser) callonFencedBlock92() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock92() -} - -func (c *current) onFencedBlock94() (interface{}, error) { - return types.Caution, nil -} - -func (p *parser) callonFencedBlock94() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock94() -} - -func (c *current) onFencedBlock81(k interface{}) (interface{}, error) { - return k, nil -} - -func (p *parser) callonFencedBlock81() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock81(stack["k"]) -} - -func (c *current) onFencedBlock113() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock113() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock113() -} - -func (c *current) onFencedBlock125() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock125() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock125() -} - -func (c *current) onFencedBlock105(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonFencedBlock105() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock105(stack["key"]) -} - -func (c *current) onFencedBlock134() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock134() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock134() -} - -func (c *current) onFencedBlock142() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock142() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock142() -} - -func (c *current) onFencedBlock152() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock152() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock152() -} - -func (c *current) onFencedBlock129(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonFencedBlock129() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock129(stack["value"]) -} - -func (c *current) onFencedBlock102(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonFencedBlock102() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock102(stack["key"], stack["value"]) -} - -func (c *current) onFencedBlock164() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock164() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock164() -} - -func (c *current) onFencedBlock176() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock176() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock176() -} - -func (c *current) onFencedBlock156(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonFencedBlock156() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock156(stack["key"]) -} - -func (c *current) onFencedBlock154(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonFencedBlock154() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock154(stack["key"]) -} - -func (c *current) onFencedBlock187() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock187() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock187() -} - -func (c *current) onFencedBlock198() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock198() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock198() -} - -func (c *current) onFencedBlock210() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock210() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock210() -} - -func (c *current) onFencedBlock190(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonFencedBlock190() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock190(stack["key"]) -} - -func (c *current) onFencedBlock219() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock219() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock219() -} - -func (c *current) onFencedBlock227() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock227() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock227() -} - -func (c *current) onFencedBlock237() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock237() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock237() -} - -func (c *current) onFencedBlock214(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonFencedBlock214() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock214(stack["value"]) -} - -func (c *current) onFencedBlock181(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonFencedBlock181() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock181(stack["key"], stack["value"]) -} - -func (c *current) onFencedBlock245() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock245() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock245() -} - -func (c *current) onFencedBlock256() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock256() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock256() -} - -func (c *current) onFencedBlock268() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock268() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock268() -} - -func (c *current) onFencedBlock248(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonFencedBlock248() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock248(stack["key"]) -} - -func (c *current) onFencedBlock239(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonFencedBlock239() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock239(stack["key"]) -} - -func (c *current) onFencedBlock97(attribute, attributes interface{}) (interface{}, error) { - return types.NewAttributeGroup(append([]interface{}{attribute}, attributes.([]interface{})...)) -} - -func (p *parser) callonFencedBlock97() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock97(stack["attribute"], stack["attributes"]) -} - -func (c *current) onFencedBlock277() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock277() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock277() -} - -func (c *current) onFencedBlock289() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock289() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock289() -} - -func (c *current) onFencedBlock271(content interface{}) (interface{}, error) { - return types.NewInvalidElementAttribute(c.text) -} - -func (p *parser) callonFencedBlock271() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock271(stack["content"]) -} - -func (c *current) onFencedBlock294() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock294() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock294() -} - -func (c *current) onFencedBlock5(attr interface{}) (interface{}, error) { - return attr, nil // avoid returning something like `[]interface{}{attr, EOL}` -} - -func (p *parser) callonFencedBlock5() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock5(stack["attr"]) -} - -func (c *current) onFencedBlock305() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock305() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock305() -} - -func (c *current) onFencedBlock323() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock323() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock323() -} - -func (c *current) onFencedBlock315() (interface{}, error) { - return types.NewBlankLine() -} - -func (p *parser) callonFencedBlock315() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock315() -} - -func (c *current) onFencedBlock336() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonFencedBlock336() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock336() -} - -func (c *current) onFencedBlock1(attributes, content interface{}) (interface{}, error) { - return types.NewDelimitedBlock(types.FencedBlock, content.([]interface{}), attributes.([]interface{})) -} - -func (p *parser) callonFencedBlock1() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onFencedBlock1(stack["attributes"], stack["content"]) -} - -func (c *current) onListingBlock25() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListingBlock25() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock25() -} - -func (c *current) onListingBlock15() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListingBlock15() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock15() -} - -func (c *current) onListingBlock11(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonListingBlock11() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock11(stack["id"]) -} - -func (c *current) onListingBlock9(id interface{}) (interface{}, error) { - return id, nil -} - -func (p *parser) callonListingBlock9() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock9(stack["id"]) -} - -func (c *current) onListingBlock51() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListingBlock51() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock51() -} - -func (c *current) onListingBlock41() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListingBlock41() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock41() -} - -func (c *current) onListingBlock37(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) -} - -func (p *parser) callonListingBlock37() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock37(stack["id"]) -} - -func (c *current) onListingBlock71() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListingBlock71() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock71() -} - -func (c *current) onListingBlock63(title interface{}) (interface{}, error) { - return types.NewElementTitle(title.([]interface{})) -} - -func (p *parser) callonListingBlock63() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock63(stack["title"]) -} - -func (c *current) onListingBlock86() (interface{}, error) { - return types.Tip, nil -} - -func (p *parser) callonListingBlock86() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock86() -} - -func (c *current) onListingBlock88() (interface{}, error) { - return types.Note, nil -} - -func (p *parser) callonListingBlock88() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock88() -} - -func (c *current) onListingBlock90() (interface{}, error) { - return types.Important, nil -} - -func (p *parser) callonListingBlock90() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock90() -} - -func (c *current) onListingBlock92() (interface{}, error) { - return types.Warning, nil -} - -func (p *parser) callonListingBlock92() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock92() -} - -func (c *current) onListingBlock94() (interface{}, error) { - return types.Caution, nil -} - -func (p *parser) callonListingBlock94() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock94() -} - -func (c *current) onListingBlock81(k interface{}) (interface{}, error) { - return k, nil -} - -func (p *parser) callonListingBlock81() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock81(stack["k"]) -} - -func (c *current) onListingBlock113() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListingBlock113() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock113() -} - -func (c *current) onListingBlock125() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListingBlock125() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock125() -} - -func (c *current) onListingBlock105(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonListingBlock105() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock105(stack["key"]) -} - -func (c *current) onListingBlock134() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListingBlock134() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock134() -} - -func (c *current) onListingBlock142() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListingBlock142() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock142() -} - -func (c *current) onListingBlock152() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListingBlock152() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock152() -} - -func (c *current) onListingBlock129(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonListingBlock129() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock129(stack["value"]) -} - -func (c *current) onListingBlock102(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) -} - -func (p *parser) callonListingBlock102() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock102(stack["key"], stack["value"]) -} - -func (c *current) onListingBlock164() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListingBlock164() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock164() -} - -func (c *current) onListingBlock176() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListingBlock176() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock176() -} - -func (c *current) onListingBlock156(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil -} - -func (p *parser) callonListingBlock156() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock156(stack["key"]) -} - -func (c *current) onListingBlock154(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) -} - -func (p *parser) callonListingBlock154() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock154(stack["key"]) -} - -func (c *current) onListingBlock187() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListingBlock187() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock187() -} - -func (c *current) onListingBlock198() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListingBlock198() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock198() -} - -func (c *current) onListingBlock210() (interface{}, error) { - return string(c.text), nil -} - -func (p *parser) callonListingBlock210() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock210() + { + name: "EndOfLiteralBlock", + pos: position{line: 627, col: 1, offset: 27592}, + expr: &choiceExpr{ + pos: position{line: 627, col: 22, offset: 27613}, + alternatives: []interface{}{ + &seqExpr{ + pos: position{line: 627, col: 22, offset: 27613}, + exprs: []interface{}{ + &ruleRefExpr{ + pos: position{line: 627, col: 22, offset: 27613}, + name: "NEWLINE", + }, + &ruleRefExpr{ + pos: position{line: 627, col: 30, offset: 27621}, + name: "BlankLine", + }, + }, + }, + &ruleRefExpr{ + pos: position{line: 627, col: 42, offset: 27633}, + name: "NEWLINE", + }, + &ruleRefExpr{ + pos: position{line: 627, col: 52, offset: 27643}, + name: "EOF", + }, + }, + }, + }, + { + name: "ParagraphWithLiteralBlockDelimiter", + pos: position{line: 630, col: 1, offset: 27703}, + expr: &actionExpr{ + pos: position{line: 630, col: 39, offset: 27741}, + run: (*parser).callonParagraphWithLiteralBlockDelimiter1, + expr: &seqExpr{ + pos: position{line: 630, col: 39, offset: 27741}, + exprs: []interface{}{ + &ruleRefExpr{ + pos: position{line: 630, col: 39, offset: 27741}, + name: "LiteralBlockDelimiter", + }, + &zeroOrMoreExpr{ + pos: position{line: 630, col: 61, offset: 27763}, + expr: &ruleRefExpr{ + pos: position{line: 630, col: 61, offset: 27763}, + name: "WS", + }, + }, + &ruleRefExpr{ + pos: position{line: 630, col: 65, offset: 27767}, + name: "NEWLINE", + }, + &labeledExpr{ + pos: position{line: 630, col: 73, offset: 27775}, + label: "content", + expr: &zeroOrMoreExpr{ + pos: position{line: 630, col: 81, offset: 27783}, + expr: &seqExpr{ + pos: position{line: 630, col: 82, offset: 27784}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 630, col: 82, offset: 27784}, + expr: &ruleRefExpr{ + pos: position{line: 630, col: 83, offset: 27785}, + name: "LiteralBlockDelimiter", + }, + }, + &anyMatcher{ + line: 630, col: 105, offset: 27807, + }, + }, + }, + }, + }, + &choiceExpr{ + pos: position{line: 630, col: 110, offset: 27812}, + alternatives: []interface{}{ + &seqExpr{ + pos: position{line: 630, col: 111, offset: 27813}, + exprs: []interface{}{ + &ruleRefExpr{ + pos: position{line: 630, col: 111, offset: 27813}, + name: "LiteralBlockDelimiter", + }, + &zeroOrMoreExpr{ + pos: position{line: 630, col: 133, offset: 27835}, + expr: &ruleRefExpr{ + pos: position{line: 630, col: 133, offset: 27835}, + name: "WS", + }, + }, + &ruleRefExpr{ + pos: position{line: 630, col: 137, offset: 27839}, + name: "EOL", + }, + }, + }, + &ruleRefExpr{ + pos: position{line: 630, col: 144, offset: 27846}, + name: "EOF", + }, + }, + }, + }, + }, + }, + }, + { + name: "LiteralBlockDelimiter", + pos: position{line: 634, col: 1, offset: 27931}, + expr: &litMatcher{ + pos: position{line: 634, col: 26, offset: 27956}, + val: "....", + ignoreCase: false, + }, + }, + { + name: "ParagraphWithLiteralAttribute", + pos: position{line: 637, col: 1, offset: 28018}, + expr: &actionExpr{ + pos: position{line: 637, col: 34, offset: 28051}, + run: (*parser).callonParagraphWithLiteralAttribute1, + expr: &seqExpr{ + pos: position{line: 637, col: 34, offset: 28051}, + exprs: []interface{}{ + &litMatcher{ + pos: position{line: 637, col: 34, offset: 28051}, + val: "[literal]", + ignoreCase: false, + }, + &zeroOrMoreExpr{ + pos: position{line: 637, col: 46, offset: 28063}, + expr: &ruleRefExpr{ + pos: position{line: 637, col: 46, offset: 28063}, + name: "WS", + }, + }, + &ruleRefExpr{ + pos: position{line: 637, col: 50, offset: 28067}, + name: "NEWLINE", + }, + &labeledExpr{ + pos: position{line: 637, col: 58, offset: 28075}, + label: "content", + expr: &ruleRefExpr{ + pos: position{line: 637, col: 67, offset: 28084}, + name: "LiteralBlockContent", + }, + }, + &ruleRefExpr{ + pos: position{line: 637, col: 88, offset: 28105}, + name: "EndOfLiteralBlock", + }, + }, + }, + }, + }, + { + name: "BlankLine", + pos: position{line: 644, col: 1, offset: 28308}, + expr: &actionExpr{ + pos: position{line: 644, col: 14, offset: 28321}, + run: (*parser).callonBlankLine1, + expr: &seqExpr{ + pos: position{line: 644, col: 14, offset: 28321}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 644, col: 14, offset: 28321}, + expr: &ruleRefExpr{ + pos: position{line: 644, col: 15, offset: 28322}, + name: "EOF", + }, + }, + &zeroOrMoreExpr{ + pos: position{line: 644, col: 19, offset: 28326}, + expr: &ruleRefExpr{ + pos: position{line: 644, col: 19, offset: 28326}, + name: "WS", + }, + }, + &ruleRefExpr{ + pos: position{line: 644, col: 23, offset: 28330}, + name: "EOL", + }, + }, + }, + }, + }, + { + name: "Word", + pos: position{line: 651, col: 1, offset: 28477}, + expr: &actionExpr{ + pos: position{line: 651, col: 9, offset: 28485}, + run: (*parser).callonWord1, + expr: &oneOrMoreExpr{ + pos: position{line: 651, col: 9, offset: 28485}, + expr: &seqExpr{ + pos: position{line: 651, col: 10, offset: 28486}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 651, col: 10, offset: 28486}, + expr: &ruleRefExpr{ + pos: position{line: 651, col: 11, offset: 28487}, + name: "NEWLINE", + }, + }, + ¬Expr{ + pos: position{line: 651, col: 19, offset: 28495}, + expr: &ruleRefExpr{ + pos: position{line: 651, col: 20, offset: 28496}, + name: "WS", + }, + }, + &anyMatcher{ + line: 651, col: 23, offset: 28499, + }, + }, + }, + }, + }, + }, + { + name: "URL", + pos: position{line: 655, col: 1, offset: 28539}, + expr: &actionExpr{ + pos: position{line: 655, col: 8, offset: 28546}, + run: (*parser).callonURL1, + expr: &oneOrMoreExpr{ + pos: position{line: 655, col: 8, offset: 28546}, + expr: &seqExpr{ + pos: position{line: 655, col: 9, offset: 28547}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 655, col: 9, offset: 28547}, + expr: &ruleRefExpr{ + pos: position{line: 655, col: 10, offset: 28548}, + name: "NEWLINE", + }, + }, + ¬Expr{ + pos: position{line: 655, col: 18, offset: 28556}, + expr: &ruleRefExpr{ + pos: position{line: 655, col: 19, offset: 28557}, + name: "WS", + }, + }, + ¬Expr{ + pos: position{line: 655, col: 22, offset: 28560}, + expr: &litMatcher{ + pos: position{line: 655, col: 23, offset: 28561}, + val: "[", + ignoreCase: false, + }, + }, + ¬Expr{ + pos: position{line: 655, col: 27, offset: 28565}, + expr: &litMatcher{ + pos: position{line: 655, col: 28, offset: 28566}, + val: "]", + ignoreCase: false, + }, + }, + &anyMatcher{ + line: 655, col: 32, offset: 28570, + }, + }, + }, + }, + }, + }, + { + name: "ID", + pos: position{line: 659, col: 1, offset: 28610}, + expr: &actionExpr{ + pos: position{line: 659, col: 7, offset: 28616}, + run: (*parser).callonID1, + expr: &oneOrMoreExpr{ + pos: position{line: 659, col: 7, offset: 28616}, + expr: &seqExpr{ + pos: position{line: 659, col: 8, offset: 28617}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 659, col: 8, offset: 28617}, + expr: &ruleRefExpr{ + pos: position{line: 659, col: 9, offset: 28618}, + name: "NEWLINE", + }, + }, + ¬Expr{ + pos: position{line: 659, col: 17, offset: 28626}, + expr: &ruleRefExpr{ + pos: position{line: 659, col: 18, offset: 28627}, + name: "WS", + }, + }, + ¬Expr{ + pos: position{line: 659, col: 21, offset: 28630}, + expr: &litMatcher{ + pos: position{line: 659, col: 22, offset: 28631}, + val: "[", + ignoreCase: false, + }, + }, + ¬Expr{ + pos: position{line: 659, col: 26, offset: 28635}, + expr: &litMatcher{ + pos: position{line: 659, col: 27, offset: 28636}, + val: "]", + ignoreCase: false, + }, + }, + ¬Expr{ + pos: position{line: 659, col: 31, offset: 28640}, + expr: &litMatcher{ + pos: position{line: 659, col: 32, offset: 28641}, + val: "<<", + ignoreCase: false, + }, + }, + ¬Expr{ + pos: position{line: 659, col: 37, offset: 28646}, + expr: &litMatcher{ + pos: position{line: 659, col: 38, offset: 28647}, + val: ">>", + ignoreCase: false, + }, + }, + &anyMatcher{ + line: 659, col: 42, offset: 28651, + }, + }, + }, + }, + }, + }, + { + name: "URL_TEXT", + pos: position{line: 663, col: 1, offset: 28691}, + expr: &actionExpr{ + pos: position{line: 663, col: 13, offset: 28703}, + run: (*parser).callonURL_TEXT1, + expr: &oneOrMoreExpr{ + pos: position{line: 663, col: 13, offset: 28703}, + expr: &seqExpr{ + pos: position{line: 663, col: 14, offset: 28704}, + exprs: []interface{}{ + ¬Expr{ + pos: position{line: 663, col: 14, offset: 28704}, + expr: &ruleRefExpr{ + pos: position{line: 663, col: 15, offset: 28705}, + name: "NEWLINE", + }, + }, + ¬Expr{ + pos: position{line: 663, col: 23, offset: 28713}, + expr: &litMatcher{ + pos: position{line: 663, col: 24, offset: 28714}, + val: "[", + ignoreCase: false, + }, + }, + ¬Expr{ + pos: position{line: 663, col: 28, offset: 28718}, + expr: &litMatcher{ + pos: position{line: 663, col: 29, offset: 28719}, + val: "]", + ignoreCase: false, + }, + }, + &anyMatcher{ + line: 663, col: 33, offset: 28723, + }, + }, + }, + }, + }, + }, + { + name: "URL_SCHEME", + pos: position{line: 667, col: 1, offset: 28763}, + expr: &choiceExpr{ + pos: position{line: 667, col: 15, offset: 28777}, + alternatives: []interface{}{ + &litMatcher{ + pos: position{line: 667, col: 15, offset: 28777}, + val: "http://", + ignoreCase: false, + }, + &litMatcher{ + pos: position{line: 667, col: 27, offset: 28789}, + val: "https://", + ignoreCase: false, + }, + &litMatcher{ + pos: position{line: 667, col: 40, offset: 28802}, + val: "ftp://", + ignoreCase: false, + }, + &litMatcher{ + pos: position{line: 667, col: 51, offset: 28813}, + val: "irc://", + ignoreCase: false, + }, + &litMatcher{ + pos: position{line: 667, col: 62, offset: 28824}, + val: "mailto:", + ignoreCase: false, + }, + }, + }, + }, + { + name: "DIGIT", + pos: position{line: 669, col: 1, offset: 28835}, + expr: &charClassMatcher{ + pos: position{line: 669, col: 10, offset: 28844}, + val: "[0-9]", + ranges: []rune{'0', '9'}, + ignoreCase: false, + inverted: false, + }, + }, + { + name: "NEWLINE", + pos: position{line: 671, col: 1, offset: 28851}, + expr: &choiceExpr{ + pos: position{line: 671, col: 12, offset: 28862}, + alternatives: []interface{}{ + &litMatcher{ + pos: position{line: 671, col: 12, offset: 28862}, + val: "\r\n", + ignoreCase: false, + }, + &litMatcher{ + pos: position{line: 671, col: 21, offset: 28871}, + val: "\r", + ignoreCase: false, + }, + &litMatcher{ + pos: position{line: 671, col: 28, offset: 28878}, + val: "\n", + ignoreCase: false, + }, + }, + }, + }, + { + name: "WS", + pos: position{line: 673, col: 1, offset: 28884}, + expr: &choiceExpr{ + pos: position{line: 673, col: 7, offset: 28890}, + alternatives: []interface{}{ + &litMatcher{ + pos: position{line: 673, col: 7, offset: 28890}, + val: " ", + ignoreCase: false, + }, + &actionExpr{ + pos: position{line: 673, col: 13, offset: 28896}, + run: (*parser).callonWS3, + expr: &litMatcher{ + pos: position{line: 673, col: 13, offset: 28896}, + val: "\t", + ignoreCase: false, + }, + }, + }, + }, + }, + { + name: "EOF", + pos: position{line: 677, col: 1, offset: 28941}, + expr: ¬Expr{ + pos: position{line: 677, col: 8, offset: 28948}, + expr: &anyMatcher{ + line: 677, col: 9, offset: 28949, + }, + }, + }, + { + name: "EOL", + pos: position{line: 679, col: 1, offset: 28952}, + expr: &choiceExpr{ + pos: position{line: 679, col: 8, offset: 28959}, + alternatives: []interface{}{ + &ruleRefExpr{ + pos: position{line: 679, col: 8, offset: 28959}, + name: "NEWLINE", + }, + &ruleRefExpr{ + pos: position{line: 679, col: 18, offset: 28969}, + name: "EOF", + }, + }, + }, + }, + }, } -func (c *current) onListingBlock190(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil +func (c *current) onDocument1(frontMatter, documentHeader, blocks interface{}) (interface{}, error) { + return types.NewDocument(frontMatter, documentHeader, blocks.([]interface{})) } -func (p *parser) callonListingBlock190() (interface{}, error) { +func (p *parser) callonDocument1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock190(stack["key"]) + return p.cur.onDocument1(stack["frontMatter"], stack["documentHeader"], stack["blocks"]) } -func (c *current) onListingBlock219() (interface{}, error) { - return string(c.text), nil +func (c *current) onPreamble1(elements interface{}) (interface{}, error) { + return types.NewPreamble(elements.([]interface{})) } -func (p *parser) callonListingBlock219() (interface{}, error) { +func (p *parser) callonPreamble1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock219() + return p.cur.onPreamble1(stack["elements"]) } -func (c *current) onListingBlock227() (interface{}, error) { - return string(c.text), nil +func (c *current) onFrontMatter1(content interface{}) (interface{}, error) { + return types.NewYamlFrontMatter(content.(string)) } -func (p *parser) callonListingBlock227() (interface{}, error) { +func (p *parser) callonFrontMatter1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock227() + return p.cur.onFrontMatter1(stack["content"]) } -func (c *current) onListingBlock237() (interface{}, error) { +func (c *current) onYamlFrontMatterContent1() (interface{}, error) { return string(c.text), nil } -func (p *parser) callonListingBlock237() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock237() -} - -func (c *current) onListingBlock214(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil -} - -func (p *parser) callonListingBlock214() (interface{}, error) { +func (p *parser) callonYamlFrontMatterContent1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock214(stack["value"]) -} - -func (c *current) onListingBlock181(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) + return p.cur.onYamlFrontMatterContent1() } -func (p *parser) callonListingBlock181() (interface{}, error) { - stack := p.vstack[len(p.vstack)-1] - _ = stack - return p.cur.onListingBlock181(stack["key"], stack["value"]) -} +func (c *current) onDocumentHeader1(header, authors, revision, otherAttributes interface{}) (interface{}, error) { -func (c *current) onListingBlock245() (interface{}, error) { - return string(c.text), nil + return types.NewDocumentHeader(header, authors, revision, otherAttributes.([]interface{})) } -func (p *parser) callonListingBlock245() (interface{}, error) { +func (p *parser) callonDocumentHeader1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock245() + return p.cur.onDocumentHeader1(stack["header"], stack["authors"], stack["revision"], stack["otherAttributes"]) } -func (c *current) onListingBlock256() (interface{}, error) { - return string(c.text), nil +func (c *current) onDocumentTitle1(attributes, level, content, id interface{}) (interface{}, error) { + + return types.NewSectionTitle(content.(types.InlineElements), append(attributes.([]interface{}), id)) } -func (p *parser) callonListingBlock256() (interface{}, error) { +func (p *parser) callonDocumentTitle1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock256() + return p.cur.onDocumentTitle1(stack["attributes"], stack["level"], stack["content"], stack["id"]) } -func (c *current) onListingBlock268() (interface{}, error) { - return string(c.text), nil +func (c *current) onDocumentAuthorsInlineForm1(authors interface{}) (interface{}, error) { + return types.NewDocumentAuthors(authors.([]interface{})) } -func (p *parser) callonListingBlock268() (interface{}, error) { +func (p *parser) callonDocumentAuthorsInlineForm1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock268() + return p.cur.onDocumentAuthorsInlineForm1(stack["authors"]) } -func (c *current) onListingBlock248(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil +func (c *current) onDocumentAuthorsAttributeForm1(author interface{}) (interface{}, error) { + return []types.DocumentAuthor{author.(types.DocumentAuthor)}, nil } -func (p *parser) callonListingBlock248() (interface{}, error) { +func (p *parser) callonDocumentAuthorsAttributeForm1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock248(stack["key"]) + return p.cur.onDocumentAuthorsAttributeForm1(stack["author"]) } -func (c *current) onListingBlock239(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) +func (c *current) onDocumentAuthor1(namePart1, namePart2, namePart3, email interface{}) (interface{}, error) { + return types.NewDocumentAuthor(namePart1, namePart2, namePart3, email) } -func (p *parser) callonListingBlock239() (interface{}, error) { +func (p *parser) callonDocumentAuthor1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock239(stack["key"]) + return p.cur.onDocumentAuthor1(stack["namePart1"], stack["namePart2"], stack["namePart3"], stack["email"]) } -func (c *current) onListingBlock97(attribute, attributes interface{}) (interface{}, error) { - return types.NewAttributeGroup(append([]interface{}{attribute}, attributes.([]interface{})...)) +func (c *current) onDocumentRevision1(revnumber, revdate, revremark interface{}) (interface{}, error) { + return types.NewDocumentRevision(revnumber, revdate, revremark) } -func (p *parser) callonListingBlock97() (interface{}, error) { +func (p *parser) callonDocumentRevision1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock97(stack["attribute"], stack["attributes"]) + return p.cur.onDocumentRevision1(stack["revnumber"], stack["revdate"], stack["revremark"]) } -func (c *current) onListingBlock277() (interface{}, error) { - return string(c.text), nil +func (c *current) onDocumentAttributeDeclarationWithNameOnly1(name interface{}) (interface{}, error) { + return types.NewDocumentAttributeDeclaration(name.([]interface{}), nil) } -func (p *parser) callonListingBlock277() (interface{}, error) { +func (p *parser) callonDocumentAttributeDeclarationWithNameOnly1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock277() + return p.cur.onDocumentAttributeDeclarationWithNameOnly1(stack["name"]) } -func (c *current) onListingBlock289() (interface{}, error) { - return string(c.text), nil +func (c *current) onDocumentAttributeDeclarationWithNameAndValue1(name, value interface{}) (interface{}, error) { + return types.NewDocumentAttributeDeclaration(name.([]interface{}), value.([]interface{})) } -func (p *parser) callonListingBlock289() (interface{}, error) { +func (p *parser) callonDocumentAttributeDeclarationWithNameAndValue1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock289() + return p.cur.onDocumentAttributeDeclarationWithNameAndValue1(stack["name"], stack["value"]) } -func (c *current) onListingBlock271(content interface{}) (interface{}, error) { - return types.NewInvalidElementAttribute(c.text) +func (c *current) onDocumentAttributeResetWithSectionTitleBangSymbol1(name interface{}) (interface{}, error) { + return types.NewDocumentAttributeReset(name.([]interface{})) } -func (p *parser) callonListingBlock271() (interface{}, error) { +func (p *parser) callonDocumentAttributeResetWithSectionTitleBangSymbol1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock271(stack["content"]) + return p.cur.onDocumentAttributeResetWithSectionTitleBangSymbol1(stack["name"]) } -func (c *current) onListingBlock294() (interface{}, error) { - return string(c.text), nil +func (c *current) onDocumentAttributeResetWithTrailingBangSymbol1(name interface{}) (interface{}, error) { + return types.NewDocumentAttributeReset(name.([]interface{})) } -func (p *parser) callonListingBlock294() (interface{}, error) { +func (p *parser) callonDocumentAttributeResetWithTrailingBangSymbol1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock294() + return p.cur.onDocumentAttributeResetWithTrailingBangSymbol1(stack["name"]) } -func (c *current) onListingBlock5(attr interface{}) (interface{}, error) { - return attr, nil // avoid returning something like `[]interface{}{attr, EOL}` +func (c *current) onDocumentAttributeSubstitution1(name interface{}) (interface{}, error) { + return types.NewDocumentAttributeSubstitution(name.([]interface{})) } -func (p *parser) callonListingBlock5() (interface{}, error) { +func (p *parser) callonDocumentAttributeSubstitution1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock5(stack["attr"]) + return p.cur.onDocumentAttributeSubstitution1(stack["name"]) } -func (c *current) onListingBlock305() (interface{}, error) { - return string(c.text), nil +func (c *current) onElementAttribute1(attr interface{}) (interface{}, error) { + return attr, nil // avoid returning something like `[]interface{}{attr, EOL}` } -func (p *parser) callonListingBlock305() (interface{}, error) { +func (p *parser) callonElementAttribute1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock305() + return p.cur.onElementAttribute1(stack["attr"]) } -func (c *current) onListingBlock323() (interface{}, error) { - return string(c.text), nil +func (c *current) onElementID2(id interface{}) (interface{}, error) { + return id, nil } -func (p *parser) callonListingBlock323() (interface{}, error) { +func (p *parser) callonElementID2() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock323() + return p.cur.onElementID2(stack["id"]) } -func (c *current) onListingBlock315() (interface{}, error) { - return types.NewBlankLine() +func (c *current) onElementID5(id interface{}) (interface{}, error) { + return types.NewElementID(id.(string)) } -func (p *parser) callonListingBlock315() (interface{}, error) { +func (p *parser) callonElementID5() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock315() + return p.cur.onElementID5(stack["id"]) } -func (c *current) onListingBlock336() (interface{}, error) { - return string(c.text), nil +func (c *current) onInlineElementID1(id interface{}) (interface{}, error) { + return types.NewElementID(id.(string)) } -func (p *parser) callonListingBlock336() (interface{}, error) { +func (p *parser) callonInlineElementID1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock336() + return p.cur.onInlineElementID1(stack["id"]) } -func (c *current) onListingBlock1(attributes, content interface{}) (interface{}, error) { - return types.NewDelimitedBlock(types.ListingBlock, content.([]interface{}), attributes.([]interface{})) +func (c *current) onElementTitle1(title interface{}) (interface{}, error) { + return types.NewElementTitle(title.([]interface{})) } -func (p *parser) callonListingBlock1() (interface{}, error) { +func (p *parser) callonElementTitle1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onListingBlock1(stack["attributes"], stack["content"]) + return p.cur.onElementTitle1(stack["title"]) } -func (c *current) onExampleBlock25() (interface{}, error) { - return string(c.text), nil +func (c *current) onAdmonitionMarkerAttribute1(k interface{}) (interface{}, error) { + return k, nil } -func (p *parser) callonExampleBlock25() (interface{}, error) { +func (p *parser) callonAdmonitionMarkerAttribute1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock25() + return p.cur.onAdmonitionMarkerAttribute1(stack["k"]) } -func (c *current) onExampleBlock15() (interface{}, error) { - return string(c.text), nil +func (c *current) onAttributeGroup1(attribute, attributes interface{}) (interface{}, error) { + return types.NewAttributeGroup(append([]interface{}{attribute}, attributes.([]interface{})...)) } -func (p *parser) callonExampleBlock15() (interface{}, error) { +func (p *parser) callonAttributeGroup1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock15() + return p.cur.onAttributeGroup1(stack["attribute"], stack["attributes"]) } -func (c *current) onExampleBlock11(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) +func (c *current) onGenericAttribute2(key, value interface{}) (interface{}, error) { + // value is set + return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) } -func (p *parser) callonExampleBlock11() (interface{}, error) { +func (p *parser) callonGenericAttribute2() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock11(stack["id"]) + return p.cur.onGenericAttribute2(stack["key"], stack["value"]) } -func (c *current) onExampleBlock9(id interface{}) (interface{}, error) { - return id, nil +func (c *current) onGenericAttribute9(key interface{}) (interface{}, error) { + // value is not set + return types.NewGenericAttribute(key.([]interface{}), nil) } -func (p *parser) callonExampleBlock9() (interface{}, error) { +func (p *parser) callonGenericAttribute9() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock9(stack["id"]) + return p.cur.onGenericAttribute9(stack["key"]) } -func (c *current) onExampleBlock51() (interface{}, error) { - return string(c.text), nil +func (c *current) onOtherGenericAttribute2(key, value interface{}) (interface{}, error) { + // value is set + return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) } -func (p *parser) callonExampleBlock51() (interface{}, error) { +func (p *parser) callonOtherGenericAttribute2() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock51() + return p.cur.onOtherGenericAttribute2(stack["key"], stack["value"]) } -func (c *current) onExampleBlock41() (interface{}, error) { - return string(c.text), nil +func (c *current) onOtherGenericAttribute12(key interface{}) (interface{}, error) { + // value is not set + return types.NewGenericAttribute(key.([]interface{}), nil) } -func (p *parser) callonExampleBlock41() (interface{}, error) { +func (p *parser) callonOtherGenericAttribute12() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock41() + return p.cur.onOtherGenericAttribute12(stack["key"]) } -func (c *current) onExampleBlock37(id interface{}) (interface{}, error) { - return types.NewElementID(id.(string)) +func (c *current) onAttributeKey1(key interface{}) (interface{}, error) { + // fmt.Printf("found attribute key: %v\n", key) + return key, nil } -func (p *parser) callonExampleBlock37() (interface{}, error) { +func (p *parser) callonAttributeKey1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock37(stack["id"]) + return p.cur.onAttributeKey1(stack["key"]) } -func (c *current) onExampleBlock71() (interface{}, error) { - return string(c.text), nil +func (c *current) onAttributeValue1(value interface{}) (interface{}, error) { + // fmt.Printf("found attribute value: %v\n", value) + return value, nil } -func (p *parser) callonExampleBlock71() (interface{}, error) { +func (p *parser) callonAttributeValue1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock71() + return p.cur.onAttributeValue1(stack["value"]) } -func (c *current) onExampleBlock63(title interface{}) (interface{}, error) { - return types.NewElementTitle(title.([]interface{})) +func (c *current) onInvalidElementAttribute1(content interface{}) (interface{}, error) { + return types.NewInvalidElementAttribute(c.text) } -func (p *parser) callonExampleBlock63() (interface{}, error) { +func (p *parser) callonInvalidElementAttribute1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock63(stack["title"]) + return p.cur.onInvalidElementAttribute1(stack["content"]) } -func (c *current) onExampleBlock86() (interface{}, error) { - return types.Tip, nil +func (c *current) onSection01(header, elements interface{}) (interface{}, error) { + return types.NewSection(0, header.(types.SectionTitle), elements.([]interface{})) } -func (p *parser) callonExampleBlock86() (interface{}, error) { +func (p *parser) callonSection01() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock86() + return p.cur.onSection01(stack["header"], stack["elements"]) } -func (c *current) onExampleBlock88() (interface{}, error) { - return types.Note, nil +func (c *current) onSection0Title1(attributes, level, content, id interface{}) (interface{}, error) { + + return types.NewSectionTitle(content.(types.InlineElements), append(attributes.([]interface{}), id)) } -func (p *parser) callonExampleBlock88() (interface{}, error) { +func (p *parser) callonSection0Title1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock88() + return p.cur.onSection0Title1(stack["attributes"], stack["level"], stack["content"], stack["id"]) } -func (c *current) onExampleBlock90() (interface{}, error) { - return types.Important, nil +func (c *current) onSection0Block1(content interface{}) (interface{}, error) { + return content, nil } -func (p *parser) callonExampleBlock90() (interface{}, error) { +func (p *parser) callonSection0Block1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock90() + return p.cur.onSection0Block1(stack["content"]) } -func (c *current) onExampleBlock92() (interface{}, error) { - return types.Warning, nil +func (c *current) onSection11(header, elements interface{}) (interface{}, error) { + return types.NewSection(1, header.(types.SectionTitle), elements.([]interface{})) } -func (p *parser) callonExampleBlock92() (interface{}, error) { +func (p *parser) callonSection11() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock92() + return p.cur.onSection11(stack["header"], stack["elements"]) } -func (c *current) onExampleBlock94() (interface{}, error) { - return types.Caution, nil +func (c *current) onSection1Title1(attributes, level, content, id interface{}) (interface{}, error) { + + return types.NewSectionTitle(content.(types.InlineElements), append(attributes.([]interface{}), id)) } -func (p *parser) callonExampleBlock94() (interface{}, error) { +func (p *parser) callonSection1Title1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock94() + return p.cur.onSection1Title1(stack["attributes"], stack["level"], stack["content"], stack["id"]) } -func (c *current) onExampleBlock81(k interface{}) (interface{}, error) { - return k, nil +func (c *current) onSection1Block1(content interface{}) (interface{}, error) { + return content, nil } -func (p *parser) callonExampleBlock81() (interface{}, error) { +func (p *parser) callonSection1Block1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock81(stack["k"]) + return p.cur.onSection1Block1(stack["content"]) } -func (c *current) onExampleBlock113() (interface{}, error) { - return string(c.text), nil +func (c *current) onSection21(header, elements interface{}) (interface{}, error) { + return types.NewSection(2, header.(types.SectionTitle), elements.([]interface{})) } -func (p *parser) callonExampleBlock113() (interface{}, error) { +func (p *parser) callonSection21() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock113() + return p.cur.onSection21(stack["header"], stack["elements"]) } -func (c *current) onExampleBlock125() (interface{}, error) { - return string(c.text), nil +func (c *current) onSection2Title1(attributes, level, content, id interface{}) (interface{}, error) { + return types.NewSectionTitle(content.(types.InlineElements), append(attributes.([]interface{}), id)) } -func (p *parser) callonExampleBlock125() (interface{}, error) { +func (p *parser) callonSection2Title1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock125() + return p.cur.onSection2Title1(stack["attributes"], stack["level"], stack["content"], stack["id"]) } -func (c *current) onExampleBlock105(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil +func (c *current) onSection2Block1(content interface{}) (interface{}, error) { + return content, nil } -func (p *parser) callonExampleBlock105() (interface{}, error) { +func (p *parser) callonSection2Block1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock105(stack["key"]) + return p.cur.onSection2Block1(stack["content"]) } -func (c *current) onExampleBlock134() (interface{}, error) { - return string(c.text), nil +func (c *current) onSection31(header, elements interface{}) (interface{}, error) { + return types.NewSection(3, header.(types.SectionTitle), elements.([]interface{})) } -func (p *parser) callonExampleBlock134() (interface{}, error) { +func (p *parser) callonSection31() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock134() + return p.cur.onSection31(stack["header"], stack["elements"]) } -func (c *current) onExampleBlock142() (interface{}, error) { - return string(c.text), nil +func (c *current) onSection3Title1(attributes, level, content, id interface{}) (interface{}, error) { + return types.NewSectionTitle(content.(types.InlineElements), append(attributes.([]interface{}), id)) } -func (p *parser) callonExampleBlock142() (interface{}, error) { +func (p *parser) callonSection3Title1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock142() + return p.cur.onSection3Title1(stack["attributes"], stack["level"], stack["content"], stack["id"]) } -func (c *current) onExampleBlock152() (interface{}, error) { - return string(c.text), nil +func (c *current) onSection3Block1(content interface{}) (interface{}, error) { + return content, nil } -func (p *parser) callonExampleBlock152() (interface{}, error) { +func (p *parser) callonSection3Block1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock152() + return p.cur.onSection3Block1(stack["content"]) } -func (c *current) onExampleBlock129(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil +func (c *current) onSection41(header, elements interface{}) (interface{}, error) { + return types.NewSection(4, header.(types.SectionTitle), elements.([]interface{})) } -func (p *parser) callonExampleBlock129() (interface{}, error) { +func (p *parser) callonSection41() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock129(stack["value"]) + return p.cur.onSection41(stack["header"], stack["elements"]) } -func (c *current) onExampleBlock102(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) +func (c *current) onSection4Title1(attributes, level, content, id interface{}) (interface{}, error) { + return types.NewSectionTitle(content.(types.InlineElements), append(attributes.([]interface{}), id)) } -func (p *parser) callonExampleBlock102() (interface{}, error) { +func (p *parser) callonSection4Title1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock102(stack["key"], stack["value"]) + return p.cur.onSection4Title1(stack["attributes"], stack["level"], stack["content"], stack["id"]) } -func (c *current) onExampleBlock164() (interface{}, error) { - return string(c.text), nil +func (c *current) onSection4Block1(content interface{}) (interface{}, error) { + return content, nil } -func (p *parser) callonExampleBlock164() (interface{}, error) { +func (p *parser) callonSection4Block1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock164() + return p.cur.onSection4Block1(stack["content"]) } -func (c *current) onExampleBlock176() (interface{}, error) { - return string(c.text), nil +func (c *current) onSection51(header, elements interface{}) (interface{}, error) { + return types.NewSection(5, header.(types.SectionTitle), elements.([]interface{})) } -func (p *parser) callonExampleBlock176() (interface{}, error) { +func (p *parser) callonSection51() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock176() + return p.cur.onSection51(stack["header"], stack["elements"]) } -func (c *current) onExampleBlock156(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil +func (c *current) onSection5Title1(attributes, level, content, id interface{}) (interface{}, error) { + return types.NewSectionTitle(content.(types.InlineElements), append(attributes.([]interface{}), id)) } -func (p *parser) callonExampleBlock156() (interface{}, error) { +func (p *parser) callonSection5Title1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock156(stack["key"]) + return p.cur.onSection5Title1(stack["attributes"], stack["level"], stack["content"], stack["id"]) } -func (c *current) onExampleBlock154(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) +func (c *current) onSection5Block1(content interface{}) (interface{}, error) { + return content, nil } -func (p *parser) callonExampleBlock154() (interface{}, error) { +func (p *parser) callonSection5Block1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock154(stack["key"]) + return p.cur.onSection5Block1(stack["content"]) } -func (c *current) onExampleBlock187() (interface{}, error) { - return string(c.text), nil +func (c *current) onList1(attributes, elements interface{}) (interface{}, error) { + return types.NewList(elements.([]interface{}), attributes.([]interface{})) } -func (p *parser) callonExampleBlock187() (interface{}, error) { +func (p *parser) callonList1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock187() + return p.cur.onList1(stack["attributes"], stack["elements"]) } -func (c *current) onExampleBlock198() (interface{}, error) { - return string(c.text), nil +func (c *current) onListAttribute1(attribute interface{}) (interface{}, error) { + return attribute, nil } -func (p *parser) callonExampleBlock198() (interface{}, error) { +func (p *parser) callonListAttribute1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock198() + return p.cur.onListAttribute1(stack["attribute"]) } -func (c *current) onExampleBlock210() (interface{}, error) { - return string(c.text), nil +func (c *current) onListID1(id interface{}) (interface{}, error) { + return map[string]interface{}{"ID": id.(string)}, nil } -func (p *parser) callonExampleBlock210() (interface{}, error) { +func (p *parser) callonListID1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock210() + return p.cur.onListID1(stack["id"]) } -func (c *current) onExampleBlock190(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil +func (c *current) onHorizontalLayout1() (interface{}, error) { + return map[string]interface{}{"layout": "horizontal"}, nil } -func (p *parser) callonExampleBlock190() (interface{}, error) { +func (p *parser) callonHorizontalLayout1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock190(stack["key"]) + return p.cur.onHorizontalLayout1() } -func (c *current) onExampleBlock219() (interface{}, error) { - return string(c.text), nil +func (c *current) onListParagraph1(lines interface{}) (interface{}, error) { + return types.NewParagraph(lines.([]interface{}), nil) } -func (p *parser) callonExampleBlock219() (interface{}, error) { +func (p *parser) callonListParagraph1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock219() + return p.cur.onListParagraph1(stack["lines"]) } -func (c *current) onExampleBlock227() (interface{}, error) { - return string(c.text), nil +func (c *current) onListItemContinuation1() (interface{}, error) { + return types.NewListItemContinuation() } -func (p *parser) callonExampleBlock227() (interface{}, error) { +func (p *parser) callonListItemContinuation1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock227() + return p.cur.onListItemContinuation1() } -func (c *current) onExampleBlock237() (interface{}, error) { - return string(c.text), nil +func (c *current) onContinuedDocumentBlock1(element interface{}) (interface{}, error) { + return element, nil } -func (p *parser) callonExampleBlock237() (interface{}, error) { +func (p *parser) callonContinuedDocumentBlock1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock237() + return p.cur.onContinuedDocumentBlock1(stack["element"]) } -func (c *current) onExampleBlock214(value interface{}) (interface{}, error) { - // fmt.Printf("found attribute value: %v\n", value) - return value, nil +func (c *current) onOrderedListItem1(attributes, prefix, content interface{}) (interface{}, error) { + return types.NewOrderedListItem(prefix.(types.OrderedListItemPrefix), content.([]interface{}), attributes.([]interface{})) } -func (p *parser) callonExampleBlock214() (interface{}, error) { +func (p *parser) callonOrderedListItem1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock214(stack["value"]) + return p.cur.onOrderedListItem1(stack["attributes"], stack["prefix"], stack["content"]) } -func (c *current) onExampleBlock181(key, value interface{}) (interface{}, error) { - // value is set - return types.NewGenericAttribute(key.([]interface{}), value.([]interface{})) +func (c *current) onOrderedListItemPrefix2(style interface{}) (interface{}, error) { + // numbering style: "." + return types.NewOrderedListItemPrefix(types.Arabic, 1) } -func (p *parser) callonExampleBlock181() (interface{}, error) { +func (p *parser) callonOrderedListItemPrefix2() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock181(stack["key"], stack["value"]) + return p.cur.onOrderedListItemPrefix2(stack["style"]) } -func (c *current) onExampleBlock245() (interface{}, error) { - return string(c.text), nil +func (c *current) onOrderedListItemPrefix10(style interface{}) (interface{}, error) { + // numbering style: ".." + return types.NewOrderedListItemPrefix(types.LowerAlpha, 2) } -func (p *parser) callonExampleBlock245() (interface{}, error) { +func (p *parser) callonOrderedListItemPrefix10() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock245() + return p.cur.onOrderedListItemPrefix10(stack["style"]) } -func (c *current) onExampleBlock256() (interface{}, error) { - return string(c.text), nil +func (c *current) onOrderedListItemPrefix18(style interface{}) (interface{}, error) { + // numbering style: "..." + return types.NewOrderedListItemPrefix(types.LowerRoman, 3) } -func (p *parser) callonExampleBlock256() (interface{}, error) { +func (p *parser) callonOrderedListItemPrefix18() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock256() + return p.cur.onOrderedListItemPrefix18(stack["style"]) } -func (c *current) onExampleBlock268() (interface{}, error) { - return string(c.text), nil +func (c *current) onOrderedListItemPrefix26(style interface{}) (interface{}, error) { + // numbering style: "...." + return types.NewOrderedListItemPrefix(types.UpperAlpha, 4) } -func (p *parser) callonExampleBlock268() (interface{}, error) { +func (p *parser) callonOrderedListItemPrefix26() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock268() + return p.cur.onOrderedListItemPrefix26(stack["style"]) } -func (c *current) onExampleBlock248(key interface{}) (interface{}, error) { - // fmt.Printf("found attribute key: %v\n", key) - return key, nil +func (c *current) onOrderedListItemPrefix34(style interface{}) (interface{}, error) { + // numbering style: "....." + return types.NewOrderedListItemPrefix(types.UpperRoman, 5) + // explicit numbering } -func (p *parser) callonExampleBlock248() (interface{}, error) { +func (p *parser) callonOrderedListItemPrefix34() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock248(stack["key"]) + return p.cur.onOrderedListItemPrefix34(stack["style"]) } -func (c *current) onExampleBlock239(key interface{}) (interface{}, error) { - // value is not set - return types.NewGenericAttribute(key.([]interface{}), nil) +func (c *current) onOrderedListItemPrefix42(style interface{}) (interface{}, error) { + // numbering style: "1." + return types.NewOrderedListItemPrefix(types.Arabic, 1) } -func (p *parser) callonExampleBlock239() (interface{}, error) { +func (p *parser) callonOrderedListItemPrefix42() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock239(stack["key"]) + return p.cur.onOrderedListItemPrefix42(stack["style"]) } -func (c *current) onExampleBlock97(attribute, attributes interface{}) (interface{}, error) { - return types.NewAttributeGroup(append([]interface{}{attribute}, attributes.([]interface{})...)) +func (c *current) onOrderedListItemPrefix60(style interface{}) (interface{}, error) { + // numbering style: "a." + return types.NewOrderedListItemPrefix(types.LowerAlpha, 1) } -func (p *parser) callonExampleBlock97() (interface{}, error) { +func (p *parser) callonOrderedListItemPrefix60() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock97(stack["attribute"], stack["attributes"]) + return p.cur.onOrderedListItemPrefix60(stack["style"]) } -func (c *current) onExampleBlock277() (interface{}, error) { - return string(c.text), nil +func (c *current) onOrderedListItemPrefix78(style interface{}) (interface{}, error) { + // numbering style: "A." + return types.NewOrderedListItemPrefix(types.UpperAlpha, 1) } -func (p *parser) callonExampleBlock277() (interface{}, error) { +func (p *parser) callonOrderedListItemPrefix78() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock277() + return p.cur.onOrderedListItemPrefix78(stack["style"]) } -func (c *current) onExampleBlock289() (interface{}, error) { - return string(c.text), nil +func (c *current) onOrderedListItemPrefix96(style interface{}) (interface{}, error) { + // numbering style: "i)" + return types.NewOrderedListItemPrefix(types.LowerRoman, 1) } -func (p *parser) callonExampleBlock289() (interface{}, error) { +func (p *parser) callonOrderedListItemPrefix96() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock289() + return p.cur.onOrderedListItemPrefix96(stack["style"]) } -func (c *current) onExampleBlock271(content interface{}) (interface{}, error) { - return types.NewInvalidElementAttribute(c.text) +func (c *current) onOrderedListItemPrefix114(style interface{}) (interface{}, error) { + // numbering style: "I)" + return types.NewOrderedListItemPrefix(types.UpperRoman, 1) } -func (p *parser) callonExampleBlock271() (interface{}, error) { +func (p *parser) callonOrderedListItemPrefix114() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock271(stack["content"]) + return p.cur.onOrderedListItemPrefix114(stack["style"]) } -func (c *current) onExampleBlock294() (interface{}, error) { - return string(c.text), nil +func (c *current) onOrderedListItemContent1(elements interface{}) (interface{}, error) { + // Another list or a literal paragraph immediately following a list item will be implicitly included in the list item + return types.NewListItemContent(elements.([]interface{})) } -func (p *parser) callonExampleBlock294() (interface{}, error) { +func (p *parser) callonOrderedListItemContent1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock294() + return p.cur.onOrderedListItemContent1(stack["elements"]) } -func (c *current) onExampleBlock5(attr interface{}) (interface{}, error) { - return attr, nil // avoid returning something like `[]interface{}{attr, EOL}` +func (c *current) onUnorderedListItem1(prefix, content interface{}) (interface{}, error) { + return types.NewUnorderedListItem(prefix.(types.UnorderedListItemPrefix), content.([]interface{})) } -func (p *parser) callonExampleBlock5() (interface{}, error) { +func (p *parser) callonUnorderedListItem1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock5(stack["attr"]) + return p.cur.onUnorderedListItem1(stack["prefix"], stack["content"]) } -func (c *current) onExampleBlock305() (interface{}, error) { - return string(c.text), nil +func (c *current) onUnorderedListItemPrefix2(level interface{}) (interface{}, error) { + // ignore whitespaces, only return the relevant "*"/"-" Word + return types.NewUnorderedListItemPrefix(types.FiveAsterisks, 5) } -func (p *parser) callonExampleBlock305() (interface{}, error) { +func (p *parser) callonUnorderedListItemPrefix2() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock305() + return p.cur.onUnorderedListItemPrefix2(stack["level"]) } -func (c *current) onExampleBlock323() (interface{}, error) { - return string(c.text), nil +func (c *current) onUnorderedListItemPrefix10(level interface{}) (interface{}, error) { + // ignore whitespaces, only return the relevant "*"/"-" Word + return types.NewUnorderedListItemPrefix(types.FourAsterisks, 4) } -func (p *parser) callonExampleBlock323() (interface{}, error) { +func (p *parser) callonUnorderedListItemPrefix10() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock323() + return p.cur.onUnorderedListItemPrefix10(stack["level"]) } -func (c *current) onExampleBlock315() (interface{}, error) { - return types.NewBlankLine() +func (c *current) onUnorderedListItemPrefix18(level interface{}) (interface{}, error) { + // ignore whitespaces, only return the relevant "*"/"-" Word + return types.NewUnorderedListItemPrefix(types.ThreeAsterisks, 3) } -func (p *parser) callonExampleBlock315() (interface{}, error) { +func (p *parser) callonUnorderedListItemPrefix18() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock315() + return p.cur.onUnorderedListItemPrefix18(stack["level"]) } -func (c *current) onExampleBlock336() (interface{}, error) { - return string(c.text), nil +func (c *current) onUnorderedListItemPrefix26(level interface{}) (interface{}, error) { + // ignore whitespaces, only return the relevant "*"/"-" Word + return types.NewUnorderedListItemPrefix(types.TwoAsterisks, 2) } -func (p *parser) callonExampleBlock336() (interface{}, error) { +func (p *parser) callonUnorderedListItemPrefix26() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock336() + return p.cur.onUnorderedListItemPrefix26(stack["level"]) } -func (c *current) onExampleBlock1(attributes, content interface{}) (interface{}, error) { - return types.NewDelimitedBlock(types.ExampleBlock, content.([]interface{}), attributes.([]interface{})) +func (c *current) onUnorderedListItemPrefix34(level interface{}) (interface{}, error) { + // ignore whitespaces, only return the relevant "*"/"-" Word + return types.NewUnorderedListItemPrefix(types.OneAsterisk, 1) } -func (p *parser) callonExampleBlock1() (interface{}, error) { +func (p *parser) callonUnorderedListItemPrefix34() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onExampleBlock1(stack["attributes"], stack["content"]) + return p.cur.onUnorderedListItemPrefix34(stack["level"]) } -func (c *current) onBlockParagraph12() (interface{}, error) { - return string(c.text), nil +func (c *current) onUnorderedListItemPrefix42(level interface{}) (interface{}, error) { + // ignore whitespaces, only return the relevant "*"/"-" Word + return types.NewUnorderedListItemPrefix(types.Dash, 1) } -func (p *parser) callonBlockParagraph12() (interface{}, error) { +func (p *parser) callonUnorderedListItemPrefix42() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph12() + return p.cur.onUnorderedListItemPrefix42(stack["level"]) } -func (c *current) onBlockParagraph19() (interface{}, error) { - return string(c.text), nil +func (c *current) onUnorderedListItemContent1(elements interface{}) (interface{}, error) { + // Another list or a literal paragraph immediately following a list item will be implicitly included in the list item + return types.NewListItemContent(elements.([]interface{})) } -func (p *parser) callonBlockParagraph19() (interface{}, error) { +func (p *parser) callonUnorderedListItemContent1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph19() + return p.cur.onUnorderedListItemContent1(stack["elements"]) } -func (c *current) onBlockParagraph7(style interface{}) (interface{}, error) { - // numbering style: "." - return types.NewOrderedListItemPrefix(types.Arabic, 1) +func (c *current) onLabeledListItem2(term, description interface{}) (interface{}, error) { + return types.NewLabeledListItem(term.([]interface{}), description.([]interface{})) } -func (p *parser) callonBlockParagraph7() (interface{}, error) { +func (p *parser) callonLabeledListItem2() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph7(stack["style"]) + return p.cur.onLabeledListItem2(stack["term"], stack["description"]) } -func (c *current) onBlockParagraph26() (interface{}, error) { - return string(c.text), nil +func (c *current) onLabeledListItem9(term interface{}) (interface{}, error) { + // here, WS is optional since there is no description afterwards + return types.NewLabeledListItem(term.([]interface{}), nil) } -func (p *parser) callonBlockParagraph26() (interface{}, error) { +func (p *parser) callonLabeledListItem9() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph26() + return p.cur.onLabeledListItem9(stack["term"]) } -func (c *current) onBlockParagraph33() (interface{}, error) { - return string(c.text), nil +func (c *current) onLabeledListItemTerm1(term interface{}) (interface{}, error) { + return term, nil } -func (p *parser) callonBlockParagraph33() (interface{}, error) { +func (p *parser) callonLabeledListItemTerm1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph33() + return p.cur.onLabeledListItemTerm1(stack["term"]) } -func (c *current) onBlockParagraph21(style interface{}) (interface{}, error) { - // numbering style: ".." - return types.NewOrderedListItemPrefix(types.LowerAlpha, 2) +func (c *current) onLabeledListItemDescription1(elements interface{}) (interface{}, error) { + // TODO: replace with (ListParagraph+ ContinuedDocumentBlock*) and use a single rule for all item contents ? + return types.NewListItemContent(elements.([]interface{})) } -func (p *parser) callonBlockParagraph21() (interface{}, error) { +func (p *parser) callonLabeledListItemDescription1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph21(stack["style"]) + return p.cur.onLabeledListItemDescription1(stack["elements"]) } -func (c *current) onBlockParagraph40() (interface{}, error) { - return string(c.text), nil +func (c *current) onAdmonitionKind2() (interface{}, error) { + return types.Tip, nil } -func (p *parser) callonBlockParagraph40() (interface{}, error) { +func (p *parser) callonAdmonitionKind2() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph40() + return p.cur.onAdmonitionKind2() } -func (c *current) onBlockParagraph47() (interface{}, error) { - return string(c.text), nil +func (c *current) onAdmonitionKind4() (interface{}, error) { + return types.Note, nil } -func (p *parser) callonBlockParagraph47() (interface{}, error) { +func (p *parser) callonAdmonitionKind4() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph47() + return p.cur.onAdmonitionKind4() } -func (c *current) onBlockParagraph35(style interface{}) (interface{}, error) { - // numbering style: "..." - return types.NewOrderedListItemPrefix(types.LowerRoman, 3) +func (c *current) onAdmonitionKind6() (interface{}, error) { + return types.Important, nil } -func (p *parser) callonBlockParagraph35() (interface{}, error) { +func (p *parser) callonAdmonitionKind6() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph35(stack["style"]) + return p.cur.onAdmonitionKind6() } -func (c *current) onBlockParagraph54() (interface{}, error) { - return string(c.text), nil +func (c *current) onAdmonitionKind8() (interface{}, error) { + return types.Warning, nil } -func (p *parser) callonBlockParagraph54() (interface{}, error) { +func (p *parser) callonAdmonitionKind8() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph54() + return p.cur.onAdmonitionKind8() } -func (c *current) onBlockParagraph61() (interface{}, error) { - return string(c.text), nil +func (c *current) onAdmonitionKind10() (interface{}, error) { + return types.Caution, nil } -func (p *parser) callonBlockParagraph61() (interface{}, error) { +func (p *parser) callonAdmonitionKind10() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph61() + return p.cur.onAdmonitionKind10() } -func (c *current) onBlockParagraph49(style interface{}) (interface{}, error) { - // numbering style: "...." - return types.NewOrderedListItemPrefix(types.UpperAlpha, 4) +func (c *current) onParagraph2(attributes, t, lines interface{}) (interface{}, error) { + + return types.NewParagraph(lines.([]interface{}), append(attributes.([]interface{}), t.(types.AdmonitionKind))) + } -func (p *parser) callonBlockParagraph49() (interface{}, error) { +func (p *parser) callonParagraph2() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph49(stack["style"]) + return p.cur.onParagraph2(stack["attributes"], stack["t"], stack["lines"]) } -func (c *current) onBlockParagraph68() (interface{}, error) { - return string(c.text), nil +func (c *current) onParagraph23(attributes, lines interface{}) (interface{}, error) { + + return types.NewParagraph(lines.([]interface{}), attributes.([]interface{})) + } -func (p *parser) callonBlockParagraph68() (interface{}, error) { +func (p *parser) callonParagraph23() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph68() + return p.cur.onParagraph23(stack["attributes"], stack["lines"]) } -func (c *current) onBlockParagraph75() (interface{}, error) { - return string(c.text), nil +func (c *current) onInlineElements1(elements interface{}) (interface{}, error) { + // absorbs heading and trailing spaces + return types.NewInlineElements(elements.([]interface{})) } -func (p *parser) callonBlockParagraph75() (interface{}, error) { +func (p *parser) callonInlineElements1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph75() + return p.cur.onInlineElements1(stack["elements"]) } -func (c *current) onBlockParagraph63(style interface{}) (interface{}, error) { - // numbering style: "....." - return types.NewOrderedListItemPrefix(types.UpperRoman, 5) - // explicit numbering +func (c *current) onBoldText2(content interface{}) (interface{}, error) { + // double punctuation must be evaluated first + return types.NewQuotedText(types.Bold, content.([]interface{})) } -func (p *parser) callonBlockParagraph63() (interface{}, error) { +func (p *parser) callonBoldText2() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph63(stack["style"]) + return p.cur.onBoldText2(stack["content"]) } -func (c *current) onBlockParagraph82() (interface{}, error) { - return string(c.text), nil +func (c *current) onBoldText10(content interface{}) (interface{}, error) { + // unbalanced `**` vs `*` punctuation + result := append([]interface{}{"*"}, content.([]interface{})) + return types.NewQuotedText(types.Bold, result) } -func (p *parser) callonBlockParagraph82() (interface{}, error) { +func (p *parser) callonBoldText10() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph82() + return p.cur.onBoldText10(stack["content"]) } -func (c *current) onBlockParagraph93() (interface{}, error) { - return string(c.text), nil +func (c *current) onBoldText18(content interface{}) (interface{}, error) { + // single punctuation + return types.NewQuotedText(types.Bold, content.([]interface{})) } -func (p *parser) callonBlockParagraph93() (interface{}, error) { +func (p *parser) callonBoldText18() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph93() + return p.cur.onBoldText18(stack["content"]) } -func (c *current) onBlockParagraph104() (interface{}, error) { - return string(c.text), nil +func (c *current) onEscapedBoldText2(backslashes, content interface{}) (interface{}, error) { + // double punctuation must be evaluated first + return types.NewEscapedQuotedText(backslashes.([]interface{}), "**", content.([]interface{})) } -func (p *parser) callonBlockParagraph104() (interface{}, error) { +func (p *parser) callonEscapedBoldText2() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph104() + return p.cur.onEscapedBoldText2(stack["backslashes"], stack["content"]) } -func (c *current) onBlockParagraph77(style interface{}) (interface{}, error) { - // numbering style: "1." - return types.NewOrderedListItemPrefix(types.Arabic, 1) +func (c *current) onEscapedBoldText13(backslashes, content interface{}) (interface{}, error) { + // unbalanced `**` vs `*` punctuation + result := append([]interface{}{"*"}, content.([]interface{})) + return types.NewEscapedQuotedText(backslashes.([]interface{}), "*", result) } -func (p *parser) callonBlockParagraph77() (interface{}, error) { +func (p *parser) callonEscapedBoldText13() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph77(stack["style"]) + return p.cur.onEscapedBoldText13(stack["backslashes"], stack["content"]) } -func (c *current) onBlockParagraph111() (interface{}, error) { - return string(c.text), nil +func (c *current) onEscapedBoldText24(backslashes, content interface{}) (interface{}, error) { + // simple punctuation must be evaluated last + return types.NewEscapedQuotedText(backslashes.([]interface{}), "*", content.([]interface{})) } -func (p *parser) callonBlockParagraph111() (interface{}, error) { +func (p *parser) callonEscapedBoldText24() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph111() + return p.cur.onEscapedBoldText24(stack["backslashes"], stack["content"]) } -func (c *current) onBlockParagraph122() (interface{}, error) { - return string(c.text), nil +func (c *current) onItalicText2(content interface{}) (interface{}, error) { + return types.NewQuotedText(types.Italic, content.([]interface{})) } -func (p *parser) callonBlockParagraph122() (interface{}, error) { +func (p *parser) callonItalicText2() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph122() + return p.cur.onItalicText2(stack["content"]) } -func (c *current) onBlockParagraph133() (interface{}, error) { - return string(c.text), nil +func (c *current) onItalicText10(content interface{}) (interface{}, error) { + // unbalanced `__` vs `_` punctuation + result := append([]interface{}{"_"}, content.([]interface{})) + return types.NewQuotedText(types.Italic, result) } -func (p *parser) callonBlockParagraph133() (interface{}, error) { +func (p *parser) callonItalicText10() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph133() + return p.cur.onItalicText10(stack["content"]) } -func (c *current) onBlockParagraph106(style interface{}) (interface{}, error) { - // numbering style: "a." - return types.NewOrderedListItemPrefix(types.LowerAlpha, 1) +func (c *current) onItalicText18(content interface{}) (interface{}, error) { + return types.NewQuotedText(types.Italic, content.([]interface{})) } -func (p *parser) callonBlockParagraph106() (interface{}, error) { +func (p *parser) callonItalicText18() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph106(stack["style"]) + return p.cur.onItalicText18(stack["content"]) } -func (c *current) onBlockParagraph140() (interface{}, error) { - return string(c.text), nil +func (c *current) onEscapedItalicText2(backslashes, content interface{}) (interface{}, error) { + // double punctuation must be evaluated first + return types.NewEscapedQuotedText(backslashes.([]interface{}), "__", content.([]interface{})) } -func (p *parser) callonBlockParagraph140() (interface{}, error) { +func (p *parser) callonEscapedItalicText2() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph140() + return p.cur.onEscapedItalicText2(stack["backslashes"], stack["content"]) } -func (c *current) onBlockParagraph151() (interface{}, error) { - return string(c.text), nil +func (c *current) onEscapedItalicText13(backslashes, content interface{}) (interface{}, error) { + // unbalanced `__` vs `_` punctuation + result := append([]interface{}{"_"}, content.([]interface{})) + return types.NewEscapedQuotedText(backslashes.([]interface{}), "_", result) } -func (p *parser) callonBlockParagraph151() (interface{}, error) { +func (p *parser) callonEscapedItalicText13() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph151() + return p.cur.onEscapedItalicText13(stack["backslashes"], stack["content"]) } -func (c *current) onBlockParagraph162() (interface{}, error) { - return string(c.text), nil +func (c *current) onEscapedItalicText24(backslashes, content interface{}) (interface{}, error) { + // simple punctuation must be evaluated last + return types.NewEscapedQuotedText(backslashes.([]interface{}), "_", content.([]interface{})) } -func (p *parser) callonBlockParagraph162() (interface{}, error) { +func (p *parser) callonEscapedItalicText24() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph162() + return p.cur.onEscapedItalicText24(stack["backslashes"], stack["content"]) } -func (c *current) onBlockParagraph135(style interface{}) (interface{}, error) { - // numbering style: "A." - return types.NewOrderedListItemPrefix(types.UpperAlpha, 1) +func (c *current) onMonospaceText2(content interface{}) (interface{}, error) { + // double punctuation must be evaluated first + return types.NewQuotedText(types.Monospace, content.([]interface{})) } -func (p *parser) callonBlockParagraph135() (interface{}, error) { +func (p *parser) callonMonospaceText2() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph135(stack["style"]) + return p.cur.onMonospaceText2(stack["content"]) } -func (c *current) onBlockParagraph169() (interface{}, error) { - return string(c.text), nil +func (c *current) onMonospaceText10(content interface{}) (interface{}, error) { + // unbalanced "``" vs "`" punctuation + result := append([]interface{}{"`"}, content.([]interface{})) + return types.NewQuotedText(types.Monospace, result) } -func (p *parser) callonBlockParagraph169() (interface{}, error) { +func (p *parser) callonMonospaceText10() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph169() + return p.cur.onMonospaceText10(stack["content"]) } -func (c *current) onBlockParagraph180() (interface{}, error) { - return string(c.text), nil +func (c *current) onMonospaceText18(content interface{}) (interface{}, error) { + // simple punctuation must be evaluated last + return types.NewQuotedText(types.Monospace, content.([]interface{})) } -func (p *parser) callonBlockParagraph180() (interface{}, error) { +func (p *parser) callonMonospaceText18() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph180() + return p.cur.onMonospaceText18(stack["content"]) } -func (c *current) onBlockParagraph191() (interface{}, error) { - return string(c.text), nil +func (c *current) onEscapedMonospaceText2(backslashes, content interface{}) (interface{}, error) { + // double punctuation must be evaluated first + return types.NewEscapedQuotedText(backslashes.([]interface{}), "``", content.([]interface{})) } -func (p *parser) callonBlockParagraph191() (interface{}, error) { +func (p *parser) callonEscapedMonospaceText2() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph191() + return p.cur.onEscapedMonospaceText2(stack["backslashes"], stack["content"]) } -func (c *current) onBlockParagraph164(style interface{}) (interface{}, error) { - // numbering style: "i)" - return types.NewOrderedListItemPrefix(types.LowerRoman, 1) +func (c *current) onEscapedMonospaceText13(backslashes, content interface{}) (interface{}, error) { + // unbalanced "``" vs "`" punctuation + result := append([]interface{}{"`"}, content.([]interface{})) + return types.NewEscapedQuotedText(backslashes.([]interface{}), "`", result) } -func (p *parser) callonBlockParagraph164() (interface{}, error) { +func (p *parser) callonEscapedMonospaceText13() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph164(stack["style"]) + return p.cur.onEscapedMonospaceText13(stack["backslashes"], stack["content"]) } -func (c *current) onBlockParagraph198() (interface{}, error) { - return string(c.text), nil +func (c *current) onEscapedMonospaceText24(backslashes, content interface{}) (interface{}, error) { + // simple punctuation must be evaluated last + return types.NewEscapedQuotedText(backslashes.([]interface{}), "`", content.([]interface{})) } -func (p *parser) callonBlockParagraph198() (interface{}, error) { +func (p *parser) callonEscapedMonospaceText24() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph198() + return p.cur.onEscapedMonospaceText24(stack["backslashes"], stack["content"]) } -func (c *current) onBlockParagraph209() (interface{}, error) { - return string(c.text), nil +func (c *current) onWordWithQuotePunctuation1() (interface{}, error) { + // can have "*", "_" or "`" within, maybe because the user inserted another quote, or made an error (extra or missing space, for example) + return c.text, nil } -func (p *parser) callonBlockParagraph209() (interface{}, error) { +func (p *parser) callonWordWithQuotePunctuation1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph209() + return p.cur.onWordWithQuotePunctuation1() } -func (c *current) onBlockParagraph220() (interface{}, error) { - return string(c.text), nil +func (c *current) onSinglePlusPassthrough1(content interface{}) (interface{}, error) { + return types.NewPassthrough(types.SinglePlusPassthrough, content.([]interface{})) } -func (p *parser) callonBlockParagraph220() (interface{}, error) { +func (p *parser) callonSinglePlusPassthrough1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph220() + return p.cur.onSinglePlusPassthrough1(stack["content"]) } -func (c *current) onBlockParagraph193(style interface{}) (interface{}, error) { - // numbering style: "I)" - return types.NewOrderedListItemPrefix(types.UpperRoman, 1) +func (c *current) onTriplePlusPassthrough1(content interface{}) (interface{}, error) { + return types.NewPassthrough(types.TriplePlusPassthrough, content.([]interface{})) } -func (p *parser) callonBlockParagraph193() (interface{}, error) { +func (p *parser) callonTriplePlusPassthrough1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph193(stack["style"]) + return p.cur.onTriplePlusPassthrough1(stack["content"]) } -func (c *current) onBlockParagraph229() (interface{}, error) { - return string(c.text), nil +func (c *current) onPassthroughMacro2(content interface{}) (interface{}, error) { + return types.NewPassthrough(types.PassthroughMacro, content.([]interface{})) } -func (p *parser) callonBlockParagraph229() (interface{}, error) { +func (p *parser) callonPassthroughMacro2() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph229() + return p.cur.onPassthroughMacro2(stack["content"]) } -func (c *current) onBlockParagraph236() (interface{}, error) { - return string(c.text), nil +func (c *current) onPassthroughMacro9(content interface{}) (interface{}, error) { + return types.NewPassthrough(types.PassthroughMacro, content.([]interface{})) } -func (p *parser) callonBlockParagraph236() (interface{}, error) { +func (p *parser) callonPassthroughMacro9() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph236() + return p.cur.onPassthroughMacro9(stack["content"]) } -func (c *current) onBlockParagraph224(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.FiveAsterisks, 5) +func (c *current) onCrossReference1(id interface{}) (interface{}, error) { + return types.NewCrossReference(id.(string)) } -func (p *parser) callonBlockParagraph224() (interface{}, error) { +func (p *parser) callonCrossReference1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph224(stack["level"]) + return p.cur.onCrossReference1(stack["id"]) } -func (c *current) onBlockParagraph243() (interface{}, error) { - return string(c.text), nil +func (c *current) onExternalLink1(url, text interface{}) (interface{}, error) { + if text != nil { + return types.NewLink(url.([]interface{}), text.([]interface{})) + } + return types.NewLink(url.([]interface{}), nil) } -func (p *parser) callonBlockParagraph243() (interface{}, error) { +func (p *parser) callonExternalLink1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph243() + return p.cur.onExternalLink1(stack["url"], stack["text"]) } -func (c *current) onBlockParagraph250() (interface{}, error) { - return string(c.text), nil +func (c *current) onRelativeLink1(url, text interface{}) (interface{}, error) { + if text != nil { + return types.NewLink(url.([]interface{}), text.([]interface{})) + } + return types.NewLink(url.([]interface{}), nil) } -func (p *parser) callonBlockParagraph250() (interface{}, error) { +func (p *parser) callonRelativeLink1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph250() + return p.cur.onRelativeLink1(stack["url"], stack["text"]) } -func (c *current) onBlockParagraph238(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.FourAsterisks, 4) +func (c *current) onBlockImage1(attributes, image interface{}) (interface{}, error) { + // here we can ignore the blank line in the returned element + return types.NewBlockImage(image.(types.ImageMacro), attributes.([]interface{})) } -func (p *parser) callonBlockParagraph238() (interface{}, error) { +func (p *parser) callonBlockImage1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph238(stack["level"]) + return p.cur.onBlockImage1(stack["attributes"], stack["image"]) } -func (c *current) onBlockParagraph257() (interface{}, error) { - return string(c.text), nil +func (c *current) onBlockImageMacro1(path, attributes interface{}) (interface{}, error) { + return types.NewImageMacro(path.(string), attributes) } -func (p *parser) callonBlockParagraph257() (interface{}, error) { +func (p *parser) callonBlockImageMacro1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph257() + return p.cur.onBlockImageMacro1(stack["path"], stack["attributes"]) } -func (c *current) onBlockParagraph264() (interface{}, error) { - return string(c.text), nil +func (c *current) onInlineImage1(image interface{}) (interface{}, error) { + // here we can ignore the blank line in the returned element + return types.NewInlineImage(image.(types.ImageMacro)) } -func (p *parser) callonBlockParagraph264() (interface{}, error) { +func (p *parser) callonInlineImage1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph264() + return p.cur.onInlineImage1(stack["image"]) } -func (c *current) onBlockParagraph252(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.ThreeAsterisks, 3) +func (c *current) onInlineImageMacro1(path, attributes interface{}) (interface{}, error) { + return types.NewImageMacro(path.(string), attributes) } -func (p *parser) callonBlockParagraph252() (interface{}, error) { +func (p *parser) callonInlineImageMacro1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph252(stack["level"]) + return p.cur.onInlineImageMacro1(stack["path"], stack["attributes"]) } -func (c *current) onBlockParagraph271() (interface{}, error) { - return string(c.text), nil +func (c *current) onFencedBlock1(attributes, content interface{}) (interface{}, error) { + return types.NewDelimitedBlock(types.FencedBlock, content.([]interface{}), attributes.([]interface{})) } -func (p *parser) callonBlockParagraph271() (interface{}, error) { +func (p *parser) callonFencedBlock1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph271() + return p.cur.onFencedBlock1(stack["attributes"], stack["content"]) } -func (c *current) onBlockParagraph278() (interface{}, error) { - return string(c.text), nil +func (c *current) onListingBlock1(attributes, content interface{}) (interface{}, error) { + return types.NewDelimitedBlock(types.ListingBlock, content.([]interface{}), attributes.([]interface{})) } -func (p *parser) callonBlockParagraph278() (interface{}, error) { +func (p *parser) callonListingBlock1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph278() + return p.cur.onListingBlock1(stack["attributes"], stack["content"]) } -func (c *current) onBlockParagraph266(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.TwoAsterisks, 2) +func (c *current) onExampleBlock1(attributes, content interface{}) (interface{}, error) { + return types.NewDelimitedBlock(types.ExampleBlock, content.([]interface{}), attributes.([]interface{})) } -func (p *parser) callonBlockParagraph266() (interface{}, error) { +func (p *parser) callonExampleBlock1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph266(stack["level"]) + return p.cur.onExampleBlock1(stack["attributes"], stack["content"]) } -func (c *current) onBlockParagraph285() (interface{}, error) { - return string(c.text), nil +func (c *current) onBlockParagraph1(lines interface{}) (interface{}, error) { + return types.NewParagraph(lines.([]interface{}), nil) } -func (p *parser) callonBlockParagraph285() (interface{}, error) { +func (p *parser) callonBlockParagraph1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph285() + return p.cur.onBlockParagraph1(stack["lines"]) } -func (c *current) onBlockParagraph292() (interface{}, error) { - return string(c.text), nil +func (c *current) onParagraphWithSpaces1(spaces, content interface{}) (interface{}, error) { + return types.NewLiteralBlock(spaces.([]interface{}), content.([]interface{})) } -func (p *parser) callonBlockParagraph292() (interface{}, error) { +func (p *parser) callonParagraphWithSpaces1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph292() + return p.cur.onParagraphWithSpaces1(stack["spaces"], stack["content"]) } -func (c *current) onBlockParagraph280(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.OneAsterisk, 1) +func (c *current) onLiteralBlockContent1(content interface{}) (interface{}, error) { + + return content, nil } -func (p *parser) callonBlockParagraph280() (interface{}, error) { +func (p *parser) callonLiteralBlockContent1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph280(stack["level"]) + return p.cur.onLiteralBlockContent1(stack["content"]) } -func (c *current) onBlockParagraph299() (interface{}, error) { - return string(c.text), nil +func (c *current) onParagraphWithLiteralBlockDelimiter1(content interface{}) (interface{}, error) { + return types.NewLiteralBlock([]interface{}{}, content.([]interface{})) } -func (p *parser) callonBlockParagraph299() (interface{}, error) { +func (p *parser) callonParagraphWithLiteralBlockDelimiter1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph299() + return p.cur.onParagraphWithLiteralBlockDelimiter1(stack["content"]) } -func (c *current) onBlockParagraph306() (interface{}, error) { - return string(c.text), nil +func (c *current) onParagraphWithLiteralAttribute1(content interface{}) (interface{}, error) { + return types.NewLiteralBlock([]interface{}{}, content.([]interface{})) } -func (p *parser) callonBlockParagraph306() (interface{}, error) { +func (p *parser) callonParagraphWithLiteralAttribute1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph306() + return p.cur.onParagraphWithLiteralAttribute1(stack["content"]) } -func (c *current) onBlockParagraph294(level interface{}) (interface{}, error) { - // ignore whitespaces, only return the relevant "*"/"-" Word - return types.NewUnorderedListItemPrefix(types.Dash, 1) +func (c *current) onBlankLine1() (interface{}, error) { + return types.NewBlankLine() } -func (p *parser) callonBlockParagraph294() (interface{}, error) { +func (p *parser) callonBlankLine1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph294(stack["level"]) + return p.cur.onBlankLine1() } -func (c *current) onBlockParagraph310(term interface{}) (interface{}, error) { - return term, nil +func (c *current) onWord1() (interface{}, error) { + return string(c.text), nil } -func (p *parser) callonBlockParagraph310() (interface{}, error) { +func (p *parser) callonWord1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph310(stack["term"]) + return p.cur.onWord1() } -func (c *current) onBlockParagraph325() (interface{}, error) { +func (c *current) onURL1() (interface{}, error) { return string(c.text), nil } -func (p *parser) callonBlockParagraph325() (interface{}, error) { +func (p *parser) callonURL1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph325() + return p.cur.onURL1() } -func (c *current) onBlockParagraph336() (interface{}, error) { +func (c *current) onID1() (interface{}, error) { return string(c.text), nil } -func (p *parser) callonBlockParagraph336() (interface{}, error) { +func (p *parser) callonID1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph336() + return p.cur.onID1() } -func (c *current) onBlockParagraph330() (interface{}, error) { - return types.NewListItemContinuation() +func (c *current) onURL_TEXT1() (interface{}, error) { + return string(c.text), nil } -func (p *parser) callonBlockParagraph330() (interface{}, error) { +func (p *parser) callonURL_TEXT1() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph330() + return p.cur.onURL_TEXT1() } -func (c *current) onBlockParagraph1(lines interface{}) (interface{}, error) { - return types.NewParagraph(lines.([]interface{}), nil) +func (c *current) onWS3() (interface{}, error) { + return string(c.text), nil } -func (p *parser) callonBlockParagraph1() (interface{}, error) { +func (p *parser) callonWS3() (interface{}, error) { stack := p.vstack[len(p.vstack)-1] _ = stack - return p.cur.onBlockParagraph1(stack["lines"]) + return p.cur.onWS3() } var (