Sophie

Sophie

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

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/antlr3rewritestreams.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('antlr3rewritestreams_8c.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<h1>antlr3rewritestreams.c File Reference</h1>  </div>
</div>
<div class="contents">

<p>Implementation of token/tree streams that are used by the tree re-write rules to manipulate the tokens and trees produced by rules that are subject to rewrite directives.  
<a href="#_details">More...</a></p>
<div class="textblock"><code>#include &lt;antlr3rewritestreams.h&gt;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for antlr3rewritestreams.c:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c__incl.png" border="0" usemap="#src_2antlr3rewritestreams_8c" alt=""/></div>
<map name="src_2antlr3rewritestreams_8c" id="src_2antlr3rewritestreams_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">static void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#a38bb0f23ac628ec8dab06e6c3b09a7d7">_next</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Do the work of getting the next element, making sure that it's a tree node or subtree.  <a href="#a38bb0f23ac628ec8dab06e6c3b09a7d7"></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="antlr3rewritestreams_8c.html#ac615f422720c8da7b94fb5943e2ba683">add</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream, void *el, void(ANTLR3_CDECL *freePtr)(void *))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <br class="typebreak"/>
<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE</a> (<a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a> adaptor, <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> rec, <a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a> description)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <br class="typebreak"/>
<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b">antlr3RewriteRuleElementStreamNewAEE</a> (<a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a> adaptor, <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> rec, <a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a> description, void *oneElement)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <br class="typebreak"/>
<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4">antlr3RewriteRuleElementStreamNewAEV</a> (<a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a> adaptor, <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> rec, <a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a> description, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html">pANTLR3_VECTOR</a> vector)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ANTLR3_API <br class="typebreak"/>
<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_NODE_STREAM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#a7596a932e273034a4957673bf100a5b3">antlr3RewriteRuleNODEStreamNewAE</a> (<a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a> adaptor, <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> rec, <a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a> description)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ANTLR3_API <br class="typebreak"/>
<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_NODE_STREAM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#ab7f94b47defeeed250f4e8564d9cfddb">antlr3RewriteRuleNODEStreamNewAEE</a> (<a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a> adaptor, <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> rec, <a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a> description, void *oneElement)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ANTLR3_API <br class="typebreak"/>
<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_NODE_STREAM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#a763c2d39ab30272e348dc24c352fdb3f">antlr3RewriteRuleNODEStreamNewAEV</a> (<a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a> adaptor, <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> rec, <a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a> description, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html">pANTLR3_VECTOR</a> vector)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ANTLR3_API <br class="typebreak"/>
<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_SUBTREE_STREAM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#a16be71f3f2ecf449b84619b12ef60b99">antlr3RewriteRuleSubtreeStreamNewAE</a> (<a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a> adaptor, <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> rec, <a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a> description)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ANTLR3_API <br class="typebreak"/>
<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_SUBTREE_STREAM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#a0acf53ce0fcc00588c1e04bab927adb9">antlr3RewriteRuleSubtreeStreamNewAEE</a> (<a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a> adaptor, <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> rec, <a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a> description, void *oneElement)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ANTLR3_API <br class="typebreak"/>
<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_SUBTREE_STREAM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#a40732f8c10bf9852b0672154bc0610d4">antlr3RewriteRuleSubtreeStreamNewAEV</a> (<a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a> adaptor, <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> rec, <a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a> description, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html">pANTLR3_VECTOR</a> vector)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ANTLR3_API <br class="typebreak"/>
<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_TOKEN_STREAM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#ae0ff8ede4d865df041890678c1c813ca">antlr3RewriteRuleTOKENStreamNewAE</a> (<a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a> adaptor, <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> rec, <a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a> description)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ANTLR3_API <br class="typebreak"/>
<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_TOKEN_STREAM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c">antlr3RewriteRuleTOKENStreamNewAEE</a> (<a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a> adaptor, <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> rec, <a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a> description, void *oneElement)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ANTLR3_API <br class="typebreak"/>
<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_TOKEN_STREAM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#af894906ad095a0c7837c2fa2a4e795a0">antlr3RewriteRuleTOKENStreamNewAEV</a> (<a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a> adaptor, <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> rec, <a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a> description, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html">pANTLR3_VECTOR</a> vector)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#ace60cc66454543b2d324abd53f9d7786">dupTok</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream, void *el)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">When constructing trees, sometimes we need to dup a token or AST subtree.  <a href="#ace60cc66454543b2d324abd53f9d7786"></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="antlr3rewritestreams_8c.html#ab4f96b9629a7b2daab5b3c91d998409b">dupTree</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream, void *element)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">When constructing trees, sometimes we need to dup a token or AST subtree.  <a href="#ab4f96b9629a7b2daab5b3c91d998409b"></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="antlr3rewritestreams_8c.html#af708f12b98076bc1b65a31c8d93615b0">dupTreeNode</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream, void *element)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">When constructing trees, sometimes we need to dup a token or AST subtree.  <a href="#af708f12b98076bc1b65a31c8d93615b0"></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="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a">expungeRS</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#a19609045c50fcc7646b2ad317ac63bf4">freeNodeRS</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Do special nilNode reuse detection for node streams.  <a href="#a19609045c50fcc7646b2ad317ac63bf4"></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="antlr3rewritestreams_8c.html#ac62695e133933981a66879766d7f6b13">freeRS</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#a28bae236ccf847a63f744b3fa1caa852">getDescription</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the description string if there is one available (check for NULL).  <a href="#a28bae236ccf847a63f744b3fa1caa852"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="antlr3defs_8h.html#a5b33dccbba3b7212539695e21df4079b">ANTLR3_BOOLEAN</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#a527085061676d9ba4eae6ca1a079c2f7">hasNext</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns ANTLR3_TRUE if there is a next element available.  <a href="#a527085061676d9ba4eae6ca1a079c2f7"></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="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07">next</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the next element in the stream.  <a href="#a92c4d9fcaea24e9f6b4f658711bacc07"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html">pANTLR3_BASE_TREE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d">nextNode</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Treat next element as a single node even if it's a subtree.  <a href="#a8af2b03358a5b6485d1218e0922d909d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html">pANTLR3_BASE_TREE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#af3c113470ff9539b03fbcdbd3b824bc4">nextNodeNode</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html">pANTLR3_BASE_TREE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#ac894b5b507764a71b38003c2ed9d9274">nextNodeToken</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the next token from the list and create a node for it This is the implementation for token streams.  <a href="#ac894b5b507764a71b38003c2ed9d9274"></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="antlr3rewritestreams_8c.html#ae9180a210132fbbe5785e14c1e630f8e">nextToken</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the next element for a caller that wants just the token.  <a href="#ae9180a210132fbbe5785e14c1e630f8e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html">pANTLR3_BASE_TREE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#a953b1f2a52a6761d20bb4d571999e020">nextTree</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the next element in the stream.  <a href="#a953b1f2a52a6761d20bb4d571999e020"></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="antlr3rewritestreams_8c.html#a94ecbd87618f24d9a3216381594ddd2d">reset</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the condition of this stream so that it appears we have not consumed any of its elements.  <a href="#a94ecbd87618f24d9a3216381594ddd2d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="antlr3defs_8h.html#ac41f744abd0fd25144b9eb9d11b1dfd1">ANTLR3_UINT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#a75175d925a7a87929f39f671f2701217">size</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of elements available in the stream.  <a href="#a75175d925a7a87929f39f671f2701217"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html">pANTLR3_BASE_TREE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#a5c60528203598efec2bb28ba27f26400">toTree</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream, void *element)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">We don;t explicitly convert to a tree unless the call goes to nextTree, which means rewrites are heterogeneous.  <a href="#a5c60528203598efec2bb28ba27f26400"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html">pANTLR3_BASE_TREE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3rewritestreams_8c.html#a18ac0c352f110416b743232dffea5445">toTreeNode</a> (<a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> stream, void *element)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Ensure stream emits trees; tokens must be converted to AST nodes.  <a href="#a18ac0c352f110416b743232dffea5445"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Implementation of token/tree streams that are used by the tree re-write rules to manipulate the tokens and trees produced by rules that are subject to rewrite directives. </p>
</div><hr/><h2>Function Documentation</h2>
<a class="anchor" id="a38bb0f23ac628ec8dab06e6c3b09a7d7"></a><!-- doxytag: member="antlr3rewritestreams.c::_next" ref="a38bb0f23ac628ec8dab06e6c3b09a7d7" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void * _next </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Do the work of getting the next element, making sure that it's a tree node or subtree. </p>
<p>Deal with the optimization of single- element list versus list of size &gt; 1. Throw an exception (or something similar) if the stream is empty or we're out of elements and size&gt;1. You can override in a 'subclass' if necessary. </p>

<p>References <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a26ee5204e3a6fa6ba468478663a46f60">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::cursor</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a5f5e056ea19406a056138bb2db3e1396">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::elements</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html#a784acc56b2e82f3076691f7b1b28e279">ANTLR3_VECTOR_struct::get</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a3d90443fe82f011d5709c84c9add4508">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::singleElement</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ac1c8e6814f647b356c1e1b77e3e589fd">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::size</a>, and <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ab4e1cbf7d9e92987d53c9f9b835f0eeb">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::toTree</a>.</p>

<p>Referenced by <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a38bb0f23ac628ec8dab06e6c3b09a7d7_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a38bb0f23ac628ec8dab06e6c3b09a7d7_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a38bb0f23ac628ec8dab06e6c3b09a7d7_icgraph" id="antlr3rewritestreams_8c_a38bb0f23ac628ec8dab06e6c3b09a7d7_icgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="127,220,497,247"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="548,93,929,120"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="548,169,929,196"/><area shape="rect" id="node21" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="568,220,909,247"/><area shape="rect" id="node23" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99" title="antlr3RewriteRuleSubtreeStreamNewAE" alt="" coords="553,271,924,297"/><area shape="rect" id="node25" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca" title="antlr3RewriteRuleTOKENStreamNewAE" alt="" coords="563,321,915,348"/><area shape="rect" id="node7" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="995,5,1347,32"/><area shape="rect" id="node9" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="980,56,1361,83"/><area shape="rect" id="node11" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="989,107,1352,133"/><area shape="rect" id="node15" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="995,157,1347,184"/><area shape="rect" id="node17" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="980,208,1361,235"/><area shape="rect" id="node19" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="989,259,1352,285"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ac615f422720c8da7b94fb5943e2ba683"></a><!-- doxytag: member="antlr3rewritestreams.c::add" ref="ac615f422720c8da7b94fb5943e2ba683" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void *el, void(ANTLR3_CDECL *freePtr)(void *))" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>el</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void(ANTLR3_CDECL *freePtr)(void *)&#160;</td>
          <td class="paramname">&#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___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a20b25c06ca3abdbfba72f112142b9833">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::adaptor</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html#a6f0dba3efc96ef4d8359833b16c54eae">ANTLR3_VECTOR_struct::add</a>, <a class="el" href="antlr3errors_8h.html#a8cfcfbce03f3039eb35d87f97105dc1b">ANTLR3_TRUE</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html#a2159aa5b605c317c00ab0089dc45a7e9">ANTLR3_VECTOR_struct::count</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a5f5e056ea19406a056138bb2db3e1396">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::elements</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a00de6f1193fabbd344258e02d7bf6b23">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::freeElements</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r___f_a_c_t_o_r_y__struct.html#a6b8a6731dfee30248de74188f6d6acb1">ANTLR3_VECTOR_FACTORY_struct::newVector</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a3d90443fe82f011d5709c84c9add4508">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::singleElement</a>, and <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html#a092b489ee69367239890aa924adf649b">ANTLR3_BASE_TREE_ADAPTOR_struct::super</a>.</p>

