Beginning of the render_tag function.

Beginning of the render_tag function. At this point I need to figure out how to access elements in the context.
This commit is contained in:
Tom Alexander
2020-04-11 18:40:36 -04:00
parent 2459d7b418
commit f65a144b3c
4 changed files with 22 additions and 6 deletions

View File

@@ -7,5 +7,6 @@ pub use node_invoker::run_node_dust;
pub use node_invoker::NodeError;
pub use node_invoker::Result;
pub use parser::template;
pub use parser::DustTag;
pub use parser::Template;
pub use parser::TemplateElement;

View File

@@ -52,7 +52,7 @@ enum Special {
}
#[derive(Clone, Debug, PartialEq)]
struct Comment<'a> {
pub struct Comment<'a> {
value: &'a str,
}
@@ -62,7 +62,7 @@ struct Path<'a> {
}
#[derive(Clone, Debug, PartialEq)]
struct Reference<'a> {
pub struct Reference<'a> {
path: Path<'a>,
filters: Vec<Filter>,
}