11//! FAST parser plugin for the WebUI parser.
22//!
33//! Tracks component definitions during HTML parsing and generates `<f-template>`
4- //! wrappers at body end. Converts BTR template syntax (`<if>`, `<for>`, `{{}}`)
4+ //! wrappers at body end. Converts WebUI Framework template syntax (`<if>`, `<for>`, `{{}}`)
55//! into FAST-compatible syntax (`<f-when>`, `<f-repeat>`, `{}`).
66
77use super :: ParserPlugin ;
@@ -20,7 +20,7 @@ struct TrackedComponent {
2020/// Implements the `ParserPlugin` trait for the FAST framework:
2121/// - Filters FAST-specific runtime binding attributes (`@click`, `f-ref`, etc.)
2222/// - Tracks components encountered during parsing
23- /// - Generates `<f-template>` wrappers with converted BTR→ FAST syntax at body end
23+ /// - Generates `<f-template>` wrappers with converted FAST syntax at body end
2424/// - Emits binding attribute counts as `Plugin` protocol fragment data
2525pub struct FastParserPlugin {
2626 /// Components tracked during parsing, in discovery order.
@@ -118,7 +118,7 @@ impl ParserPlugin for FastParserPlugin {
118118 }
119119}
120120
121- /// Convert BTR template syntax to FAST syntax in HTML content.
121+ /// Convert WebUI Framework template syntax to FAST syntax in HTML content.
122122///
123123/// Performs the following transformations without regex:
124124/// - `<if condition="EXPR">` → `<f-when value="{EXPR}">`
@@ -655,7 +655,7 @@ mod tests {
655655 assert_eq ! ( output. matches( "<f-template name=\" my-card\" >" ) . count( ) , 1 ) ;
656656 }
657657
658- // --- BTR→ FAST syntax conversion ---
658+ // --- FAST syntax conversion ---
659659
660660 #[ test]
661661 fn convert_if_to_f_when ( ) {
0 commit comments