Tom Alexander
579cbb5d11
Switch everything over to the new to_wasm macro.
2023-12-29 15:03:36 -05:00
Tom Alexander
cad2be43bf
Implement a new to_wasm macro that uses the WasmAstNodeWrapper.
2023-12-29 14:06:10 -05:00
Tom Alexander
a0a4f0eb90
Remove lifetimes from wasm ast nodes.
2023-12-29 12:49:43 -05:00
Tom Alexander
9f4f8e79ce
Implement a wrapper type for AST nodes.
...
This is to make it impossible to have a collision for attribute names that are real attributes vs attributes I've added for structure (like children and ast_node).
2023-12-29 11:58:46 -05:00
Tom Alexander
1a70b3d2c0
Add a lifetime for data in the parsed result but not from the source.
2023-12-27 12:24:21 -05:00
Tom Alexander
67e5829fd9
Populating document's children.
2023-12-25 12:55:48 -05:00
Tom Alexander
995b41e697
Remove deserialize to support borrows.
2023-12-25 12:42:38 -05:00
Tom Alexander
dc012b49f5
Add a generic WasmAstNode enum.
2023-12-25 11:51:39 -05:00