pub fn parse_template(
text: &str,
path: &str,
delimiters: &Delimiters,
dir: Option<&str>,
) -> Result<Template, RenderError>Expand description
parse a template’s text (§5.2–5.3); E7001 for what does not parse. path
is the template’s path as given (its diagnostics name it); dir is where
its includes resolve, the absolute directory it was read from