From 55750a223008b256fddd8636ff4d474f959c8a23 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 8 Jun 2026 09:56:20 -0700 Subject: Many little changes to parsing, getting better. --- src/lib.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 5e912cf..25d9be1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -40,10 +40,10 @@ enum FragmentSource { struct Fragment { name: String, source: usize, - sections: HashMap, + sections: HashMap, } -struct Section { +struct Output { name: String, ast_root: Token, } @@ -53,7 +53,8 @@ type Properties = HashMap; enum Token { Root(Vec), Fragment(String,Properties,Vec), - Section(String,Properties,Vec), + Output(String,Properties,Vec), + Show(String,Properties), Text(String), Literal(String), /* -- cgit v1.2.3