Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > f6ec3de51c94922f2240c0767594dcf5 > files > 2538

antlr3-C-docs-3.2-14.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>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ANTLR3C: src/antlr3treeparser.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">ANTLR3C&#160;<span id="projectnumber">3.1.2</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('antlr3treeparser_8c.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<h1>antlr3treeparser.c File Reference</h1>  </div>
</div>
<div class="contents">

<p>Implementation of the tree parser and overrides for the base recognizer.  
<a href="#_details">More...</a></p>
<div class="textblock"><code>#include &lt;antlr3treeparser.h&gt;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for antlr3treeparser.c:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3treeparser_8c__incl.png" border="0" usemap="#src_2antlr3treeparser_8c" alt=""/></div>
<map name="src_2antlr3treeparser_8c" id="src_2antlr3treeparser_8c">
</map>
</div>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ANTLR3_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3treeparser_8c.html#a9d7fa213a660c2e71f54c324a668e34f">antlr3MTNExceptionNew</a> (<a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html">pANTLR3_BASE_RECOGNIZER</a> recognizer)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new Mismatched Tree Nde Exception and inserts in the recognizer exception stack.  <a href="#a9d7fa213a660c2e71f54c324a668e34f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ANTLR3_API <a class="el" href="struct_a_n_t_l_r3___t_r_e_e___p_a_r_s_e_r__struct.html">pANTLR3_TREE_PARSER</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3treeparser_8c.html#a8a8b2581755eff523fb3d2e427bb9b3f">antlr3TreeParserNewStream</a> (<a class="el" href="antlr3defs_8h.html#ac41f744abd0fd25144b9eb9d11b1dfd1">ANTLR3_UINT32</a> sizeHint, <a class="el" href="struct_a_n_t_l_r3___c_o_m_m_o_n___t_r_e_e___n_o_d_e___s_t_r_e_a_m__struct.html">pANTLR3_COMMON_TREE_NODE_STREAM</a> ctnstream, <a class="el" href="struct_a_n_t_l_r3___r_e_c_o_g_n_i_z_e_r___s_h_a_r_e_d___s_t_a_t_e__struct.html">pANTLR3_RECOGNIZER_SHARED_STATE</a> state)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3treeparser_8c.html#acd2b8fd83ef76394db3c5c2daecca058">freeParser</a> (<a class="el" href="struct_a_n_t_l_r3___t_r_e_e___p_a_r_s_e_r__struct.html">pANTLR3_TREE_PARSER</a> parser)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3treeparser_8c.html#afa6cd5dae10144c754490bbc9ebef8f1">getCurrentInputSymbol</a> (<a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html">pANTLR3_BASE_RECOGNIZER</a> recognizer, <a class="el" href="struct_a_n_t_l_r3___i_n_t___s_t_r_e_a_m__struct.html">pANTLR3_INT_STREAM</a> istream)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3treeparser_8c.html#a22c45f91acc78faa73e6b1fd637e3e0c">getMissingSymbol</a> (<a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html">pANTLR3_BASE_RECOGNIZER</a> recognizer, <a class="el" href="struct_a_n_t_l_r3___i_n_t___s_t_r_e_a_m__struct.html">pANTLR3_INT_STREAM</a> istream, <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html">pANTLR3_EXCEPTION</a> e, <a class="el" href="antlr3defs_8h.html#ac41f744abd0fd25144b9eb9d11b1dfd1">ANTLR3_UINT32</a> expectedTokenType, <a class="el" href="struct_a_n_t_l_r3___b_i_t_s_e_t___l_i_s_t__struct.html">pANTLR3_BITSET_LIST</a> follow)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <br class="typebreak"/>
<a class="el" href="struct_a_n_t_l_r3___c_o_m_m_o_n___t_r_e_e___n_o_d_e___s_t_r_e_a_m__struct.html">pANTLR3_COMMON_TREE_NODE_STREAM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3treeparser_8c.html#aabd03d73f8c74463fe267c7d219f8ff5">getTreeNodeStream</a> (<a class="el" href="struct_a_n_t_l_r3___t_r_e_e___p_a_r_s_e_r__struct.html">pANTLR3_TREE_PARSER</a> parser)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a pointer to the input stream.  <a href="#aabd03d73f8c74463fe267c7d219f8ff5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3treeparser_8c.html#af8c302d1762b73b1a80c88ca71210472">mismatch</a> (<a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html">pANTLR3_BASE_RECOGNIZER</a> recognizer, <a class="el" href="antlr3defs_8h.html#ac41f744abd0fd25144b9eb9d11b1dfd1">ANTLR3_UINT32</a> ttype, <a class="el" href="struct_a_n_t_l_r3___b_i_t_s_e_t___l_i_s_t__struct.html">pANTLR3_BITSET_LIST</a> follow)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for standard base recognizer mismatch function as we have DOWN/UP nodes in the stream that have no line info, plus we want to alter the exception type.  <a href="#af8c302d1762b73b1a80c88ca71210472"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3treeparser_8c.html#a4a9566c35125d3c355177eef540c1e8a">setTreeNodeStream</a> (<a class="el" href="struct_a_n_t_l_r3___t_r_e_e___p_a_r_s_e_r__struct.html">pANTLR3_TREE_PARSER</a> parser, <a class="el" href="struct_a_n_t_l_r3___c_o_m_m_o_n___t_r_e_e___n_o_d_e___s_t_r_e_a_m__struct.html">pANTLR3_COMMON_TREE_NODE_STREAM</a> input)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the input stream and reset the parser.  <a href="#a4a9566c35125d3c355177eef540c1e8a"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Implementation of the tree parser and overrides for the base recognizer. </p>
</div><hr/><h2>Function Documentation</h2>
<a class="anchor" id="a9d7fa213a660c2e71f54c324a668e34f"></a><!-- doxytag: member="antlr3treeparser.c::antlr3MTNExceptionNew" ref="a9d7fa213a660c2e71f54c324a668e34f" args="(pANTLR3_BASE_RECOGNIZER recognizer)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ANTLR3_API void antlr3MTNExceptionNew </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html">pANTLR3_BASE_RECOGNIZER</a>&#160;</td>
          <td class="paramname"><em>recognizer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new Mismatched Tree Nde Exception and inserts in the recognizer exception stack. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">recognizer</td><td>Context pointer for this recognizer </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="antlr3exception_8h.html#aa224d81760e06fcfcdc8d9d4e70bd5ae">ANTLR3_MISMATCHED_TREE_NODE_EXCEPTION</a>, <a class="el" href="antlr3exception_8h.html#a590e0acd834315124756047d36c50c8e">ANTLR3_MISMATCHED_TREE_NODE_NAME</a>, <a class="el" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gab2d77cd376112c8ff6ed7353ba78dab7">antlr3RecognitionExceptionNew()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_c_o_g_n_i_z_e_r___s_h_a_r_e_d___s_t_a_t_e__struct.html#ad1cf97a94bd235db56fddaf3294e5bc5">ANTLR3_RECOGNIZER_SHARED_STATE_struct::exception</a>, <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html#a4ea5bbfb664b0b56817c4b0e899190f8">ANTLR3_EXCEPTION_struct::name</a>, <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html#aff56a30644716edb24915f621b6df701">ANTLR3_BASE_RECOGNIZER_struct::state</a>, and <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html#a3ffd8f9801f34b7168519896061233e1">ANTLR3_EXCEPTION_struct::type</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f">antlr3TreeParserNewStream()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3treeparser_8c_a9d7fa213a660c2e71f54c324a668e34f_cgraph.png" border="0" usemap="#antlr3treeparser_8c_a9d7fa213a660c2e71f54c324a668e34f_cgraph" alt=""/></div>