<p>Referenced by <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_ac615f422720c8da7b94fb5943e2ba683_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_ac615f422720c8da7b94fb5943e2ba683_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_ac615f422720c8da7b94fb5943e2ba683_icgraph" id="antlr3rewritestreams_8c_ac615f422720c8da7b94fb5943e2ba683_icgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="108,220,479,247"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="529,93,911,120"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="529,169,911,196"/><area shape="rect" id="node21" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="549,220,891,247"/><area shape="rect" id="node23" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99" title="antlr3RewriteRuleSubtreeStreamNewAE" alt="" coords="535,271,905,297"/><area shape="rect" id="node25" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca" title="antlr3RewriteRuleTOKENStreamNewAE" alt="" coords="544,321,896,348"/><area shape="rect" id="node7" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="976,5,1328,32"/><area shape="rect" id="node9" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="961,56,1343,83"/><area shape="rect" id="node11" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="971,107,1333,133"/><area shape="rect" id="node15" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="976,157,1328,184"/><area shape="rect" id="node17" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="961,208,1343,235"/><area shape="rect" id="node19" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="971,259,1333,285"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ade5a6e49fb9dd7caee4b0189f5cf84e9"></a><!-- doxytag: member="antlr3rewritestreams.c::antlr3RewriteRuleElementStreamNewAE" ref="ade5a6e49fb9dd7caee4b0189f5cf84e9" args="(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> antlr3RewriteRuleElementStreamNewAE </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a>&#160;</td>
          <td class="paramname"><em>adaptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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>rec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a>&#160;</td>
          <td class="paramname"><em>description</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="antlr3rewritestreams_8c.html#a38bb0f23ac628ec8dab06e6c3b09a7d7">_next()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a69cee716e8e1deb6aa763737c5181544">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::_next</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a20b25c06ca3abdbfba72f112142b9833">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::adaptor</a>, <a class="el" href="antlr3rewritestreams_8c.html#ac615f422720c8da7b94fb5943e2ba683">add()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a40c0438d249bc834876cdeba57e5c36f">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::add</a>, <a class="el" href="antlr3errors_8h.html#a3baea4fe1963323e5757ee2c8f471d1c">ANTLR3_FALSE</a>, <a class="el" href="antlr3defs_8h.html#a3ba818e88ae972c4f77e55e80ed8abd5">ANTLR3_MALLOC</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html#a2159aa5b605c317c00ab0089dc45a7e9">ANTLR3_VECTOR_struct::count</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a26ee5204e3a6fa6ba468478663a46f60">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::cursor</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ace76c26ae005d87209376d9aafae6f35">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::dirty</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a0902e14cb0c4ce49537d9c06176acb8f">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::elementDescription</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a5f5e056ea19406a056138bb2db3e1396">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::elements</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae77c76a2570b6ef4f40146b33ad4c04a">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::free</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a00de6f1193fabbd344258e02d7bf6b23">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::freeElements</a>, <a class="el" href="antlr3rewritestreams_8c.html#ac62695e133933981a66879766d7f6b13">freeRS()</a>, <a class="el" href="antlr3rewritestreams_8c.html#a28bae236ccf847a63f744b3fa1caa852">getDescription()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a6eb5f2121bfbe1d52e0fbb8f760f4485">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::getDescription</a>, <a class="el" href="antlr3rewritestreams_8c.html#a527085061676d9ba4eae6ca1a079c2f7">hasNext()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#adb77b4789ff891dfcafa00b3cccf8f58">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::hasNext</a>, <a class="el" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07">next()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a49a3d89cea69ba728843b12a5cfd51e3">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::next</a>, <a class="el" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d">nextNode()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#aecd854145796216efc9c57b3960abfa4">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::nextNode</a>, <a class="el" href="antlr3rewritestreams_8c.html#ae9180a210132fbbe5785e14c1e630f8e">nextToken()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae68722ecc1e063575e357f87959f23a7">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::nextToken</a>, <a class="el" href="antlr3rewritestreams_8c.html#a953b1f2a52a6761d20bb4d571999e020">nextTree()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#acb290228de319c4cf0a219a0a413069b">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::nextTree</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a98e2e50ecddd94ce2b452514627e2b77">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::rec</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html#a7959e7d49ce7e378aa07c0747c93aa5c">ANTLR3_VECTOR_struct::remove</a>, <a class="el" href="antlr3rewritestreams_8c.html#a94ecbd87618f24d9a3216381594ddd2d">reset()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a49e313e9d59d347925773e99afbf3d6e">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::reset</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#a3d947576239c08c0edd4b91c8c452e93">ANTLR3_RECOGNIZER_SHARED_STATE_struct::rStreams</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a3d90443fe82f011d5709c84c9add4508">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::singleElement</a>, <a class="el" href="antlr3rewritestreams_8c.html#a75175d925a7a87929f39f671f2701217">size()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ac1c8e6814f647b356c1e1b77e3e589fd">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::size</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="antlr3rewritestreams_8c.html#a5c60528203598efec2bb28ba27f26400">toTree()</a>, and <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ab4e1cbf7d9e92987d53c9f9b835f0eeb">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::toTree</a>.</p>

<p>Referenced by <a class="el" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b">antlr3RewriteRuleElementStreamNewAEE()</a>, <a class="el" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4">antlr3RewriteRuleElementStreamNewAEV()</a>, <a class="el" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3">antlr3RewriteRuleNODEStreamNewAE()</a>, <a class="el" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99">antlr3RewriteRuleSubtreeStreamNewAE()</a>, and <a class="el" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca">antlr3RewriteRuleTOKENStreamNewAE()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_ade5a6e49fb9dd7caee4b0189f5cf84e9_cgraph.png" border="0" usemap="#antlr3rewritestreams_8c_ade5a6e49fb9dd7caee4b0189f5cf84e9_cgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_ade5a6e49fb9dd7caee4b0189f5cf84e9_cgraph" id="antlr3rewritestreams_8c_ade5a6e49fb9dd7caee4b0189f5cf84e9_cgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#a38bb0f23ac628ec8dab06e6c3b09a7d7" title="Do the work of getting the next element, making sure that it&#39;s a tree node or subtree..." alt="" coords="472,5,544,32"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#ac615f422720c8da7b94fb5943e2ba683" title="add" alt="" coords="483,56,533,83"/><area shape="rect" id="node7" href="antlr3rewritestreams_8c.html#ac62695e133933981a66879766d7f6b13" title="freeRS" alt="" coords="467,107,549,133"/><area shape="rect" id="node11" href="antlr3rewritestreams_8c.html#a28bae236ccf847a63f744b3fa1caa852" title="Returns the description string if there is one available (check for NULL)." alt="" coords="427,157,589,184"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a527085061676d9ba4eae6ca1a079c2f7" title="Returns ANTLR3_TRUE if there is a next element available." alt="" coords="463,208,553,235"/><area shape="rect" id="node15" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07" title="Return the next element in the stream." alt="" coords="477,259,539,285"/><area shape="rect" id="node17" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d" title="Treat next element as a single node even if it&#39;s a subtree." alt="" coords="457,309,559,336"/><area shape="rect" id="node19" href="antlr3rewritestreams_8c.html#ae9180a210132fbbe5785e14c1e630f8e" title="Return the next element for a caller that wants just the token." alt="" coords="452,360,564,387"/><area shape="rect" id="node21" href="antlr3rewritestreams_8c.html#a953b1f2a52a6761d20bb4d571999e020" title="Return the next element in the stream." alt="" coords="457,411,559,437"/><area shape="rect" id="node23" href="antlr3rewritestreams_8c.html#a94ecbd87618f24d9a3216381594ddd2d" title="Reset the condition of this stream so that it appears we have not consumed any of its elements..." alt="" coords="472,461,544,488"/><area shape="rect" id="node25" href="antlr3rewritestreams_8c.html#a75175d925a7a87929f39f671f2701217" title="Number of elements available in the stream." alt="" coords="477,512,539,539"/><area shape="rect" id="node27" href="antlr3rewritestreams_8c.html#a5c60528203598efec2bb28ba27f26400" title="We don;t explicitly convert to a tree unless the call goes to nextTree, which means rewrites are hete..." alt="" coords="467,563,549,589"/><area shape="rect" id="node9" href="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a" title="expungeRS" alt="" coords="637,107,749,133"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_ade5a6e49fb9dd7caee4b0189f5cf84e9_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_ade5a6e49fb9dd7caee4b0189f5cf84e9_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_ade5a6e49fb9dd7caee4b0189f5cf84e9_icgraph" id="antlr3rewritestreams_8c_ade5a6e49fb9dd7caee4b0189f5cf84e9_icgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="428,93,809,120"/><area shape="rect" id="node11" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="428,169,809,196"/><area shape="rect" id="node19" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="448,220,789,247"/><area shape="rect" id="node21" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99" title="antlr3RewriteRuleSubtreeStreamNewAE" alt="" coords="433,271,804,297"/><area shape="rect" id="node23" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca" title="antlr3RewriteRuleTOKENStreamNewAE" alt="" coords="443,321,795,348"/><area shape="rect" id="node5" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="875,5,1227,32"/><area shape="rect" id="node7" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="860,56,1241,83"/><area shape="rect" id="node9" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="869,107,1232,133"/><area shape="rect" id="node13" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="875,157,1227,184"/><area shape="rect" id="node15" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="860,208,1241,235"/><area shape="rect" id="node17" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="869,259,1232,285"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af4ad1e2f5ad8e4773ca277d81daca13b"></a><!-- doxytag: member="antlr3rewritestreams.c::antlr3RewriteRuleElementStreamNewAEE" ref="af4ad1e2f5ad8e4773ca277d81daca13b" args="(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description, void *oneElement)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> antlr3RewriteRuleElementStreamNewAEE </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a>&#160;</td>
          <td class="paramname"><em>adaptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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>rec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a>&#160;</td>
          <td class="paramname"><em>description</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>oneElement</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___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a40c0438d249bc834876cdeba57e5c36f">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::add</a>, and <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb">antlr3RewriteRuleNODEStreamNewAEE()</a>, <a class="el" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9">antlr3RewriteRuleSubtreeStreamNewAEE()</a>, and <a class="el" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c">antlr3RewriteRuleTOKENStreamNewAEE()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_af4ad1e2f5ad8e4773ca277d81daca13b_cgraph.png" border="0" usemap="#antlr3rewritestreams_8c_af4ad1e2f5ad8e4773ca277d81daca13b_cgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_af4ad1e2f5ad8e4773ca277d81daca13b_cgraph" id="antlr3rewritestreams_8c_af4ad1e2f5ad8e4773ca277d81daca13b_cgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="439,284,809,311"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#a38bb0f23ac628ec8dab06e6c3b09a7d7" title="Do the work of getting the next element, making sure that it&#39;s a tree node or subtree..." alt="" coords="904,5,976,32"/><area shape="rect" id="node7" href="antlr3rewritestreams_8c.html#ac615f422720c8da7b94fb5943e2ba683" title="add" alt="" coords="915,56,965,83"/><area shape="rect" id="node9" href="antlr3rewritestreams_8c.html#ac62695e133933981a66879766d7f6b13" title="freeRS" alt="" coords="899,107,981,133"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a28bae236ccf847a63f744b3fa1caa852" title="Returns the description string if there is one available (check for NULL)." alt="" coords="859,157,1021,184"/><area shape="rect" id="node15" href="antlr3rewritestreams_8c.html#a527085061676d9ba4eae6ca1a079c2f7" title="Returns ANTLR3_TRUE if there is a next element available." alt="" coords="895,208,985,235"/><area shape="rect" id="node17" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07" title="Return the next element in the stream." alt="" coords="909,259,971,285"/><area shape="rect" id="node19" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d" title="Treat next element as a single node even if it&#39;s a subtree." alt="" coords="889,309,991,336"/><area shape="rect" id="node21" href="antlr3rewritestreams_8c.html#ae9180a210132fbbe5785e14c1e630f8e" title="Return the next element for a caller that wants just the token." alt="" coords="884,360,996,387"/><area shape="rect" id="node23" href="antlr3rewritestreams_8c.html#a953b1f2a52a6761d20bb4d571999e020" title="Return the next element in the stream." alt="" coords="889,411,991,437"/><area shape="rect" id="node25" href="antlr3rewritestreams_8c.html#a94ecbd87618f24d9a3216381594ddd2d" title="Reset the condition of this stream so that it appears we have not consumed any of its elements..." alt="" coords="904,461,976,488"/><area shape="rect" id="node27" href="antlr3rewritestreams_8c.html#a75175d925a7a87929f39f671f2701217" title="Number of elements available in the stream." alt="" coords="909,512,971,539"/><area shape="rect" id="node29" href="antlr3rewritestreams_8c.html#a5c60528203598efec2bb28ba27f26400" title="We don;t explicitly convert to a tree unless the call goes to nextTree, which means rewrites are hete..." alt="" coords="899,563,981,589"/><area shape="rect" id="node11" href="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a" title="expungeRS" alt="" coords="1069,107,1181,133"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_af4ad1e2f5ad8e4773ca277d81daca13b_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_af4ad1e2f5ad8e4773ca277d81daca13b_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_af4ad1e2f5ad8e4773ca277d81daca13b_icgraph" id="antlr3rewritestreams_8c_af4ad1e2f5ad8e4773ca277d81daca13b_icgraph">
<area shape="rect" id="node3" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="453,5,805,32"/><area shape="rect" id="node5" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="439,56,820,83"/><area shape="rect" id="node7" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="448,107,811,133"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a567f5e9c72a576b4000837f6df6c20c4"></a><!-- doxytag: member="antlr3rewritestreams.c::antlr3RewriteRuleElementStreamNewAEV" ref="a567f5e9c72a576b4000837f6df6c20c4" args="(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description, pANTLR3_VECTOR vector)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a> antlr3RewriteRuleElementStreamNewAEV </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a>&#160;</td>
          <td class="paramname"><em>adaptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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>rec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a>&#160;</td>
          <td class="paramname"><em>description</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html">pANTLR3_VECTOR</a>&#160;</td>
          <td class="paramname"><em>vector</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="antlr3errors_8h.html#a3baea4fe1963323e5757ee2c8f471d1c">ANTLR3_FALSE</a>, <a class="el" href="antlr3errors_8h.html#a8cfcfbce03f3039eb35d87f97105dc1b">ANTLR3_TRUE</a>, <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a5f5e056ea19406a056138bb2db3e1396">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::elements</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html#a7dabfe6d9965de22b4c2a8ab57c4bdde">ANTLR3_VECTOR_struct::factoryMade</a>, and <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a00de6f1193fabbd344258e02d7bf6b23">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::freeElements</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f">antlr3RewriteRuleNODEStreamNewAEV()</a>, <a class="el" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4">antlr3RewriteRuleSubtreeStreamNewAEV()</a>, and <a class="el" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0">antlr3RewriteRuleTOKENStreamNewAEV()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a567f5e9c72a576b4000837f6df6c20c4_cgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a567f5e9c72a576b4000837f6df6c20c4_cgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a567f5e9c72a576b4000837f6df6c20c4_cgraph" id="antlr3rewritestreams_8c_a567f5e9c72a576b4000837f6df6c20c4_cgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="439,284,809,311"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#a38bb0f23ac628ec8dab06e6c3b09a7d7" title="Do the work of getting the next element, making sure that it&#39;s a tree node or subtree..." alt="" coords="904,5,976,32"/><area shape="rect" id="node7" href="antlr3rewritestreams_8c.html#ac615f422720c8da7b94fb5943e2ba683" title="add" alt="" coords="915,56,965,83"/><area shape="rect" id="node9" href="antlr3rewritestreams_8c.html#ac62695e133933981a66879766d7f6b13" title="freeRS" alt="" coords="899,107,981,133"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a28bae236ccf847a63f744b3fa1caa852" title="Returns the description string if there is one available (check for NULL)." alt="" coords="859,157,1021,184"/><area shape="rect" id="node15" href="antlr3rewritestreams_8c.html#a527085061676d9ba4eae6ca1a079c2f7" title="Returns ANTLR3_TRUE if there is a next element available." alt="" coords="895,208,985,235"/><area shape="rect" id="node17" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07" title="Return the next element in the stream." alt="" coords="909,259,971,285"/><area shape="rect" id="node19" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d" title="Treat next element as a single node even if it&#39;s a subtree." alt="" coords="889,309,991,336"/><area shape="rect" id="node21" href="antlr3rewritestreams_8c.html#ae9180a210132fbbe5785e14c1e630f8e" title="Return the next element for a caller that wants just the token." alt="" coords="884,360,996,387"/><area shape="rect" id="node23" href="antlr3rewritestreams_8c.html#a953b1f2a52a6761d20bb4d571999e020" title="Return the next element in the stream." alt="" coords="889,411,991,437"/><area shape="rect" id="node25" href="antlr3rewritestreams_8c.html#a94ecbd87618f24d9a3216381594ddd2d" title="Reset the condition of this stream so that it appears we have not consumed any of its elements..." alt="" coords="904,461,976,488"/><area shape="rect" id="node27" href="antlr3rewritestreams_8c.html#a75175d925a7a87929f39f671f2701217" title="Number of elements available in the stream." alt="" coords="909,512,971,539"/><area shape="rect" id="node29" href="antlr3rewritestreams_8c.html#a5c60528203598efec2bb28ba27f26400" title="We don;t explicitly convert to a tree unless the call goes to nextTree, which means rewrites are hete..." alt="" coords="899,563,981,589"/><area shape="rect" id="node11" href="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a" title="expungeRS" alt="" coords="1069,107,1181,133"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a567f5e9c72a576b4000837f6df6c20c4_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a567f5e9c72a576b4000837f6df6c20c4_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a567f5e9c72a576b4000837f6df6c20c4_icgraph" id="antlr3rewritestreams_8c_a567f5e9c72a576b4000837f6df6c20c4_icgraph">
<area shape="rect" id="node3" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="453,5,805,32"/><area shape="rect" id="node5" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="439,56,820,83"/><area shape="rect" id="node7" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="448,107,811,133"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a7596a932e273034a4957673bf100a5b3"></a><!-- doxytag: member="antlr3rewritestreams.c::antlr3RewriteRuleNODEStreamNewAE" ref="a7596a932e273034a4957673bf100a5b3" args="(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description)" -->
<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___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_NODE_STREAM</a> antlr3RewriteRuleNODEStreamNewAE </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a>&#160;</td>
          <td class="paramname"><em>adaptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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>rec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a>&#160;</td>
          <td class="paramname"><em>description</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae843a201581e7ef94e8c50630a76eaf5">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::dup</a>, <a class="el" href="antlr3rewritestreams_8c.html#af708f12b98076bc1b65a31c8d93615b0">dupTreeNode()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae77c76a2570b6ef4f40146b33ad4c04a">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::free</a>, <a class="el" href="antlr3rewritestreams_8c.html#a19609045c50fcc7646b2ad317ac63bf4">freeNodeRS()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#aecd854145796216efc9c57b3960abfa4">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::nextNode</a>, <a class="el" href="antlr3rewritestreams_8c.html#af3c113470ff9539b03fbcdbd3b824bc4">nextNodeNode()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ab4e1cbf7d9e92987d53c9f9b835f0eeb">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::toTree</a>, and <a class="el" href="antlr3rewritestreams_8c.html#a18ac0c352f110416b743232dffea5445">toTreeNode()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a7596a932e273034a4957673bf100a5b3_cgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a7596a932e273034a4957673bf100a5b3_cgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a7596a932e273034a4957673bf100a5b3_cgraph" id="antlr3rewritestreams_8c_a7596a932e273034a4957673bf100a5b3_cgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="399,309,769,336"/><area shape="rect" id="node31" href="antlr3rewritestreams_8c.html#af708f12b98076bc1b65a31c8d93615b0" title="When constructing trees, sometimes we need to dup a token or AST subtree." alt="" coords="519,461,649,488"/><area shape="rect" id="node33" href="antlr3rewritestreams_8c.html#a19609045c50fcc7646b2ad317ac63bf4" title="Do special nilNode reuse detection for node streams." alt="" coords="523,512,645,539"/><area shape="rect" id="node36" href="antlr3rewritestreams_8c.html#af3c113470ff9539b03fbcdbd3b824bc4" title="nextNodeNode" alt="" coords="513,563,655,589"/><area shape="rect" id="node38" href="antlr3rewritestreams_8c.html#a18ac0c352f110416b743232dffea5445" title="Ensure stream emits trees; tokens must be converted to AST nodes." alt="" coords="523,613,645,640"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#a38bb0f23ac628ec8dab06e6c3b09a7d7" title="Do the work of getting the next element, making sure that it&#39;s a tree node or subtree..." alt="" coords="864,5,936,32"/><area shape="rect" id="node7" href="antlr3rewritestreams_8c.html#ac615f422720c8da7b94fb5943e2ba683" title="add" alt="" coords="875,56,925,83"/><area shape="rect" id="node9" href="antlr3rewritestreams_8c.html#ac62695e133933981a66879766d7f6b13" title="freeRS" alt="" coords="859,107,941,133"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a28bae236ccf847a63f744b3fa1caa852" title="Returns the description string if there is one available (check for NULL)." alt="" coords="819,157,981,184"/><area shape="rect" id="node15" href="antlr3rewritestreams_8c.html#a527085061676d9ba4eae6ca1a079c2f7" title="Returns ANTLR3_TRUE if there is a next element available." alt="" coords="855,208,945,235"/><area shape="rect" id="node17" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07" title="Return the next element in the stream." alt="" coords="869,259,931,285"/><area shape="rect" id="node19" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d" title="Treat next element as a single node even if it&#39;s a subtree." alt="" coords="849,309,951,336"/><area shape="rect" id="node21" href="antlr3rewritestreams_8c.html#ae9180a210132fbbe5785e14c1e630f8e" title="Return the next element for a caller that wants just the token." alt="" coords="844,360,956,387"/><area shape="rect" id="node23" href="antlr3rewritestreams_8c.html#a953b1f2a52a6761d20bb4d571999e020" title="Return the next element in the stream." alt="" coords="849,411,951,437"/><area shape="rect" id="node25" href="antlr3rewritestreams_8c.html#a94ecbd87618f24d9a3216381594ddd2d" title="Reset the condition of this stream so that it appears we have not consumed any of its elements..." alt="" coords="864,461,936,488"/><area shape="rect" id="node27" href="antlr3rewritestreams_8c.html#a75175d925a7a87929f39f671f2701217" title="Number of elements available in the stream." alt="" coords="869,512,931,539"/><area shape="rect" id="node29" href="antlr3rewritestreams_8c.html#a5c60528203598efec2bb28ba27f26400" title="We don;t explicitly convert to a tree unless the call goes to nextTree, which means rewrites are hete..." alt="" coords="859,563,941,589"/><area shape="rect" id="node11" href="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a" title="expungeRS" alt="" coords="1029,360,1141,387"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ab7f94b47defeeed250f4e8564d9cfddb"></a><!-- doxytag: member="antlr3rewritestreams.c::antlr3RewriteRuleNODEStreamNewAEE" ref="ab7f94b47defeeed250f4e8564d9cfddb" args="(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description, void *oneElement)" -->
<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___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_NODE_STREAM</a> antlr3RewriteRuleNODEStreamNewAEE </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a>&#160;</td>
          <td class="paramname"><em>adaptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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>rec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a>&#160;</td>
          <td class="paramname"><em>description</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>oneElement</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b">antlr3RewriteRuleElementStreamNewAEE()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae843a201581e7ef94e8c50630a76eaf5">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::dup</a>, <a class="el" href="antlr3rewritestreams_8c.html#af708f12b98076bc1b65a31c8d93615b0">dupTreeNode()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae77c76a2570b6ef4f40146b33ad4c04a">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::free</a>, <a class="el" href="antlr3rewritestreams_8c.html#a19609045c50fcc7646b2ad317ac63bf4">freeNodeRS()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#aecd854145796216efc9c57b3960abfa4">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::nextNode</a>, <a class="el" href="antlr3rewritestreams_8c.html#af3c113470ff9539b03fbcdbd3b824bc4">nextNodeNode()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ab4e1cbf7d9e92987d53c9f9b835f0eeb">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::toTree</a>, and <a class="el" href="antlr3rewritestreams_8c.html#a18ac0c352f110416b743232dffea5445">toTreeNode()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_ab7f94b47defeeed250f4e8564d9cfddb_cgraph.png" border="0" usemap="#antlr3rewritestreams_8c_ab7f94b47defeeed250f4e8564d9cfddb_cgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_ab7f94b47defeeed250f4e8564d9cfddb_cgraph" id="antlr3rewritestreams_8c_ab7f94b47defeeed250f4e8564d9cfddb_cgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="407,335,788,361"/><area shape="rect" id="node33" href="antlr3rewritestreams_8c.html#af708f12b98076bc1b65a31c8d93615b0" title="When constructing trees, sometimes we need to dup a token or AST subtree." alt="" coords="532,436,663,463"/><area shape="rect" id="node35" href="antlr3rewritestreams_8c.html#a19609045c50fcc7646b2ad317ac63bf4" title="Do special nilNode reuse detection for node streams." alt="" coords="963,588,1085,615"/><area shape="rect" id="node38" href="antlr3rewritestreams_8c.html#af3c113470ff9539b03fbcdbd3b824bc4" title="nextNodeNode" alt="" coords="527,537,668,564"/><area shape="rect" id="node40" href="antlr3rewritestreams_8c.html#a18ac0c352f110416b743232dffea5445" title="Ensure stream emits trees; tokens must be converted to AST nodes." alt="" coords="536,588,659,615"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="839,309,1209,336"/><area shape="rect" id="node7" href="antlr3rewritestreams_8c.html#a38bb0f23ac628ec8dab06e6c3b09a7d7" title="Do the work of getting the next element, making sure that it&#39;s a tree node or subtree..." alt="" coords="1304,5,1376,32"/><area shape="rect" id="node9" href="antlr3rewritestreams_8c.html#ac615f422720c8da7b94fb5943e2ba683" title="add" alt="" coords="1315,56,1365,83"/><area shape="rect" id="node11" href="antlr3rewritestreams_8c.html#ac62695e133933981a66879766d7f6b13" title="freeRS" alt="" coords="1299,107,1381,133"/><area shape="rect" id="node15" href="antlr3rewritestreams_8c.html#a28bae236ccf847a63f744b3fa1caa852" title="Returns the description string if there is one available (check for NULL)." alt="" coords="1259,157,1421,184"/><area shape="rect" id="node17" href="antlr3rewritestreams_8c.html#a527085061676d9ba4eae6ca1a079c2f7" title="Returns ANTLR3_TRUE if there is a next element available." alt="" coords="1295,208,1385,235"/><area shape="rect" id="node19" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07" title="Return the next element in the stream." alt="" coords="1309,259,1371,285"/><area shape="rect" id="node21" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d" title="Treat next element as a single node even if it&#39;s a subtree." alt="" coords="1289,309,1391,336"/><area shape="rect" id="node23" href="antlr3rewritestreams_8c.html#ae9180a210132fbbe5785e14c1e630f8e" title="Return the next element for a caller that wants just the token." alt="" coords="1284,360,1396,387"/><area shape="rect" id="node25" href="antlr3rewritestreams_8c.html#a953b1f2a52a6761d20bb4d571999e020" title="Return the next element in the stream." alt="" coords="1289,411,1391,437"/><area shape="rect" id="node27" href="antlr3rewritestreams_8c.html#a94ecbd87618f24d9a3216381594ddd2d" title="Reset the condition of this stream so that it appears we have not consumed any of its elements..." alt="" coords="1304,461,1376,488"/><area shape="rect" id="node29" href="antlr3rewritestreams_8c.html#a75175d925a7a87929f39f671f2701217" title="Number of elements available in the stream." alt="" coords="1309,512,1371,539"/><area shape="rect" id="node31" href="antlr3rewritestreams_8c.html#a5c60528203598efec2bb28ba27f26400" title="We don;t explicitly convert to a tree unless the call goes to nextTree, which means rewrites are hete..." alt="" coords="1299,563,1381,589"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a" title="expungeRS" alt="" coords="1469,360,1581,387"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a763c2d39ab30272e348dc24c352fdb3f"></a><!-- doxytag: member="antlr3rewritestreams.c::antlr3RewriteRuleNODEStreamNewAEV" ref="a763c2d39ab30272e348dc24c352fdb3f" args="(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description, pANTLR3_VECTOR vector)" -->
<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___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_NODE_STREAM</a> antlr3RewriteRuleNODEStreamNewAEV </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a>&#160;</td>
          <td class="paramname"><em>adaptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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>rec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a>&#160;</td>
          <td class="paramname"><em>description</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html">pANTLR3_VECTOR</a>&#160;</td>
          <td class="paramname"><em>vector</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4">antlr3RewriteRuleElementStreamNewAEV()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae843a201581e7ef94e8c50630a76eaf5">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::dup</a>, <a class="el" href="antlr3rewritestreams_8c.html#af708f12b98076bc1b65a31c8d93615b0">dupTreeNode()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae77c76a2570b6ef4f40146b33ad4c04a">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::free</a>, <a class="el" href="antlr3rewritestreams_8c.html#a19609045c50fcc7646b2ad317ac63bf4">freeNodeRS()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#aecd854145796216efc9c57b3960abfa4">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::nextNode</a>, <a class="el" href="antlr3rewritestreams_8c.html#af3c113470ff9539b03fbcdbd3b824bc4">nextNodeNode()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ab4e1cbf7d9e92987d53c9f9b835f0eeb">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::toTree</a>, and <a class="el" href="antlr3rewritestreams_8c.html#a18ac0c352f110416b743232dffea5445">toTreeNode()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a763c2d39ab30272e348dc24c352fdb3f_cgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a763c2d39ab30272e348dc24c352fdb3f_cgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a763c2d39ab30272e348dc24c352fdb3f_cgraph" id="antlr3rewritestreams_8c_a763c2d39ab30272e348dc24c352fdb3f_cgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="407,335,788,361"/><area shape="rect" id="node33" href="antlr3rewritestreams_8c.html#af708f12b98076bc1b65a31c8d93615b0" title="When constructing trees, sometimes we need to dup a token or AST subtree." alt="" coords="532,436,663,463"/><area shape="rect" id="node35" href="antlr3rewritestreams_8c.html#a19609045c50fcc7646b2ad317ac63bf4" title="Do special nilNode reuse detection for node streams." alt="" coords="963,588,1085,615"/><area shape="rect" id="node38" href="antlr3rewritestreams_8c.html#af3c113470ff9539b03fbcdbd3b824bc4" title="nextNodeNode" alt="" coords="527,537,668,564"/><area shape="rect" id="node40" href="antlr3rewritestreams_8c.html#a18ac0c352f110416b743232dffea5445" title="Ensure stream emits trees; tokens must be converted to AST nodes." alt="" coords="536,588,659,615"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="839,309,1209,336"/><area shape="rect" id="node7" href="antlr3rewritestreams_8c.html#a38bb0f23ac628ec8dab06e6c3b09a7d7" title="Do the work of getting the next element, making sure that it&#39;s a tree node or subtree..." alt="" coords="1304,5,1376,32"/><area shape="rect" id="node9" href="antlr3rewritestreams_8c.html#ac615f422720c8da7b94fb5943e2ba683" title="add" alt="" coords="1315,56,1365,83"/><area shape="rect" id="node11" href="antlr3rewritestreams_8c.html#ac62695e133933981a66879766d7f6b13" title="freeRS" alt="" coords="1299,107,1381,133"/><area shape="rect" id="node15" href="antlr3rewritestreams_8c.html#a28bae236ccf847a63f744b3fa1caa852" title="Returns the description string if there is one available (check for NULL)." alt="" coords="1259,157,1421,184"/><area shape="rect" id="node17" href="antlr3rewritestreams_8c.html#a527085061676d9ba4eae6ca1a079c2f7" title="Returns ANTLR3_TRUE if there is a next element available." alt="" coords="1295,208,1385,235"/><area shape="rect" id="node19" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07" title="Return the next element in the stream." alt="" coords="1309,259,1371,285"/><area shape="rect" id="node21" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d" title="Treat next element as a single node even if it&#39;s a subtree." alt="" coords="1289,309,1391,336"/><area shape="rect" id="node23" href="antlr3rewritestreams_8c.html#ae9180a210132fbbe5785e14c1e630f8e" title="Return the next element for a caller that wants just the token." alt="" coords="1284,360,1396,387"/><area shape="rect" id="node25" href="antlr3rewritestreams_8c.html#a953b1f2a52a6761d20bb4d571999e020" title="Return the next element in the stream." alt="" coords="1289,411,1391,437"/><area shape="rect" id="node27" href="antlr3rewritestreams_8c.html#a94ecbd87618f24d9a3216381594ddd2d" title="Reset the condition of this stream so that it appears we have not consumed any of its elements..." alt="" coords="1304,461,1376,488"/><area shape="rect" id="node29" href="antlr3rewritestreams_8c.html#a75175d925a7a87929f39f671f2701217" title="Number of elements available in the stream." alt="" coords="1309,512,1371,539"/><area shape="rect" id="node31" href="antlr3rewritestreams_8c.html#a5c60528203598efec2bb28ba27f26400" title="We don;t explicitly convert to a tree unless the call goes to nextTree, which means rewrites are hete..." alt="" coords="1299,563,1381,589"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a" title="expungeRS" alt="" coords="1469,360,1581,387"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a16be71f3f2ecf449b84619b12ef60b99"></a><!-- doxytag: member="antlr3rewritestreams.c::antlr3RewriteRuleSubtreeStreamNewAE" ref="a16be71f3f2ecf449b84619b12ef60b99" args="(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description)" -->
<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___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_SUBTREE_STREAM</a> antlr3RewriteRuleSubtreeStreamNewAE </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a>&#160;</td>
          <td class="paramname"><em>adaptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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>rec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a>&#160;</td>
          <td class="paramname"><em>description</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae843a201581e7ef94e8c50630a76eaf5">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::dup</a>, <a class="el" href="antlr3rewritestreams_8c.html#ab4f96b9629a7b2daab5b3c91d998409b">dupTree()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae77c76a2570b6ef4f40146b33ad4c04a">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::free</a>, <a class="el" href="antlr3rewritestreams_8c.html#a19609045c50fcc7646b2ad317ac63bf4">freeNodeRS()</a>, <a class="el" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d">nextNode()</a>, and <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#aecd854145796216efc9c57b3960abfa4">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::nextNode</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a16be71f3f2ecf449b84619b12ef60b99_cgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a16be71f3f2ecf449b84619b12ef60b99_cgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a16be71f3f2ecf449b84619b12ef60b99_cgraph" id="antlr3rewritestreams_8c_a16be71f3f2ecf449b84619b12ef60b99_cgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="428,309,799,336"/><area shape="rect" id="node19" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d" title="Treat next element as a single node even if it&#39;s a subtree." alt="" coords="879,563,980,589"/><area shape="rect" id="node31" href="antlr3rewritestreams_8c.html#ab4f96b9629a7b2daab5b3c91d998409b" title="When constructing trees, sometimes we need to dup a token or AST subtree." alt="" coords="568,563,659,589"/><area shape="rect" id="node33" href="antlr3rewritestreams_8c.html#a19609045c50fcc7646b2ad317ac63bf4" title="Do special nilNode reuse detection for node streams." alt="" coords="552,613,675,640"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#a38bb0f23ac628ec8dab06e6c3b09a7d7" title="Do the work of getting the next element, making sure that it&#39;s a tree node or subtree..." alt="" coords="893,5,965,32"/><area shape="rect" id="node7" href="antlr3rewritestreams_8c.html#ac615f422720c8da7b94fb5943e2ba683" title="add" alt="" coords="904,56,955,83"/><area shape="rect" id="node9" href="antlr3rewritestreams_8c.html#ac62695e133933981a66879766d7f6b13" title="freeRS" alt="" coords="888,107,971,133"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a28bae236ccf847a63f744b3fa1caa852" title="Returns the description string if there is one available (check for NULL)." alt="" coords="848,157,1011,184"/><area shape="rect" id="node15" href="antlr3rewritestreams_8c.html#a527085061676d9ba4eae6ca1a079c2f7" title="Returns ANTLR3_TRUE if there is a next element available." alt="" coords="884,208,975,235"/><area shape="rect" id="node17" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07" title="Return the next element in the stream." alt="" coords="899,259,960,285"/><area shape="rect" id="node21" href="antlr3rewritestreams_8c.html#ae9180a210132fbbe5785e14c1e630f8e" title="Return the next element for a caller that wants just the token." alt="" coords="873,309,985,336"/><area shape="rect" id="node23" href="antlr3rewritestreams_8c.html#a953b1f2a52a6761d20bb4d571999e020" title="Return the next element in the stream." alt="" coords="879,360,980,387"/><area shape="rect" id="node25" href="antlr3rewritestreams_8c.html#a94ecbd87618f24d9a3216381594ddd2d" title="Reset the condition of this stream so that it appears we have not consumed any of its elements..." alt="" coords="893,411,965,437"/><area shape="rect" id="node27" href="antlr3rewritestreams_8c.html#a75175d925a7a87929f39f671f2701217" title="Number of elements available in the stream." alt="" coords="899,461,960,488"/><area shape="rect" id="node29" href="antlr3rewritestreams_8c.html#a5c60528203598efec2bb28ba27f26400" title="We don;t explicitly convert to a tree unless the call goes to nextTree, which means rewrites are hete..." alt="" coords="888,512,971,539"/><area shape="rect" id="node11" href="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a" title="expungeRS" alt="" coords="1059,360,1171,387"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a0acf53ce0fcc00588c1e04bab927adb9"></a><!-- doxytag: member="antlr3rewritestreams.c::antlr3RewriteRuleSubtreeStreamNewAEE" ref="a0acf53ce0fcc00588c1e04bab927adb9" args="(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description, void *oneElement)" -->
<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___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_SUBTREE_STREAM</a> antlr3RewriteRuleSubtreeStreamNewAEE </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a>&#160;</td>
          <td class="paramname"><em>adaptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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>rec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a>&#160;</td>
          <td class="paramname"><em>description</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>oneElement</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b">antlr3RewriteRuleElementStreamNewAEE()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae843a201581e7ef94e8c50630a76eaf5">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::dup</a>, <a class="el" href="antlr3rewritestreams_8c.html#ab4f96b9629a7b2daab5b3c91d998409b">dupTree()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae77c76a2570b6ef4f40146b33ad4c04a">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::free</a>, <a class="el" href="antlr3rewritestreams_8c.html#a19609045c50fcc7646b2ad317ac63bf4">freeNodeRS()</a>, <a class="el" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d">nextNode()</a>, and <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#aecd854145796216efc9c57b3960abfa4">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::nextNode</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a0acf53ce0fcc00588c1e04bab927adb9_cgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a0acf53ce0fcc00588c1e04bab927adb9_cgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a0acf53ce0fcc00588c1e04bab927adb9_cgraph" id="antlr3rewritestreams_8c_a0acf53ce0fcc00588c1e04bab927adb9_cgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="439,385,820,412"/><area shape="rect" id="node21" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d" title="Treat next element as a single node even if it&#39;s a subtree." alt="" coords="1321,563,1423,589"/><area shape="rect" id="node33" href="antlr3rewritestreams_8c.html#ab4f96b9629a7b2daab5b3c91d998409b" title="When constructing trees, sometimes we need to dup a token or AST subtree." alt="" coords="584,563,675,589"/><area shape="rect" id="node35" href="antlr3rewritestreams_8c.html#a19609045c50fcc7646b2ad317ac63bf4" title="Do special nilNode reuse detection for node streams." alt="" coords="995,613,1117,640"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="871,309,1241,336"/><area shape="rect" id="node7" href="antlr3rewritestreams_8c.html#a38bb0f23ac628ec8dab06e6c3b09a7d7" title="Do the work of getting the next element, making sure that it&#39;s a tree node or subtree..." alt="" coords="1336,5,1408,32"/><area shape="rect" id="node9" href="antlr3rewritestreams_8c.html#ac615f422720c8da7b94fb5943e2ba683" title="add" alt="" coords="1347,56,1397,83"/><area shape="rect" id="node11" href="antlr3rewritestreams_8c.html#ac62695e133933981a66879766d7f6b13" title="freeRS" alt="" coords="1331,107,1413,133"/><area shape="rect" id="node15" href="antlr3rewritestreams_8c.html#a28bae236ccf847a63f744b3fa1caa852" title="Returns the description string if there is one available (check for NULL)." alt="" coords="1291,157,1453,184"/><area shape="rect" id="node17" href="antlr3rewritestreams_8c.html#a527085061676d9ba4eae6ca1a079c2f7" title="Returns ANTLR3_TRUE if there is a next element available." alt="" coords="1327,208,1417,235"/><area shape="rect" id="node19" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07" title="Return the next element in the stream." alt="" coords="1341,259,1403,285"/><area shape="rect" id="node23" href="antlr3rewritestreams_8c.html#ae9180a210132fbbe5785e14c1e630f8e" title="Return the next element for a caller that wants just the token." alt="" coords="1316,309,1428,336"/><area shape="rect" id="node25" href="antlr3rewritestreams_8c.html#a953b1f2a52a6761d20bb4d571999e020" title="Return the next element in the stream." alt="" coords="1321,360,1423,387"/><area shape="rect" id="node27" href="antlr3rewritestreams_8c.html#a94ecbd87618f24d9a3216381594ddd2d" title="Reset the condition of this stream so that it appears we have not consumed any of its elements..." alt="" coords="1336,411,1408,437"/><area shape="rect" id="node29" href="antlr3rewritestreams_8c.html#a75175d925a7a87929f39f671f2701217" title="Number of elements available in the stream." alt="" coords="1341,461,1403,488"/><area shape="rect" id="node31" href="antlr3rewritestreams_8c.html#a5c60528203598efec2bb28ba27f26400" title="We don;t explicitly convert to a tree unless the call goes to nextTree, which means rewrites are hete..." alt="" coords="1331,512,1413,539"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a" title="expungeRS" alt="" coords="1501,360,1613,387"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a40732f8c10bf9852b0672154bc0610d4"></a><!-- doxytag: member="antlr3rewritestreams.c::antlr3RewriteRuleSubtreeStreamNewAEV" ref="a40732f8c10bf9852b0672154bc0610d4" args="(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description, pANTLR3_VECTOR vector)" -->
<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___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_SUBTREE_STREAM</a> antlr3RewriteRuleSubtreeStreamNewAEV </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a>&#160;</td>
          <td class="paramname"><em>adaptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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>rec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a>&#160;</td>
          <td class="paramname"><em>description</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html">pANTLR3_VECTOR</a>&#160;</td>
          <td class="paramname"><em>vector</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4">antlr3RewriteRuleElementStreamNewAEV()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae843a201581e7ef94e8c50630a76eaf5">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::dup</a>, <a class="el" href="antlr3rewritestreams_8c.html#ab4f96b9629a7b2daab5b3c91d998409b">dupTree()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae77c76a2570b6ef4f40146b33ad4c04a">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::free</a>, <a class="el" href="antlr3rewritestreams_8c.html#a19609045c50fcc7646b2ad317ac63bf4">freeNodeRS()</a>, <a class="el" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d">nextNode()</a>, and <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#aecd854145796216efc9c57b3960abfa4">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::nextNode</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a40732f8c10bf9852b0672154bc0610d4_cgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a40732f8c10bf9852b0672154bc0610d4_cgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a40732f8c10bf9852b0672154bc0610d4_cgraph" id="antlr3rewritestreams_8c_a40732f8c10bf9852b0672154bc0610d4_cgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="439,385,820,412"/><area shape="rect" id="node21" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d" title="Treat next element as a single node even if it&#39;s a subtree." alt="" coords="1321,563,1423,589"/><area shape="rect" id="node33" href="antlr3rewritestreams_8c.html#ab4f96b9629a7b2daab5b3c91d998409b" title="When constructing trees, sometimes we need to dup a token or AST subtree." alt="" coords="584,563,675,589"/><area shape="rect" id="node35" href="antlr3rewritestreams_8c.html#a19609045c50fcc7646b2ad317ac63bf4" title="Do special nilNode reuse detection for node streams." alt="" coords="995,613,1117,640"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="871,309,1241,336"/><area shape="rect" id="node7" href="antlr3rewritestreams_8c.html#a38bb0f23ac628ec8dab06e6c3b09a7d7" title="Do the work of getting the next element, making sure that it&#39;s a tree node or subtree..." alt="" coords="1336,5,1408,32"/><area shape="rect" id="node9" href="antlr3rewritestreams_8c.html#ac615f422720c8da7b94fb5943e2ba683" title="add" alt="" coords="1347,56,1397,83"/><area shape="rect" id="node11" href="antlr3rewritestreams_8c.html#ac62695e133933981a66879766d7f6b13" title="freeRS" alt="" coords="1331,107,1413,133"/><area shape="rect" id="node15" href="antlr3rewritestreams_8c.html#a28bae236ccf847a63f744b3fa1caa852" title="Returns the description string if there is one available (check for NULL)." alt="" coords="1291,157,1453,184"/><area shape="rect" id="node17" href="antlr3rewritestreams_8c.html#a527085061676d9ba4eae6ca1a079c2f7" title="Returns ANTLR3_TRUE if there is a next element available." alt="" coords="1327,208,1417,235"/><area shape="rect" id="node19" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07" title="Return the next element in the stream." alt="" coords="1341,259,1403,285"/><area shape="rect" id="node23" href="antlr3rewritestreams_8c.html#ae9180a210132fbbe5785e14c1e630f8e" title="Return the next element for a caller that wants just the token." alt="" coords="1316,309,1428,336"/><area shape="rect" id="node25" href="antlr3rewritestreams_8c.html#a953b1f2a52a6761d20bb4d571999e020" title="Return the next element in the stream." alt="" coords="1321,360,1423,387"/><area shape="rect" id="node27" href="antlr3rewritestreams_8c.html#a94ecbd87618f24d9a3216381594ddd2d" title="Reset the condition of this stream so that it appears we have not consumed any of its elements..." alt="" coords="1336,411,1408,437"/><area shape="rect" id="node29" href="antlr3rewritestreams_8c.html#a75175d925a7a87929f39f671f2701217" title="Number of elements available in the stream." alt="" coords="1341,461,1403,488"/><area shape="rect" id="node31" href="antlr3rewritestreams_8c.html#a5c60528203598efec2bb28ba27f26400" title="We don;t explicitly convert to a tree unless the call goes to nextTree, which means rewrites are hete..." alt="" coords="1331,512,1413,539"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a" title="expungeRS" alt="" coords="1501,360,1613,387"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae0ff8ede4d865df041890678c1c813ca"></a><!-- doxytag: member="antlr3rewritestreams.c::antlr3RewriteRuleTOKENStreamNewAE" ref="ae0ff8ede4d865df041890678c1c813ca" args="(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description)" -->
<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___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_TOKEN_STREAM</a> antlr3RewriteRuleTOKENStreamNewAE </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a>&#160;</td>
          <td class="paramname"><em>adaptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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>rec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a>&#160;</td>
          <td class="paramname"><em>description</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae843a201581e7ef94e8c50630a76eaf5">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::dup</a>, <a class="el" href="antlr3rewritestreams_8c.html#ace60cc66454543b2d324abd53f9d7786">dupTok()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#aecd854145796216efc9c57b3960abfa4">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::nextNode</a>, and <a class="el" href="antlr3rewritestreams_8c.html#ac894b5b507764a71b38003c2ed9d9274">nextNodeToken()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_ae0ff8ede4d865df041890678c1c813ca_cgraph.png" border="0" usemap="#antlr3rewritestreams_8c_ae0ff8ede4d865df041890678c1c813ca_cgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_ae0ff8ede4d865df041890678c1c813ca_cgraph" id="antlr3rewritestreams_8c_ae0ff8ede4d865df041890678c1c813ca_cgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="407,284,777,311"/><area shape="rect" id="node31" href="antlr3rewritestreams_8c.html#ace60cc66454543b2d324abd53f9d7786" title="When constructing trees, sometimes we need to dup a token or AST subtree." alt="" coords="551,335,633,361"/><area shape="rect" id="node33" href="antlr3rewritestreams_8c.html#ac894b5b507764a71b38003c2ed9d9274" title="Get the next token from the list and create a node for it This is the implementation for token stream..." alt="" coords="516,385,668,412"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#a38bb0f23ac628ec8dab06e6c3b09a7d7" title="Do the work of getting the next element, making sure that it&#39;s a tree node or subtree..." alt="" coords="872,5,944,32"/><area shape="rect" id="node7" href="antlr3rewritestreams_8c.html#ac615f422720c8da7b94fb5943e2ba683" title="add" alt="" coords="883,56,933,83"/><area shape="rect" id="node9" href="antlr3rewritestreams_8c.html#ac62695e133933981a66879766d7f6b13" title="freeRS" alt="" coords="867,107,949,133"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a28bae236ccf847a63f744b3fa1caa852" title="Returns the description string if there is one available (check for NULL)." alt="" coords="827,157,989,184"/><area shape="rect" id="node15" href="antlr3rewritestreams_8c.html#a527085061676d9ba4eae6ca1a079c2f7" title="Returns ANTLR3_TRUE if there is a next element available." alt="" coords="863,208,953,235"/><area shape="rect" id="node17" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07" title="Return the next element in the stream." alt="" coords="877,259,939,285"/><area shape="rect" id="node19" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d" title="Treat next element as a single node even if it&#39;s a subtree." alt="" coords="857,309,959,336"/><area shape="rect" id="node21" href="antlr3rewritestreams_8c.html#ae9180a210132fbbe5785e14c1e630f8e" title="Return the next element for a caller that wants just the token." alt="" coords="852,360,964,387"/><area shape="rect" id="node23" href="antlr3rewritestreams_8c.html#a953b1f2a52a6761d20bb4d571999e020" title="Return the next element in the stream." alt="" coords="857,411,959,437"/><area shape="rect" id="node25" href="antlr3rewritestreams_8c.html#a94ecbd87618f24d9a3216381594ddd2d" title="Reset the condition of this stream so that it appears we have not consumed any of its elements..." alt="" coords="872,461,944,488"/><area shape="rect" id="node27" href="antlr3rewritestreams_8c.html#a75175d925a7a87929f39f671f2701217" title="Number of elements available in the stream." alt="" coords="877,512,939,539"/><area shape="rect" id="node29" href="antlr3rewritestreams_8c.html#a5c60528203598efec2bb28ba27f26400" title="We don;t explicitly convert to a tree unless the call goes to nextTree, which means rewrites are hete..." alt="" coords="867,563,949,589"/><area shape="rect" id="node11" href="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a" title="expungeRS" alt="" coords="1037,107,1149,133"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a4a849eaa7e03d14ea7ddbb0c23c6e94c"></a><!-- doxytag: member="antlr3rewritestreams.c::antlr3RewriteRuleTOKENStreamNewAEE" ref="a4a849eaa7e03d14ea7ddbb0c23c6e94c" args="(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description, void *oneElement)" -->
<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___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_TOKEN_STREAM</a> antlr3RewriteRuleTOKENStreamNewAEE </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a>&#160;</td>
          <td class="paramname"><em>adaptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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>rec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a>&#160;</td>
          <td class="paramname"><em>description</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>oneElement</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b">antlr3RewriteRuleElementStreamNewAEE()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae843a201581e7ef94e8c50630a76eaf5">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::dup</a>, <a class="el" href="antlr3rewritestreams_8c.html#ace60cc66454543b2d324abd53f9d7786">dupTok()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#aecd854145796216efc9c57b3960abfa4">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::nextNode</a>, and <a class="el" href="antlr3rewritestreams_8c.html#ac894b5b507764a71b38003c2ed9d9274">nextNodeToken()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a4a849eaa7e03d14ea7ddbb0c23c6e94c_cgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a4a849eaa7e03d14ea7ddbb0c23c6e94c_cgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a4a849eaa7e03d14ea7ddbb0c23c6e94c_cgraph" id="antlr3rewritestreams_8c_a4a849eaa7e03d14ea7ddbb0c23c6e94c_cgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="417,284,799,311"/><area shape="rect" id="node33" href="antlr3rewritestreams_8c.html#ace60cc66454543b2d324abd53f9d7786" title="When constructing trees, sometimes we need to dup a token or AST subtree." alt="" coords="567,335,649,361"/><area shape="rect" id="node35" href="antlr3rewritestreams_8c.html#ac894b5b507764a71b38003c2ed9d9274" title="Get the next token from the list and create a node for it This is the implementation for token stream..." alt="" coords="532,385,684,412"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="849,284,1220,311"/><area shape="rect" id="node7" href="antlr3rewritestreams_8c.html#a38bb0f23ac628ec8dab06e6c3b09a7d7" title="Do the work of getting the next element, making sure that it&#39;s a tree node or subtree..." alt="" coords="1315,5,1387,32"/><area shape="rect" id="node9" href="antlr3rewritestreams_8c.html#ac615f422720c8da7b94fb5943e2ba683" title="add" alt="" coords="1325,56,1376,83"/><area shape="rect" id="node11" href="antlr3rewritestreams_8c.html#ac62695e133933981a66879766d7f6b13" title="freeRS" alt="" coords="1309,107,1392,133"/><area shape="rect" id="node15" href="antlr3rewritestreams_8c.html#a28bae236ccf847a63f744b3fa1caa852" title="Returns the description string if there is one available (check for NULL)." alt="" coords="1269,157,1432,184"/><area shape="rect" id="node17" href="antlr3rewritestreams_8c.html#a527085061676d9ba4eae6ca1a079c2f7" title="Returns ANTLR3_TRUE if there is a next element available." alt="" coords="1305,208,1396,235"/><area shape="rect" id="node19" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07" title="Return the next element in the stream." alt="" coords="1320,259,1381,285"/><area shape="rect" id="node21" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d" title="Treat next element as a single node even if it&#39;s a subtree." alt="" coords="1300,309,1401,336"/><area shape="rect" id="node23" href="antlr3rewritestreams_8c.html#ae9180a210132fbbe5785e14c1e630f8e" title="Return the next element for a caller that wants just the token." alt="" coords="1295,360,1407,387"/><area shape="rect" id="node25" href="antlr3rewritestreams_8c.html#a953b1f2a52a6761d20bb4d571999e020" title="Return the next element in the stream." alt="" coords="1300,411,1401,437"/><area shape="rect" id="node27" href="antlr3rewritestreams_8c.html#a94ecbd87618f24d9a3216381594ddd2d" title="Reset the condition of this stream so that it appears we have not consumed any of its elements..." alt="" coords="1315,461,1387,488"/><area shape="rect" id="node29" href="antlr3rewritestreams_8c.html#a75175d925a7a87929f39f671f2701217" title="Number of elements available in the stream." alt="" coords="1320,512,1381,539"/><area shape="rect" id="node31" href="antlr3rewritestreams_8c.html#a5c60528203598efec2bb28ba27f26400" title="We don;t explicitly convert to a tree unless the call goes to nextTree, which means rewrites are hete..." alt="" coords="1309,563,1392,589"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a" title="expungeRS" alt="" coords="1480,107,1592,133"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af894906ad095a0c7837c2fa2a4e795a0"></a><!-- doxytag: member="antlr3rewritestreams.c::antlr3RewriteRuleTOKENStreamNewAEV" ref="af894906ad095a0c7837c2fa2a4e795a0" args="(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description, pANTLR3_VECTOR vector)" -->
<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___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_TOKEN_STREAM</a> antlr3RewriteRuleTOKENStreamNewAEV </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html">pANTLR3_BASE_TREE_ADAPTOR</a>&#160;</td>
          <td class="paramname"><em>adaptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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>rec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#a95c800abcac5d607fd9e3e775ace78c5">pANTLR3_UINT8</a>&#160;</td>
          <td class="paramname"><em>description</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html">pANTLR3_VECTOR</a>&#160;</td>
          <td class="paramname"><em>vector</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4">antlr3RewriteRuleElementStreamNewAEV()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae843a201581e7ef94e8c50630a76eaf5">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::dup</a>, <a class="el" href="antlr3rewritestreams_8c.html#ace60cc66454543b2d324abd53f9d7786">dupTok()</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#aecd854145796216efc9c57b3960abfa4">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::nextNode</a>, and <a class="el" href="antlr3rewritestreams_8c.html#ac894b5b507764a71b38003c2ed9d9274">nextNodeToken()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_af894906ad095a0c7837c2fa2a4e795a0_cgraph.png" border="0" usemap="#antlr3rewritestreams_8c_af894906ad095a0c7837c2fa2a4e795a0_cgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_af894906ad095a0c7837c2fa2a4e795a0_cgraph" id="antlr3rewritestreams_8c_af894906ad095a0c7837c2fa2a4e795a0_cgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="417,284,799,311"/><area shape="rect" id="node33" href="antlr3rewritestreams_8c.html#ace60cc66454543b2d324abd53f9d7786" title="When constructing trees, sometimes we need to dup a token or AST subtree." alt="" coords="567,335,649,361"/><area shape="rect" id="node35" href="antlr3rewritestreams_8c.html#ac894b5b507764a71b38003c2ed9d9274" title="Get the next token from the list and create a node for it This is the implementation for token stream..." alt="" coords="532,385,684,412"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="849,284,1220,311"/><area shape="rect" id="node7" href="antlr3rewritestreams_8c.html#a38bb0f23ac628ec8dab06e6c3b09a7d7" title="Do the work of getting the next element, making sure that it&#39;s a tree node or subtree..." alt="" coords="1315,5,1387,32"/><area shape="rect" id="node9" href="antlr3rewritestreams_8c.html#ac615f422720c8da7b94fb5943e2ba683" title="add" alt="" coords="1325,56,1376,83"/><area shape="rect" id="node11" href="antlr3rewritestreams_8c.html#ac62695e133933981a66879766d7f6b13" title="freeRS" alt="" coords="1309,107,1392,133"/><area shape="rect" id="node15" href="antlr3rewritestreams_8c.html#a28bae236ccf847a63f744b3fa1caa852" title="Returns the description string if there is one available (check for NULL)." alt="" coords="1269,157,1432,184"/><area shape="rect" id="node17" href="antlr3rewritestreams_8c.html#a527085061676d9ba4eae6ca1a079c2f7" title="Returns ANTLR3_TRUE if there is a next element available." alt="" coords="1305,208,1396,235"/><area shape="rect" id="node19" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07" title="Return the next element in the stream." alt="" coords="1320,259,1381,285"/><area shape="rect" id="node21" href="antlr3rewritestreams_8c.html#a8af2b03358a5b6485d1218e0922d909d" title="Treat next element as a single node even if it&#39;s a subtree." alt="" coords="1300,309,1401,336"/><area shape="rect" id="node23" href="antlr3rewritestreams_8c.html#ae9180a210132fbbe5785e14c1e630f8e" title="Return the next element for a caller that wants just the token." alt="" coords="1295,360,1407,387"/><area shape="rect" id="node25" href="antlr3rewritestreams_8c.html#a953b1f2a52a6761d20bb4d571999e020" title="Return the next element in the stream." alt="" coords="1300,411,1401,437"/><area shape="rect" id="node27" href="antlr3rewritestreams_8c.html#a94ecbd87618f24d9a3216381594ddd2d" title="Reset the condition of this stream so that it appears we have not consumed any of its elements..." alt="" coords="1315,461,1387,488"/><area shape="rect" id="node29" href="antlr3rewritestreams_8c.html#a75175d925a7a87929f39f671f2701217" title="Number of elements available in the stream." alt="" coords="1320,512,1381,539"/><area shape="rect" id="node31" href="antlr3rewritestreams_8c.html#a5c60528203598efec2bb28ba27f26400" title="We don;t explicitly convert to a tree unless the call goes to nextTree, which means rewrites are hete..." alt="" coords="1309,563,1392,589"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a" title="expungeRS" alt="" coords="1480,107,1592,133"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ace60cc66454543b2d324abd53f9d7786"></a><!-- doxytag: member="antlr3rewritestreams.c::dupTok" ref="ace60cc66454543b2d324abd53f9d7786" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void *el)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void * dupTok </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>el</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>When constructing trees, sometimes we need to dup a token or AST subtree. </p>
<p>Dup'ing a token means just creating another AST node around it. For trees, you must call the adaptor.dupTree(). </p>

<p>References <a class="el" href="antlr3defs_8h.html#a27cc6fe6e2b9ed95c34ccbcf85149361">ANTLR3_FPRINTF</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca">antlr3RewriteRuleTOKENStreamNewAE()</a>, <a class="el" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c">antlr3RewriteRuleTOKENStreamNewAEE()</a>, and <a class="el" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0">antlr3RewriteRuleTOKENStreamNewAEV()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_ace60cc66454543b2d324abd53f9d7786_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_ace60cc66454543b2d324abd53f9d7786_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_ace60cc66454543b2d324abd53f9d7786_icgraph" id="antlr3rewritestreams_8c_ace60cc66454543b2d324abd53f9d7786_icgraph">
<area shape="rect" id="node3" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca" title="antlr3RewriteRuleTOKENStreamNewAE" alt="" coords="141,5,493,32"/><area shape="rect" id="node5" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="136,56,499,83"/><area shape="rect" id="node7" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="136,107,499,133"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ab4f96b9629a7b2daab5b3c91d998409b"></a><!-- doxytag: member="antlr3rewritestreams.c::dupTree" ref="ab4f96b9629a7b2daab5b3c91d998409b" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void *element)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void * dupTree </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>element</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>When constructing trees, sometimes we need to dup a token or AST subtree. </p>
<p>Dup'ing a token means just creating another AST node around it. For trees, you must call the adaptor.dupTree(). </p>

