Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > cd14cddf3b3ceaf1193157472227757a > files > 298

parrot-doc-1.6.0-1mdv2010.0.i586.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  - LexPad 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; LexPad PMC
                </div>

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

<p>src/pmc/lexpad.pmc &#45; LexPad PMC</p>

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

<p>These are the vtable functions for the lexpad PMC.</p>

<h2><a name="Functions"
>Functions</a></h2>

<dl>
<dt><a name="init_pmc(PMC_*lexinfo)"
><b><code>init_pmc(PMC *lexinfo)</b></code></a></dt>
Initialize the LexPad PMC and remember the associate lexinfo.
<dt><a name="void_set_pointer(void_*)"
><b><code>void set_pointer(void *)</b></code></a></dt>
Initialize the LexPad PMC and remember the associate context.
<dt><a name="INTVAL_elements()"
><b><code>INTVAL elements()</b></code></a></dt>
Returns the number of elements in the hash.
<dt><a name="INTVAL_exists_keyed(PMC_*name)"
><b><code>INTVAL exists_keyed(PMC *name)</b></code></a></dt>

<dt><a name="INTVAL_exists_keyed_str(STRING_*name)"
><b><code>INTVAL exists_keyed_str(STRING *name)</b></code></a></dt>
Returns whether a lexical <code>name</code> exists in the hash.
<dt><a name="PMC_*get_pmc_keyed_str(STRING_*name)"
><b><code>PMC *get_pmc_keyed_str(STRING *name)</b></code></a></dt>

<dt><a name="PMC_*get_pmc_keyed(PMC_*name)"
><b><code>PMC *get_pmc_keyed(PMC *name)</b></code></a></dt>
Return the lexical with the given name,
or NULL (not PMCNULL),
if the lexical doesn&#39;t exist.
<dt><a name="void_set_pmc_keyed(PMC_*name,_PMC_*value)"
><b><code>void set_pmc_keyed(PMC *name, PMC *value)</b></code></a></dt>

<dt><a name="void_set_pmc_keyed_str(STRING_*name,_PMC_*value)"
><b><code>void set_pmc_keyed_str(STRING *name, PMC *value)</b></code></a></dt>
Set the lexical with the given name to value.
If the lexical name doesn&#39;t exist,
it is created.
<dt><a name="PMC_*get_lexinfo()"
><b><code>PMC *get_lexinfo()</b></code></a></dt>
Return the LexInfo PMC,
if any or a Null PMC.</dl>

<h1><a name="SEE_ALSO"
>SEE ALSO</a></h1>

<p><em><a href="../../docs/pdds/pdd20_lexical_vars.pod.html">docs/pdds/pdd20_lexical_vars.pod</a></em>,
<em><a href="lexinfo.pmc.html">src/pmc/lexinfo.pmc</a></em>.</p>
            </div> <!-- "mainbody" -->
            <div id="divider"></div>
            <div id="footer">
	        Copyright &copy; 2002-2009, Parrot Foundation.
            </div>
        </div> <!-- "wrapper" -->
    </body>
</html>