Struct twig::nodes::TokenParser [] [src]

pub struct TokenParser {
    pub tag: &'static str,
    pub extension: Box<TokenParserExtension>,
}

Fields

tag
extension

Methods

impl TokenParser

fn new<E: 'static>(parser_extension: E) -> TokenParser where E: TokenParserExtension

Trait Implementations

impl Debug for TokenParser

fn fmt(&self, f: &mut Formatter) -> Result