<p>References <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a20b25c06ca3abdbfba72f112142b9833">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::adaptor</a>, and <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html#acf27d8e1b968febb15630345961af373">ANTLR3_BASE_TREE_ADAPTOR_struct::dupNode</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99">antlr3RewriteRuleSubtreeStreamNewAE()</a>, <a class="el" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9">antlr3RewriteRuleSubtreeStreamNewAEE()</a>, and <a class="el" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4">antlr3RewriteRuleSubtreeStreamNewAEV()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_ab4f96b9629a7b2daab5b3c91d998409b_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_ab4f96b9629a7b2daab5b3c91d998409b_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_ab4f96b9629a7b2daab5b3c91d998409b_icgraph" id="antlr3rewritestreams_8c_ab4f96b9629a7b2daab5b3c91d998409b_icgraph">
<area shape="rect" id="node3" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99" title="antlr3RewriteRuleSubtreeStreamNewAE" alt="" coords="153,5,524,32"/><area shape="rect" id="node5" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="148,56,529,83"/><area shape="rect" id="node7" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="148,107,529,133"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af708f12b98076bc1b65a31c8d93615b0"></a><!-- doxytag: member="antlr3rewritestreams.c::dupTreeNode" ref="af708f12b98076bc1b65a31c8d93615b0" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void *element)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void * dupTreeNode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>element</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>When constructing trees, sometimes we need to dup a token or AST subtree. </p>
<p>Dup'ing a token means just creating another AST node around it. For trees, you must call the adaptor.dupTree(). </p>

