natter/src/intermediate/keyword.rs

17 lines
503 B
Rust
Raw Normal View History

2023-10-27 16:09:44 -04:00
use crate::error::CustomError;
use super::registry::Registry;
/// Essentially a no-op since the keyword is not rendered and any relevant impact on other elements is pulled from the parsed form of keyword.
#[derive(Debug)]
pub(crate) struct IKeyword {}
impl IKeyword {
2023-10-29 12:15:07 -04:00
pub(crate) async fn new<'intermediate, 'parse>(
registry: &mut Registry<'intermediate, 'parse>,
2023-10-27 16:09:44 -04:00
keyword: &organic::types::Keyword<'parse>,
) -> Result<IKeyword, CustomError> {
Ok(IKeyword {})
}
}