Compare the standard properties.
This commit is contained in:
@@ -15,7 +15,7 @@ use crate::wasm::to_wasm::ToWasmStandardProperties;
|
||||
#[serde(tag = "ast_node")]
|
||||
#[serde(rename = "org-data")]
|
||||
pub struct WasmDocument<'s, 'p> {
|
||||
standard_properties: WasmStandardProperties,
|
||||
pub(crate) standard_properties: WasmStandardProperties,
|
||||
additional_properties: Vec<(String, &'s str)>,
|
||||
pub(crate) children: Vec<WasmAstNode<'s, 'p>>,
|
||||
pub(crate) category: Option<&'p str>,
|
||||
|
||||
@@ -67,5 +67,6 @@ pub use document::WasmDocument;
|
||||
pub(crate) use headline::WasmHeadline;
|
||||
pub use parse_result::ParseResult;
|
||||
pub(crate) use section::WasmSection;
|
||||
pub(crate) use standard_properties::WasmStandardProperties;
|
||||
pub use to_wasm::ToWasm;
|
||||
pub use to_wasm::ToWasmContext;
|
||||
|
||||
@@ -7,11 +7,11 @@ use crate::types::StandardProperties;
|
||||
|
||||
#[derive(Debug, Serialize)]
|
||||
pub(crate) struct WasmStandardProperties {
|
||||
begin: usize,
|
||||
end: usize,
|
||||
contents_begin: Option<usize>,
|
||||
contents_end: Option<usize>,
|
||||
post_blank: PostBlank,
|
||||
pub(crate) begin: usize,
|
||||
pub(crate) end: usize,
|
||||
pub(crate) contents_begin: Option<usize>,
|
||||
pub(crate) contents_end: Option<usize>,
|
||||
pub(crate) post_blank: PostBlank,
|
||||
}
|
||||
|
||||
impl<'s, SP: StandardProperties<'s>> ToWasmStandardProperties for SP {
|
||||
|
||||
Reference in New Issue
Block a user