[][src]Function bracket::lexer::lex

pub fn lex(s: &str) -> Lexer<'_>

Notable traits for Lexer<'source>

impl<'source> Iterator for Lexer<'source> type Item = Token;

Get a token iterator for the given source template.

The returned iterator will emit tokens of type Token.