Skip to main content

asciidoc_parser/parser/
mod.rs

1//! The [`Parser`] struct and its related structs allow a caller to configure
2//! how AsciiDoc parsing occurs and then to initiate the parsing process.
3
4mod attribute_value;
5pub(crate) use attribute_value::AttributeValue;
6pub use attribute_value::{AllowableValue, ModificationContext};
7
8mod built_in_attrs;
9
10mod docinfo_file_handler;
11pub use docinfo_file_handler::DocinfoFileHandler;
12
13mod include_file_handler;
14pub use include_file_handler::IncludeFileHandler;
15
16mod inline_substitution_renderer;
17pub use inline_substitution_renderer::{
18    CalloutGuard, CalloutRenderParams, CharacterReplacementType, HtmlSubstitutionRenderer,
19    IconRenderParams, ImageRenderParams, InlineSubstitutionRenderer, LinkRenderParams,
20    LinkRenderType, QuoteScope, QuoteType, SpecialCharacter, XrefRenderParams,
21};
22
23mod parser;
24pub use parser::Parser;
25
26mod path_resolver;
27pub use path_resolver::PathResolver;
28
29pub(crate) mod preprocessor;
30
31mod reference_resolver;
32pub use reference_resolver::{
33    CatalogResolver, ReferenceResolver, ReferenceWarning, ReferenceWarningKind, ResolutionContext,
34    ResolvedReference,
35};
36
37mod source_map;
38pub use source_map::{SourceLine, SourceMap};