<p>References <a class="el" href="antlr3defs_8h.html#a27cc6fe6e2b9ed95c34ccbcf85149361">ANTLR3_FPRINTF</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3">antlr3RewriteRuleNODEStreamNewAE()</a>, <a class="el" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb">antlr3RewriteRuleNODEStreamNewAEE()</a>, and <a class="el" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f">antlr3RewriteRuleNODEStreamNewAEV()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_af708f12b98076bc1b65a31c8d93615b0_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_af708f12b98076bc1b65a31c8d93615b0_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_af708f12b98076bc1b65a31c8d93615b0_icgraph" id="antlr3rewritestreams_8c_af708f12b98076bc1b65a31c8d93615b0_icgraph">
<area shape="rect" id="node3" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="192,5,533,32"/><area shape="rect" id="node5" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="187,56,539,83"/><area shape="rect" id="node7" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="187,107,539,133"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ab6dc8f330e64e2472ac0a66ffc50214a"></a><!-- doxytag: member="antlr3rewritestreams.c::expungeRS" ref="ab6dc8f330e64e2472ac0a66ffc50214a" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void expungeRS </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</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="antlr3errors_8h.html#a8cfcfbce03f3039eb35d87f97105dc1b">ANTLR3_TRUE</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a5f5e056ea19406a056138bb2db3e1396">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::elements</a>, and <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a00de6f1193fabbd344258e02d7bf6b23">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::freeElements</a>.</p>

