idlebox / 2007 / flex-bison-cpp-example / flex-bison-cpp-example-0.1.4 / doxygen-html / parser_8h.html.html (Download File)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Flex Bison C++ Example: src/parser.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>src/parser.h File Reference</h1>
<p>
<a href="parser_8h_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>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexample_1_1Parser.html">example::Parser</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A Bison parser.  <a href="classexample_1_1Parser.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">union &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unionexample_1_1Parser_1_1semantic__type.html">example::Parser::semantic_type</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Symbol semantic values.  <a href="unionexample_1_1Parser_1_1semantic__type.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structexample_1_1Parser_1_1token.html">example::Parser::token</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tokens.  <a href="structexample_1_1Parser_1_1token.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexample.html">example</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The <a class="el" href="namespaceexample.html" title="The example namespace is used to encapsulate the three parser classes example::Parser...">example</a> namespace is used to encapsulate the three parser classes <a class="el" href="classexample_1_1Parser.html" title="A Bison parser.">example::Parser</a>, <a class="el" href="classexample_1_1Scanner.html" title="Scanner is a derived class to add some extra function to the scanner class.">example::Scanner</a> and <a class="el" href="classexample_1_1Driver.html" title="The Driver class brings together all components.">example::Driver</a>. <br></td></tr>

<p>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="parser_8h.html#853b3bfad6d2b2ff693dce81182e0c2e">YYDEBUG</a>&nbsp;&nbsp;&nbsp;1</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="parser_8h.html#0943f558a560b9b5fa0593d7e36496c1">YYERROR_VERBOSE</a>&nbsp;&nbsp;&nbsp;1</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="parser_8h.html#3499e31aa832edc82b632ae811286a4b">YYTOKEN_TABLE</a>&nbsp;&nbsp;&nbsp;0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="parser_8h.html#485d38f93de30679900c9cad6e7f3446">YYLLOC_DEFAULT</a>(Current, Rhs, N)</td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="853b3bfad6d2b2ff693dce81182e0c2e"></a><!-- doxytag: member="parser.h::YYDEBUG" ref="853b3bfad6d2b2ff693dce81182e0c2e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define YYDEBUG&nbsp;&nbsp;&nbsp;1          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="parser_8h_source.html#l00069">69</a> of file <a class="el" href="parser_8h_source.html">parser.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="0943f558a560b9b5fa0593d7e36496c1"></a><!-- doxytag: member="parser.h::YYERROR_VERBOSE" ref="0943f558a560b9b5fa0593d7e36496c1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define YYERROR_VERBOSE&nbsp;&nbsp;&nbsp;1          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="parser_8h_source.html#l00077">77</a> of file <a class="el" href="parser_8h_source.html">parser.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="485d38f93de30679900c9cad6e7f3446"></a><!-- doxytag: member="parser.h::YYLLOC_DEFAULT" ref="485d38f93de30679900c9cad6e7f3446" args="(Current, Rhs, N)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define YYLLOC_DEFAULT          </td>
          <td>(</td>
          <td class="paramtype">Current,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Rhs,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">N&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">do</span> {                                                    \
  <span class="keywordflow">if</span> (N)                                                \
    {                                                   \
      (Current).begin = (Rhs)[1].begin;                 \
      (Current).end   = (Rhs)[N].end;                   \
    }                                                   \
  <span class="keywordflow">else</span>                                                  \
    {                                                   \
      (Current).begin = (Current).end = (Rhs)[0].end;   \
    }                                                   \
} <span class="keywordflow">while</span> (<span class="keyword">false</span>)
</pre></div>
<p>Definition at line <a class="el" href="parser_8h_source.html#l00090">90</a> of file <a class="el" href="parser_8h_source.html">parser.h</a>.</p>

<p>Referenced by <a class="el" href="parser_8cc_source.html#l00368">example::Parser::parse()</a>.</p>

</div>
</div><p>
<a class="anchor" name="3499e31aa832edc82b632ae811286a4b"></a><!-- doxytag: member="parser.h::YYTOKEN_TABLE" ref="3499e31aa832edc82b632ae811286a4b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define YYTOKEN_TABLE&nbsp;&nbsp;&nbsp;0          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="parser_8h_source.html#l00082">82</a> of file <a class="el" href="parser_8h_source.html">parser.h</a>.</p>

</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Sep 5 10:26:25 2009 for Flex Bison C++ Example by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>
RSS 2.0 Weblog Feed Atom 1.0 Weblog Feed Valid XHTML 1.1 Valid CSS (2.1)