NAME ^

src/pmc/smop_class.pmc - SMOP Class

DESCRIPTION ^

This class, smop_class, implements the class class of the simple meta object protocol.

Functions ^

void init()

Initializes the class flags.

void init_pmc(PMC *init)

The actual class creation code, called from newclass opcode. The init argument is not a PMC* but the classname STRING.

void destroy()

Free the class's attribute array, if any. Also used by ParrotObjects.

void name(PMC *name)

 name attribute accessor
void class(PMC *class)

 class attribute accessor
void type(PMC *type)

 type attribute accessor

SEE ALSO ^

docs/pdds/pdd15_objects.pod.

HISTORY ^

Initial version - Kevin Tew 2007-02-12


parrot