summaryrefslogtreecommitdiff
path: root/src/lib.rs
blob: 725e49c73a5e4196c2ae174f3f45a02a875b25fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
//! Process Subplot input files.
//!
//! Capture and communicate acceptance criteria for software and systems,
//! and how they are verified, in a way that's understood by all project
//! stakeholders.

#![deny(missing_docs)]

// Handle the multiple pandoc_ast versions

#[cfg(feature = "pandoc_ast_07")]
extern crate pandoc_ast_07 as pandoc_ast;
#[cfg(feature = "pandoc_ast_08")]
extern crate pandoc_ast_08 as pandoc_ast;

mod error;
pub use error::SubplotError;
pub use error::Warning;
pub use error::Warnings;

pub mod resource;

mod diagrams;
pub use diagrams::{DiagramMarkup, DotMarkup, MarkupOpts, PikchrMarkup, PlantumlMarkup, Svg};

mod embedded;
pub use embedded::EmbeddedFile;
pub use embedded::EmbeddedFiles;

mod panhelper;
mod typeset;

mod visitor;
use visitor::LintingVisitor;

mod policy;
pub use policy::get_basedir_from;

mod metadata;
pub use metadata::Metadata;

mod doc;
pub use doc::Document;
pub use doc::{codegen, load_document, load_document_with_pullmark};

mod style;
pub use style::Style;

mod scenarios;
pub use scenarios::Scenario;

mod steps;
pub use steps::{ScenarioStep, StepKind};

mod bindings;
pub use bindings::Binding;
pub use bindings::Bindings;

mod parser;
pub use parser::parse_scenario_snippet;

mod matches;
pub use matches::MatchedScenario;
pub use matches::MatchedStep;
pub use matches::MatchedSteps;
pub use matches::PartialStep;
pub use matches::StepSnippet;

mod templatespec;
pub use templatespec::TemplateSpec;

mod codegen;
pub use codegen::generate_test_program;

mod ast;
pub use ast::{extract_metadata, AbstractSyntaxTree, YamlMetadata};