def METHOD_NAME(self, neuron):
    """
    Collects all kernels in the model.
    :param neuron: a single neuron instance
    :type neuron: ast_neuron
    :return: a list of kernels.
    :rtype: list(str)
    """
    self.kernel_names = list()
    neuron.accept(self)
    return self.kernel_names