<map name="antlr3treeparser_8c_a9d7fa213a660c2e71f54c324a668e34f_cgraph" id="antlr3treeparser_8c_a9d7fa213a660c2e71f54c324a668e34f_cgraph">
<area shape="rect" id="node3" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gab2d77cd376112c8ff6ed7353ba78dab7" title="antlr3RecognitionExceptionNew" alt="" coords="285,81,597,108"/><area shape="rect" id="node5" href="antlr3exception_8c.html#ad7bf558a3019636d779ebd281ab07450" title="Creates a new ANTLR3 exception structure." alt="" coords="660,31,863,57"/><area shape="rect" id="node13" href="antlr3basetree_8c.html#ac0a5b07c2cc53a3f2938e6e94d9b1605" title="getCharPositionInLine" alt="" coords="645,81,877,108"/><area shape="rect" id="node15" href="antlr3basetree_8c.html#af89cad82ec0276b7f9183476bdfaa322" title="getLine" alt="" coords="716,132,807,159"/><area shape="rect" id="node7" href="antlr3exception_8c.html#a21c30f7a44edd55f154d2cfaafb0fd8a" title="Frees up a chain of ANTLR3 exceptions." alt="" coords="932,5,1143,32"/><area shape="rect" id="node11" href="antlr3exception_8c.html#a193748f2d252beb17b1b0487ca77cb4f" title="Prints out the message in all the exceptions in the supplied chain." alt="" coords="927,56,1148,83"/><area shape="rect" id="node9" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07" title="Return the next element in the stream." alt="" coords="1199,5,1260,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3treeparser_8c_a9d7fa213a660c2e71f54c324a668e34f_icgraph.png" border="0" usemap="#antlr3treeparser_8c_a9d7fa213a660c2e71f54c324a668e34f_icgraph" alt=""/></div>
<map name="antlr3treeparser_8c_a9d7fa213a660c2e71f54c324a668e34f_icgraph" id="antlr3treeparser_8c_a9d7fa213a660c2e71f54c324a668e34f_icgraph">
<area shape="rect" id="node3" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f" title="antlr3TreeParserNewStream" alt="" coords="285,5,557,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a8a8b2581755eff523fb3d2e427bb9b3f"></a><!-- doxytag: member="antlr3treeparser.c::antlr3TreeParserNewStream" ref="a8a8b2581755eff523fb3d2e427bb9b3f" args="(ANTLR3_UINT32 sizeHint, pANTLR3_COMMON_TREE_NODE_STREAM ctnstream, pANTLR3_RECOGNIZER_SHARED_STATE state)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ANTLR3_API <a class="el" href="struct_a_n_t_l_r3___t_r_e_e___p_a_r_s_e_r__struct.html">pANTLR3_TREE_PARSER</a> antlr3TreeParserNewStream </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#ac41f744abd0fd25144b9eb9d11b1dfd1">ANTLR3_UINT32</a>&#160;</td>
          <td class="paramname"><em>sizeHint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___c_o_m_m_o_n___t_r_e_e___n_o_d_e___s_t_r_e_a_m__struct.html">pANTLR3_COMMON_TREE_NODE_STREAM</a>&#160;</td>
          <td class="paramname"><em>ctnstream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_c_o_g_n_i_z_e_r___s_h_a_r_e_d___s_t_a_t_e__struct.html">pANTLR3_RECOGNIZER_SHARED_STATE</a>&#160;</td>
          <td class="paramname"><em>state</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><p>Allocate tree parser memory</p>
