# Functions
Aggregate pipeline task which organizes the sections in hierarchy, and keeps track of their references.
AllowInvalidUTF8 creates an Option to allow invalid UTF-8 bytes.
ApplySubstitutions parses the "inline content" of the incomgin fragment elements (eg, paragraph content to convert rawlines into slices of StringElement, QuotedText, InlineLinks, etc.), while also applying the required substitutions (default or custom).
ArrangeLists pipeline task which consists join list elements into lists.
No description provided by the author
Entrypoint creates an Option to set the rule name to use as entrypoint.
Filter removes all blocks that should not appear in the final document: - blank lines (except in delimited blocks) - empty preambles - single line comments and comment blocks.
GlobalStore creates an Option to set a key to a certain value in the globalStore.
InitState creates an Option to set a key to a certain value in the global "state" store.
IsAsciidoc returns true if the file to include is an asciidoc file (based on the file location extension).
MaxExpressions creates an Option to stop parsing after the provided number of expressions have been parsed, if the value is 0 then the parser will parse for as many steps as needed (possibly an infinite number).
No description provided by the author
Parse parses the data from b using filename as information in the error messages.
ParseDocument parses the content of the reader identitied by the filename and applies all the substitutions and arrangements.
No description provided by the author
ParseFile parses the file identified by filename.
ParseReader parses the data from r using filename as information in the error messages.
Preprocess reads line by line to look-up and process file inclusions and conditionals (`ifdef`, `ifndef` and `ifeval`).
No description provided by the author
Recover creates an Option to set the recover flag to b.
Parses the content of the conplex elements in the incoming fragments (for example, some delimited blocks may contain paragraphs, etc.).
# Constants
TODO: no need to export.
Callouts the "callouts" substitution.
nolint:gosec.
Macros the "macros" substitution.
None the "none" substitution.
PostReplacements the "post_replacements" substitution.
Quotes the "quotes" substitution.
Replacements the "replacements" substitution.
SpecialCharacters the "specialchars" substitution.
# Structs
No description provided by the author
Stats stores some statistics, gathered during parsing.
# Interfaces
Cloner is implemented by any value that has a Clone method, which returns a copy of the value.
# Type aliases
Option is a function that can set an option on the parser.