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

Function group_identifier

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

Source from the content-addressed store, hash-verified

251
252@recurse(sql.Identifier)
253def group_identifier(tlist):
254 ttypes = (T.String.Symbol, T.Name)
255
256 tidx, token = tlist.token_next_by(t=ttypes)
257 while token:
258 tlist.group_tokens(sql.Identifier, tidx, tidx)
259 tidx, token = tlist.token_next_by(t=ttypes, idx=tidx)
260
261
262@recurse(sql.Over)

Callers

nothing calls this directly

Calls 2

token_next_byMethod · 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…