</p>

<p>References <a class="el" href="antlr3defs_8h.html#a3ba818e88ae972c4f77e55e80ed8abd5">ANTLR3_MALLOC</a>, <a class="el" href="group___a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gafee8a3d7d292291a4cb15619c6bca466">ANTLR3_TYPE_PARSER</a>, <a class="el" href="group___a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga3ff933756e4fc6d8fd9a5a8a0d67bb98">ANTLR3_TYPE_TREE_PARSER</a>, <a class="el" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga5b539798327f965e6289a9f613515c9a">antlr3BaseRecognizerNew()</a>, <a class="el" href="antlr3treeparser_8c.html#a9d7fa213a660c2e71f54c324a668e34f">antlr3MTNExceptionNew()</a>, <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html#aeb9618e34a17218f524e0b70158285e3">ANTLR3_BASE_RECOGNIZER_struct::exConstruct</a>, <a class="el" href="struct_a_n_t_l_r3___t_r_e_e___p_a_r_s_e_r__struct.html#a6b8657813c59e7f06b6a8f4ad6a0d240">ANTLR3_TREE_PARSER_struct::free</a>, <a class="el" href="antlr3treeparser_8c.html#acd2b8fd83ef76394db3c5c2daecca058">freeParser()</a>, <a class="el" href="antlr3treeparser_8c.html#afa6cd5dae10144c754490bbc9ebef8f1">getCurrentInputSymbol()</a>, <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html#ac4568c30a45bc9b1eb0ad72373ccc774">ANTLR3_BASE_RECOGNIZER_struct::getCurrentInputSymbol</a>, <a class="el" href="antlr3treeparser_8c.html#a22c45f91acc78faa73e6b1fd637e3e0c">getMissingSymbol()</a>, <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html#a18f404134e33bf360d9257d9be9588c8">ANTLR3_BASE_RECOGNIZER_struct::getMissingSymbol</a>, <a class="el" href="antlr3treeparser_8c.html#aabd03d73f8c74463fe267c7d219f8ff5">getTreeNodeStream()</a>, <a class="el" href="struct_a_n_t_l_r3___t_r_e_e___p_a_r_s_e_r__struct.html#a13ab4351ee6aaf51e18e26f2bddc109d">ANTLR3_TREE_PARSER_struct::getTreeNodeStream</a>, <a class="el" href="antlr3treeparser_8c.html#af8c302d1762b73b1a80c88ca71210472">mismatch()</a>, <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html#a1dad3b431fc5e76173b78f0d2a1ef00d">ANTLR3_BASE_RECOGNIZER_struct::mismatch</a>, <a class="el" href="struct_a_n_t_l_r3___t_r_e_e___p_a_r_s_e_r__struct.html#a2c91ea97da3628675b73dfd0818f697c">ANTLR3_TREE_PARSER_struct::rec</a>, <a class="el" href="antlr3treeparser_8c.html#a4a9566c35125d3c355177eef540c1e8a">setTreeNodeStream()</a>, <a class="el" href="struct_a_n_t_l_r3___t_r_e_e___p_a_r_s_e_r__struct.html#adb9beda70b2f18a08f6d9ed1ba93176b">ANTLR3_TREE_PARSER_struct::setTreeNodeStream</a>, <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html#a8f0a0953113252a8f7f65e31c945631a">ANTLR3_BASE_RECOGNIZER_struct::super</a>, and <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html#a8e26637c9f4d19ff4bcc9984a04b0ef5">ANTLR3_BASE_RECOGNIZER_struct::type</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3treeparser_8c_a8a8b2581755eff523fb3d2e427bb9b3f_cgraph.png" border="0" usemap="#antlr3treeparser_8c_a8a8b2581755eff523fb3d2e427bb9b3f_cgraph" alt=""/></div>
<map name="antlr3treeparser_8c_a8a8b2581755eff523fb3d2e427bb9b3f_cgraph" id="antlr3treeparser_8c_a8a8b2581755eff523fb3d2e427bb9b3f_cgraph">
<area shape="rect" id="node3" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga5b539798327f965e6289a9f613515c9a" title="antlr3BaseRecognizerNew" alt="" coords="327,893,577,920"/><area shape="rect" id="node98" href="antlr3treeparser_8c.html#a9d7fa213a660c2e71f54c324a668e34f" title="Creates a new Mismatched Tree Nde Exception and inserts in the recognizer exception stack..." alt="" coords="336,437,568,464"/><area shape="rect" id="node101" href="antlr3treeparser_8c.html#acd2b8fd83ef76394db3c5c2daecca058" title="freeParser" alt="" coords="391,944,513,971"/><area shape="rect" id="node103" href="antlr3treeparser_8c.html#afa6cd5dae10144c754490bbc9ebef8f1" title="getCurrentInputSymbol" alt="" coords="336,995,568,1021"/><area shape="rect" id="node105" href="antlr3treeparser_8c.html#a22c45f91acc78faa73e6b1fd637e3e0c" title="getMissingSymbol" alt="" coords="361,1045,543,1072"/><area shape="rect" id="node107" href="antlr3treeparser_8c.html#aabd03d73f8c74463fe267c7d219f8ff5" title="Return a pointer to the input stream." alt="" coords="356,1096,548,1123"/><area shape="rect" id="node109" href="antlr3treeparser_8c.html#af8c302d1762b73b1a80c88ca71210472" title="Override for standard base recognizer mismatch function as we have DOWN/UP nodes in the stream that h..." alt="" coords="401,1147,503,1173"/><area shape="rect" id="node111" href="antlr3treeparser_8c.html#a4a9566c35125d3c355177eef540c1e8a" title="Set the input stream and reset the parser." alt="" coords="356,1197,548,1224"/><area shape="rect" id="node5" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gaecb4f403651c25610bcceff641027d02" title="Has this rule already parsed input at the current index in the input stream? Return ANTLR3_TRUE if we..." alt="" coords="677,336,869,363"/><area shape="rect" id="node7" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga974d33def91ba5fb5a6fa8e42c6d876e" title="Creates a new Mismatched Token Exception and inserts in the recognizer exception stack." alt="" coords="1009,387,1231,413"/><area shape="rect" id="node11" href="antlr3collections_8c.html#a0f20590f5ba34812e48d6cec3e126fd6" title="antlr3VectorNew" alt="" coords="688,792,859,819"/><area shape="rect" id="node15" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga1817b0f3b6af542c3536371040dc58ac" title="beginBacktrack" alt="" coords="692,843,855,869"/><area shape="rect" id="node17" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gafa6c2298edaa647a41c8958da95e52a3" title="beginResync" alt="" coords="708,893,839,920"/><area shape="rect" id="node19" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gaae6c6fbbbf2e1c74b612c56585421480" title="Compute the current followset for the input stream." alt="" coords="1039,741,1201,768"/><area shape="rect" id="node26" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gaafcf8d570aefd265cdd1f08fd1c648d0" title="Compute the context&#45;sensitive FOLLOW set for current rule." alt="" coords="668,944,879,971"/><area shape="rect" id="node28" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gab130860e17b6b63e2b1ec308f327ba16" title="Compute the error recovery set for the current rule." alt="" coords="648,995,899,1021"/><area shape="rect" id="node30" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gafe29b544de6bf6a2f2f1cde76ffbcfef" title="Eat tokens from the input stream until we get one of JUST the right type." alt="" coords="703,1045,844,1072"/><area shape="rect" id="node32" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga8d35000d9ab1050dabe81cf7920934fe" title="Eat tokens from the input stream until we find one that belongs to the supplied set." alt="" coords="688,1096,859,1123"/><area shape="rect" id="node34" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga3c88e896255781a0ace9fd1110900424" title="Standard/Example error display method." alt="" coords="648,640,899,667"/><area shape="rect" id="node39" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga7258d67140b160ff9da909d067d402d0" title="endBacktrack" alt="" coords="703,1147,844,1173"/><area shape="rect" id="node41" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga76e55e0ccbc6262c398dbc0d7ef2e2e2" title="endResync" alt="" coords="717,1197,829,1224"/><area shape="rect" id="node43" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga5999985a70a69e3bec790156b88fbd62" title="freeBR" alt="" coords="732,1248,815,1275"/><area shape="rect" id="node45" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gafa6cd5dae10144c754490bbc9ebef8f1" title="getCurrentInputSymbol" alt="" coords="657,1299,889,1325"/><area shape="rect" id="node47" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga22c45f91acc78faa73e6b1fd637e3e0c" title="getMissingSymbol" alt="" coords="683,1349,864,1376"/><area shape="rect" id="node51" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gab4273491fa0ac1fb0da57d57c37d4f05" title="Return how many syntax errors were detected by this recognizer." alt="" coords="648,1400,899,1427"/><area shape="rect" id="node53" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gac7e1bf2a5a3adcfe14e64a68e96a9ce4" title="Return the rule invocation stack (how we got here in the parse." alt="" coords="652,1451,895,1477"/><area shape="rect" id="node55" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gaae8d9ae771381ce037d6f9e8b2906013" title="getRuleInvocationStackNamed" alt="" coords="628,1501,919,1528"/><area shape="rect" id="node57" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gabc080ec9aaa275e0361dea5a1eb431c0" title="Pointer to a function to return whether the rule has parsed input starting at the supplied start inde..." alt="" coords="672,1603,875,1629"/><area shape="rect" id="node61" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga06172ef38079026fc3d29bea9a046cc3" title="Match current input symbol against ttype." alt="" coords="737,1653,809,1680"/><area shape="rect" id="node63" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gac6666b109c5d2fb42e311b0a248e0bb0" title="Consumes the next token, whatever it is, and resets the recognizer state so that it is not in error..." alt="" coords="723,1704,824,1731"/><area shape="rect" id="node65" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga0b61381c64a3cf6fa719be2f3fe6cc79" title="Record whether or not this rule parsed the input at this position successfully." alt="" coords="728,1755,819,1781"/><area shape="rect" id="node67" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gaf8c302d1762b73b1a80c88ca71210472" title="Factor out what to do upon token mismatch so tree parsers can behave differently." alt="" coords="723,488,824,515"/><area shape="rect" id="node71" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gaae2cb5c900551876f8ba170252b9a73b" title="mismatchIsMissingToken" alt="" coords="999,539,1241,565"/><area shape="rect" id="node74" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga5d8fdaef9c545faefeb480e49ff5842b" title="mismatchIsUnwantedToken" alt="" coords="995,209,1245,236"/><area shape="rect" id="node78" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga911941c0a78751dd6eae32d1fd3f3a2d" title="Recover from an error found on the input stream." alt="" coords="728,133,819,160"/><area shape="rect" id="node80" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga733153563bd70d3b65fce9bd665fb61f" title="This code is factored out from mismatched token and mismatched set recovery." alt="" coords="969,691,1271,717"/><area shape="rect" id="node83" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga833876e3010f505f0e12326360f6877d" title="recoverFromMismatchedSet" alt="" coords="643,184,904,211"/><area shape="rect" id="node85" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga4876d181d8cca1dcee4ebc7b0d313b28" title="Attempt to recover from a single missing or extra token." alt="" coords="632,539,915,565"/><area shape="rect" id="node89" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga94bd01f211c00d6125d6ca8fca67429c" title="Report a recognition problem." alt="" coords="708,235,839,261"/><area shape="rect" id="node91" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga3bbbf4338658f30c5b039e933232c988" title="reset" alt="" coords="737,1552,809,1579"/><area shape="rect" id="node94" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gaab17b157e62f1564570c784ec4b184c5" title="A syntactic predicate." alt="" coords="728,285,819,312"/><area shape="rect" id="node96" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gabe87a4783b650d2576f6550fe53c43b7" title="Convenience method for template rewrites &#45; NYI." alt="" coords="717,387,829,413"/><area shape="rect" id="node9" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gab2d77cd376112c8ff6ed7353ba78dab7" title="antlr3RecognitionExceptionNew" alt="" coords="1320,412,1632,439"/><area shape="rect" id="node13" href="antlr3collections_8c.html#a257bb3a732b0aee54f196ea448944d0b" title="antlr3SetVectorApi" alt="" coords="1019,792,1221,819"/><area shape="rect" id="node21" href="antlr3bitset_8c.html#adee17893182cf3d0c91bfce5e6ba12a9" title="Creates a new bitset with at least one 64 bit bset of bits, but as many 64 bit sets as are required..." alt="" coords="1385,691,1567,717"/><area shape="rect" id="node23" href="antlr3bitset_8c.html#a4179c82d3761a00b268461756c59222a" title="antlr3BitsetNew" alt="" coords="1681,716,1852,743"/><area shape="rect" id="node37" href="antlr3commontreenodestream_8c.html#a7d68f5af32504d0af4c13a4c9d33726d" title="Expensive to compute the size of the whole tree while parsing." alt="" coords="1089,640,1151,667"/><area shape="rect" id="node49" href="antlr3commontoken_8c.html#a3e0e53093c8170217cb4bee33c2714c9" title="antlr3TokenFactoryNew" alt="" coords="1004,1349,1236,1376"/><area shape="rect" id="node59" href="antlr3collections_8c.html#aebfa2c8a91028760ae220897b9e1569f" title="antlr3IntTrieNew" alt="" coords="1029,1577,1211,1604"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="acd2b8fd83ef76394db3c5c2daecca058"></a><!-- doxytag: member="antlr3treeparser.c::freeParser" ref="acd2b8fd83ef76394db3c5c2daecca058" args="(pANTLR3_TREE_PARSER parser)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void freeParser </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___t_r_e_e___p_a_r_s_e_r__struct.html">pANTLR3_TREE_PARSER</a>&#160;</td>
          <td class="paramname"><em>parser</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="antlr3defs_8h.html#a6558340e5762ec9d464c2f5ff70d9b5f">ANTLR3_FREE</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_c_o_g_n_i_z_e_r___s_h_a_r_e_d___s_t_a_t_e__struct.html#a8f1308bc7ecdd3035da5e98ebf68706a">ANTLR3_RECOGNIZER_SHARED_STATE_struct::following</a>, <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html#a5bea95fd359401e60b2e904cb86da0ee">ANTLR3_BASE_RECOGNIZER_struct::free</a>, <a class="el" href="struct_a_n_t_l_r3___s_t_a_c_k__struct.html#a7a3b9cc26d605b38e1e8c3fa81f52a25">ANTLR3_STACK_struct::free</a>, <a class="el" href="struct_a_n_t_l_r3___t_r_e_e___p_a_r_s_e_r__struct.html#a2c91ea97da3628675b73dfd0818f697c">ANTLR3_TREE_PARSER_struct::rec</a>, and <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html#aff56a30644716edb24915f621b6df701">ANTLR3_BASE_RECOGNIZER_struct::state</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f">antlr3TreeParserNewStream()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3treeparser_8c_acd2b8fd83ef76394db3c5c2daecca058_icgraph.png" border="0" usemap="#antlr3treeparser_8c_acd2b8fd83ef76394db3c5c2daecca058_icgraph" alt=""/></div>
