natter/src/intermediate/keyword.rs

17 lines
483 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 14:14:10 -04:00
pub(crate) async fn new<'b, 'parse>(
registry: &'b mut Registry<'parse>,
keyword: &'b organic::types::Keyword<'parse>,
2023-10-27 16:09:44 -04:00
) -> Result<IKeyword, CustomError> {
Ok(IKeyword {})
}
}