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

Method token_next_by

sqlparse/sql.py:264–266  ·  view source on GitHub ↗
(self, i=None, m=None, t=None, idx=-1, end=None)

Source from the content-addressed store, hash-verified

262 return self._token_matching(matcher)[1]
263
264 def token_next_by(self, i=None, m=None, t=None, idx=-1, end=None):
265 idx += 1
266 return self._token_matching(lambda tk: imt(tk, i, m, t), idx, end)
267
268 def token_not_matching(self, funcs, idx):
269 funcs = (funcs,) if not isinstance(funcs, (list, tuple)) else funcs

Callers 15

get_parent_nameMethod · 0.95
get_real_nameMethod · 0.80
get_aliasMethod · 0.80
is_wildcardMethod · 0.80
get_typecastMethod · 0.80
get_orderingMethod · 0.80
get_parametersMethod · 0.80
get_windowMethod · 0.80
postFunction · 0.80
group_identifierFunction · 0.80

Calls 2

_token_matchingMethod · 0.95
imtFunction · 0.90

Tested by 1