<map name="antlr3treeparser_8c_acd2b8fd83ef76394db3c5c2daecca058_icgraph" id="antlr3treeparser_8c_acd2b8fd83ef76394db3c5c2daecca058_icgraph">
<area shape="rect" id="node3" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f" title="antlr3TreeParserNewStream" alt="" coords="176,5,448,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="afa6cd5dae10144c754490bbc9ebef8f1"></a><!-- doxytag: member="antlr3treeparser.c::getCurrentInputSymbol" ref="afa6cd5dae10144c754490bbc9ebef8f1" args="(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void * getCurrentInputSymbol </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html">pANTLR3_BASE_RECOGNIZER</a>&#160;</td>
          <td class="paramname"><em>recognizer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___i_n_t___s_t_r_e_a_m__struct.html">pANTLR3_INT_STREAM</a>&#160;</td>
          <td class="paramname"><em>istream</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="struct_a_n_t_l_r3___t_r_e_e___n_o_d_e___s_t_r_e_a_m__struct.html#a7e187756cb02b552ce74845ad283c29f">ANTLR3_TREE_NODE_STREAM_struct::_LT</a>, <a class="el" href="struct_a_n_t_l_r3___t_r_e_e___n_o_d_e___s_t_r_e_a_m__struct.html#a844d639cc5d64bd4b5caef3c5bfecbbe">ANTLR3_TREE_NODE_STREAM_struct::ctns</a>, and <a class="el" href="struct_a_n_t_l_r3___i_n_t___s_t_r_e_a_m__struct.html#a6f5f3b5448e33c1e083849ca67465d05">ANTLR3_INT_STREAM_struct::super</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f">antlr3TreeParserNewStream()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3treeparser_8c_afa6cd5dae10144c754490bbc9ebef8f1_icgraph.png" border="0" usemap="#antlr3treeparser_8c_afa6cd5dae10144c754490bbc9ebef8f1_icgraph" alt=""/></div>
