Trait twig::nodes::TokenParserExtension [] [src]

pub trait TokenParserExtension {
    fn get_tag(&self) -> &'static str;
    fn parse<'p, 'c>(&self, parser: &mut Parser<'p, 'c>, token: TokenRef<'c>) -> TemplateResult<Option<Body<'c>>>;
}

Required Methods

fn get_tag(&self) -> &'static str

fn parse<'p, 'c>(&self, parser: &mut Parser<'p, 'c>, token: TokenRef<'c>) -> TemplateResult<Option<Body<'c>>>

Implementors