Run cargo fix.
This commit is contained in:
parent
ff57242434
commit
ada11816fb
@ -13,10 +13,10 @@ pub(crate) struct RenderAngleLink {}
|
|||||||
|
|
||||||
impl RenderAngleLink {
|
impl RenderAngleLink {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &IAngleLink,
|
_comment: &IAngleLink,
|
||||||
) -> Result<RenderAngleLink, CustomError> {
|
) -> Result<RenderAngleLink, CustomError> {
|
||||||
Ok(RenderAngleLink {})
|
Ok(RenderAngleLink {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderBabelCall {}
|
|||||||
|
|
||||||
impl RenderBabelCall {
|
impl RenderBabelCall {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &IBabelCall,
|
_original: &IBabelCall,
|
||||||
) -> Result<RenderBabelCall, CustomError> {
|
) -> Result<RenderBabelCall, CustomError> {
|
||||||
Ok(RenderBabelCall {})
|
Ok(RenderBabelCall {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderBold {}
|
|||||||
|
|
||||||
impl RenderBold {
|
impl RenderBold {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &IBold,
|
_comment: &IBold,
|
||||||
) -> Result<RenderBold, CustomError> {
|
) -> Result<RenderBold, CustomError> {
|
||||||
Ok(RenderBold {})
|
Ok(RenderBold {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderCenterBlock {}
|
|||||||
|
|
||||||
impl RenderCenterBlock {
|
impl RenderCenterBlock {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &ICenterBlock,
|
_original: &ICenterBlock,
|
||||||
) -> Result<RenderCenterBlock, CustomError> {
|
) -> Result<RenderCenterBlock, CustomError> {
|
||||||
Ok(RenderCenterBlock {})
|
Ok(RenderCenterBlock {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderCitation {}
|
|||||||
|
|
||||||
impl RenderCitation {
|
impl RenderCitation {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &ICitation,
|
_comment: &ICitation,
|
||||||
) -> Result<RenderCitation, CustomError> {
|
) -> Result<RenderCitation, CustomError> {
|
||||||
Ok(RenderCitation {})
|
Ok(RenderCitation {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderCitationReference {}
|
|||||||
|
|
||||||
impl RenderCitationReference {
|
impl RenderCitationReference {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &ICitationReference,
|
_comment: &ICitationReference,
|
||||||
) -> Result<RenderCitationReference, CustomError> {
|
) -> Result<RenderCitationReference, CustomError> {
|
||||||
Ok(RenderCitationReference {})
|
Ok(RenderCitationReference {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderClock {}
|
|||||||
|
|
||||||
impl RenderClock {
|
impl RenderClock {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &IClock,
|
_original: &IClock,
|
||||||
) -> Result<RenderClock, CustomError> {
|
) -> Result<RenderClock, CustomError> {
|
||||||
Ok(RenderClock {})
|
Ok(RenderClock {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderCode {}
|
|||||||
|
|
||||||
impl RenderCode {
|
impl RenderCode {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &ICode,
|
_comment: &ICode,
|
||||||
) -> Result<RenderCode, CustomError> {
|
) -> Result<RenderCode, CustomError> {
|
||||||
Ok(RenderCode {})
|
Ok(RenderCode {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderComment {}
|
|||||||
|
|
||||||
impl RenderComment {
|
impl RenderComment {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &IComment,
|
_comment: &IComment,
|
||||||
) -> Result<RenderComment, CustomError> {
|
) -> Result<RenderComment, CustomError> {
|
||||||
Ok(RenderComment {})
|
Ok(RenderComment {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderCommentBlock {}
|
|||||||
|
|
||||||
impl RenderCommentBlock {
|
impl RenderCommentBlock {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &ICommentBlock,
|
_original: &ICommentBlock,
|
||||||
) -> Result<RenderCommentBlock, CustomError> {
|
) -> Result<RenderCommentBlock, CustomError> {
|
||||||
Ok(RenderCommentBlock {})
|
Ok(RenderCommentBlock {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderDiarySexp {}
|
|||||||
|
|
||||||
impl RenderDiarySexp {
|
impl RenderDiarySexp {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &IDiarySexp,
|
_original: &IDiarySexp,
|
||||||
) -> Result<RenderDiarySexp, CustomError> {
|
) -> Result<RenderDiarySexp, CustomError> {
|
||||||
Ok(RenderDiarySexp {})
|
Ok(RenderDiarySexp {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderDrawer {}
|
|||||||
|
|
||||||
impl RenderDrawer {
|
impl RenderDrawer {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &IDrawer,
|
_original: &IDrawer,
|
||||||
) -> Result<RenderDrawer, CustomError> {
|
) -> Result<RenderDrawer, CustomError> {
|
||||||
Ok(RenderDrawer {})
|
Ok(RenderDrawer {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderDynamicBlock {}
|
|||||||
|
|
||||||
impl RenderDynamicBlock {
|
impl RenderDynamicBlock {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &IDynamicBlock,
|
_original: &IDynamicBlock,
|
||||||
) -> Result<RenderDynamicBlock, CustomError> {
|
) -> Result<RenderDynamicBlock, CustomError> {
|
||||||
Ok(RenderDynamicBlock {})
|
Ok(RenderDynamicBlock {})
|
||||||
}
|
}
|
||||||
|
@ -15,9 +15,9 @@ pub(crate) struct RenderEntity {
|
|||||||
|
|
||||||
impl RenderEntity {
|
impl RenderEntity {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
entity: &IEntity,
|
entity: &IEntity,
|
||||||
) -> Result<RenderEntity, CustomError> {
|
) -> Result<RenderEntity, CustomError> {
|
||||||
Ok(RenderEntity {
|
Ok(RenderEntity {
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderExampleBlock {}
|
|||||||
|
|
||||||
impl RenderExampleBlock {
|
impl RenderExampleBlock {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &IExampleBlock,
|
_original: &IExampleBlock,
|
||||||
) -> Result<RenderExampleBlock, CustomError> {
|
) -> Result<RenderExampleBlock, CustomError> {
|
||||||
Ok(RenderExampleBlock {})
|
Ok(RenderExampleBlock {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderExportBlock {}
|
|||||||
|
|
||||||
impl RenderExportBlock {
|
impl RenderExportBlock {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &IExportBlock,
|
_original: &IExportBlock,
|
||||||
) -> Result<RenderExportBlock, CustomError> {
|
) -> Result<RenderExportBlock, CustomError> {
|
||||||
Ok(RenderExportBlock {})
|
Ok(RenderExportBlock {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderExportSnippet {}
|
|||||||
|
|
||||||
impl RenderExportSnippet {
|
impl RenderExportSnippet {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &IExportSnippet,
|
_comment: &IExportSnippet,
|
||||||
) -> Result<RenderExportSnippet, CustomError> {
|
) -> Result<RenderExportSnippet, CustomError> {
|
||||||
Ok(RenderExportSnippet {})
|
Ok(RenderExportSnippet {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderFixedWidthArea {}
|
|||||||
|
|
||||||
impl RenderFixedWidthArea {
|
impl RenderFixedWidthArea {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &IFixedWidthArea,
|
_original: &IFixedWidthArea,
|
||||||
) -> Result<RenderFixedWidthArea, CustomError> {
|
) -> Result<RenderFixedWidthArea, CustomError> {
|
||||||
Ok(RenderFixedWidthArea {})
|
Ok(RenderFixedWidthArea {})
|
||||||
}
|
}
|
||||||
|
@ -17,10 +17,10 @@ pub(crate) struct RenderFootnoteDefinition {}
|
|||||||
|
|
||||||
impl RenderFootnoteDefinition {
|
impl RenderFootnoteDefinition {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &IFootnoteDefinition,
|
_original: &IFootnoteDefinition,
|
||||||
) -> Result<RenderFootnoteDefinition, CustomError> {
|
) -> Result<RenderFootnoteDefinition, CustomError> {
|
||||||
Ok(RenderFootnoteDefinition {})
|
Ok(RenderFootnoteDefinition {})
|
||||||
}
|
}
|
||||||
|
@ -17,9 +17,9 @@ pub(crate) struct RenderFootnoteReference {
|
|||||||
|
|
||||||
impl RenderFootnoteReference {
|
impl RenderFootnoteReference {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &IFootnoteReference,
|
original: &IFootnoteReference,
|
||||||
) -> Result<RenderFootnoteReference, CustomError> {
|
) -> Result<RenderFootnoteReference, CustomError> {
|
||||||
Ok(RenderFootnoteReference {
|
Ok(RenderFootnoteReference {
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderHorizontalRule {}
|
|||||||
|
|
||||||
impl RenderHorizontalRule {
|
impl RenderHorizontalRule {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &IHorizontalRule,
|
_original: &IHorizontalRule,
|
||||||
) -> Result<RenderHorizontalRule, CustomError> {
|
) -> Result<RenderHorizontalRule, CustomError> {
|
||||||
Ok(RenderHorizontalRule {})
|
Ok(RenderHorizontalRule {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderInlineBabelCall {}
|
|||||||
|
|
||||||
impl RenderInlineBabelCall {
|
impl RenderInlineBabelCall {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &IInlineBabelCall,
|
_comment: &IInlineBabelCall,
|
||||||
) -> Result<RenderInlineBabelCall, CustomError> {
|
) -> Result<RenderInlineBabelCall, CustomError> {
|
||||||
Ok(RenderInlineBabelCall {})
|
Ok(RenderInlineBabelCall {})
|
||||||
}
|
}
|
||||||
|
@ -15,9 +15,9 @@ pub(crate) struct RenderInlineSourceBlock {
|
|||||||
|
|
||||||
impl RenderInlineSourceBlock {
|
impl RenderInlineSourceBlock {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &IInlineSourceBlock,
|
original: &IInlineSourceBlock,
|
||||||
) -> Result<RenderInlineSourceBlock, CustomError> {
|
) -> Result<RenderInlineSourceBlock, CustomError> {
|
||||||
Ok(RenderInlineSourceBlock {
|
Ok(RenderInlineSourceBlock {
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderItalic {}
|
|||||||
|
|
||||||
impl RenderItalic {
|
impl RenderItalic {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &IItalic,
|
_comment: &IItalic,
|
||||||
) -> Result<RenderItalic, CustomError> {
|
) -> Result<RenderItalic, CustomError> {
|
||||||
Ok(RenderItalic {})
|
Ok(RenderItalic {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderKeyword {}
|
|||||||
|
|
||||||
impl RenderKeyword {
|
impl RenderKeyword {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
keyword: &IKeyword,
|
_keyword: &IKeyword,
|
||||||
) -> Result<RenderKeyword, CustomError> {
|
) -> Result<RenderKeyword, CustomError> {
|
||||||
Ok(RenderKeyword {})
|
Ok(RenderKeyword {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderLatexEnvironment {}
|
|||||||
|
|
||||||
impl RenderLatexEnvironment {
|
impl RenderLatexEnvironment {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &ILatexEnvironment,
|
_original: &ILatexEnvironment,
|
||||||
) -> Result<RenderLatexEnvironment, CustomError> {
|
) -> Result<RenderLatexEnvironment, CustomError> {
|
||||||
Ok(RenderLatexEnvironment {})
|
Ok(RenderLatexEnvironment {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderLatexFragment {}
|
|||||||
|
|
||||||
impl RenderLatexFragment {
|
impl RenderLatexFragment {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &ILatexFragment,
|
_comment: &ILatexFragment,
|
||||||
) -> Result<RenderLatexFragment, CustomError> {
|
) -> Result<RenderLatexFragment, CustomError> {
|
||||||
Ok(RenderLatexFragment {})
|
Ok(RenderLatexFragment {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderLineBreak {}
|
|||||||
|
|
||||||
impl RenderLineBreak {
|
impl RenderLineBreak {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &ILineBreak,
|
_comment: &ILineBreak,
|
||||||
) -> Result<RenderLineBreak, CustomError> {
|
) -> Result<RenderLineBreak, CustomError> {
|
||||||
Ok(RenderLineBreak {})
|
Ok(RenderLineBreak {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderOrgMacro {}
|
|||||||
|
|
||||||
impl RenderOrgMacro {
|
impl RenderOrgMacro {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &IOrgMacro,
|
_comment: &IOrgMacro,
|
||||||
) -> Result<RenderOrgMacro, CustomError> {
|
) -> Result<RenderOrgMacro, CustomError> {
|
||||||
Ok(RenderOrgMacro {})
|
Ok(RenderOrgMacro {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderPlainLink {}
|
|||||||
|
|
||||||
impl RenderPlainLink {
|
impl RenderPlainLink {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &IPlainLink,
|
_comment: &IPlainLink,
|
||||||
) -> Result<RenderPlainLink, CustomError> {
|
) -> Result<RenderPlainLink, CustomError> {
|
||||||
Ok(RenderPlainLink {})
|
Ok(RenderPlainLink {})
|
||||||
}
|
}
|
||||||
|
@ -15,9 +15,9 @@ pub(crate) struct RenderPlainText {
|
|||||||
|
|
||||||
impl RenderPlainText {
|
impl RenderPlainText {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &IPlainText,
|
original: &IPlainText,
|
||||||
) -> Result<RenderPlainText, CustomError> {
|
) -> Result<RenderPlainText, CustomError> {
|
||||||
Ok(RenderPlainText {
|
Ok(RenderPlainText {
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderPlanning {}
|
|||||||
|
|
||||||
impl RenderPlanning {
|
impl RenderPlanning {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &IPlanning,
|
_original: &IPlanning,
|
||||||
) -> Result<RenderPlanning, CustomError> {
|
) -> Result<RenderPlanning, CustomError> {
|
||||||
Ok(RenderPlanning {})
|
Ok(RenderPlanning {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderPropertyDrawer {}
|
|||||||
|
|
||||||
impl RenderPropertyDrawer {
|
impl RenderPropertyDrawer {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &IPropertyDrawer,
|
_original: &IPropertyDrawer,
|
||||||
) -> Result<RenderPropertyDrawer, CustomError> {
|
) -> Result<RenderPropertyDrawer, CustomError> {
|
||||||
Ok(RenderPropertyDrawer {})
|
Ok(RenderPropertyDrawer {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderRadioLink {}
|
|||||||
|
|
||||||
impl RenderRadioLink {
|
impl RenderRadioLink {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &IRadioLink,
|
_comment: &IRadioLink,
|
||||||
) -> Result<RenderRadioLink, CustomError> {
|
) -> Result<RenderRadioLink, CustomError> {
|
||||||
Ok(RenderRadioLink {})
|
Ok(RenderRadioLink {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderRadioTarget {}
|
|||||||
|
|
||||||
impl RenderRadioTarget {
|
impl RenderRadioTarget {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &IRadioTarget,
|
_comment: &IRadioTarget,
|
||||||
) -> Result<RenderRadioTarget, CustomError> {
|
) -> Result<RenderRadioTarget, CustomError> {
|
||||||
Ok(RenderRadioTarget {})
|
Ok(RenderRadioTarget {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderSpecialBlock {}
|
|||||||
|
|
||||||
impl RenderSpecialBlock {
|
impl RenderSpecialBlock {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &ISpecialBlock,
|
_original: &ISpecialBlock,
|
||||||
) -> Result<RenderSpecialBlock, CustomError> {
|
) -> Result<RenderSpecialBlock, CustomError> {
|
||||||
Ok(RenderSpecialBlock {})
|
Ok(RenderSpecialBlock {})
|
||||||
}
|
}
|
||||||
|
@ -15,9 +15,9 @@ pub(crate) struct RenderSrcBlock {
|
|||||||
|
|
||||||
impl RenderSrcBlock {
|
impl RenderSrcBlock {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &ISrcBlock,
|
original: &ISrcBlock,
|
||||||
) -> Result<RenderSrcBlock, CustomError> {
|
) -> Result<RenderSrcBlock, CustomError> {
|
||||||
Ok(RenderSrcBlock {
|
Ok(RenderSrcBlock {
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderStatisticsCookie {}
|
|||||||
|
|
||||||
impl RenderStatisticsCookie {
|
impl RenderStatisticsCookie {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &IStatisticsCookie,
|
_comment: &IStatisticsCookie,
|
||||||
) -> Result<RenderStatisticsCookie, CustomError> {
|
) -> Result<RenderStatisticsCookie, CustomError> {
|
||||||
Ok(RenderStatisticsCookie {})
|
Ok(RenderStatisticsCookie {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderStrikeThrough {}
|
|||||||
|
|
||||||
impl RenderStrikeThrough {
|
impl RenderStrikeThrough {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &IStrikeThrough,
|
_comment: &IStrikeThrough,
|
||||||
) -> Result<RenderStrikeThrough, CustomError> {
|
) -> Result<RenderStrikeThrough, CustomError> {
|
||||||
Ok(RenderStrikeThrough {})
|
Ok(RenderStrikeThrough {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderSubscript {}
|
|||||||
|
|
||||||
impl RenderSubscript {
|
impl RenderSubscript {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &ISubscript,
|
_comment: &ISubscript,
|
||||||
) -> Result<RenderSubscript, CustomError> {
|
) -> Result<RenderSubscript, CustomError> {
|
||||||
Ok(RenderSubscript {})
|
Ok(RenderSubscript {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderSuperscript {}
|
|||||||
|
|
||||||
impl RenderSuperscript {
|
impl RenderSuperscript {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &ISuperscript,
|
_comment: &ISuperscript,
|
||||||
) -> Result<RenderSuperscript, CustomError> {
|
) -> Result<RenderSuperscript, CustomError> {
|
||||||
Ok(RenderSuperscript {})
|
Ok(RenderSuperscript {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderTable {}
|
|||||||
|
|
||||||
impl RenderTable {
|
impl RenderTable {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &ITable,
|
_original: &ITable,
|
||||||
) -> Result<RenderTable, CustomError> {
|
) -> Result<RenderTable, CustomError> {
|
||||||
Ok(RenderTable {})
|
Ok(RenderTable {})
|
||||||
}
|
}
|
||||||
|
@ -15,9 +15,9 @@ pub(crate) struct RenderTarget {
|
|||||||
|
|
||||||
impl RenderTarget {
|
impl RenderTarget {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
target: &ITarget,
|
target: &ITarget,
|
||||||
) -> Result<RenderTarget, CustomError> {
|
) -> Result<RenderTarget, CustomError> {
|
||||||
Ok(RenderTarget {
|
Ok(RenderTarget {
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderTimestamp {}
|
|||||||
|
|
||||||
impl RenderTimestamp {
|
impl RenderTimestamp {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &ITimestamp,
|
_comment: &ITimestamp,
|
||||||
) -> Result<RenderTimestamp, CustomError> {
|
) -> Result<RenderTimestamp, CustomError> {
|
||||||
Ok(RenderTimestamp {})
|
Ok(RenderTimestamp {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderUnderline {}
|
|||||||
|
|
||||||
impl RenderUnderline {
|
impl RenderUnderline {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &IUnderline,
|
_comment: &IUnderline,
|
||||||
) -> Result<RenderUnderline, CustomError> {
|
) -> Result<RenderUnderline, CustomError> {
|
||||||
Ok(RenderUnderline {})
|
Ok(RenderUnderline {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderVerbatim {}
|
|||||||
|
|
||||||
impl RenderVerbatim {
|
impl RenderVerbatim {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
comment: &IVerbatim,
|
_comment: &IVerbatim,
|
||||||
) -> Result<RenderVerbatim, CustomError> {
|
) -> Result<RenderVerbatim, CustomError> {
|
||||||
Ok(RenderVerbatim {})
|
Ok(RenderVerbatim {})
|
||||||
}
|
}
|
||||||
|
@ -13,10 +13,10 @@ pub(crate) struct RenderVerseBlock {}
|
|||||||
|
|
||||||
impl RenderVerseBlock {
|
impl RenderVerseBlock {
|
||||||
pub(crate) fn new(
|
pub(crate) fn new(
|
||||||
config: &Config,
|
_config: &Config,
|
||||||
output_directory: &Path,
|
_output_directory: &Path,
|
||||||
output_file: &Path,
|
_output_file: &Path,
|
||||||
original: &IVerseBlock,
|
_original: &IVerseBlock,
|
||||||
) -> Result<RenderVerseBlock, CustomError> {
|
) -> Result<RenderVerseBlock, CustomError> {
|
||||||
Ok(RenderVerseBlock {})
|
Ok(RenderVerseBlock {})
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IAngleLink, AngleLink);
|
inoop!(IAngleLink, AngleLink);
|
||||||
|
@ -18,7 +18,7 @@ use super::plain_link::IPlainLink;
|
|||||||
use super::plain_text::IPlainText;
|
use super::plain_text::IPlainText;
|
||||||
use super::radio_link::IRadioLink;
|
use super::radio_link::IRadioLink;
|
||||||
use super::radio_target::IRadioTarget;
|
use super::radio_target::IRadioTarget;
|
||||||
use super::registry::Registry;
|
|
||||||
use super::regular_link::IRegularLink;
|
use super::regular_link::IRegularLink;
|
||||||
use super::statistics_cookie::IStatisticsCookie;
|
use super::statistics_cookie::IStatisticsCookie;
|
||||||
use super::strike_through::IStrikeThrough;
|
use super::strike_through::IStrikeThrough;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IBabelCall, BabelCall);
|
inoop!(IBabelCall, BabelCall);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IBold, Bold);
|
inoop!(IBold, Bold);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(ICenterBlock, CenterBlock);
|
inoop!(ICenterBlock, CenterBlock);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(ICitation, Citation);
|
inoop!(ICitation, Citation);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(ICitationReference, CitationReference);
|
inoop!(ICitationReference, CitationReference);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IClock, Clock);
|
inoop!(IClock, Clock);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(ICode, Code);
|
inoop!(ICode, Code);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IComment, Comment);
|
inoop!(IComment, Comment);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(ICommentBlock, CommentBlock);
|
inoop!(ICommentBlock, CommentBlock);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IDiarySexp, DiarySexp);
|
inoop!(IDiarySexp, DiarySexp);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
use super::macros::iitem;
|
use super::macros::iitem;
|
||||||
use super::macros::iselector;
|
use super::macros::iselector;
|
||||||
use super::registry::Registry;
|
|
||||||
use super::IHeading;
|
use super::IHeading;
|
||||||
use super::ISection;
|
use super::ISection;
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IDrawer, Drawer);
|
inoop!(IDrawer, Drawer);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IDynamicBlock, DynamicBlock);
|
inoop!(IDynamicBlock, DynamicBlock);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
use super::comment::IComment;
|
use super::comment::IComment;
|
||||||
use super::keyword::IKeyword;
|
use super::keyword::IKeyword;
|
||||||
use super::macros::iselector;
|
use super::macros::iselector;
|
||||||
use super::registry::Registry;
|
|
||||||
use super::IBabelCall;
|
use super::IBabelCall;
|
||||||
use super::ICenterBlock;
|
use super::ICenterBlock;
|
||||||
use super::IClock;
|
use super::IClock;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::intermediate;
|
use super::macros::intermediate;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
@ -7,7 +7,7 @@ pub(crate) struct IEntity {
|
|||||||
pub(crate) html: String,
|
pub(crate) html: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
intermediate!(IEntity, Entity, original, registry, {
|
intermediate!(IEntity, Entity, original, _registry, {
|
||||||
Ok(IEntity {
|
Ok(IEntity {
|
||||||
html: original.html.to_owned(),
|
html: original.html.to_owned(),
|
||||||
})
|
})
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IExampleBlock, ExampleBlock);
|
inoop!(IExampleBlock, ExampleBlock);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IExportBlock, ExportBlock);
|
inoop!(IExportBlock, ExportBlock);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IExportSnippet, ExportSnippet);
|
inoop!(IExportSnippet, ExportSnippet);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IFixedWidthArea, FixedWidthArea);
|
inoop!(IFixedWidthArea, FixedWidthArea);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
use super::macros::intermediate;
|
use super::macros::intermediate;
|
||||||
use super::registry::register_footnote_definition;
|
use super::registry::register_footnote_definition;
|
||||||
use super::registry::Registry;
|
|
||||||
use super::IAstNode;
|
use super::IAstNode;
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
use crate::intermediate::RefRegistry;
|
use crate::intermediate::RefRegistry;
|
||||||
@ -27,7 +27,7 @@ pub(crate) struct IRealFootnoteDefinition {
|
|||||||
|
|
||||||
impl IRealFootnoteDefinition {
|
impl IRealFootnoteDefinition {
|
||||||
pub(crate) async fn new<'orig, 'parse>(
|
pub(crate) async fn new<'orig, 'parse>(
|
||||||
registry: RefRegistry<'orig, 'parse>,
|
_registry: RefRegistry<'orig, 'parse>,
|
||||||
footnote_id: usize,
|
footnote_id: usize,
|
||||||
contents: Vec<IAstNode>,
|
contents: Vec<IAstNode>,
|
||||||
) -> Result<IRealFootnoteDefinition, CustomError> {
|
) -> Result<IRealFootnoteDefinition, CustomError> {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
use super::macros::intermediate;
|
use super::macros::intermediate;
|
||||||
use super::registry::get_footnote_reference_id;
|
use super::registry::get_footnote_reference_id;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::intermediate;
|
use super::macros::intermediate;
|
||||||
use super::registry::Registry;
|
|
||||||
use super::IDocumentElement;
|
use super::IDocumentElement;
|
||||||
use super::IObject;
|
use super::IObject;
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IHorizontalRule, HorizontalRule);
|
inoop!(IHorizontalRule, HorizontalRule);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IInlineBabelCall, InlineBabelCall);
|
inoop!(IInlineBabelCall, InlineBabelCall);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::intermediate;
|
use super::macros::intermediate;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
@ -7,7 +7,7 @@ pub(crate) struct IInlineSourceBlock {
|
|||||||
pub(crate) value: String,
|
pub(crate) value: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
intermediate!(IInlineSourceBlock, InlineSourceBlock, original, registry, {
|
intermediate!(IInlineSourceBlock, InlineSourceBlock, original, _registry, {
|
||||||
Ok(IInlineSourceBlock {
|
Ok(IInlineSourceBlock {
|
||||||
value: original.value.to_owned(),
|
value: original.value.to_owned(),
|
||||||
})
|
})
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IItalic, Italic);
|
inoop!(IItalic, Italic);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IKeyword, Keyword);
|
inoop!(IKeyword, Keyword);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(ILatexEnvironment, LatexEnvironment);
|
inoop!(ILatexEnvironment, LatexEnvironment);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(ILatexFragment, LatexFragment);
|
inoop!(ILatexFragment, LatexFragment);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(ILineBreak, LineBreak);
|
inoop!(ILineBreak, LineBreak);
|
||||||
|
@ -8,8 +8,8 @@ macro_rules! inoop {
|
|||||||
|
|
||||||
impl $istruct {
|
impl $istruct {
|
||||||
pub(crate) async fn new<'reg, 'orig, 'parse>(
|
pub(crate) async fn new<'reg, 'orig, 'parse>(
|
||||||
registry: crate::intermediate::RefRegistry<'orig, 'parse>,
|
_registry: crate::intermediate::RefRegistry<'orig, 'parse>,
|
||||||
original: &'orig organic::types::$pstruct<'parse>,
|
_original: &'orig organic::types::$pstruct<'parse>,
|
||||||
) -> Result<$istruct, CustomError> {
|
) -> Result<$istruct, CustomError> {
|
||||||
Ok($istruct {})
|
Ok($istruct {})
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@ use super::plain_link::IPlainLink;
|
|||||||
use super::plain_text::IPlainText;
|
use super::plain_text::IPlainText;
|
||||||
use super::radio_link::IRadioLink;
|
use super::radio_link::IRadioLink;
|
||||||
use super::radio_target::IRadioTarget;
|
use super::radio_target::IRadioTarget;
|
||||||
use super::registry::Registry;
|
|
||||||
use super::regular_link::IRegularLink;
|
use super::regular_link::IRegularLink;
|
||||||
use super::statistics_cookie::IStatisticsCookie;
|
use super::statistics_cookie::IStatisticsCookie;
|
||||||
use super::strike_through::IStrikeThrough;
|
use super::strike_through::IStrikeThrough;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IOrgMacro, OrgMacro);
|
inoop!(IOrgMacro, OrgMacro);
|
||||||
|
@ -3,7 +3,7 @@ use std::path::PathBuf;
|
|||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
use super::footnote_definition::IRealFootnoteDefinition;
|
use super::footnote_definition::IRealFootnoteDefinition;
|
||||||
use super::registry::Registry;
|
|
||||||
use super::IDocumentElement;
|
use super::IDocumentElement;
|
||||||
use super::IHeading;
|
use super::IHeading;
|
||||||
use super::ISection;
|
use super::ISection;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::intermediate;
|
use super::macros::intermediate;
|
||||||
use super::registry::Registry;
|
|
||||||
use super::IObject;
|
use super::IObject;
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IPlainLink, PlainLink);
|
inoop!(IPlainLink, PlainLink);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::intermediate;
|
use super::macros::intermediate;
|
||||||
use super::registry::Registry;
|
|
||||||
use super::IPlainListItem;
|
use super::IPlainListItem;
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::intermediate;
|
use super::macros::intermediate;
|
||||||
use super::registry::Registry;
|
|
||||||
use super::IElement;
|
use super::IElement;
|
||||||
use super::IObject;
|
use super::IObject;
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::intermediate;
|
use super::macros::intermediate;
|
||||||
use super::registry::Registry;
|
|
||||||
use super::util::coalesce_whitespace;
|
use super::util::coalesce_whitespace;
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ pub(crate) struct IPlainText {
|
|||||||
pub(crate) source: String,
|
pub(crate) source: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
intermediate!(IPlainText, PlainText, original, registry, {
|
intermediate!(IPlainText, PlainText, original, _registry, {
|
||||||
Ok(IPlainText {
|
Ok(IPlainText {
|
||||||
source: coalesce_whitespace(original.source).into_owned(),
|
source: coalesce_whitespace(original.source).into_owned(),
|
||||||
})
|
})
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IPlanning, Planning);
|
inoop!(IPlanning, Planning);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IPropertyDrawer, PropertyDrawer);
|
inoop!(IPropertyDrawer, PropertyDrawer);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::intermediate;
|
use super::macros::intermediate;
|
||||||
use super::registry::Registry;
|
|
||||||
use super::IElement;
|
use super::IElement;
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IRadioLink, RadioLink);
|
inoop!(IRadioLink, RadioLink);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IRadioTarget, RadioTarget);
|
inoop!(IRadioTarget, RadioTarget);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::intermediate;
|
use super::macros::intermediate;
|
||||||
use super::registry::Registry;
|
|
||||||
use super::IObject;
|
use super::IObject;
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::intermediate;
|
use super::macros::intermediate;
|
||||||
use super::registry::Registry;
|
|
||||||
use super::IElement;
|
use super::IElement;
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(ISpecialBlock, SpecialBlock);
|
inoop!(ISpecialBlock, SpecialBlock);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::intermediate;
|
use super::macros::intermediate;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
@ -7,7 +7,7 @@ pub(crate) struct ISrcBlock {
|
|||||||
pub(crate) lines: Vec<String>,
|
pub(crate) lines: Vec<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
intermediate!(ISrcBlock, SrcBlock, original, registry, {
|
intermediate!(ISrcBlock, SrcBlock, original, _registry, {
|
||||||
let lines = original
|
let lines = original
|
||||||
.contents
|
.contents
|
||||||
.split_inclusive('\n')
|
.split_inclusive('\n')
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IStatisticsCookie, StatisticsCookie);
|
inoop!(IStatisticsCookie, StatisticsCookie);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(IStrikeThrough, StrikeThrough);
|
inoop!(IStrikeThrough, StrikeThrough);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::macros::inoop;
|
use super::macros::inoop;
|
||||||
use super::registry::Registry;
|
|
||||||
use crate::error::CustomError;
|
use crate::error::CustomError;
|
||||||
|
|
||||||
inoop!(ISubscript, Subscript);
|
inoop!(ISubscript, Subscript);
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user