<map name="antlr3treeparser_8c_afa6cd5dae10144c754490bbc9ebef8f1_icgraph" id="antlr3treeparser_8c_afa6cd5dae10144c754490bbc9ebef8f1_icgraph">
<area shape="rect" id="node3" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f" title="antlr3TreeParserNewStream" alt="" coords="285,5,557,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a22c45f91acc78faa73e6b1fd637e3e0c"></a><!-- doxytag: member="antlr3treeparser.c::getMissingSymbol" ref="a22c45f91acc78faa73e6b1fd637e3e0c" args="(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM istream, pANTLR3_EXCEPTION e, ANTLR3_UINT32 expectedTokenType, pANTLR3_BITSET_LIST follow)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void * getMissingSymbol </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html">pANTLR3_BASE_RECOGNIZER</a>&#160;</td>
          <td class="paramname"><em>recognizer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___i_n_t___s_t_r_e_a_m__struct.html">pANTLR3_INT_STREAM</a>&#160;</td>
          <td class="paramname"><em>istream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html">pANTLR3_EXCEPTION</a>&#160;</td>
          <td class="paramname"><em>e</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#ac41f744abd0fd25144b9eb9d11b1dfd1">ANTLR3_UINT32</a>&#160;</td>
          <td class="paramname"><em>expectedTokenType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_i_t_s_e_t___l_i_s_t__struct.html">pANTLR3_BITSET_LIST</a>&#160;</td>
          <td class="paramname"><em>follow</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="struct_a_n_t_l_r3___t_r_e_e___n_o_d_e___s_t_r_e_a_m__struct.html#a7e187756cb02b552ce74845ad283c29f">ANTLR3_TREE_NODE_STREAM_struct::_LT</a>, <a class="el" href="struct_a_n_t_l_r3___s_t_r_i_n_g__struct.html#a6d95e67b4d97cceea4d58248eb625c92">ANTLR3_STRING_struct::append8</a>, <a class="el" href="struct_a_n_t_l_r3___c_o_m_m_o_n___t_r_e_e__struct.html#aab30e9fd47c078a3343498ca41bb2b0d">ANTLR3_COMMON_TREE_struct::baseTree</a>, <a class="el" href="struct_a_n_t_l_r3___t_r_e_e___n_o_d_e___s_t_r_e_a_m__struct.html#a844d639cc5d64bd4b5caef3c5bfecbbe">ANTLR3_TREE_NODE_STREAM_struct::ctns</a>, <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html#adfea4c4a926504619d1d6fed82aedff4">ANTLR3_BASE_TREE_struct::dupNode</a>, <a class="el" href="struct_a_n_t_l_r3___c_o_m_m_o_n___t_r_e_e___n_o_d_e___s_t_r_e_a_m__struct.html#aa8ffdbca7577793ed1a40a6bdec6aeb7">ANTLR3_COMMON_TREE_NODE_STREAM_struct::EOF_NODE</a>, <a class="el" href="struct_a_n_t_l_r3___c_o_m_m_o_n___t_o_k_e_n__struct.html#a8b903dff51ace5fc2af285d9a9828e28">ANTLR3_COMMON_TOKEN_struct::getText</a>, <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html#a63c1394d11e3a69a3be1c33f2b17df31">ANTLR3_BASE_TREE_struct::getToken</a>, <a class="el" href="struct_a_n_t_l_r3___c_o_m_m_o_n___t_o_k_e_n__struct.html#a80b182f3520f42844ecc2ecbfaae7c1a">ANTLR3_COMMON_TOKEN_struct::setText8</a>, <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html#aff56a30644716edb24915f621b6df701">ANTLR3_BASE_RECOGNIZER_struct::state</a>, <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html#abd20044da7f517e47aaa0b65d28d9b64">ANTLR3_BASE_TREE_struct::super</a>, <a class="el" href="struct_a_n_t_l_r3___i_n_t___s_t_r_e_a_m__struct.html#a6f5f3b5448e33c1e083849ca67465d05">ANTLR3_INT_STREAM_struct::super</a>, and <a class="el" href="struct_a_n_t_l_r3___r_e_c_o_g_n_i_z_e_r___s_h_a_r_e_d___s_t_a_t_e__struct.html#afe849bde6001bff384eb6b090c9b01e3">ANTLR3_RECOGNIZER_SHARED_STATE_struct::tokenNames</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f">antlr3TreeParserNewStream()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3treeparser_8c_a22c45f91acc78faa73e6b1fd637e3e0c_icgraph.png" border="0" usemap="#antlr3treeparser_8c_a22c45f91acc78faa73e6b1fd637e3e0c_icgraph" alt=""/></div>
