class documentation

Undocumented

Method __init__ A token representing a string from the template.
Method __repr__ Undocumented
Method split_contents Undocumented
Instance Variable contents Undocumented
Instance Variable lineno Undocumented
Instance Variable position Undocumented
Instance Variable token_type Undocumented
def __init__(self, token_type, contents, position=None, lineno=None): (source)

A token representing a string from the template. token_type A TokenType, either .TEXT, .VAR, .BLOCK, or .COMMENT. contents The token source string. position An optional tuple containing the start and end index of the token in the template source. This is used for traceback information when debug is on. lineno The line number the token appears on in the template source. This is used for traceback information and gettext files.

def __repr__(self): (source)

Undocumented

def split_contents(self): (source)

Undocumented

contents = (source)

Undocumented

Undocumented

position = (source)

Undocumented

token_type = (source)

Undocumented