<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Parrot - PackfileAnnotation PMC</title> <link rel="stylesheet" type="text/css" href="../../../resources/parrot.css" media="all"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <div id="wrapper"> <div id="header"> <a href="http://www.parrot.org"> <img border=0 src="../../../resources/parrot_logo.png" id="logo" alt="parrot"> </a> </div> <!-- "header" --> <div id="divider"></div> <div id="mainbody"> <div id="breadcrumb"> <a href="../../../html/index.html">Home</a> » <a href="../../../html/pmc.html">PMCs</a> » PackfileAnnotation PMC </div> <h1><a name="NAME" >NAME</a></h1> <p>src/pmc/packfileannotation.pmc - PackfileAnnotation PMC</p> <h1><a name="DESCRIPTION" >DESCRIPTION</a></h1> <p>This class implements a PackfileAnnotation object. It is an element in the PackfileAnnotations segment of the .pbc file. See PDD13 for a design spec.</p> <h2><a name="Methods" >Methods</a></h2> <dl> <dt><a name="init" ><b><code>init</b></code></a></dt> Create empty PackfileAnnotation. <dt><a name="void_mark()" ><b><code>void mark()</b></code></a></dt> Marks the object as live. <dt><a name="INTVAL_get_offset()" ><b><code>INTVAL get_offset()</b></code></a></dt> Fetch the offset into the bytecode of the instruction that is being annotated. <dt><a name="void_set_offset(INTVAL_offset)" ><b><code>void set_offset(INTVAL offset)</b></code></a></dt> Set the offset into the bytecode of the instruction that is being annotated. <dt><a name="STRING*_get_name()" ><b><code>STRING* get_name()</b></code></a></dt> Fetch the name of the annotation. <dt><a name="void_set_name(STRING*_name)" ><b><code>void set_name(STRING* name)</b></code></a></dt> Set the name of the annotation. <dt><a name="INTVAL_get_integer()" ><b><code>INTVAL get_integer()</b></code></a></dt> Fetch the integer value of the annotation. <dt><a name="void_set_integer_native(INTVAL_value)" ><b><code>void set_integer_native(INTVAL value)</b></code></a></dt> Set the integer value of the annotation. <dt><a name="STRING_*_get_string()" ><b><code>STRING * get_string()</b></code></a></dt> Fetch the string value of the annotation. <dt><a name="void_set_string_native(STRING_*_value)" ><b><code>void set_string_native(STRING * value)</b></code></a></dt> Set the string value of the annotation.</dl> </div> <!-- "mainbody" --> <div id="divider"></div> <div id="footer"> Copyright © 2002-2011, Parrot Foundation. </div> </div> <!-- "wrapper" --> </body> </html>