use crate::{args::FuncArgs, Token}; #[derive(Debug, Clone)] pub(crate) struct Mixin { pub args: FuncArgs, pub body: Vec, pub accepts_content_block: bool, pub declared_at_root: bool, } impl Mixin { pub fn new( args: FuncArgs, body: Vec, accepts_content_block: bool, declared_at_root: bool, ) -> Self { Mixin { args, body, accepts_content_block, declared_at_root, } } } #[derive(Debug, Clone)] pub(crate) struct Content { pub content: Option>, pub content_args: Option, }