Moved ParametersContext to its own file.

This commit is contained in:
Tom Alexander
2020-05-08 22:12:35 -04:00
parent 1a6db195cb
commit b45448edbd
5 changed files with 34 additions and 9 deletions

View File

@@ -6,6 +6,7 @@ pub use parser::template;
pub use parser::Body;
pub use parser::DustTag;
pub use parser::Filter;
pub use parser::KVPair;
pub use parser::RValue;
pub use parser::Special;
pub use parser::Template;

View File

@@ -125,9 +125,9 @@ pub enum RValue<'a> {
}
#[derive(Clone, Debug, PartialEq)]
struct KVPair<'a> {
key: &'a str,
value: RValue<'a>,
pub struct KVPair<'a> {
pub key: &'a str,
pub value: RValue<'a>,
}
#[derive(Clone, Debug, PartialEq)]