(tlist)
| 98 | |
| 99 | |
| 100 | def group_typecasts(tlist): |
| 101 | def match(token): |
| 102 | return token.match(T.Punctuation, '::') |
| 103 | |
| 104 | def valid(token): |
| 105 | return token is not None |
| 106 | |
| 107 | def post(tlist, pidx, tidx, nidx): |
| 108 | return pidx, nidx |
| 109 | |
| 110 | valid_prev = valid_next = valid |
| 111 | _group(tlist, sql.Identifier, match, valid_prev, valid_next, post) |
| 112 | |
| 113 | |
| 114 | def group_tzcasts(tlist): |
nothing calls this directly
no test coverage detected
searching dependent graphs…