DynBindModelExamples: Difference between revisions
Jump to navigation
Jump to search
m →F |
m →F |
||
| Line 53: | Line 53: | ||
*<math>\eta = | *<math>\eta = | ||
\left\{ | \left\{ | ||
C_2 \mapsto \left\{ | |||
C_1 \mapsto \left\{ f_1 \mapsto f_2, g_1 \mapsto g_2 \right\} | |||
\right\}, | \right\}, | ||
C3 \mapsto \left\{ | |||
C2 \mapsto \left\{ f1 \mapsto f3, f \mapsto f3 \right\} | |||
\right\} | \right\} | ||
\right\} | \right\} | ||
Revision as of 18:43, 6 October 2006
This page shows
F
class C1 feature f1 do ... end g1 do ... end end |
class C2 inherit B rename f1 as f2, g1 as g2 redefine f2, g2 end feature f2 do ... end g2 do ... end end |
class C3 inherit C2 select f1 end C1 rename f1 as f3, g as g3 redefine f3, g3 select g3 end feature f3 do ... end g3 do ... end end |
We get: