Automatic generation produced by ISE Eiffel

Classes Clusters Cluster hierarchy Chart Relations Text Flat Contracts Go to:
note description: "[ Objects representing delayed calls to a function, with some arguments possibly still open. Note: Features are the same as those of ROUTINE, with apply made effective, and the addition of last_result and item. ]" library: "Free implementation of ELKS library" status: "See notice at end of class." legal: "See notice at end of class." date: "$Date: 2015-12-17 05:34:17 -0800 (Thu, 17 Dec 2015) $" revision: "$Revision: 98279 $" class interface FUNCTION [OPEN_ARGS -> detachable TUPLE create default_create end, RESULT_TYPE] create {NONE} set_rout_disp feature -- Access last_result: detachable RESULT_TYPE -- Result of last call, if any call (args: detachable separate OPEN_ARGS) -- Call routine with `args'. item alias "()" (args: detachable separate OPEN_ARGS): RESULT_TYPE -- Result of calling function with `args' as operands. require valid_operands: valid_operands (args) apply -- Call function with operands as last set. feature -- Comparison is_equal (other: like Current): BOOLEAN -- Is associated function the same as the one -- associated with `other'? feature -- Duplication copy (other: like Current) -- Use same function as `other'. feature -- Removal clear_last_result -- Reset content of last_result to its default value. feature -- Extended operations flexible_item (a: detachable separate TUPLE): RESULT_TYPE -- Result of calling function with `a' as arguments. -- Compared to item the type of `a' may be different from `{OPEN_ARGS}'. require valid_operands: valid_operands (a) note copyright: "Copyright (c) 1984-2015, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 5949 Hollister Ave., Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class FUNCTION
Classes Clusters Cluster hierarchy Chart Relations Text Flat Contracts Go to:

-- Generated by ISE Eiffel --
For more details: www.eiffel.com