jinja2.lexer.get_lexer

jinja2.lexer.get_lexer(environment)[source]

Return a lexer which is probably cached.