parrotcode: PackfileConstantTable PMC | |
Contents | PMCs |
src/pmc/packfileconstanttable.pmc - PackfileConstantTable PMC
This class implements a PackfileConstantTable object, a segment of the .pbc data file used for storing constants of various types. (int, string, PMC)
See packfile.pmc for the toplevel Packfile interface, see packfilesegment.pmc for the list of common methods every packfile segment pmc must implement; see PDD13 for the design spec.
INTVAL elements()
FLOATVAL get_number_keyed_int(INTVAL index)
STRING *get_string_keyed_int(INTVAL index)
PMC *get_pmc_keyed_int(INTVAL index)
void set_number_keyed_int(INTVAL index, INTVAL value)
void set_string_keyed_int(INTVAL index, STRING *value)
void set_pmc_keyed_int(INTVAL index, PMC *value)
INTVAL get_type(INTVAL index)
|