/tutorial/backtracking/logigram/exprs/expr_value.e
Specman e | 39 lines | 15 code | 6 blank | 18 comment | 0 complexity | 058ed36cfd716448f032a54a19d30450 MD5 | raw file
1-- See the Copyright notice at the end of this file. 2-- 3class EXPR_VALUE 4 5inherit 6 EXPR 7 8creation {ANY} 9 make 10 11feature {ANY} 12 make (value: INTEGER) is 13 do 14 to_integer := value 15 end 16 17 to_integer: INTEGER 18 19 get_items (collector: ITEM_COLLECTOR) is 20 do 21 end 22 23end -- class EXPR_VALUE 24-- 25-- ------------------------------------------------------------------------------------------------------------------------------ 26-- Copyright notice below. Please read. 27-- 28-- This file is free software, which comes along with SmartEiffel. This software is distributed in the hope that it will be 29-- useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 30-- You can modify it as you want, provided this footer is kept unaltered, and a notification of the changes is added. 31-- You are allowed to redistribute it and sell it, alone or as a part of another product. 32-- 33-- Copyright(C) 1994-2002: INRIA - LORIA (INRIA Lorraine) - ESIAL U.H.P. - University of Nancy 1 - FRANCE 34-- Copyright(C) 2003-2005: INRIA - LORIA (INRIA Lorraine) - I.U.T. Charlemagne - University of Nancy 2 - FRANCE 35-- 36-- Authors: Dominique COLNET, Philippe RIBET, Cyril ADRIAN, Vincent CROIZIER, Frederic MERIZEN 37-- 38-- http://SmartEiffel.loria.fr - SmartEiffel@loria.fr 39-- ------------------------------------------------------------------------------------------------------------------------------