class documentation

Undocumented

Method __str__ Undocumented
Method test Test a token against a token expression. This can either be a token type or ``'token_type:token_value'``. This can only test against string values and types.
Method test_any Test against multiple token expressions.
Class Variable lineno Undocumented
Class Variable type Undocumented
Class Variable value Undocumented
def __str__(self): (source)

Undocumented

Returns
strUndocumented
def test(self, expr): (source)

Test a token against a token expression. This can either be a token type or ``'token_type:token_value'``. This can only test against string values and types.

Parameters
expr:strUndocumented
Returns
boolUndocumented
def test_any(self, *iterable): (source)

Test against multiple token expressions.

Parameters
*iterable:strUndocumented
Returns
boolUndocumented
lineno: int = (source)

Undocumented

type: str = (source)

Undocumented

value: str = (source)

Undocumented