nakedmud-mod/
nakedmud-mod/html/tutorials/
nakedmud-mod/html/tutorials/building_extras/
nakedmud-mod/html/tutorials/c/
nakedmud-mod/html/tutorials/reference/
nakedmud-mod/html/tutorials/scripting/
nakedmud-mod/html/tutorials/scripting_extras/
nakedmud-mod/lib/
nakedmud-mod/lib/help/A/
nakedmud-mod/lib/help/B/
nakedmud-mod/lib/help/C/
nakedmud-mod/lib/help/D/
nakedmud-mod/lib/help/G/
nakedmud-mod/lib/help/H/
nakedmud-mod/lib/help/J/
nakedmud-mod/lib/help/L/
nakedmud-mod/lib/help/M/
nakedmud-mod/lib/help/O/
nakedmud-mod/lib/help/P/
nakedmud-mod/lib/help/R/
nakedmud-mod/lib/help/S/
nakedmud-mod/lib/help/W/
nakedmud-mod/lib/logs/
nakedmud-mod/lib/misc/
nakedmud-mod/lib/players/
nakedmud-mod/lib/pymodules/polc/
nakedmud-mod/lib/txt/
nakedmud-mod/lib/world/
nakedmud-mod/lib/world/zones/examples/
nakedmud-mod/lib/world/zones/examples/mproto/
nakedmud-mod/lib/world/zones/examples/oproto/
nakedmud-mod/lib/world/zones/examples/reset/
nakedmud-mod/lib/world/zones/examples/rproto/
nakedmud-mod/lib/world/zones/examples/trigger/
nakedmud-mod/lib/world/zones/limbo/
nakedmud-mod/lib/world/zones/limbo/room/
nakedmud-mod/lib/world/zones/limbo/rproto/
nakedmud-mod/src/alias/
nakedmud-mod/src/dyn_vars/
nakedmud-mod/src/editor/
nakedmud-mod/src/example_module/
nakedmud-mod/src/help2/
nakedmud-mod/src/set_val/
nakedmud-mod/src/socials/
nakedmud-mod/src/time/
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: polc.parsers</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="polc.html"><font color="#ffffff">polc</font></a>.parsers</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/mud/nakedmud-mod/lib/pymodules/polc/parsers.py">/mud/nakedmud-mod/lib/pymodules/polc/parsers.py</a></font></td></tr></table>
    <p><tt>################################################################################<br>
#<br>
#&nbsp;Four&nbsp;Worlds<br>
#&nbsp;Copyright&nbsp;(c)&nbsp;2009-????<br>
#<br>
#&nbsp;Package:&nbsp;polc<br>
#&nbsp;&nbsp;&nbsp;&nbsp;File:&nbsp;parsers.py<br>
#<br>
#&nbsp;The&nbsp;automatic&nbsp;Python&nbsp;OLC&nbsp;system,&nbsp;capable&nbsp;of&nbsp;generating&nbsp;an&nbsp;online&nbsp;content&nbsp;editor<br>
#&nbsp;for&nbsp;a&nbsp;given&nbsp;Python&nbsp;class&nbsp;or&nbsp;dict&nbsp;by&nbsp;using&nbsp;dictionaries&nbsp;to&nbsp;discover&nbsp;properties.<br>
#<br>
#&nbsp;OLC&nbsp;Response&nbsp;Parsing<br>
#<br>
#&nbsp;Author:&nbsp;Stendec<br>
#<br>
################################################################################</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="auxiliary.html">auxiliary</a><br>
</td><td width="25%" valign=top><a href="copy.html">copy</a><br>
</td><td width="25%" valign=top><a href="mudsys.html">mudsys</a><br>
</td><td width="25%" valign=top><a href="storage.html">storage</a><br>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-parse_choice"><strong>parse_choice</strong></a>(sock, data, key, val)</dt><dd><tt>Parse&nbsp;a&nbsp;multiple-choice&nbsp;value.</tt></dd></dl>
 <dl><dt><a name="-parse_list"><strong>parse_list</strong></a>(sock, data, key, val)</dt><dd><tt>Parse&nbsp;a&nbsp;list&nbsp;or&nbsp;tuple.</tt></dd></dl>
 <dl><dt><a name="-parse_number"><strong>parse_number</strong></a>(sock, data, key, val)</dt><dd><tt>Parse&nbsp;a&nbsp;numeric&nbsp;value.</tt></dd></dl>
 <dl><dt><a name="-parse_string"><strong>parse_string</strong></a>(sock, data, key, val)</dt><dd><tt>Parse&nbsp;a&nbsp;string&nbsp;value.</tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>StringTypes</strong> = (&lt;type 'str'&gt;, &lt;type 'unicode'&gt;)<br>
<strong>fancy_keys</strong> = {'desc': 'Description', 'edesc': 'Extra Descriptions', 'mdesc': 'Room Description for Multiple Occurences', 'mname': 'Name for Multiple Occurences', 'rdesc': 'Room Description'}<br>
<strong>menukeys</strong> = '1234567890ABCDEFGHIJKLMNOPRSTUVWXYZ'</td></tr></table>
</body></html>