Skip to content

Commit

Permalink
Write introduction for metaclass methods #2673
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Oct 16, 2021
1 parent e26d92d commit 658c9cb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/Language/mop.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,16 @@ The presence of a C<Scalar> object indicates that the object is "itemized".
Please refer to the L<section on item
context|/language/contexts#Item_context> for more information.
=head1 Metaclass methods
Same as you can define object and class methods (which do not have access to
the instance variables), you can define metaclass methods, which will work on
the metaclass. These are conventionally defined by a caret (C<^>) at the
front of the method identifier. These metaclass methods will return a type
object.
=head1 Structure of the metaobject system
B<Note:> this documentation largely reflects the metaobject system as
Expand Down

0 comments on commit 658c9cb

Please sign in to comment.