use crate::context::ITemplateContext;
use crate::exceptions::TemplateEngineException;
use crate::model::IComment;
use crate::processor::IProcessor;
use super::ICommentStructureHandler;
pub trait ICommentProcessor: IProcessor {
fn process(
&self,
context: &dyn ITemplateContext,
comment: &dyn IComment,
structure_handler: &mut dyn ICommentStructureHandler,
) -> Result<(), Box<dyn TemplateEngineException>>;
}