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

Method token_matching

sqlparse/sql.py:273–274  ·  view source on GitHub ↗
(self, funcs, idx)

Source from the content-addressed store, hash-verified

271 return self._token_matching(funcs, idx)
272
273 def token_matching(self, funcs, idx):
274 return self._token_matching(funcs, idx)[1]
275
276 def token_prev(self, idx, skip_ws=True, skip_cm=False):
277 """Returns the previous token relative to *idx*.

Callers 1

Calls 1

_token_matchingMethod · 0.95

Tested by 1