use crate::{Attributes, Item, TemplateContext};
pub trait TagLogic {
fn is_valid_name(&mut self, name: &str) -> bool {
self.names().contains(&name)
}
fn names(&self) -> &[&str] {
&[]
}
#[allow(unused)]
fn run(
&self,
name: &str,
attributes: &Attributes,
items: &[Item],
template_context: &mut TemplateContext,
) {
}
}