Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1e007a96761035f261351a68e7601417 > files > 317

parrot-docs-3.6.0-2.fc15.noarch.rpm

<!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  - Packfile Debug Segment 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> &raquo; <a href="../../../html/pmc.html">PMCs</a> &raquo; Packfile Debug Segment PMC
                </div>

<h1><a name="NAME"
>NAME</a></h1>

<p>src/pmc/packfileopmap.pmc &#45; Packfile Debug Segment PMC</p>

<h1><a name="DESCRIPTION"
>DESCRIPTION</a></h1>

<p>This class implements a PackfileOpMap,
which provides a map between op numbers in a bytecode segment and the libraries and offsets within those libraries that the ops come from.</p>

<h2><a name="Vtable_functions"
>Vtable functions</a></h2>

<dl>
<dt><a name="init"
><b><code>init</b></code></a></dt>
Create empty PackfileOpMap for a given op library.
<dt><a name="get_integer_keyed"
><b><code>get_integer_keyed</b></code></a></dt>
Return the integer which maps to the given op,
if any.
If the op is not already in the map,
a new map will be created.
<dt><a name="get_pmc_keyed_str()"
><b><code>get_pmc_keyed_str()</b></code></a></dt>
Get Op PMC by name.
<dt><a name="get_string_keyed_int()"
><b><code>get_string_keyed_int()</b></code></a></dt>

<dt><a name="get_pmc_keyed_int()"
><b><code>get_pmc_keyed_int()</b></code></a></dt>
Lookup op name by mapped id.
<dt><a name="void_mark()"
><b><code>void mark()</b></code></a></dt>
Marks the object as live.
<dt><a name="INTVAL_get_integer()"
><b><code>INTVAL get_integer()</b></code></a></dt>
Get the number of filename mappings.
<dt><a name="METHOD_load_lib"
><b><code>METHOD load_lib</b></code></a></dt>
Ensure that an op library is loaded and accessible to this OpMap.
<dt><a name="get_pointer"
><b><code>get_pointer</b></code></a></dt>
Construct PackFile_ByteCode_OpMapping.</dl>
            </div> <!-- "mainbody" -->
            <div id="divider"></div>
            <div id="footer">
	        Copyright &copy; 2002-2011, Parrot Foundation.
            </div>
        </div> <!-- "wrapper" -->
    </body>
</html>