<p>Referenced by <a class="el" href="antlr3rewritestreams_8c.html#a19609045c50fcc7646b2ad317ac63bf4">freeNodeRS()</a>, and <a class="el" href="antlr3rewritestreams_8c.html#ac62695e133933981a66879766d7f6b13">freeRS()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_ab6dc8f330e64e2472ac0a66ffc50214a_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_ab6dc8f330e64e2472ac0a66ffc50214a_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_ab6dc8f330e64e2472ac0a66ffc50214a_icgraph" id="antlr3rewritestreams_8c_ab6dc8f330e64e2472ac0a66ffc50214a_icgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#a19609045c50fcc7646b2ad317ac63bf4" title="Do special nilNode reuse detection for node streams." alt="" coords="848,107,971,133"/><area shape="rect" id="node17" href="antlr3rewritestreams_8c.html#ac62695e133933981a66879766d7f6b13" title="freeRS" alt="" coords="165,157,248,184"/><area shape="rect" id="node5" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="1171,5,1512,32"/><area shape="rect" id="node7" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="1165,107,1517,133"/><area shape="rect" id="node9" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="1165,259,1517,285"/><area shape="rect" id="node11" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99" title="antlr3RewriteRuleSubtreeStreamNewAE" alt="" coords="1156,56,1527,83"/><area shape="rect" id="node13" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="1151,157,1532,184"/><area shape="rect" id="node15" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="1151,309,1532,336"/><area shape="rect" id="node19" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="297,157,668,184"/><area shape="rect" id="node21" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="719,157,1100,184"/><area shape="rect" id="node27" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="719,259,1100,285"/><area shape="rect" id="node35" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca" title="antlr3RewriteRuleTOKENStreamNewAE" alt="" coords="733,309,1085,336"/><area shape="rect" id="node25" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="1160,208,1523,235"/><area shape="rect" id="node31" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="1160,360,1523,387"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a19609045c50fcc7646b2ad317ac63bf4"></a><!-- doxytag: member="antlr3rewritestreams.c::freeNodeRS" ref="a19609045c50fcc7646b2ad317ac63bf4" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void freeNodeRS </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Do special nilNode reuse detection for node streams. </p>

