Phase 4.1-4.2: StyleIndex with by_tag/by_class/by_id indexes, replace matching_rules with query_index, build_index after parsing

This commit is contained in:
Glint Dev
2026-07-22 12:56:36 +03:00
parent 4a6dea6dd8
commit 87feba394d
2 changed files with 234 additions and 28 deletions

View File

@@ -48,6 +48,8 @@ impl Interpreter {
//let rhei_ctx = RheiContext::new(&rhei_scripts);
//rhei_ctx.initialize(&mut variables);
stylesheet.build_index();
Ok(Document { roots, components, variables, rhei_scripts, stylesheet, interner: Interner::new(), tracker })
}