kelicap_ast 1.0.0 copy "kelicap_ast: ^1.0.0" to clipboard
kelicap_ast: ^1.0.0 copied to clipboard

Kelicap AST parser and utilities. It parses Kelicap component templates and expressions into a structured tree representation (Abstract Syntax Tree) of JavaScript objects (nodes).

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>');
0
likes
160
points
227
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Kelicap AST parser and utilities. It parses Kelicap component templates and expressions into a structured tree representation (Abstract Syntax Tree) of JavaScript objects (nodes).

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

charcode, collection, meta, source_span, string_scanner

More

Packages that depend on kelicap_ast