Permalink
Browse files

Stub in meta-objects (just empty bodies for now); couple of tweaks to…

… the meta-object API doc.
  • Loading branch information...
1 parent bab8369 commit 7a6e52693cf0d53f194179b3c3ee1819d1d9ffbc @jnthn jnthn committed Feb 8, 2011
View
8 docs/metaobject-api.pod
@@ -48,15 +48,15 @@ This role provides storage of roles, role addition and role introspection.
The composition process is not part of the functionality provided by this
role, however.
-=head3 MultiInheritance
+=head3 MultipleInheritance
Provides for addition of multiple parents, and introspection of them too.
=head3 C3MRO
This role provides an implementation of the C3 method resolution order.
-=head3 Versionable
+=head3 Versioning
This role provides storage and introspection of a version and authority.
@@ -86,6 +86,10 @@ Provides an implementation of a concrete instance of a role.
Provides an implementation of grammars. Actually, just a subclass of the
ClassHOW since grammars are really just slightly specialized classes.
+=head3 NativeHOW
+
+Meta-object for a native type (only accesible via the type object, perhaps).
+
=head3 SubsetHOW
Provides an implementation of subset types.
View
2 src/Perl6/Metamodel/AttributeContainer.pm
@@ -0,0 +1,2 @@
+role Perl6::Metamodel::AttributeContainer {
+}
View
2 src/Perl6/Metamodel/C3MRO.pm
@@ -0,0 +1,2 @@
+role Perl6::Metamodel::C3MRO {
+}
View
10 src/Perl6/Metamodel/ClassHOW.pm
@@ -0,0 +1,10 @@
+class Perl6::Metamodel::ClassHOW
+ does Perl6::Metamodel::Versioning
+ does Perl6::Metamodel::MethodContainer
+ does Perl6::Metamodel::MultiMethodContainer
+ does Perl6::Metamodel::AttributeContainer
+ does Perl6::Metamodel::RoleContainer
+ does Perl6::Metamodel::MultipleInheritance
+ does Perl6::Metamodel::C3MRO
+{
+}
View
9 src/Perl6/Metamodel/ConcreteRoleHOW.pm
@@ -0,0 +1,9 @@
+class Perl6::Metamodel::ConcreteRoleHOW
+ does Perl6::Metamodel::Versioning
+ does Perl6::Metamodel::MethodContainer
+ does Perl6::Metamodel::MultiMethodContainer
+ does Perl6::Metamodel::AttributeContainer
+ does Perl6::Metamodel::RoleContainer
+ does Perl6::Metamodel::MultipleInheritance
+{
+}
View
2 src/Perl6/Metamodel/GrammarHOW.pm
@@ -0,0 +1,2 @@
+class Perl6::Metamodel::GrammarHOW is Perl6::Metamodel::ClassHOW {
+}
View
2 src/Perl6/Metamodel/MethodContainer.pm
@@ -0,0 +1,2 @@
+role Perl6::Metamodel::MethodContainer {
+}
View
3 src/Perl6/Metamodel/ModuleHOW.pm
@@ -0,0 +1,3 @@
+class Perl6::Metamodel::ModuleHOW does Perl6::Metamodel::Versioning {
+
+}
View
2 src/Perl6/Metamodel/MultiMethodContainer.pm
@@ -0,0 +1,2 @@
+role Perl6::Metamodel::MultiMethodContainer {
+}
View
2 src/Perl6/Metamodel/MultipleInheritance.pm
@@ -0,0 +1,2 @@
+role Perl6::Metamodel::MultipleInheritance {
+}
View
2 src/Perl6/Metamodel/NativeHOW.pm
@@ -0,0 +1,2 @@
+class Perl6::Metamodel::NativeHOW {
+}
View
9 src/Perl6/Metamodel/ParametricRoleHOW.pm
@@ -0,0 +1,9 @@
+class Perl6::Metamodel::ParametricRoleHOW
+ does Perl6::Metamodel::Versioning
+ does Perl6::Metamodel::MethodContainer
+ does Perl6::Metamodel::MultiMethodContainer
+ does Perl6::Metamodel::AttributeContainer
+ does Perl6::Metamodel::RoleContainer
+ does Perl6::Metamodel::MultipleInheritance
+{
+}
View
2 src/Perl6/Metamodel/RoleContainer.pm
@@ -0,0 +1,2 @@
+role Perl6::Metamodel::RoleContainer {
+}
View
2 src/Perl6/Metamodel/SubsetHOW.pm
@@ -0,0 +1,2 @@
+class Perl6::Metamodel::SubsetHOW {
+}
View
2 src/Perl6/Metamodel/Versioning.pm
@@ -0,0 +1,2 @@
+role Perl6::Metamodel::Versioning {
+}

0 comments on commit 7a6e526

Please sign in to comment.