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
- initCreate empty PackfileAnnotation.
- void destroy()Destroys the PMC and frees all allocated memory.
- 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.
- STRING* get_name()Fetch the name of the annotation.
- void set_name(STRING* name)Set the name of the annotation.
- INTVAL get_integer()Fetch the integer value of the annotation.
- void set_integer_native(INTVAL value)Set the integer value of the annotation.
- STRING * get_string()Fetch the string value of the annotation.
- void set_string_native(STRING * value)Set the string value of the annotation.
- INTVAL get_number()Fetch the float value of the annotation.
- void set_number_native(INTVAL value)Set the float value of the annotation.
