src/common/guts.pir - subs that are part of the internals,
not for users
Stolen from Rakudo.
bool pipp_defined(string constant_name)
Check whether a Parrot register is defined.
void pipp_var_dump(mixed var)
Dump a PMC
- return
For returning a value from a function.
- pipp_create_class(name)
Internal helper method to create a class.
See !keyword_class
in Rakudo.
- pipp_add_attribute(class,
attr_name,
attr_value)
Adds an attribute with the given name to the class or role.
See !keyword_has
in Rakudo.
- !ADD_TO_WHENCE
Adds a key/value mapping to what will become the WHENCE on a proto-object (we don't have a proto-object to stick them on yet,
so we put a property on the class temporarily,
then attach it as the WHENCE clause later).
- !PROTOINIT
Called after a new proto-object has been made for a new class or grammar.
It finds any WHENCE data that we may need to add.