Struct twig::tokens::Lexer [] [src]

pub struct Lexer { /* fields omitted */ }

Parses template file and converts it to a stream of tokens.

Methods

impl Lexer
[src]

Creates a new lexer with specified options and operator list.

Initialize default lexer with default options.

Convert provided template into a token stream.