<p>References <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a20b25c06ca3abdbfba72f112142b9833">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::adaptor</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html#a6f0dba3efc96ef4d8359833b16c54eae">ANTLR3_VECTOR_struct::add</a>, <a class="el" href="antlr3errors_8h.html#a3baea4fe1963323e5757ee2c8f471d1c">ANTLR3_FALSE</a>, <a class="el" href="antlr3errors_8h.html#a8cfcfbce03f3039eb35d87f97105dc1b">ANTLR3_TRUE</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html#ac5a4bbeaf6f1c29f3174a8d6e4b73ab7">ANTLR3_VECTOR_struct::clear</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html#a2159aa5b605c317c00ab0089dc45a7e9">ANTLR3_VECTOR_struct::count</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r___e_l_e_m_e_n_t__struct.html#afc31c9b68b5b9851f21a38a3281b182b">ANTLR3_VECTOR_ELEMENT_struct::element</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html#aa8e5e1c014f50572d08605b08c1ab7f0">ANTLR3_VECTOR_struct::elements</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a5f5e056ea19406a056138bb2db3e1396">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::elements</a>, <a class="el" href="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a">expungeRS()</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html#a7dabfe6d9965de22b4c2a8ab57c4bdde">ANTLR3_VECTOR_struct::factoryMade</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a00de6f1193fabbd344258e02d7bf6b23">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::freeElements</a>, <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html#a168ab0a690e209efbdc911ca0e1d6c19">ANTLR3_BASE_TREE_struct::isNilNode</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a98e2e50ecddd94ce2b452514627e2b77">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::rec</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r___f_a_c_t_o_r_y__struct.html#a682d89800cb9cc07d495788265ad02b5">ANTLR3_VECTOR_FACTORY_struct::returnVector</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#a3d947576239c08c0edd4b91c8c452e93">ANTLR3_RECOGNIZER_SHARED_STATE_struct::rStreams</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a3d90443fe82f011d5709c84c9add4508">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::singleElement</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___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html#a092b489ee69367239890aa924adf649b">ANTLR3_BASE_TREE_ADAPTOR_struct::super</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3">antlr3RewriteRuleNODEStreamNewAE()</a>, <a class="el" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb">antlr3RewriteRuleNODEStreamNewAEE()</a>, <a class="el" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f">antlr3RewriteRuleNODEStreamNewAEV()</a>, <a class="el" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99">antlr3RewriteRuleSubtreeStreamNewAE()</a>, <a class="el" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9">antlr3RewriteRuleSubtreeStreamNewAEE()</a>, and <a class="el" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4">antlr3RewriteRuleSubtreeStreamNewAEV()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a19609045c50fcc7646b2ad317ac63bf4_cgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a19609045c50fcc7646b2ad317ac63bf4_cgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a19609045c50fcc7646b2ad317ac63bf4_cgraph" id="antlr3rewritestreams_8c_a19609045c50fcc7646b2ad317ac63bf4_cgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a" title="expungeRS" alt="" coords="176,5,288,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="antlr3rewritestreams_8c_a19609045c50fcc7646b2ad317ac63bf4_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a19609045c50fcc7646b2ad317ac63bf4_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a19609045c50fcc7646b2ad317ac63bf4_icgraph" id="antlr3rewritestreams_8c_a19609045c50fcc7646b2ad317ac63bf4_icgraph">
<area shape="rect" id="node3" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="197,5,539,32"/><area shape="rect" id="node5" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="192,56,544,83"/><area shape="rect" id="node7" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="192,107,544,133"/><area shape="rect" id="node9" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99" title="antlr3RewriteRuleSubtreeStreamNewAE" alt="" coords="183,157,553,184"/><area shape="rect" id="node11" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="177,208,559,235"/><area shape="rect" id="node13" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="177,259,559,285"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ac62695e133933981a66879766d7f6b13"></a><!-- doxytag: member="antlr3rewritestreams.c::freeRS" ref="ac62695e133933981a66879766d7f6b13" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void freeRS </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em></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___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a20b25c06ca3abdbfba72f112142b9833">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::adaptor</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html#a6f0dba3efc96ef4d8359833b16c54eae">ANTLR3_VECTOR_struct::add</a>, <a class="el" href="antlr3errors_8h.html#a3baea4fe1963323e5757ee2c8f471d1c">ANTLR3_FALSE</a>, <a class="el" href="antlr3errors_8h.html#a8cfcfbce03f3039eb35d87f97105dc1b">ANTLR3_TRUE</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html#ac5a4bbeaf6f1c29f3174a8d6e4b73ab7">ANTLR3_VECTOR_struct::clear</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a5f5e056ea19406a056138bb2db3e1396">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::elements</a>, <a class="el" href="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a">expungeRS()</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html#a7dabfe6d9965de22b4c2a8ab57c4bdde">ANTLR3_VECTOR_struct::factoryMade</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a00de6f1193fabbd344258e02d7bf6b23">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::freeElements</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a98e2e50ecddd94ce2b452514627e2b77">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::rec</a>, <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r___f_a_c_t_o_r_y__struct.html#a682d89800cb9cc07d495788265ad02b5">ANTLR3_VECTOR_FACTORY_struct::returnVector</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#a3d947576239c08c0edd4b91c8c452e93">ANTLR3_RECOGNIZER_SHARED_STATE_struct::rStreams</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___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html#a092b489ee69367239890aa924adf649b">ANTLR3_BASE_TREE_ADAPTOR_struct::super</a>.</p>

<p>Referenced by <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_ac62695e133933981a66879766d7f6b13_cgraph.png" border="0" usemap="#antlr3rewritestreams_8c_ac62695e133933981a66879766d7f6b13_cgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_ac62695e133933981a66879766d7f6b13_cgraph" id="antlr3rewritestreams_8c_ac62695e133933981a66879766d7f6b13_cgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ab6dc8f330e64e2472ac0a66ffc50214a" title="expungeRS" alt="" coords="136,5,248,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="antlr3rewritestreams_8c_ac62695e133933981a66879766d7f6b13_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_ac62695e133933981a66879766d7f6b13_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_ac62695e133933981a66879766d7f6b13_icgraph" id="antlr3rewritestreams_8c_ac62695e133933981a66879766d7f6b13_icgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="137,220,508,247"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="559,93,940,120"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="559,169,940,196"/><area shape="rect" id="node21" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="579,220,920,247"/><area shape="rect" id="node23" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99" title="antlr3RewriteRuleSubtreeStreamNewAE" alt="" coords="564,271,935,297"/><area shape="rect" id="node25" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca" title="antlr3RewriteRuleTOKENStreamNewAE" alt="" coords="573,321,925,348"/><area shape="rect" id="node7" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="1005,5,1357,32"/><area shape="rect" id="node9" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="991,56,1372,83"/><area shape="rect" id="node11" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="1000,107,1363,133"/><area shape="rect" id="node15" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="1005,157,1357,184"/><area shape="rect" id="node17" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="991,208,1372,235"/><area shape="rect" id="node19" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="1000,259,1363,285"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a28bae236ccf847a63f744b3fa1caa852"></a><!-- doxytag: member="antlr3rewritestreams.c::getDescription" ref="a28bae236ccf847a63f744b3fa1caa852" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void * getDescription </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the description string if there is one available (check for NULL). </p>

