note description: "Action sequence for node actions." legal: "See notice at end of class." status: "See notice at end of class." date: "$Date$" revision: "$Revision$" class EG_NODE_ACTION [NODE_TYPE -> EG_NODE] inherit EV_ACTION_SEQUENCE [TUPLE [NODE_TYPE]] create default_create create {EG_NODE_ACTION} make_filled feature -- Access force_extend (action: PROCEDURE) -- Extend without type checking. do extend (agent wrapper (?, action)) end wrapper (a_node: NODE_TYPE; action: PROCEDURE) -- Use this to circumvent tuple type checking. (at your own risk!) -- Calls `action' passing all other arguments. do action.call ([a_node]) end new_filled_list (n: INTEGER): like Current -- New list with `n' elements. do create Result.make_filled (n) end note copyright: "Copyright (c) 1984-2011, 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 EG_NODE_ACTION