hemplate-parser
Tree-sitter parser wrapper for Hemplate templates. Requires Rust 1.91 or newer.
[]
= "0.6.0"
Strict attribute-context checks run in hemplate-derive, not in this parser: a
successful parse does not establish that interpolated values are safe.
use parse_template;
let tree = parse_template
.expect;
assert!;
Use TemplateParser when parsing repeatedly or incrementally. Typed AST construction lives in hemplate-core; derive-macro code generation lives in hemplate-derive. Applications should normally use the hemplate facade.
License
MIT