NAME ^

src/pmc/smop_attribute.pmc - SMOP Attribute

DESCRIPTION ^

This class, SMOP_Attribute, implements the attribute class of the simple meta object protocol.

Methods ^

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