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

Method matcher

sqlparse/sql.py:259–261  ·  view source on GitHub ↗
(tk)

Source from the content-addressed store, hash-verified

257 """
258 # this on is inconsistent, using Comment instead of T.Comment...
259 def matcher(tk):
260 return not ((skip_ws and tk.is_whitespace)
261 or (skip_cm and imt(tk, t=T.Comment, i=Comment)))
262 return self._token_matching(matcher)[1]
263
264 def token_next_by(self, i=None, m=None, t=None, idx=-1, end=None):

Callers

nothing calls this directly

Calls 1

imtFunction · 0.90

Tested by

no test coverage detected