<map name="antlr3treeparser_8c_a22c45f91acc78faa73e6b1fd637e3e0c_icgraph" id="antlr3treeparser_8c_a22c45f91acc78faa73e6b1fd637e3e0c_icgraph">
<area shape="rect" id="node3" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f" title="antlr3TreeParserNewStream" alt="" coords="237,5,509,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aabd03d73f8c74463fe267c7d219f8ff5"></a><!-- doxytag: member="antlr3treeparser.c::getTreeNodeStream" ref="aabd03d73f8c74463fe267c7d219f8ff5" args="(pANTLR3_TREE_PARSER parser)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="struct_a_n_t_l_r3___c_o_m_m_o_n___t_r_e_e___n_o_d_e___s_t_r_e_a_m__struct.html">pANTLR3_COMMON_TREE_NODE_STREAM</a> getTreeNodeStream </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___t_r_e_e___p_a_r_s_e_r__struct.html">pANTLR3_TREE_PARSER</a>&#160;</td>
          <td class="paramname"><em>parser</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return a pointer to the input stream. </p>

<p>References <a class="el" href="struct_a_n_t_l_r3___t_r_e_e___p_a_r_s_e_r__struct.html#a3c4fe4428b6684ed143062869673d215">ANTLR3_TREE_PARSER_struct::ctnstream</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f">antlr3TreeParserNewStream()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3treeparser_8c_aabd03d73f8c74463fe267c7d219f8ff5_icgraph.png" border="0" usemap="#antlr3treeparser_8c_aabd03d73f8c74463fe267c7d219f8ff5_icgraph" alt=""/></div>
<map name="antlr3treeparser_8c_aabd03d73f8c74463fe267c7d219f8ff5_icgraph" id="antlr3treeparser_8c_aabd03d73f8c74463fe267c7d219f8ff5_icgraph">
<area shape="rect" id="node3" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f" title="antlr3TreeParserNewStream" alt="" coords="245,5,517,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af8c302d1762b73b1a80c88ca71210472"></a><!-- doxytag: member="antlr3treeparser.c::mismatch" ref="af8c302d1762b73b1a80c88ca71210472" args="(pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void mismatch </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html">pANTLR3_BASE_RECOGNIZER</a>&#160;</td>
          <td class="paramname"><em>recognizer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#ac41f744abd0fd25144b9eb9d11b1dfd1">ANTLR3_UINT32</a>&#160;</td>
          <td class="paramname"><em>ttype</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_i_t_s_e_t___l_i_s_t__struct.html">pANTLR3_BITSET_LIST</a>&#160;</td>
          <td class="paramname"><em>follow</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Override for standard base recognizer mismatch function as we have DOWN/UP nodes in the stream that have no line info, plus we want to alter the exception type. </p>

<p>References <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html#aeb9618e34a17218f524e0b70158285e3">ANTLR3_BASE_RECOGNIZER_struct::exConstruct</a>, and <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html#ae7d73ad15b172396aefd64d0b7316f1e">ANTLR3_BASE_RECOGNIZER_struct::recoverFromMismatchedToken</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f">antlr3TreeParserNewStream()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3treeparser_8c_af8c302d1762b73b1a80c88ca71210472_icgraph.png" border="0" usemap="#antlr3treeparser_8c_af8c302d1762b73b1a80c88ca71210472_icgraph" alt=""/></div>
<map name="antlr3treeparser_8c_af8c302d1762b73b1a80c88ca71210472_icgraph" id="antlr3treeparser_8c_af8c302d1762b73b1a80c88ca71210472_icgraph">
<area shape="rect" id="node3" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f" title="antlr3TreeParserNewStream" alt="" coords="157,5,429,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a4a9566c35125d3c355177eef540c1e8a"></a><!-- doxytag: member="antlr3treeparser.c::setTreeNodeStream" ref="a4a9566c35125d3c355177eef540c1e8a" args="(pANTLR3_TREE_PARSER parser, pANTLR3_COMMON_TREE_NODE_STREAM input)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void setTreeNodeStream </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___t_r_e_e___p_a_r_s_e_r__struct.html">pANTLR3_TREE_PARSER</a>&#160;</td>
          <td class="paramname"><em>parser</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___c_o_m_m_o_n___t_r_e_e___n_o_d_e___s_t_r_e_a_m__struct.html">pANTLR3_COMMON_TREE_NODE_STREAM</a>&#160;</td>
          <td class="paramname"><em>input</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the input stream and reset the parser. </p>

<p>References <a class="el" href="struct_a_n_t_l_r3___t_r_e_e___p_a_r_s_e_r__struct.html#a3c4fe4428b6684ed143062869673d215">ANTLR3_TREE_PARSER_struct::ctnstream</a>, <a class="el" href="struct_a_n_t_l_r3___t_r_e_e___p_a_r_s_e_r__struct.html#a2c91ea97da3628675b73dfd0818f697c">ANTLR3_TREE_PARSER_struct::rec</a>, <a class="el" href="struct_a_n_t_l_r3___c_o_m_m_o_n___t_r_e_e___n_o_d_e___s_t_r_e_a_m__struct.html#a22ce819ea1f5facbb49fb284acd2822f">ANTLR3_COMMON_TREE_NODE_STREAM_struct::reset</a>, and <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r__struct.html#a428a26749476f09ec1fa2eb143e421e6">ANTLR3_BASE_RECOGNIZER_struct::reset</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f">antlr3TreeParserNewStream()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3treeparser_8c_a4a9566c35125d3c355177eef540c1e8a_icgraph.png" border="0" usemap="#antlr3treeparser_8c_a4a9566c35125d3c355177eef540c1e8a_icgraph" alt=""/></div>
<map name="antlr3treeparser_8c_a4a9566c35125d3c355177eef540c1e8a_icgraph" id="antlr3treeparser_8c_a4a9566c35125d3c355177eef540c1e8a_icgraph">
<area shape="rect" id="node3" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f" title="antlr3TreeParserNewStream" alt="" coords="245,5,517,32"/></map>
</div>
</p>

</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="antlr3treeparser_8c.html">antlr3treeparser.c</a>      </li>
      <li class="footer">Generated on Tue Feb 8 2011 for ANTLR3C by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
    </ul>
  </div>

</body>
</html>