<p>References <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a0902e14cb0c4ce49537d9c06176acb8f">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::elementDescription</a>.</p>

<p>Referenced by <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a28bae236ccf847a63f744b3fa1caa852_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a28bae236ccf847a63f744b3fa1caa852_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a28bae236ccf847a63f744b3fa1caa852_icgraph" id="antlr3rewritestreams_8c_a28bae236ccf847a63f744b3fa1caa852_icgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="217,220,588,247"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="639,93,1020,120"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="639,169,1020,196"/><area shape="rect" id="node21" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="659,220,1000,247"/><area shape="rect" id="node23" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99" title="antlr3RewriteRuleSubtreeStreamNewAE" alt="" coords="644,271,1015,297"/><area shape="rect" id="node25" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca" title="antlr3RewriteRuleTOKENStreamNewAE" alt="" coords="653,321,1005,348"/><area shape="rect" id="node7" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="1085,5,1437,32"/><area shape="rect" id="node9" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="1071,56,1452,83"/><area shape="rect" id="node11" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="1080,107,1443,133"/><area shape="rect" id="node15" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="1085,157,1437,184"/><area shape="rect" id="node17" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="1071,208,1452,235"/><area shape="rect" id="node19" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="1080,259,1443,285"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a527085061676d9ba4eae6ca1a079c2f7"></a><!-- doxytag: member="antlr3rewritestreams.c::hasNext" ref="a527085061676d9ba4eae6ca1a079c2f7" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="antlr3defs_8h.html#a5b33dccbba3b7212539695e21df4079b">ANTLR3_BOOLEAN</a> hasNext </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns ANTLR3_TRUE if there is a next element available. </p>

<p>References <a class="el" href="antlr3errors_8h.html#a3baea4fe1963323e5757ee2c8f471d1c">ANTLR3_FALSE</a>, <a class="el" href="antlr3errors_8h.html#a8cfcfbce03f3039eb35d87f97105dc1b">ANTLR3_TRUE</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a26ee5204e3a6fa6ba468478663a46f60">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::cursor</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a5f5e056ea19406a056138bb2db3e1396">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::elements</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a3d90443fe82f011d5709c84c9add4508">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::singleElement</a>, and <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html#abbce5d284607c8cf9960ba43d3fe6a78">ANTLR3_VECTOR_struct::size</a>.</p>

<p>Referenced by <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a527085061676d9ba4eae6ca1a079c2f7_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a527085061676d9ba4eae6ca1a079c2f7_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a527085061676d9ba4eae6ca1a079c2f7_icgraph" id="antlr3rewritestreams_8c_a527085061676d9ba4eae6ca1a079c2f7_icgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="148,220,519,247"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="569,93,951,120"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="569,169,951,196"/><area shape="rect" id="node21" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="589,220,931,247"/><area shape="rect" id="node23" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99" title="antlr3RewriteRuleSubtreeStreamNewAE" alt="" coords="575,271,945,297"/><area shape="rect" id="node25" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca" title="antlr3RewriteRuleTOKENStreamNewAE" alt="" coords="584,321,936,348"/><area shape="rect" id="node7" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="1016,5,1368,32"/><area shape="rect" id="node9" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="1001,56,1383,83"/><area shape="rect" id="node11" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="1011,107,1373,133"/><area shape="rect" id="node15" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="1016,157,1368,184"/><area shape="rect" id="node17" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="1001,208,1383,235"/><area shape="rect" id="node19" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="1011,259,1373,285"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a92c4d9fcaea24e9f6b4f658711bacc07"></a><!-- doxytag: member="antlr3rewritestreams.c::next" ref="a92c4d9fcaea24e9f6b4f658711bacc07" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void * next </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the next element in the stream. </p>
<p>If out of elements, throw an exception unless <a class="el" href="antlr3rewritestreams_8c.html#a75175d925a7a87929f39f671f2701217" title="Number of elements available in the stream.">size()</a>==1. If size is 1, then return elements[0]. </p>

<p>References <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a69cee716e8e1deb6aa763737c5181544">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::_next</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a26ee5204e3a6fa6ba468478663a46f60">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::cursor</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae843a201581e7ef94e8c50630a76eaf5">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::dup</a>, and <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ac1c8e6814f647b356c1e1b77e3e589fd">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::size</a>.</p>

<p>Referenced by <a class="el" href="antlr3exception_8c.html#a21c30f7a44edd55f154d2cfaafb0fd8a">antlr3ExceptionFree()</a>, and <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a92c4d9fcaea24e9f6b4f658711bacc07_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a92c4d9fcaea24e9f6b4f658711bacc07_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a92c4d9fcaea24e9f6b4f658711bacc07_icgraph" id="antlr3rewritestreams_8c_a92c4d9fcaea24e9f6b4f658711bacc07_icgraph">
<area shape="rect" id="node3" href="antlr3exception_8c.html#a21c30f7a44edd55f154d2cfaafb0fd8a" title="Frees up a chain of ANTLR3 exceptions." alt="" coords="199,160,409,187"/><area shape="rect" id="node40" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="119,261,489,288"/><area shape="rect" id="node5" href="antlr3defs_8h.html#a531349f2d4207f5ac71c35d056676565" title="Creates a new ANTLR3 exception structure." alt="" coords="629,135,832,161"/><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#gab2d77cd376112c8ff6ed7353ba78dab7" title="antlr3RecognitionExceptionNew" alt="" coords="1007,135,1319,161"/><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#ga974d33def91ba5fb5a6fa8e42c6d876e" title="Creates a new Mismatched Token Exception and inserts in the recognizer exception stack." alt="" coords="1433,33,1655,60"/><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#gaf8c302d1762b73b1a80c88ca71210472" title="Factor out what to do upon token mismatch so tree parsers can behave differently." alt="" coords="1799,84,1900,111"/><area shape="rect" id="node29" href="antlr3defs_8h.html#a9d7fa213a660c2e71f54c324a668e34f" title="Creates a new Mismatched Tree Nde Exception and inserts in the recognizer exception stack..." alt="" coords="1733,185,1965,212"/><area shape="rect" id="node33" 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="1403,135,1685,161"/><area shape="rect" id="node36" href="antlr3lexer_8c.html#a3f121d133cb810a9687aee3089e33be8" title="setCharStream" alt="" coords="2064,227,2216,253"/><area shape="rect" id="node11" 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="2015,96,2265,123"/><area shape="rect" id="node17" href="antlr3defs_8h.html#ae667dafdcef9adc2fceebc8420a7cded" title="antlr3ParserNew" alt="" coords="2365,5,2536,32"/><area shape="rect" id="node13" href="antlr3defs_8h.html#aad5d94a0ad6c1d4788f95debb67cf642" title="antlr3LexerNew" alt="" coords="2369,176,2532,203"/><area shape="rect" id="node23" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f" title="antlr3TreeParserNewStream" alt="" coords="2315,107,2587,133"/><area shape="rect" id="node15" href="antlr3defs_8h.html#acea4b4491be51f1d3f57d4d2836d9d0d" title="antlr3LexerNewStream" alt="" coords="2640,201,2861,228"/><area shape="rect" id="node19" href="antlr3defs_8h.html#abede6d25edd8b3e67f8aa6a5094b6f9c" title="antlr3ParserNewStream" alt="" coords="2635,5,2867,32"/><area shape="rect" id="node21" href="antlr3defs_8h.html#aba8e0e27ff9976bb757191bf45b7d49f" title="antlr3ParserNewStreamDbg" alt="" coords="2916,5,3177,32"/><area shape="rect" id="node42" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="540,337,921,364"/><area shape="rect" id="node50" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="540,439,921,465"/><area shape="rect" id="node58" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="560,185,901,212"/><area shape="rect" id="node60" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99" title="antlr3RewriteRuleSubtreeStreamNewAE" alt="" coords="545,236,916,263"/><area shape="rect" id="node62" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca" title="antlr3RewriteRuleTOKENStreamNewAE" alt="" coords="555,287,907,313"/><area shape="rect" id="node44" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="987,261,1339,288"/><area shape="rect" id="node46" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="972,312,1353,339"/><area shape="rect" id="node48" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="981,363,1344,389"/><area shape="rect" id="node52" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="987,413,1339,440"/><area shape="rect" id="node54" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="972,464,1353,491"/><area shape="rect" id="node56" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="981,515,1344,541"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a8af2b03358a5b6485d1218e0922d909d"></a><!-- doxytag: member="antlr3rewritestreams.c::nextNode" ref="a8af2b03358a5b6485d1218e0922d909d" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html">pANTLR3_BASE_TREE</a> nextNode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Treat next element as a single node even if it's a subtree. </p>
<p>This is used instead of <a class="el" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07" title="Return the next element in the stream.">next()</a> when the result has to be a tree root node. Also prevents us from duplicating recently-added children; e.g., ^(type ID)+ adds ID to type and then 2nd iteration must dup the type node, but ID has been added.</p>
<p>Referencing to a rule result twice is ok; dup entire tree as we can't be adding trees; e.g., expr expr. </p>

<p>References <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a69cee716e8e1deb6aa763737c5181544">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::_next</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a20b25c06ca3abdbfba72f112142b9833">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::adaptor</a>, <a class="el" href="antlr3errors_8h.html#a8cfcfbce03f3039eb35d87f97105dc1b">ANTLR3_TRUE</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a26ee5204e3a6fa6ba468478663a46f60">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::cursor</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ace76c26ae005d87209376d9aafae6f35">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::dirty</a>, <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html#acf27d8e1b968febb15630345961af373">ANTLR3_BASE_TREE_ADAPTOR_struct::dupNode</a>, and <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ac1c8e6814f647b356c1e1b77e3e589fd">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::size</a>.</p>

<p>Referenced by <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>, <a class="el" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99">antlr3RewriteRuleSubtreeStreamNewAE()</a>, <a class="el" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9">antlr3RewriteRuleSubtreeStreamNewAEE()</a>, <a class="el" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4">antlr3RewriteRuleSubtreeStreamNewAEV()</a>, <a class="el" href="antlr3collections_8c.html#a3ebf80a2d49c150bb4cec09b1f1a8de8">intTrieAdd()</a>, and <a class="el" href="antlr3collections_8c.html#ab9ae9a1625b433fdbb1a143db4a6e96b">intTrieGet()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a8af2b03358a5b6485d1218e0922d909d_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a8af2b03358a5b6485d1218e0922d909d_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a8af2b03358a5b6485d1218e0922d909d_icgraph" id="antlr3rewritestreams_8c_a8af2b03358a5b6485d1218e0922d909d_icgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="159,220,529,247"/><area shape="rect" id="node9" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="1012,5,1393,32"/><area shape="rect" id="node17" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="1012,321,1393,348"/><area shape="rect" id="node23" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99" title="antlr3RewriteRuleSubtreeStreamNewAE" alt="" coords="585,296,956,323"/><area shape="rect" id="node30" href="antlr3collections_8c.html#a3ebf80a2d49c150bb4cec09b1f1a8de8" title="Add an entry into the INT trie." alt="" coords="283,397,405,424"/><area shape="rect" id="node53" href="antlr3collections_8c.html#ab9ae9a1625b433fdbb1a143db4a6e96b" title="Search the int Trie and return a pointer to the first bucket indexed by the key if it is contained in..." alt="" coords="283,448,405,475"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="580,68,961,95"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="580,144,961,171"/><area shape="rect" id="node21" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="600,195,941,221"/><area shape="rect" id="node25" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca" title="antlr3RewriteRuleTOKENStreamNewAE" alt="" coords="595,245,947,272"/><area shape="rect" id="node7" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="1027,56,1379,83"/><area shape="rect" id="node11" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="1021,107,1384,133"/><area shape="rect" id="node15" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="1027,157,1379,184"/><area shape="rect" id="node19" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="1021,208,1384,235"/><area shape="rect" id="node32" href="antlr3defs_8h.html#a79d3f61b691461e11be476c8b2a1ebc3" title="antlr3IntTrieNew" alt="" coords="680,423,861,449"/><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#gabc080ec9aaa275e0361dea5a1eb431c0" title="Pointer to a function to return whether the rule has parsed input starting at the supplied start inde..." alt="" coords="1101,397,1304,424"/><area shape="rect" id="node50" 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="1167,448,1239,475"/><area shape="rect" id="node36" 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="1444,423,1695,449"/><area shape="rect" id="node38" href="antlr3defs_8h.html#aad5d94a0ad6c1d4788f95debb67cf642" title="antlr3LexerNew" alt="" coords="1799,372,1961,399"/><area shape="rect" id="node42" href="antlr3defs_8h.html#ae667dafdcef9adc2fceebc8420a7cded" title="antlr3ParserNew" alt="" coords="1795,423,1965,449"/><area shape="rect" id="node48" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f" title="antlr3TreeParserNewStream" alt="" coords="1744,473,2016,500"/><area shape="rect" id="node40" href="antlr3defs_8h.html#acea4b4491be51f1d3f57d4d2836d9d0d" title="antlr3LexerNewStream" alt="" coords="2069,372,2291,399"/><area shape="rect" id="node44" href="antlr3defs_8h.html#abede6d25edd8b3e67f8aa6a5094b6f9c" title="antlr3ParserNewStream" alt="" coords="2064,423,2296,449"/><area shape="rect" id="node46" href="antlr3defs_8h.html#aba8e0e27ff9976bb757191bf45b7d49f" title="antlr3ParserNewStreamDbg" alt="" coords="2345,423,2607,449"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af3c113470ff9539b03fbcdbd3b824bc4"></a><!-- doxytag: member="antlr3rewritestreams.c::nextNodeNode" ref="af3c113470ff9539b03fbcdbd3b824bc4" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html">pANTLR3_BASE_TREE</a> nextNodeNode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em></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___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a69cee716e8e1deb6aa763737c5181544">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::_next</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3">antlr3RewriteRuleNODEStreamNewAE()</a>, <a class="el" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb">antlr3RewriteRuleNODEStreamNewAEE()</a>, and <a class="el" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f">antlr3RewriteRuleNODEStreamNewAEV()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_af3c113470ff9539b03fbcdbd3b824bc4_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_af3c113470ff9539b03fbcdbd3b824bc4_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_af3c113470ff9539b03fbcdbd3b824bc4_icgraph" id="antlr3rewritestreams_8c_af3c113470ff9539b03fbcdbd3b824bc4_icgraph">
<area shape="rect" id="node3" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="203,5,544,32"/><area shape="rect" id="node5" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="197,56,549,83"/><area shape="rect" id="node7" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="197,107,549,133"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ac894b5b507764a71b38003c2ed9d9274"></a><!-- doxytag: member="antlr3rewritestreams.c::nextNodeToken" ref="ac894b5b507764a71b38003c2ed9d9274" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html">pANTLR3_BASE_TREE</a> nextNodeToken </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the next token from the list and create a node for it This is the implementation for token streams. </p>

