def METHOD_NAME(cls, ast_declaration):
    """
    For a given meta_model declaration it returns a list of all corresponding variable symbols.
    :param ast_declaration: a single meta_model declaration.
    :type ast_declaration: ASTDeclaration
    :return: a list of all corresponding variable symbols.
    :rtype: list(VariableSymbol)
    """
    assert isinstance(ast_declaration, ASTDeclaration), \
        '(PyNestML.CodeGeneration.DeclarationsHelper) No or wrong type of declaration provided (%s)!' % type(
            ast_declaration)
    ret = list()
    for var in ast_declaration.METHOD_NAME():
        symbol = ast_declaration.get_scope().resolve_to_symbol(var.get_complete_name(), SymbolKind.VARIABLE)
        if symbol is not None:
            ret.append(symbol)
        else:
            code, message = Messages.get_could_not_resolve(var.get_complete_name())
            Logger.log_message(code=code, message=message,
                               error_position=ast_declaration.get_source_position(), log_level=LoggingLevel.ERROR)
        return ret