MCPcopy
hub / github.com/pallets/jinja / lexer.py

File lexer.py

src/jinja2/lexer.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Implements a Jinja / Python combination lexer. The ``Lexer`` class
2is used to do some preprocessing. It filters out invalid operators like
3the bitshift operators we don't allow in templates. It separates
4template code and python code in expressions.

Callers

nothing calls this directly

Calls 3

LRUCacheClass · 0.85
compileMethod · 0.80
itemsMethod · 0.80

Tested by

no test coverage detected