Returns a description of the token.
(token)
| 169 | |
| 170 | |
| 171 | def describe_token(token): |
| 172 | """Returns a description of the token.""" |
| 173 | if token.type == 'name': |
| 174 | return token.value |
| 175 | return _describe_token_type(token.type) |
| 176 | |
| 177 | |
| 178 | def describe_token_expr(expr): |
no test coverage detected
searching dependent graphs…