<p>References <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a69cee716e8e1deb6aa763737c5181544">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::_next</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a20b25c06ca3abdbfba72f112142b9833">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::adaptor</a>, and <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html#a78bbafa130ea2650ef6d5d9825451209">ANTLR3_BASE_TREE_ADAPTOR_struct::create</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca">antlr3RewriteRuleTOKENStreamNewAE()</a>, <a class="el" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c">antlr3RewriteRuleTOKENStreamNewAEE()</a>, and <a class="el" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0">antlr3RewriteRuleTOKENStreamNewAEV()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_ac894b5b507764a71b38003c2ed9d9274_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_ac894b5b507764a71b38003c2ed9d9274_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_ac894b5b507764a71b38003c2ed9d9274_icgraph" id="antlr3rewritestreams_8c_ac894b5b507764a71b38003c2ed9d9274_icgraph">
<area shape="rect" id="node3" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca" title="antlr3RewriteRuleTOKENStreamNewAE" alt="" coords="211,5,563,32"/><area shape="rect" id="node5" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="205,56,568,83"/><area shape="rect" id="node7" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="205,107,568,133"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae9180a210132fbbe5785e14c1e630f8e"></a><!-- doxytag: member="antlr3rewritestreams.c::nextToken" ref="ae9180a210132fbbe5785e14c1e630f8e" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void * nextToken </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the next element for a caller that wants just the token. </p>

<p>References <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a69cee716e8e1deb6aa763737c5181544">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::_next</a>.</p>

<p>Referenced by <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_ae9180a210132fbbe5785e14c1e630f8e_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_ae9180a210132fbbe5785e14c1e630f8e_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_ae9180a210132fbbe5785e14c1e630f8e_icgraph" id="antlr3rewritestreams_8c_ae9180a210132fbbe5785e14c1e630f8e_icgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="167,220,537,247"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="588,93,969,120"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="588,169,969,196"/><area shape="rect" id="node21" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="608,220,949,247"/><area shape="rect" id="node23" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99" title="antlr3RewriteRuleSubtreeStreamNewAE" alt="" coords="593,271,964,297"/><area shape="rect" id="node25" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca" title="antlr3RewriteRuleTOKENStreamNewAE" alt="" coords="603,321,955,348"/><area shape="rect" id="node7" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="1035,5,1387,32"/><area shape="rect" id="node9" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="1020,56,1401,83"/><area shape="rect" id="node11" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="1029,107,1392,133"/><area shape="rect" id="node15" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="1035,157,1387,184"/><area shape="rect" id="node17" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="1020,208,1401,235"/><area shape="rect" id="node19" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="1029,259,1392,285"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a953b1f2a52a6761d20bb4d571999e020"></a><!-- doxytag: member="antlr3rewritestreams.c::nextTree" ref="a953b1f2a52a6761d20bb4d571999e020" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html">pANTLR3_BASE_TREE</a> nextTree </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the next element in the stream. </p>
<p>If out of elements, throw an exception unless <a class="el" href="antlr3rewritestreams_8c.html#a75175d925a7a87929f39f671f2701217" title="Number of elements available in the stream.">size()</a>==1. If size is 1, then return elements[0]. Return a duplicate node/subtree if stream is out of elements and size==1. If we've already used the element, dup (dirty bit set). </p>

<p>References <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a69cee716e8e1deb6aa763737c5181544">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::_next</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a26ee5204e3a6fa6ba468478663a46f60">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::cursor</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ace76c26ae005d87209376d9aafae6f35">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::dirty</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ae843a201581e7ef94e8c50630a76eaf5">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::dup</a>, and <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ac1c8e6814f647b356c1e1b77e3e589fd">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::size</a>.</p>

<p>Referenced by <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a953b1f2a52a6761d20bb4d571999e020_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a953b1f2a52a6761d20bb4d571999e020_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a953b1f2a52a6761d20bb4d571999e020_icgraph" id="antlr3rewritestreams_8c_a953b1f2a52a6761d20bb4d571999e020_icgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="159,220,529,247"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="580,93,961,120"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="580,169,961,196"/><area shape="rect" id="node21" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="600,220,941,247"/><area shape="rect" id="node23" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99" title="antlr3RewriteRuleSubtreeStreamNewAE" alt="" coords="585,271,956,297"/><area shape="rect" id="node25" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca" title="antlr3RewriteRuleTOKENStreamNewAE" alt="" coords="595,321,947,348"/><area shape="rect" id="node7" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="1027,5,1379,32"/><area shape="rect" id="node9" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="1012,56,1393,83"/><area shape="rect" id="node11" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="1021,107,1384,133"/><area shape="rect" id="node15" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="1027,157,1379,184"/><area shape="rect" id="node17" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="1012,208,1393,235"/><area shape="rect" id="node19" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="1021,259,1384,285"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a94ecbd87618f24d9a3216381594ddd2d"></a><!-- doxytag: member="antlr3rewritestreams.c::reset" ref="a94ecbd87618f24d9a3216381594ddd2d" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void reset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reset the condition of this stream so that it appears we have not consumed any of its elements. </p>
<p>Elements themselves are untouched. </p>

<p>References <a class="el" href="antlr3errors_8h.html#a8cfcfbce03f3039eb35d87f97105dc1b">ANTLR3_TRUE</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a26ee5204e3a6fa6ba468478663a46f60">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::cursor</a>, and <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#ace76c26ae005d87209376d9aafae6f35">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::dirty</a>.</p>

<p>Referenced by <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a94ecbd87618f24d9a3216381594ddd2d_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a94ecbd87618f24d9a3216381594ddd2d_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a94ecbd87618f24d9a3216381594ddd2d_icgraph" id="antlr3rewritestreams_8c_a94ecbd87618f24d9a3216381594ddd2d_icgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="127,220,497,247"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="548,93,929,120"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="548,169,929,196"/><area shape="rect" id="node21" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="568,220,909,247"/><area shape="rect" id="node23" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99" title="antlr3RewriteRuleSubtreeStreamNewAE" alt="" coords="553,271,924,297"/><area shape="rect" id="node25" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca" title="antlr3RewriteRuleTOKENStreamNewAE" alt="" coords="563,321,915,348"/><area shape="rect" id="node7" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="995,5,1347,32"/><area shape="rect" id="node9" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="980,56,1361,83"/><area shape="rect" id="node11" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="989,107,1352,133"/><area shape="rect" id="node15" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="995,157,1347,184"/><area shape="rect" id="node17" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="980,208,1361,235"/><area shape="rect" id="node19" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="989,259,1352,285"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a75175d925a7a87929f39f671f2701217"></a><!-- doxytag: member="antlr3rewritestreams.c::size" ref="a75175d925a7a87929f39f671f2701217" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="antlr3defs_8h.html#ac41f744abd0fd25144b9eb9d11b1dfd1">ANTLR3_UINT32</a> size </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Number of elements available in the stream. </p>

<p><p>Should be a count of one if singleElement is set. I copied this logic from the java implementation, which I suspect is just guarding against someone setting singleElement and forgetting to NULL it out</p>
</p>

<p>References <a class="el" href="struct_a_n_t_l_r3___v_e_c_t_o_r__struct.html#a2159aa5b605c317c00ab0089dc45a7e9">ANTLR3_VECTOR_struct::count</a>, <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a5f5e056ea19406a056138bb2db3e1396">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::elements</a>, and <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a3d90443fe82f011d5709c84c9add4508">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::singleElement</a>.</p>

<p>Referenced by <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a75175d925a7a87929f39f671f2701217_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a75175d925a7a87929f39f671f2701217_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a75175d925a7a87929f39f671f2701217_icgraph" id="antlr3rewritestreams_8c_a75175d925a7a87929f39f671f2701217_icgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="119,220,489,247"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="540,93,921,120"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="540,169,921,196"/><area shape="rect" id="node21" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="560,220,901,247"/><area shape="rect" id="node23" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99" title="antlr3RewriteRuleSubtreeStreamNewAE" alt="" coords="545,271,916,297"/><area shape="rect" id="node25" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca" title="antlr3RewriteRuleTOKENStreamNewAE" alt="" coords="555,321,907,348"/><area shape="rect" id="node7" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="987,5,1339,32"/><area shape="rect" id="node9" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="972,56,1353,83"/><area shape="rect" id="node11" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="981,107,1344,133"/><area shape="rect" id="node15" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="987,157,1339,184"/><area shape="rect" id="node17" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="972,208,1353,235"/><area shape="rect" id="node19" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="981,259,1344,285"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a5c60528203598efec2bb28ba27f26400"></a><!-- doxytag: member="antlr3rewritestreams.c::toTree" ref="a5c60528203598efec2bb28ba27f26400" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void *element)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html">pANTLR3_BASE_TREE</a> toTree </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>element</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>We don;t explicitly convert to a tree unless the call goes to nextTree, which means rewrites are heterogeneous. </p>

<p>Referenced by <a class="el" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9">antlr3RewriteRuleElementStreamNewAE()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a5c60528203598efec2bb28ba27f26400_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a5c60528203598efec2bb28ba27f26400_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a5c60528203598efec2bb28ba27f26400_icgraph" id="antlr3rewritestreams_8c_a5c60528203598efec2bb28ba27f26400_icgraph">
<area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#ade5a6e49fb9dd7caee4b0189f5cf84e9" title="antlr3RewriteRuleElementStreamNewAE" alt="" coords="137,220,508,247"/><area shape="rect" id="node5" href="antlr3rewritestreams_8c.html#af4ad1e2f5ad8e4773ca277d81daca13b" title="antlr3RewriteRuleElementStreamNewAEE" alt="" coords="559,93,940,120"/><area shape="rect" id="node13" href="antlr3rewritestreams_8c.html#a567f5e9c72a576b4000837f6df6c20c4" title="antlr3RewriteRuleElementStreamNewAEV" alt="" coords="559,169,940,196"/><area shape="rect" id="node21" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="579,220,920,247"/><area shape="rect" id="node23" href="antlr3defs_8h.html#a16be71f3f2ecf449b84619b12ef60b99" title="antlr3RewriteRuleSubtreeStreamNewAE" alt="" coords="564,271,935,297"/><area shape="rect" id="node25" href="antlr3defs_8h.html#ae0ff8ede4d865df041890678c1c813ca" title="antlr3RewriteRuleTOKENStreamNewAE" alt="" coords="573,321,925,348"/><area shape="rect" id="node7" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="1005,5,1357,32"/><area shape="rect" id="node9" href="antlr3defs_8h.html#a0acf53ce0fcc00588c1e04bab927adb9" title="antlr3RewriteRuleSubtreeStreamNewAEE" alt="" coords="991,56,1372,83"/><area shape="rect" id="node11" href="antlr3defs_8h.html#a4a849eaa7e03d14ea7ddbb0c23c6e94c" title="antlr3RewriteRuleTOKENStreamNewAEE" alt="" coords="1000,107,1363,133"/><area shape="rect" id="node15" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="1005,157,1357,184"/><area shape="rect" id="node17" href="antlr3defs_8h.html#a40732f8c10bf9852b0672154bc0610d4" title="antlr3RewriteRuleSubtreeStreamNewAEV" alt="" coords="991,208,1372,235"/><area shape="rect" id="node19" href="antlr3defs_8h.html#af894906ad095a0c7837c2fa2a4e795a0" title="antlr3RewriteRuleTOKENStreamNewAEV" alt="" coords="1000,259,1363,285"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a18ac0c352f110416b743232dffea5445"></a><!-- doxytag: member="antlr3rewritestreams.c::toTreeNode" ref="a18ac0c352f110416b743232dffea5445" args="(pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream, void *element)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html">pANTLR3_BASE_TREE</a> toTreeNode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html">pANTLR3_REWRITE_RULE_ELEMENT_STREAM</a>&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>element</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Ensure stream emits trees; tokens must be converted to AST nodes. </p>
<p>AST nodes can be passed through unmolested. </p>

<p>References <a class="el" href="struct_a_n_t_l_r3___r_e_w_r_i_t_e___r_u_l_e___e_l_e_m_e_n_t___s_t_r_e_a_m__struct.html#a20b25c06ca3abdbfba72f112142b9833">ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct::adaptor</a>, and <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e___a_d_a_p_t_o_r__struct.html#acf27d8e1b968febb15630345961af373">ANTLR3_BASE_TREE_ADAPTOR_struct::dupNode</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3">antlr3RewriteRuleNODEStreamNewAE()</a>, <a class="el" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb">antlr3RewriteRuleNODEStreamNewAEE()</a>, and <a class="el" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f">antlr3RewriteRuleNODEStreamNewAEV()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3rewritestreams_8c_a18ac0c352f110416b743232dffea5445_icgraph.png" border="0" usemap="#antlr3rewritestreams_8c_a18ac0c352f110416b743232dffea5445_icgraph" alt=""/></div>
<map name="antlr3rewritestreams_8c_a18ac0c352f110416b743232dffea5445_icgraph" id="antlr3rewritestreams_8c_a18ac0c352f110416b743232dffea5445_icgraph">
<area shape="rect" id="node3" href="antlr3defs_8h.html#a7596a932e273034a4957673bf100a5b3" title="antlr3RewriteRuleNODEStreamNewAE" alt="" coords="181,5,523,32"/><area shape="rect" id="node5" href="antlr3defs_8h.html#ab7f94b47defeeed250f4e8564d9cfddb" title="antlr3RewriteRuleNODEStreamNewAEE" alt="" coords="176,56,528,83"/><area shape="rect" id="node7" href="antlr3defs_8h.html#a763c2d39ab30272e348dc24c352fdb3f" title="antlr3RewriteRuleNODEStreamNewAEV" alt="" coords="176,107,528,133"/></map>
</div>
</p>

</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="antlr3rewritestreams_8c.html">antlr3rewritestreams.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>