Add placeholders for all the wasm ast nodes.
This commit is contained in:
		
							parent
							
								
									2962f76c81
								
							
						
					
					
						commit
						13863a68f7
					
				
							
								
								
									
										33
									
								
								src/wasm/angle_link.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/angle_link.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/babel_call.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/babel_call.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/bold.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/bold.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/center_block.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/center_block.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/citation.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/citation.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/citation_reference.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/citation_reference.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/clock.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/clock.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/code.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/code.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/comment.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/comment.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/comment_block.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/comment_block.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/diary_sexp.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/diary_sexp.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/drawer.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/drawer.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/dynamic_block.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/dynamic_block.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/entity.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/entity.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/example_block.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/example_block.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/export_block.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/export_block.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/export_snippet.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/export_snippet.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/fixed_width_area.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/fixed_width_area.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/footnote_definition.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/footnote_definition.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/footnote_reference.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/footnote_reference.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/headline.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/headline.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/horizontal_rule.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/horizontal_rule.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/inline_babel_call.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/inline_babel_call.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/inline_source_block.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/inline_source_block.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/italic.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/italic.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/keyword.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/keyword.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/latex_environment.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/latex_environment.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/latex_fragment.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/latex_fragment.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/line_break.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/line_break.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
| @ -1,8 +1,65 @@ | ||||
| mod angle_link; | ||||
| mod babel_call; | ||||
| mod bold; | ||||
| mod center_block; | ||||
| mod citation; | ||||
| mod citation_reference; | ||||
| mod clock; | ||||
| mod code; | ||||
| mod comment; | ||||
| mod comment_block; | ||||
| mod diary_sexp; | ||||
| mod document; | ||||
| mod drawer; | ||||
| mod dynamic_block; | ||||
| mod entity; | ||||
| mod example_block; | ||||
| mod export_block; | ||||
| mod export_snippet; | ||||
| mod fixed_width_area; | ||||
| mod footnote_definition; | ||||
| mod footnote_reference; | ||||
| mod headline; | ||||
| mod horizontal_rule; | ||||
| mod inline_babel_call; | ||||
| mod inline_source_block; | ||||
| mod italic; | ||||
| mod keyword; | ||||
| mod latex_environment; | ||||
| mod latex_fragment; | ||||
| mod line_break; | ||||
| mod macros; | ||||
| mod node_property; | ||||
| mod org_macro; | ||||
| mod paragraph; | ||||
| mod parse_result; | ||||
| mod plain_link; | ||||
| mod plain_list; | ||||
| mod plain_list_item; | ||||
| mod plain_text; | ||||
| mod planning; | ||||
| mod property_drawer; | ||||
| mod quote_block; | ||||
| mod radio_link; | ||||
| mod radio_target; | ||||
| mod regular_link; | ||||
| mod section; | ||||
| mod special_block; | ||||
| mod src_block; | ||||
| mod standard_properties; | ||||
| mod statistics_cookie; | ||||
| mod strike_through; | ||||
| mod subscript; | ||||
| mod superscript; | ||||
| mod table; | ||||
| mod table_cell; | ||||
| mod table_row; | ||||
| mod target; | ||||
| mod timestamp; | ||||
| mod to_wasm; | ||||
| mod underline; | ||||
| mod verbatim; | ||||
| mod verse_block; | ||||
| 
 | ||||
| pub(crate) use parse_result::ParseResult; | ||||
| pub(crate) use to_wasm::ToWasm; | ||||
|  | ||||
							
								
								
									
										33
									
								
								src/wasm/node_property.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/node_property.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/org_macro.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/org_macro.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/paragraph.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/paragraph.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/plain_link.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/plain_link.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/plain_list.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/plain_list.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/plain_list_item.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/plain_list_item.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/plain_text.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/plain_text.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/planning.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/planning.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/property_drawer.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/property_drawer.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/quote_block.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/quote_block.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/radio_link.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/radio_link.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/radio_target.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/radio_target.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/regular_link.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/regular_link.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/section.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/section.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/special_block.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/special_block.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/src_block.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/src_block.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/statistics_cookie.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/statistics_cookie.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/strike_through.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/strike_through.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/subscript.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/subscript.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/superscript.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/superscript.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/table.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/table.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/table_cell.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/table_cell.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/table_row.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/table_row.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/target.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/target.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/timestamp.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/timestamp.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/underline.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/underline.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/verbatim.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/verbatim.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
							
								
								
									
										33
									
								
								src/wasm/verse_block.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/wasm/verse_block.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| use std::marker::PhantomData; | ||||
| 
 | ||||
| use organic::types::Document; | ||||
| use serde::Deserialize; | ||||
| use serde::Serialize; | ||||
| 
 | ||||
| use super::macros::to_wasm; | ||||
| use super::standard_properties::WasmStandardProperties; | ||||
| use super::to_wasm::ToWasm; | ||||
| use crate::wasm::to_wasm::ToWasmStandardProperties; | ||||
| 
 | ||||
| #[derive(Serialize, Deserialize)] | ||||
| #[serde(tag = "ast_node")] | ||||
| #[serde(rename = "org-data")] | ||||
| pub(crate) struct WasmDocument<'s> { | ||||
|     standard_properties: WasmStandardProperties, | ||||
|     children: Vec<()>, | ||||
|     phantom: PhantomData<&'s ()>, | ||||
| } | ||||
| 
 | ||||
| to_wasm!( | ||||
|     WasmDocument<'s>, | ||||
|     Document<'s>, | ||||
|     wasm_context, | ||||
|     standard_properties, | ||||
|     { | ||||
|         Ok(WasmDocument { | ||||
|             standard_properties, | ||||
|             children: Vec::new(), | ||||
|             phantom: PhantomData, | ||||
|         }) | ||||
|     } | ||||
| ); | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tom Alexander
						Tom Alexander