class DebugLexer(Lexer):
Undocumented
Method | _tag_re_split |
Undocumented |
Method | _tag_re_split_positions |
Undocumented |
Method | tokenize |
Split a template string into tokens and annotates each token with its start and end position in the source. This is slower than the default lexer so only use it when debug is True. |
Inherited from Lexer
:
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | create_token |
Convert the given token string into a new Token object and return it. If in_tag is True, we are processing something that matched a tag, otherwise it should be treated as a literal string. |
Instance Variable | template_string |
Undocumented |
Instance Variable | verbatim |
Undocumented |
django.template.base.Lexer.tokenize