Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > aaf33964de706a538481c929c1da6a44 > files > 2502

faust-doc-0.9.10-5mdv2010.1.x86_64.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>FAUST compiler: boxpp Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>boxpp Class Reference</h1><!-- doxytag: class="boxpp" -->
<p><code>#include &lt;<a class="el" href="ppbox_8hh_source.html">ppbox.hh</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for boxpp:</div>
<div class="dynsection">
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classboxpp-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a> (<a class="el" href="classCTree.html">Tree</a> b, int p=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboxpp.html#aa9c11fc2b7de08c1fcd4a6103ffeff5f">print</a> (ostream &amp;fout) const </td></tr>
<tr><td colspan="2"><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCTree.html">Tree</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboxpp.html#a75835a893a0ba4c9bc2f67ea423c085e">priority</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>

<p>Definition at line <a class="el" href="ppbox_8hh_source.html#l00058">58</a> of file <a class="el" href="ppbox_8hh_source.html">ppbox.hh</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aedd60f8cf603dd422b056ced0a7a9a56"></a><!-- doxytag: member="boxpp::boxpp" ref="aedd60f8cf603dd422b056ced0a7a9a56" args="(Tree b, int p=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boxpp::boxpp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCTree.html">Tree</a>&nbsp;</td>
          <td class="paramname"> <em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>p</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="ppbox_8hh_source.html#l00063">63</a> of file <a class="el" href="ppbox_8hh_source.html">ppbox.hh</a>.</p>

<p>Referenced by <a class="el" href="ppbox_8cpp_source.html#l00113">print()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00063"></a>00063 : <a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>(b), <a class="code" href="classboxpp.html#a75835a893a0ba4c9bc2f67ea423c085e">priority</a>(p) {}
</pre></div></p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aa9c11fc2b7de08c1fcd4a6103ffeff5f"></a><!-- doxytag: member="boxpp::print" ref="aa9c11fc2b7de08c1fcd4a6103ffeff5f" args="(ostream &amp;fout) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ostream &amp; boxpp::print </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>fout</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="ppbox_8cpp_source.html#l00113">113</a> of file <a class="el" href="ppbox_8cpp_source.html">ppbox.cpp</a>.</p>

<p>References <a class="el" href="ppbox_8hh_source.html#l00060">box</a>, <a class="el" href="ppbox_8hh_source.html#l00063">boxpp()</a>, <a class="el" href="prim2_8cpp_source.html#l00059">ffname()</a>, <a class="el" href="symbol_8hh_source.html#l00100">getUserData()</a>, <a class="el" href="list_8hh_source.html#l00133">hd()</a>, <a class="el" href="boxes_8cpp_source.html#l00173">isBoxAbstr()</a>, <a class="el" href="boxes_8cpp_source.html#l00226">isBoxAccess()</a>, <a class="el" href="boxes_8cpp_source.html#l00174">isBoxAppl()</a>, <a class="el" href="boxes_8cpp_source.html#l00326">isBoxButton()</a>, <a class="el" href="boxes_8cpp_source.html#l00436">isBoxCase()</a>, <a class="el" href="boxes_8cpp_source.html#l00332">isBoxCheckbox()</a>, <a class="el" href="boxes_8cpp_source.html#l00250">isBoxComponent()</a>, <a class="el" href="boxes_8cpp_source.html#l00090">isBoxCut()</a>, <a class="el" href="boxes_8cpp_source.html#l00245">isBoxEnvironment()</a>, <a class="el" href="boxes_8cpp_source.html#l00219">isBoxError()</a>, <a class="el" href="boxes_8cpp_source.html#l00310">isBoxFConst()</a>, <a class="el" href="boxes_8cpp_source.html#l00304">isBoxFFun()</a>, <a class="el" href="boxes_8cpp_source.html#l00316">isBoxFVar()</a>, <a class="el" href="boxes_8cpp_source.html#l00417">isBoxHBargraph()</a>, <a class="el" href="boxes_8cpp_source.html#l00399">isBoxHGroup()</a>, <a class="el" href="boxes_8cpp_source.html#l00339">isBoxHSlider()</a>, <a class="el" href="boxes_8cpp_source.html#l00057">isBoxIdent()</a>, <a class="el" href="boxes_8cpp_source.html#l00077">isBoxInt()</a>, <a class="el" href="boxes_8cpp_source.html#l00154">isBoxIPar()</a>, <a class="el" href="boxes_8cpp_source.html#l00157">isBoxIProd()</a>, <a class="el" href="boxes_8cpp_source.html#l00155">isBoxISeq()</a>, <a class="el" href="boxes_8cpp_source.html#l00156">isBoxISum()</a>, <a class="el" href="boxes_8cpp_source.html#l00137">isBoxMerge()</a>, <a class="el" href="boxes_8cpp_source.html#l00380">isBoxNumEntry()</a>, <a class="el" href="boxes_8cpp_source.html#l00125">isBoxPar()</a>, <a class="el" href="boxes_8cpp_source.html#l00448">isBoxPatternMatcher()</a>, <a class="el" href="boxes_8cpp_source.html#l00440">isBoxPatternVar()</a>, <a class="el" href="boxes_8cpp_source.html#l00270">isBoxPrim0()</a>, <a class="el" href="boxes_8cpp_source.html#l00275">isBoxPrim1()</a>, <a class="el" href="boxes_8cpp_source.html#l00280">isBoxPrim2()</a>, <a class="el" href="boxes_8cpp_source.html#l00285">isBoxPrim3()</a>, <a class="el" href="boxes_8cpp_source.html#l00290">isBoxPrim4()</a>, <a class="el" href="boxes_8cpp_source.html#l00295">isBoxPrim5()</a>, <a class="el" href="boxes_8cpp_source.html#l00078">isBoxReal()</a>, <a class="el" href="boxes_8cpp_source.html#l00129">isBoxRec()</a>, <a class="el" href="boxes_8cpp_source.html#l00121">isBoxSeq()</a>, <a class="el" href="boxes_8cpp_source.html#l00104">isBoxSlot()</a>, <a class="el" href="boxes_8cpp_source.html#l00133">isBoxSplit()</a>, <a class="el" href="boxes_8cpp_source.html#l00111">isBoxSymbolic()</a>, <a class="el" href="boxes_8cpp_source.html#l00411">isBoxTGroup()</a>, <a class="el" href="boxes_8cpp_source.html#l00423">isBoxVBargraph()</a>, <a class="el" href="boxes_8cpp_source.html#l00405">isBoxVGroup()</a>, <a class="el" href="boxes_8cpp_source.html#l00359">isBoxVSlider()</a>, <a class="el" href="boxes_8cpp_source.html#l00094">isBoxWire()</a>, <a class="el" href="boxes_8cpp_source.html#l00235">isBoxWithLocalDef()</a>, <a class="el" href="boxes_8cpp_source.html#l00209">isClosure()</a>, <a class="el" href="boxes_8cpp_source.html#l00261">isImportFile()</a>, <a class="el" href="list_8hh_source.html#l00138">isList()</a>, <a class="el" href="list_8hh_source.html#l00137">isNil()</a>, <a class="el" href="interval_8hh_source.html#l00060">max()</a>, <a class="el" href="interval_8hh_source.html#l00059">min()</a>, <a class="el" href="xtended_8hh_source.html#l00025">xtended::name()</a>, <a class="el" href="symbol_8hh_source.html#l00098">name()</a>, <a class="el" href="ppbox_8cpp_source.html#l00032">prim0name()</a>, <a class="el" href="ppbox_8cpp_source.html#l00037">prim1name()</a>, <a class="el" href="ppbox_8cpp_source.html#l00045">prim2name()</a>, <a class="el" href="ppbox_8cpp_source.html#l00074">prim3name()</a>, <a class="el" href="ppbox_8cpp_source.html#l00081">prim4name()</a>, <a class="el" href="ppbox_8cpp_source.html#l00087">prim5name()</a>, <a class="el" href="ppbox_8cpp_source.html#l00101">printRule()</a>, <a class="el" href="ppbox_8hh_source.html#l00061">priority</a>, <a class="el" href="ppbox_8cpp_source.html#l00094">streambinop()</a>, <a class="el" href="list_8hh_source.html#l00134">tl()</a>, and <a class="el" href="tree_8cpp_source.html#l00292">tree2str()</a>.</p>

<p>Referenced by <a class="el" href="ppbox_8hh_source.html#l00067">operator&lt;&lt;()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00114"></a>00114 {
<a name="l00115"></a>00115     <span class="keywordtype">int</span>     i, id;
<a name="l00116"></a>00116     <span class="keywordtype">double</span>  r;
<a name="l00117"></a>00117     <a class="code" href="boxes_8hh.html#a52afc5e73408f761d5d61926ced73eef">prim0</a>   p0;
<a name="l00118"></a>00118     <a class="code" href="boxes_8hh.html#ad7497a9790f9d05878096b459487a510">prim1</a>   p1;
<a name="l00119"></a>00119     <a class="code" href="boxes_8hh.html#abc5863a46190002232036f027c5acfdb">prim2</a>   p2;
<a name="l00120"></a>00120     <a class="code" href="boxes_8hh.html#a2769ccced25ffcb2997204594bb52f0e">prim3</a>   p3;
<a name="l00121"></a>00121     <a class="code" href="boxes_8hh.html#a55608c6610d13a8ccd575de80c191b31">prim4</a>   p4;
<a name="l00122"></a>00122     <a class="code" href="boxes_8hh.html#ae228ee0345249785e8f74cce21162037">prim5</a>   p5;
<a name="l00123"></a>00123 
<a name="l00124"></a>00124     <a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a>    t1, t2, t3, ff, label, cur, <a class="code" href="interval_8hh.html#a2f8edc4561e9744ed4233b205fa7ec32">min</a>, <a class="code" href="interval_8hh.html#a1c45761573e6cbc97cfacac78d905016">max</a>, step, type, <a class="code" href="symbol_8hh.html#a8243134fbbd9d924ebbb3f833922e310" title="Returns the name of a symbol.">name</a>, file, arg,
<a name="l00125"></a>00125             body, fun, args, abstr, genv, vis, lenv, ldef, slot,
<a name="l00126"></a>00126             ident, rules;
<a name="l00127"></a>00127 
<a name="l00128"></a>00128     <span class="keyword">const</span> <span class="keywordtype">char</span>* str;
<a name="l00129"></a>00129 
<a name="l00130"></a>00130     <a class="code" href="classxtended.html">xtended</a>* xt = (<a class="code" href="classxtended.html">xtended</a>*) <a class="code" href="symbol_8hh.html#a603fcb6c07eacf2688c2a8470637d0ff" title="Returns user data.">getUserData</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>);
<a name="l00131"></a>00131 
<a name="l00132"></a>00132 
<a name="l00133"></a>00133     <span class="comment">// primitive elements</span>
<a name="l00134"></a>00134          <span class="keywordflow">if</span> (xt)                        fout &lt;&lt; xt-&gt;<a class="code" href="classxtended.html#a59e2a80966bb13528803e79b32c7a365">name</a>();
<a name="l00135"></a>00135     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a7904414896442fcfa0947156b6563d52">isBoxInt</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, &amp;i))         fout &lt;&lt; i;
<a name="l00136"></a>00136     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a292a68d93ea73f703bc880cca4d01bc2">isBoxReal</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, &amp;r))        fout &lt;&lt; r;
<a name="l00137"></a>00137     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#acf54df78e7e909644907619a03b3f695">isBoxCut</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>))             fout &lt;&lt; <span class="charliteral">&#39;!&#39;</span>;
<a name="l00138"></a>00138     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#ac32713127f8c8c3cb26e28a31580b257">isBoxWire</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>))            fout &lt;&lt; <span class="charliteral">&#39;_&#39;</span>;
<a name="l00139"></a>00139     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a15452e8c3476a87963f8a52cb1e905db">isBoxIdent</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, &amp;str))     fout &lt;&lt; str;
<a name="l00140"></a>00140     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#af6596889fd117b00a85ca9ee837f2988">isBoxPrim0</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, &amp;p0))      fout &lt;&lt; <a class="code" href="ppbox_8cpp.html#a5b146156345acaa92818b2a362e2507b">prim0name</a>(p0);
<a name="l00141"></a>00141     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a261369dc82c96fbfa1978859ca4cf2e3">isBoxPrim1</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, &amp;p1))      fout &lt;&lt; <a class="code" href="ppbox_8cpp.html#a8f1abadd58804b9c372328443250e0a0">prim1name</a>(p1);
<a name="l00142"></a>00142     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a9c79105875b22a5b09a0b6f768375d09">isBoxPrim2</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, &amp;p2))      fout &lt;&lt; <a class="code" href="ppbox_8cpp.html#aab6e83fd89926efe096c424c0e1e694b">prim2name</a>(p2);
<a name="l00143"></a>00143     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a826142cbc8a1a762612f22273303794e">isBoxPrim3</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, &amp;p3))      fout &lt;&lt; <a class="code" href="ppbox_8cpp.html#a98e1c3df1237e09e4d98ca263b47c9fe">prim3name</a>(p3);
<a name="l00144"></a>00144     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a5cae175b6153210d76c153feb2af908c">isBoxPrim4</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, &amp;p4))      fout &lt;&lt; <a class="code" href="ppbox_8cpp.html#a02ff42a6b78b33f02f96c67bf7fd386b">prim4name</a>(p4);
<a name="l00145"></a>00145     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#aba4a65a9f30e78759da0796c55b13e8e">isBoxPrim5</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, &amp;p5))      fout &lt;&lt; <a class="code" href="ppbox_8cpp.html#a0d9d3bae236541656f2e0b0c88fee269">prim5name</a>(p5);
<a name="l00146"></a>00146 
<a name="l00147"></a>00147     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#ab0b15f29743df4080b8b1c38e64a2cc1">isBoxAbstr</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>,arg,body))  fout &lt;&lt; <span class="stringliteral">&quot;\\&quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(arg) &lt;&lt; <span class="stringliteral">&quot;.(&quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(body) &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;
<a name="l00148"></a>00148     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a25bfc1d2b8e1649e3f5ca468771c08f6">isBoxAppl</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, fun, args)) fout &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(fun) &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(args) ;
<a name="l00149"></a>00149 
<a name="l00150"></a>00150     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#ab7f1921185dc888aee8f041a96989eb3">isBoxWithLocalDef</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, body, ldef))    fout &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(body) &lt;&lt; <span class="stringliteral">&quot; with { &quot;</span> &lt;&lt; <a class="code" href="classenvpp.html">envpp</a>(ldef) &lt;&lt; <span class="stringliteral">&quot; }&quot;</span>;
<a name="l00151"></a>00151 
<a name="l00152"></a>00152     <span class="comment">// foreign elements</span>
<a name="l00153"></a>00153     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a70f7ab7aecc722355d6096ca89a7658f">isBoxFFun</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, ff))        fout &lt;&lt; <span class="stringliteral">&quot;ffunction(&quot;</span> &lt;&lt; <a class="code" href="prim2_8cpp.html#a9293046e818b432cfa8a7d418679eff3">ffname</a>(ff) &lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00154"></a>00154     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a8744a0451eacde8e56290b3fd74bc0b1">isBoxFConst</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, type, name, file))
<a name="l00155"></a>00155                                         fout &lt;&lt; <span class="stringliteral">&quot;fconstant(&quot;</span> <span class="comment">/*&lt;&lt; tree2str(type) */</span>&lt;&lt; <a class="code" href="tree_8cpp.html#ac753d60778175e30a86cba647db017ad" title="if t has a node of type symbol, return its name otherwise error">tree2str</a>(name) &lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00156"></a>00156     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#aed6793582932079092255c2643b45f91">isBoxFVar</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, type, name, file))
<a name="l00157"></a>00157                                         fout &lt;&lt; <span class="stringliteral">&quot;fvariable(&quot;</span> &lt;&lt; <a class="code" href="tree_8cpp.html#ac753d60778175e30a86cba647db017ad" title="if t has a node of type symbol, return its name otherwise error">tree2str</a>(name) &lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00158"></a>00158 
<a name="l00159"></a>00159     <span class="comment">// block diagram binary operator</span>
<a name="l00160"></a>00160     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#ad7c79f7a1c0aa3109ab0548e59194d48">isBoxSeq</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, t1, t2))     <a class="code" href="ppbox_8cpp.html#a756c422aeae1e55ccc53c49ef58170f6">streambinop</a>(fout, t1, <span class="stringliteral">&quot;:&quot;</span>, t2, 1, <a class="code" href="classboxpp.html#a75835a893a0ba4c9bc2f67ea423c085e">priority</a>);
<a name="l00161"></a>00161     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a654a2a97bdc734448e669899976bdbd0">isBoxSplit</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, t1, t2))   <a class="code" href="ppbox_8cpp.html#a756c422aeae1e55ccc53c49ef58170f6">streambinop</a>(fout, t1, <span class="stringliteral">&quot;&lt;:&quot;</span>, t2, 1, <a class="code" href="classboxpp.html#a75835a893a0ba4c9bc2f67ea423c085e">priority</a>);
<a name="l00162"></a>00162     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a7b7d0ce5bacf1a799517f7b50dfe7a3e">isBoxMerge</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, t1, t2))   <a class="code" href="ppbox_8cpp.html#a756c422aeae1e55ccc53c49ef58170f6">streambinop</a>(fout, t1, <span class="stringliteral">&quot;:&gt;&quot;</span>, t2, 1, <a class="code" href="classboxpp.html#a75835a893a0ba4c9bc2f67ea423c085e">priority</a>);
<a name="l00163"></a>00163     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a8a24d365092cfdabb32218ab8e446dc6">isBoxPar</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, t1, t2))     <a class="code" href="ppbox_8cpp.html#a756c422aeae1e55ccc53c49ef58170f6">streambinop</a>(fout, t1,<span class="stringliteral">&quot;,&quot;</span>,t2, 2, <a class="code" href="classboxpp.html#a75835a893a0ba4c9bc2f67ea423c085e">priority</a>);
<a name="l00164"></a>00164     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a97de4dc9680e2d0820a5d1d18255fa35">isBoxRec</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, t1, t2))     <a class="code" href="ppbox_8cpp.html#a756c422aeae1e55ccc53c49ef58170f6">streambinop</a>(fout, t1,<span class="stringliteral">&quot;~&quot;</span>,t2, 4, <a class="code" href="classboxpp.html#a75835a893a0ba4c9bc2f67ea423c085e">priority</a>);
<a name="l00165"></a>00165 
<a name="l00166"></a>00166     <span class="comment">// iterative block diagram construction</span>
<a name="l00167"></a>00167     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#aaee8867be9aa585c10a24e8bcfda8be8">isBoxIPar</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, t1, t2, t3))    fout &lt;&lt; <span class="stringliteral">&quot;par(&quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t1) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t2) &lt;&lt; <span class="stringliteral">&quot;) {&quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t3) &lt;&lt; <span class="stringliteral">&quot;}&quot;</span>;
<a name="l00168"></a>00168     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a941c97af1f77596438700760de8556b4">isBoxISeq</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, t1, t2, t3))    fout &lt;&lt; <span class="stringliteral">&quot;seq(&quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t1) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t2) &lt;&lt; <span class="stringliteral">&quot;) {&quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t3) &lt;&lt; <span class="stringliteral">&quot;}&quot;</span>;
<a name="l00169"></a>00169     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#adb2b3be73061b6840374339d0a111dd5">isBoxISum</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, t1, t2, t3))    fout &lt;&lt; <span class="stringliteral">&quot;sum(&quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t1) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t2) &lt;&lt; <span class="stringliteral">&quot;) {&quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t3) &lt;&lt; <span class="stringliteral">&quot;}&quot;</span>;
<a name="l00170"></a>00170     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#ac0013317ab94b61d9e25f026316487b3">isBoxIProd</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, t1, t2, t3))   fout &lt;&lt; <span class="stringliteral">&quot;prod(&quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t1) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t2) &lt;&lt; <span class="stringliteral">&quot;) {&quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t3) &lt;&lt; <span class="stringliteral">&quot;}&quot;</span>;
<a name="l00171"></a>00171 
<a name="l00172"></a>00172     <span class="comment">// user interface</span>
<a name="l00173"></a>00173     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a83b021a73e7c4af2535efcfe0832c690">isBoxButton</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, label))   fout &lt;&lt; <span class="stringliteral">&quot;button(&quot;</span> &lt;&lt; <a class="code" href="tree_8cpp.html#ac753d60778175e30a86cba647db017ad" title="if t has a node of type symbol, return its name otherwise error">tree2str</a>(label) &lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00174"></a>00174     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a635dcccb574f9a9c911b89a756126473">isBoxCheckbox</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, label)) fout &lt;&lt; <span class="stringliteral">&quot;checkbox(&quot;</span> &lt;&lt; <a class="code" href="tree_8cpp.html#ac753d60778175e30a86cba647db017ad" title="if t has a node of type symbol, return its name otherwise error">tree2str</a>(label) &lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00175"></a>00175     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a4bf55c2d9a65d986d0d19da98d14db16">isBoxVSlider</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, label, cur, min, max, step))     {
<a name="l00176"></a>00176         fout &lt;&lt; <span class="stringliteral">&quot;vslider(&quot;</span>
<a name="l00177"></a>00177              &lt;&lt; <a class="code" href="tree_8cpp.html#ac753d60778175e30a86cba647db017ad" title="if t has a node of type symbol, return its name otherwise error">tree2str</a>(label) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>
<a name="l00178"></a>00178              &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(cur) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>
<a name="l00179"></a>00179              &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(min) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>
<a name="l00180"></a>00180              &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(max) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>
<a name="l00181"></a>00181              &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(step)&lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00182"></a>00182     }
<a name="l00183"></a>00183     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#adf3ec537a021d2a50ddc8e029d540451">isBoxHSlider</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, label, cur, min, max, step))     {
<a name="l00184"></a>00184         fout &lt;&lt; <span class="stringliteral">&quot;hslider(&quot;</span>
<a name="l00185"></a>00185              &lt;&lt; <a class="code" href="tree_8cpp.html#ac753d60778175e30a86cba647db017ad" title="if t has a node of type symbol, return its name otherwise error">tree2str</a>(label) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>
<a name="l00186"></a>00186              &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(cur) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>
<a name="l00187"></a>00187              &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(min) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>
<a name="l00188"></a>00188              &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(max) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>
<a name="l00189"></a>00189              &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(step)&lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00190"></a>00190     }
<a name="l00191"></a>00191     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a5643302db2568cf9eaa48fd6f7d336a9">isBoxVGroup</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, label, t1)) {
<a name="l00192"></a>00192         fout &lt;&lt; <span class="stringliteral">&quot;vgroup(&quot;</span> &lt;&lt; <a class="code" href="tree_8cpp.html#ac753d60778175e30a86cba647db017ad" title="if t has a node of type symbol, return its name otherwise error">tree2str</a>(label) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t1, 0) &lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00193"></a>00193     }
<a name="l00194"></a>00194     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a1b73cc14722de085e72c0a008fa56af3">isBoxHGroup</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, label, t1)) {
<a name="l00195"></a>00195         fout &lt;&lt; <span class="stringliteral">&quot;hgroup(&quot;</span> &lt;&lt; <a class="code" href="tree_8cpp.html#ac753d60778175e30a86cba647db017ad" title="if t has a node of type symbol, return its name otherwise error">tree2str</a>(label) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t1, 0) &lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00196"></a>00196     }
<a name="l00197"></a>00197     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a3e76d86869cc8b1df759a4bcb972cf2d">isBoxTGroup</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, label, t1)) {
<a name="l00198"></a>00198         fout &lt;&lt; <span class="stringliteral">&quot;tgroup(&quot;</span> &lt;&lt; <a class="code" href="tree_8cpp.html#ac753d60778175e30a86cba647db017ad" title="if t has a node of type symbol, return its name otherwise error">tree2str</a>(label) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t1, 0) &lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00199"></a>00199     }
<a name="l00200"></a>00200     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#aa34cc27fbf6e04a6825ba4461af2a9e0">isBoxHBargraph</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, label, min, max))  {
<a name="l00201"></a>00201         fout &lt;&lt; <span class="stringliteral">&quot;hbargraph(&quot;</span>
<a name="l00202"></a>00202              &lt;&lt; <a class="code" href="tree_8cpp.html#ac753d60778175e30a86cba647db017ad" title="if t has a node of type symbol, return its name otherwise error">tree2str</a>(label) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>
<a name="l00203"></a>00203              &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(min) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>
<a name="l00204"></a>00204              &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(max) &lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00205"></a>00205     }
<a name="l00206"></a>00206     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a1f17c731544a73f907993681b57e7461">isBoxVBargraph</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, label, min, max))  {
<a name="l00207"></a>00207         fout &lt;&lt; <span class="stringliteral">&quot;vbargraph(&quot;</span>
<a name="l00208"></a>00208              &lt;&lt; <a class="code" href="tree_8cpp.html#ac753d60778175e30a86cba647db017ad" title="if t has a node of type symbol, return its name otherwise error">tree2str</a>(label) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>
<a name="l00209"></a>00209              &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(min) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>
<a name="l00210"></a>00210              &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(max) &lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00211"></a>00211     }
<a name="l00212"></a>00212     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#aa135a488b7d54dcce1249f5761ab014a">isBoxNumEntry</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, label, cur, min, max, step))    {
<a name="l00213"></a>00213         fout &lt;&lt; <span class="stringliteral">&quot;nentry(&quot;</span>
<a name="l00214"></a>00214              &lt;&lt; <a class="code" href="tree_8cpp.html#ac753d60778175e30a86cba647db017ad" title="if t has a node of type symbol, return its name otherwise error">tree2str</a>(label) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>
<a name="l00215"></a>00215              &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(cur) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>
<a name="l00216"></a>00216              &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(min) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>
<a name="l00217"></a>00217              &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(max) &lt;&lt; <span class="stringliteral">&quot;, &quot;</span>
<a name="l00218"></a>00218              &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(step)&lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00219"></a>00219     }
<a name="l00220"></a>00220     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="list_8hh.html#a2569c3a07bbbfa55e0afde62de62aeec">isNil</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>)) {
<a name="l00221"></a>00221         fout &lt;&lt; <span class="stringliteral">&quot;()&quot;</span> ;
<a name="l00222"></a>00222     }
<a name="l00223"></a>00223     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="list_8hh.html#a8bdd73641276e0c0f999f504348eacc1">isList</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>)) {
<a name="l00224"></a>00224 
<a name="l00225"></a>00225         <a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> l = <a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>;
<a name="l00226"></a>00226         <span class="keywordtype">char</span> sep = <span class="charliteral">&#39;(&#39;</span>;
<a name="l00227"></a>00227 
<a name="l00228"></a>00228         <span class="keywordflow">do</span> {
<a name="l00229"></a>00229             fout &lt;&lt; sep &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(<a class="code" href="list_8hh.html#a067ad6f83087b420a1c44e48e56be389">hd</a>(l));
<a name="l00230"></a>00230             sep = <span class="charliteral">&#39;,&#39;</span>;
<a name="l00231"></a>00231             l = <a class="code" href="list_8hh.html#a4075748f5c7156306ec898795313a2e0">tl</a>(l);
<a name="l00232"></a>00232         } <span class="keywordflow">while</span> (<a class="code" href="list_8hh.html#a8bdd73641276e0c0f999f504348eacc1">isList</a>(l));
<a name="l00233"></a>00233 
<a name="l00234"></a>00234         fout &lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00235"></a>00235 
<a name="l00236"></a>00236     }
<a name="l00237"></a>00237     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a37fc5c4fbb1931425e6bfe12f637ee87">isBoxEnvironment</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>)) {
<a name="l00238"></a>00238         fout &lt;&lt; <span class="stringliteral">&quot;environment&quot;</span>;
<a name="l00239"></a>00239     }
<a name="l00240"></a>00240     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a06b09fa05baf1a2567fb4aae3d1ce544">isClosure</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, abstr, genv, vis, lenv)) {
<a name="l00241"></a>00241         fout &lt;&lt; <span class="stringliteral">&quot;closure[&quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(abstr)
<a name="l00242"></a>00242             &lt;&lt; <span class="stringliteral">&quot;, genv = &quot;</span> &lt;&lt; <a class="code" href="classenvpp.html">envpp</a>(genv)
<a name="l00243"></a>00243             &lt;&lt; <span class="stringliteral">&quot;, lenv = &quot;</span> &lt;&lt; <a class="code" href="classenvpp.html">envpp</a>(lenv)
<a name="l00244"></a>00244             &lt;&lt; <span class="stringliteral">&quot;]&quot;</span>;
<a name="l00245"></a>00245     }
<a name="l00246"></a>00246     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#abc1bd1c9718505ba602a6b5ed9d918b6">isBoxComponent</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, label)) {
<a name="l00247"></a>00247         fout &lt;&lt; <span class="stringliteral">&quot;component(&quot;</span>
<a name="l00248"></a>00248             &lt;&lt; <a class="code" href="tree_8cpp.html#ac753d60778175e30a86cba647db017ad" title="if t has a node of type symbol, return its name otherwise error">tree2str</a>(label) &lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00249"></a>00249     }
<a name="l00250"></a>00250     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a342ac3176f21f2f11931cd0b004d78d3">isBoxAccess</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, t1, t2)) {
<a name="l00251"></a>00251         fout &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t1) &lt;&lt; <span class="charliteral">&#39;.&#39;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(t2);
<a name="l00252"></a>00252     }
<a name="l00253"></a>00253     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a669c5f5ddf58b6f22e1497e24577469b">isImportFile</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, label)) {
<a name="l00254"></a>00254         fout &lt;&lt; <span class="stringliteral">&quot;import(&quot;</span>
<a name="l00255"></a>00255             &lt;&lt; <a class="code" href="tree_8cpp.html#ac753d60778175e30a86cba647db017ad" title="if t has a node of type symbol, return its name otherwise error">tree2str</a>(label) &lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00256"></a>00256     }
<a name="l00257"></a>00257     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#af4b23a35faec0884c4591ff92576c3d4">isBoxSlot</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, &amp;<span class="keywordtype">id</span>)) {
<a name="l00258"></a>00258         fout &lt;&lt; <span class="stringliteral">&quot;#&quot;</span> &lt;&lt; id;
<a name="l00259"></a>00259     }
<a name="l00260"></a>00260     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#ab73899d732fd2181be3d72f28c11ab3d">isBoxSymbolic</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, slot, body)) {
<a name="l00261"></a>00261         fout &lt;&lt; <span class="stringliteral">&quot;[&quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(slot) &lt;&lt; <span class="stringliteral">&quot;&gt;&quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(body) &lt;&lt; <span class="stringliteral">&quot;]&quot;</span>;
<a name="l00262"></a>00262     }
<a name="l00263"></a>00263     
<a name="l00264"></a>00264     <span class="comment">// Pattern Matching Extensions</span>
<a name="l00265"></a>00265     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a345a4cfac5657c40640b503058b300f9">isBoxCase</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, rules)) {
<a name="l00266"></a>00266         fout &lt;&lt; <span class="stringliteral">&quot;case {&quot;</span>;
<a name="l00267"></a>00267         <span class="keywordflow">while</span> (!<a class="code" href="list_8hh.html#a2569c3a07bbbfa55e0afde62de62aeec">isNil</a>(rules)) { <a class="code" href="ppbox_8cpp.html#a26603ca40d863fb1513efe5dee2cd3e1">printRule</a>(fout, <a class="code" href="list_8hh.html#a067ad6f83087b420a1c44e48e56be389">hd</a>(rules)); rules = <a class="code" href="list_8hh.html#a4075748f5c7156306ec898795313a2e0">tl</a>(rules); }
<a name="l00268"></a>00268         fout &lt;&lt; <span class="stringliteral">&quot;}&quot;</span>;     
<a name="l00269"></a>00269     }
<a name="l00270"></a>00270 <span class="preprocessor">#if 0</span>
<a name="l00271"></a>00271 <span class="preprocessor"></span>    <span class="comment">// more useful for debugging output</span>
<a name="l00272"></a>00272     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#ad166878e0270e4eab4adf2fb5f81fc31">isBoxPatternVar</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, ident)) {
<a name="l00273"></a>00273         fout &lt;&lt; <span class="stringliteral">&quot;&lt;&quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(ident) &lt;&lt; <span class="stringliteral">&quot;&gt;&quot;</span>; 
<a name="l00274"></a>00274     }
<a name="l00275"></a>00275 <span class="preprocessor">#else</span>
<a name="l00276"></a>00276 <span class="preprocessor"></span>    <span class="comment">// beautify messages involving lhs patterns</span>
<a name="l00277"></a>00277     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#ad166878e0270e4eab4adf2fb5f81fc31">isBoxPatternVar</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>, ident)) {
<a name="l00278"></a>00278         fout &lt;&lt; <a class="code" href="classboxpp.html#aedd60f8cf603dd422b056ced0a7a9a56">boxpp</a>(ident);   
<a name="l00279"></a>00279     }
<a name="l00280"></a>00280 <span class="preprocessor">#endif</span>
<a name="l00281"></a>00281 <span class="preprocessor"></span>
<a name="l00282"></a>00282     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a23a555bb65c1a6a4af53c7c1f24ff124">isBoxPatternMatcher</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>)) {
<a name="l00283"></a>00283         fout &lt;&lt; <span class="stringliteral">&quot;PM[&quot;</span> &lt;&lt; <a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a> &lt;&lt; <span class="stringliteral">&quot;]&quot;</span>;    
<a name="l00284"></a>00284     }
<a name="l00285"></a>00285 
<a name="l00286"></a>00286     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="boxes_8cpp.html#a0f492ef7453000e0b40455ac32bd76d4">isBoxError</a>(<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a>)) {
<a name="l00287"></a>00287         fout &lt;&lt; <span class="stringliteral">&quot;ERROR&quot;</span>;    
<a name="l00288"></a>00288     }
<a name="l00289"></a>00289 
<a name="l00290"></a>00290     
<a name="l00291"></a>00291     <span class="comment">// None of the previous tests succeded, then it is not a valid box</span>
<a name="l00292"></a>00292     <span class="keywordflow">else</span> {
<a name="l00293"></a>00293         cerr &lt;&lt; <span class="stringliteral">&quot;Error in box::print() : &quot;</span> &lt;&lt; *<a class="code" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">box</a> &lt;&lt; <span class="stringliteral">&quot; is not the address of a valid box&quot;</span> &lt;&lt; endl;
<a name="l00294"></a>00294         exit(1);
<a name="l00295"></a>00295     }
<a name="l00296"></a>00296 
<a name="l00297"></a>00297     <span class="keywordflow">return</span> fout;
<a name="l00298"></a>00298 }
</pre></div></p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a8e3b1c52490c065c160399a10f3c1c6d"></a><!-- doxytag: member="boxpp::box" ref="a8e3b1c52490c065c160399a10f3c1c6d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCTree.html">Tree</a> <a class="el" href="classboxpp.html#a8e3b1c52490c065c160399a10f3c1c6d">boxpp::box</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="ppbox_8hh_source.html#l00060">60</a> of file <a class="el" href="ppbox_8hh_source.html">ppbox.hh</a>.</p>

<p>Referenced by <a class="el" href="ppbox_8cpp_source.html#l00113">print()</a>.</p>

</div>
</div>
<a class="anchor" id="a75835a893a0ba4c9bc2f67ea423c085e"></a><!-- doxytag: member="boxpp::priority" ref="a75835a893a0ba4c9bc2f67ea423c085e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classboxpp.html#a75835a893a0ba4c9bc2f67ea423c085e">boxpp::priority</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="ppbox_8hh_source.html#l00061">61</a> of file <a class="el" href="ppbox_8hh_source.html">ppbox.hh</a>.</p>

<p>Referenced by <a class="el" href="ppbox_8cpp_source.html#l00113">print()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ppbox_8hh_source.html">ppbox.hh</a></li>
<li><a class="el" href="ppbox_8cpp_source.html">ppbox.cpp</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Apr 29 00:00:17 2010 for FAUST compiler by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>