NAME ^

src/pmc/metaattribute.pmc - Attribute metadata

DESCRIPTION ^

Implements a single class attribute for the MetaClass.

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 destroy()

Mark any referenced strings and PMCs.

PMC *clone()

Creates a copy of the attribute metadata.

void name(PMC *name)

Name attribute accessor/mutator.

void type(PMC *type)

Type attribute accessor.

SEE ALSO ^

docs/pdds/pdd15_objects.pod.


parrot