MCPcopy
hub / github.com/andialbrecht/sqlparse / group_over

Function group_over

sqlparse/engine/grouping.py:263–269  ·  view source on GitHub ↗
(tlist)

Source from the content-addressed store, hash-verified

261
262@recurse(sql.Over)
263def group_over(tlist):
264 tidx, token = tlist.token_next_by(m=sql.Over.M_OPEN)
265 while token:
266 nidx, next_ = tlist.token_next(tidx)
267 if imt(next_, i=sql.Parenthesis, t=T.Name):
268 tlist.group_tokens(sql.Over, tidx, nidx)
269 tidx, token = tlist.token_next_by(m=sql.Over.M_OPEN, idx=tidx)
270
271
272def group_arrays(tlist):

Callers

nothing calls this directly

Calls 4

imtFunction · 0.90
token_next_byMethod · 0.80
token_nextMethod · 0.80
group_tokensMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…