2023-10-29 17:29:16 -04:00
|
|
|
use super::macros::intermediate;
|
2023-10-27 17:48:19 -04:00
|
|
|
use super::registry::Registry;
|
2023-10-29 17:29:16 -04:00
|
|
|
use crate::error::CustomError;
|
2023-10-27 17:48:19 -04:00
|
|
|
|
2023-10-29 15:36:15 -04:00
|
|
|
#[derive(Debug, Clone)]
|
2023-10-29 10:44:32 -04:00
|
|
|
pub(crate) struct IInlineSourceBlock {
|
|
|
|
pub(crate) value: String,
|
|
|
|
}
|
2023-10-27 17:48:19 -04:00
|
|
|
|
2023-10-29 17:29:16 -04:00
|
|
|
intermediate!(
|
|
|
|
IInlineSourceBlock,
|
|
|
|
InlineSourceBlock,
|
|
|
|
|registry, original| async {
|
2023-10-29 10:44:32 -04:00
|
|
|
Ok(IInlineSourceBlock {
|
|
|
|
value: original.value.to_owned(),
|
|
|
|
})
|
2023-10-27 17:48:19 -04:00
|
|
|
}
|
2023-10-29 17:29:16 -04:00
|
|
|
);
|