| parrotcode: Boolean PMC | |
| Contents | PMCs |

classes/boolean.pmc - Boolean PMC

This class implements a boolean value variable.
Albeit Boolean is derived from PerlInt,
it doesn't morph to other types,
its value is changed only.

class_init ()True,
False,
and __debug__.void *invoke(void *next)bool object according to 2.1.
Built-in Functions.STRING *get_string ()void set_integer_native (INTVAL value)void set_number_native (FLOATVAL value)value evaluated in a boolean context.void set_string_native (STRING *value)*value evaluated in a boolean context.void neg(PMC *dest)dest to the negated value of SELF.void logical_or(PMC *value, PMC *dest)OR of the boolean and *value as the value of *dest.AND of the boolean and *value as the value of *dest.void logical_xor(PMC *value, PMC *dest)XOR of the boolean and *value as the value of *dest.
|
|
|