3
Return an iterator that iterates over a Class' attributes.
4
If the Class object has a @!attribute_list property, use
5
that as the order of attributes, otherwise introspect the
6
class and use its list. (As of Parrot 1.4.0 we can't
7
always introspect the class directly, as the order of
8
attributes in the class isn't guaranteed.)
15
.sub 'attriter' :method
16
$P0 = getprop '@!attribute_list', self
17
unless null $P0 goto have_list
18
$P0 = inspect self, 'attributes'