Kelicap AST

Pub Version (including pre-releases) Null Safety License

This package contains parsers and utilities for parsing Kelicap templates and expressions into a structured tree (Abstract Syntax Tree) representation of JavaScript objects (nodes). Each node represents an element, attribute, binding, or directive, enabling the Kelicap compiler to understand and validate the code.

Example

var parser = TemplateParser();
var ast = parser.parse(r'<p>Hello {{ name }}</p>');

Libraries

ast
kelicap_ast