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

def get_identifiers(self):

    for token in self.tokens:
        if (not (token.is_whitespace() or token.match(T.Punctuation, ','))):
            (yield token)
