class documentation

class Token:

View In Hierarchy

Better token wrapper for tokenize module.
Method __eq__ Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method match Undocumented
Instance Variable end Undocumented
Instance Variable kind Undocumented
Instance Variable source Undocumented
Instance Variable start Undocumented
Instance Variable value Undocumented
def __eq__(self, other):

Undocumented

Parameters
other:AnyUndocumented
Returns
boolUndocumented
def __init__(self, kind, value, start, end, source):

Undocumented

Parameters
kind:intUndocumented
value:AnyUndocumented
start:Tuple[int, int]Undocumented
end:Tuple[int, int]Undocumented
source:strUndocumented
def __repr__(self):

Undocumented

Returns
strUndocumented
def match(self, *conditions):

Undocumented

Parameters
*conditions:AnyUndocumented
Returns
boolUndocumented
end =

Undocumented

kind =

Undocumented

source =

Undocumented

start =

Undocumented

value =

Undocumented