src/pmc/enumerate.pmc

NAME

src/pmc/enumerate.pmc - enumerate PMC

DESCRIPTION

This is an Iterator which returns [idx, item] tuples.

Methods

PMC *shift_pmc()

Returns [idx, element] for the current idx/key and sets the idx/key to the next one.


parrot