NAME
src/pmc/packfileannotation.pmc - PackfileAnnotation PMC
DESCRIPTION
This class implements a PackfileAnnotation object. It is an element in the PackfileAnnotations segment of the .pbc file. See PDD13 for a design spec.
Methods
INTVAL get_offset()
Fetch the offset into the bytecode of the instruction that is being annotated.
void set_offset(INTVAL offset)
Set the offset into the bytecode of the instruction that is being annotated.
INTVAL get_key_id()
Fetch the ID of the key of the annotation.
void set_key_id(INTVAL offset)
Set the ID of the key of the annotation.
INTVAL get_integer()
Fetch the value of the annotation.
void set_integer(INTVAL offset)
Set the value of the annotation.