class Token(t.NamedTuple):
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 |
Method | __str__ |
Undocumented |
Parameters | |
expr:str | Undocumented |
Returns | |
bool | Undocumented |