diff --git a/src/wasm/mod.rs b/src/wasm/mod.rs index 807f1cea..ad43a2dc 100644 --- a/src/wasm/mod.rs +++ b/src/wasm/mod.rs @@ -1,5 +1,6 @@ mod document; mod macros; mod parse_result; +mod standard_properties; pub(crate) use parse_result::ParseResult; diff --git a/src/wasm/standard_properties.rs b/src/wasm/standard_properties.rs new file mode 100644 index 00000000..f0b162bc --- /dev/null +++ b/src/wasm/standard_properties.rs @@ -0,0 +1,19 @@ +use organic::types::PostBlank; +use serde::Deserialize; +use serde::Serialize; + +use super::macros::to_wasm; + +#[derive(Serialize, Deserialize)] +pub(crate) struct WasmStandardProperties { + begin: Option, + end: Option, + contents_begin: Option, + contents_end: Option, + post_blank: Option, +} + +to_wasm!(WasmStandardProperties, Document<'s>, original, document, { + // foo + todo!() +});