NAME ^

classes/pygen.pmc - Python Generator

DESCRIPTION ^

These are the vtable functions for the Python Generator class

Methods ^

void class_init()

Class initialization.

void init()

Initializes the key.

void mark()

Marks the hash as live.

INTVAL get_bool()

Returns true if there are more elements to return

PMC *get_iter ()

Return a new iterator for generator.

void setprop(STRING *key, PMC *value)

Sets the property for *key to *value.

void set_pmc(PMC *value)

Sets the value of the NEXT function.

PMC *shift_pmc()

Returns the next yielded element.


parrot