Implement line break.

This commit is contained in:
Tom Alexander 2023-12-29 23:27:37 -05:00
parent dd1f7c7777
commit 259ad6e242
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -4,16 +4,12 @@ use serde::Serialize;
use super::ast_node::WasmAstNode;
use super::macros::to_wasm;
use super::to_wasm::ToWasm;
use super::AdditionalProperties;
use crate::compare::ElispFact;
use crate::types::LineBreak;
use crate::wasm::to_wasm::ToWasmStandardProperties;
#[derive(Debug, Serialize, Deserialize)]
pub struct WasmLineBreak {
#[serde(flatten)]
pub(crate) additional_properties: AdditionalProperties,
}
pub struct WasmLineBreak {}
to_wasm!(
WasmLineBreak,
@ -21,13 +17,6 @@ to_wasm!(
original,
wasm_context,
{ WasmAstNode::LineBreak(original) },
{ "TODO".into() },
{
Ok((
Vec::new(),
WasmLineBreak {
additional_properties: AdditionalProperties::default(),
},
))
}
{ "line-break".into() },
{ Ok((Vec::new(), WasmLineBreak {},)) }
);