class documentation

class DebugLexer(Lexer): (source)

View In Hierarchy

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.
Method _tag_re_split Undocumented
Method _tag_re_split_positions Undocumented

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

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.

def _tag_re_split(self): (source)

Undocumented

def _tag_re_split_positions(self): (source)

Undocumented