jinja2.environment.get_lexer

jinja2.environment.get_lexer(environment)[source]

Return a lexer which is probably cached.