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

Method get_identifiers

sqlparse/sql.py:477–484  ·  view source on GitHub ↗

Returns the identifiers. Whitespaces and punctuations are not included in this generator.

(self)

Source from the content-addressed store, hash-verified

475 """A list of :class:`~sqlparse.sql.Identifier`\'s."""
476
477 def get_identifiers(self):
478 """Returns the identifiers.
479
480 Whitespaces and punctuations are not included in this generator.
481 """
482 for token in self.tokens:
483 if not (token.is_whitespace or token.match(T.Punctuation, ',')):
484 yield token
485
486
487class TypedLiteral(TokenList):

Callers 7

test_sqlite_identifiersFunction · 0.80
get_parametersMethod · 0.80

Calls 1

matchMethod · 0.80

Tested by 3

test_sqlite_identifiersFunction · 0.64