'A'.output
end
- meth foo
+ fun foo
do
'a'.output
'\n'.output
end
class B
-special A
+ super A
#alt1# init cb
#alt1# do
#alt1# 'B'.output
#alt3# '}'.output
#alt3# end
- redef meth foo
+ redef fun foo
do
'b'.output
super
end
class C
-special A
+ super A
#alt2# init cc
#alt2# do
#alt2# 'C'.output
#alt3# '}'.output
#alt3# end
- redef meth foo
+ redef fun foo
do
'c'.output
super
end
class M
-special C
- redef meth foo
+ super C
+ redef fun foo
do
'm'.output
super
end
class N
-special B
-special M
- redef meth foo
+ super B
+ super M
+ redef fun foo
do
'n'.output
super