📄 parse_8hpp.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>a1: parse.hpp File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.9.1 --><div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div><h1>parse.hpp File Reference</h1><code>#include "<a class="el" href="cons_8hpp-source.html">cons.hpp</a>"</code><br><p><a href="parse_8hpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCell.html">Cell</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="parse_8hpp.html#a0">parse</a> (string sexpr)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Recursively parse sexpr and build the parse tree. <a href="#a0"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="parse_8hpp.html#a1">iswhitespace</a> (char ch)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Check whether the character is whitespace. <a href="#a1"></a><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Encapsulates the interface for the expression parsing function, which analyzes a string containing an s-expression, and determines its tree structure.<hr><h2>Function Documentation</h2><a class="anchor" name="a1" doxytag="parse.hpp::iswhitespace"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool iswhitespace </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">char </td> <td class="mdname1" valign="top" nowrap> <em>ch</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Check whether the character is whitespace. <p><dl compact><dt><b>Returns:</b></dt><dd>True if it is character, false else. </dd></dl><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>ch</em> </td><td>The character to check. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="a0" doxytag="parse.hpp::parse"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="classCell.html">Cell</a>* parse </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">string </td> <td class="mdname1" valign="top" nowrap> <em>sexpr</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Recursively parse sexpr and build the parse tree. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>sexpr</em> </td><td>The s-expression stored in a string variable (note that this version of parse has side effects: it may alter the contents of sexpr).</td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A pointer to the conspair cell at the root of the parse tree. </dd></dl> </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Wed Mar 28 22:53:54 2007 for a1 by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -