class documentation

class DebugLexer(Lexer):

View In Hierarchy

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
def _tag_re_split(self):

Undocumented

def _tag_re_split_positions(self):

Undocumented

def tokenize(self):
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.