| parrotcode: Perl Undef | |
| Contents | PMCs |

classes/perlundef.pmc - Perl Undef

PerlUndef extends PerlInt to provide a class with the behaviour of the Perl undef value.

INTVAL get_integer()0.FLOATVAL get_number()0.0.STRING *get_string()PMC *get_pmc()INTVAL get_bool() my $a; print $a if $a;
INTVAL is_same(PMC *pmc2)*pmc2 shares the same vtable.void set_integer_native(INTVAL value)PerlInt with value value.void set_integer_same(PMC *value)void set_string_native(STRING *value)PerlString with the value of *value.PMC *add(PMC *value, PMC *dest)PMC *add_int(INTVAL value, PMC *dest)PMC *add_float(FLOATVAL value, PMC *dest)PMC *subtract(PMC *value, PMC *dest)PMC *subtract_int(INTVAL value, PMC *dest)PMC *subtract_float(FLOATVAL value, PMC *dest)PMC *multiply(PMC *value, PMC *dest)PMC *multiply_int(INTVAL value, PMC *dest)PMC *multiply_float(FLOATVAL value, PMC *dest)void divide(PMC *value, PMC *dest)PMC *divide_int(INTVAL value, PMC *dest)PMC *divide_float(FLOATVAL value, PMC *dest)PMC *modulus(PMC *value, PMC *dest)PMC *modulus_int(INTVAL value, PMC *dest)PMC *modulus_float(FLOATVAL value, PMC *dest)INTVAL is_equal(PMC *value)*value is false.PMC *logical_or(PMC *value, PMC *dest)void i_logical_or(PMC *value)PMC *logical_and(PMC *value, PMC *dest)void i_logical_and(PMC *value)PMC *logical_xor(PMC *value, PMC *dest)void i_logical_xor(PMC *value, PMC *dest)PMC logical_not(PMC *dest)void i_logical_not()PerlScalar.INTVAL defined()void increment()PerlInt with value 1.void decrement()PerlInt with value -1.
|
|
|