Module parser

Module parser 

Source
Expand description

The Parser struct and its related structs allow a caller to configure how AsciiDoc parsing occurs and then to initiate the parsing process.

Structs§

HtmlSubstitutionRenderer
Implementation of InlineSubstitutionRenderer that renders substitutions for common HTML-based applications.
IconRenderParams
Provides parsed parameters for an icon to be rendered.
ImageRenderParams
Provides parsed parameters for an image to be rendered.
LinkRenderParams
Provides parsed parameters for an icon to be rendered.
Parser
The Parser struct and its related structs allow a caller to configure how AsciiDoc parsing occurs and then to initiate the parsing process.
PathResolver
A PathResolver handles all operations for resolving, cleaning, and joining paths. This struct includes operations for handling both web paths (request URIs) and system paths.
SourceLine
A SourceLine represents the original file and line number where a line of Asciidoc text was found before include file and conditional pre-processing occurred.
SourceMap
Generated by preprocessor: Sparse map of result (Span) line number to a tuple of file name and line number. This allows us to work backwards from the pre-processed and unified Span to the various inputs that were used to construct it. Line numbers here are 1-based.

Enums§

AllowableValue
Allowable values for the attribute.
CharacterReplacementType
Specifies which character replacement is being rendered.
LinkRenderType
What type of link is being rendered?
ModificationContext
Allowable context(s) for modification of this attribute value.
QuoteScope
Specifies whether the block is aligned to word boundaries or not.
QuoteType
Specifies which quote type is being rendered.
SpecialCharacter
Specifies which special character is being replaced in a call to InlineSubstitutionRenderer::render_special_character.

Traits§

IncludeFileHandler
An IncludeFileHandler is responsible for providing the text content for an include:: directive when encountered.
InlineSubstitutionRenderer
An implementation of InlineSubstitutionRenderer is used when converting the basic raw text of a simple block to the format which will ultimately be presented in the final converted output.