'Return a list of parameters.'

def get_parameters(self):

    parenthesis = self.tokens[(-1)]
    for token in parenthesis.tokens:
        if isinstance(token, IdentifierList):
            return token.get_identifiers()
        elif imt(token, i=(Function, Identifier), t=T.Literal):
            return [token]
    return []
