pub fn parse(src: &str) -> Result<Vec<LintConstruct>, TemplateParseError>Expand description
Parse a template source string into a flat list of lintable
constructs (conditionals + sections). Returns Err when the
template doesn’t parse — callers should surface that failure to the
user before linting.