src & doc: change all remaining occurences of "special" by "super" keyword
authorAlexandre Terrasa <alexandre@moz-concept.com>
Thu, 14 Apr 2011 20:45:12 +0000 (16:45 -0400)
committerJean Privat <jean@pryen.org>
Fri, 15 Apr 2011 13:18:48 +0000 (09:18 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-concept.com>
Signed-off-by: Jean Privat <jean@pryen.org>

doc/developpez/poo/listings/type3_s.nit
doc/developpez/poo/listings/type6_s.nit
src/metamodel/static_type.nit

index 607eb81..9ace3cd 100644 (file)
@@ -1,3 +1,3 @@
-class XMLDocument special Graph end
+class XMLDocument super Graph end
 
-class XMLNode special Node end
+class XMLNode super Node end
index 69fec03..25acb5d 100644 (file)
@@ -12,12 +12,12 @@ end
 class Node end
 
 class XMLDocument 
-       special Graph 
+       super Graph 
 
        redef type NODE: XMLNode
 end
 
-class XMLNode special Node end
+class XMLNode super Node end
 
 var doc = new XMLDocument
 
index fc1f684..c44efb9 100644 (file)
@@ -336,9 +336,9 @@ abstract class MMType
        # 'c' Must be a super-class of self
        # Example:
        #   class A[E]
-       #   class B[F] special A[F]
-       #   class C[G] special B[String]
-       #   class D special C[Float]
+       #   class B[F] super A[F]
+       #   class C[G] super B[String]
+       #   class D super C[Float]
        # 'A[Int]'.upcast_for('A') -> 'A[Int]'
        # 'A[Int]'.upcast_for('B') -> abort
        # 'B[Int]'.upcast_for('B') -> 'B[Int]'