pub fn parse(src: &str) -> Result<Vec<LintConstruct>, String>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 the underlying
validate_template_syntax error to the user before linting.