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:
@@ -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 })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user