Returns the identifiers. Whitespaces and punctuations are not included in this generator.
(self)
| 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 | |
| 487 | class TypedLiteral(TokenList): |