Skip to main content

copperlace/
render.rs

1mod compile;
2pub(crate) mod config_loader;
3mod error;
4mod nodes;
5mod processor;
6mod ruleset;
7mod state;
8pub(crate) mod structured_template;
9mod template;
10mod value;
11
12pub use error::RenderError;
13pub use nodes::{
14    BindMode, BindNode, ChoiceNode, ProcessorPipelineNode, RuleCallNode, TextGeneratorNode,
15    UnsupportedValueNode, VariableNode, VecNode, WeightedChoiceNode,
16};
17pub use processor::{Processor, ProcessorRegistry, processor};
18pub use ruleset::{
19    RuleSet, render_config_rule, render_config_rule_structured,
20    render_config_rule_structured_with_context,
21    render_config_rule_structured_with_context_and_options, render_config_rule_with_context,
22    render_config_rule_with_context_and_options,
23};
24pub use state::{RenderContext, RenderOptions, RenderState};
25pub use value::{CopperlaceNumber, CopperlaceValue, StructuredArrayEntry, StructuredNode};