parrotcode: Perl 6 Object class | |
Contents | Language Implementations | Perl6 |
Object - Perl 6 Object class
This file sets up the base classes and methods for Perl 6's object system. Differences (and conflicts) between Parrot's object model and the Perl 6 model means we have to do a little name and method trickery here and there, and this file takes care of much of that.
class
,
using name
as the Perl 6 name for the class.
The class
argument can be a Parrot Class object,
or anything that will obtain a Parrot class via the get_class
opcode.Protoobjects are described in Synopsis 12, these are objects that are "empty" instances that differ in definedness and how they respond to certain methods.
|