Difference between revisions of "Replication"

Line 13: Line 13:
 
       end
 
       end
 
end
 
end
<\code>
+
</code>
 
<code>[eiffel, N]
 
<code>[eiffel, N]
 
class
 
class
Line 24: Line 24:
 
feature
 
feature
 
end     
 
end     
<\code>
+
</code>

Revision as of 09:06, 25 August 2006


Work in progress!

class
   B
feature
   f: INTEGER
   g 
      do 
         f := f + 1 
      end
end
class
   D
inherit {NONE}
   B
      rename f as f_1, g as g_1 end
   B
      rename f as f_2, g as g_2 end
feature
end