plantuml_parser/
lib.rs

1#![doc = include_str!("../docs/include/about-plantuml-parser.md")]
2
3mod container;
4mod dsl;
5mod error;
6mod filedata;
7mod path;
8
9pub use container::{ParseContainer, ParseError, ParseResult};
10pub use dsl::block::{BlockComment, PlantUmlBlock, PlantUmlBlockKind};
11pub use dsl::content::{IncludesCollections, PlantUmlContent};
12pub use dsl::line::{
13    BlockCommentCloseLine, BlockCommentOpenLine, EmptyLine, EndLine, FooterLine, HeaderLine,
14    IncludeLine, PlantUmlLine, PlantUmlLineKind, StartLine, TitleLine,
15};
16pub use dsl::token::{
17    DiagramIdToken, FooterToken, HeaderToken, IncludeKind, IncludeSpecifierToken, IncludeToken,
18    InlineBlockCommentToken, StartDiagramToken, TitleToken,
19};
20pub use error::Error;
21pub use filedata::PlantUmlFileData;
22pub use path::{PathResolver, PathResolverError};
23
24pub(crate) use container::{wr, wr2};
25
26/// The package name from Cargo.toml: [`plantuml-parser`](https://docs.rs/plantuml-parser/)
27pub const PKG_NAME: &str = env!("CARGO_PKG_NAME");
28/// The package version from Cargo.toml
29pub const PKG_VERSION: &str = env!("CARGO_PKG_VERSION");