(tlist)
| 428 | |
| 429 | |
| 430 | def group_values(tlist): |
| 431 | tidx, token = tlist.token_next_by(m=(T.Keyword, 'VALUES')) |
| 432 | start_idx = tidx |
| 433 | end_idx = -1 |
| 434 | while token: |
| 435 | if isinstance(token, sql.Parenthesis): |
| 436 | end_idx = tidx |
| 437 | tidx, token = tlist.token_next(tidx) |
| 438 | if end_idx != -1: |
| 439 | tlist.group_tokens(sql.Values, start_idx, end_idx, extend=True) |
| 440 | |
| 441 | |
| 442 | def group(stmt): |
nothing calls this directly
no test coverage detected
searching dependent graphs…