parrotcode: Perl String | |
Contents | Dynamic PMCs |
src/dynpmc/perlstring.pmc - Perl String
PerlString
extends String
to provide Perl-specific string behaviour.
Note that the morph
method comes from PerlScalar
,
not from String
.
INTVAL get_integer()
STRING *get_repr()
void set_integer_native(INTVAL value)
PerlInt
and sets its value to value
.void set_number_native(FLOATVAL value)
PerlNum
and sets its value to value
.void morph(INTVAL type)
PerlString
to the specified type.void increment()
void decrement()
PMC *get_pmc_keyed(PMC *key)
SELF[key]
.
|