FAUST compiler  0.9.9.6b8
Public Member Functions | Private Attributes | List of all members
envpp Class Reference

#include <ppbox.hh>

Collaboration diagram for envpp:
Collaboration graph
[legend]

Public Member Functions

 envpp (Tree e)
 
ostream & print (ostream &fout) const
 

Private Attributes

Tree fEnv
 

Detailed Description

Definition at line 75 of file ppbox.hh.

Constructor & Destructor Documentation

envpp::envpp ( Tree  e)
inline

Definition at line 79 of file ppbox.hh.

79 : fEnv(e) {}
Tree fEnv
Definition: ppbox.hh:77

Member Function Documentation

ostream & envpp::print ( ostream &  fout) const

Definition at line 386 of file ppbox.cpp.

References fEnv, hd(), isList(), and tl().

Referenced by operator<<().

387 {
388  const char* sep = "";
389  Tree l = fEnv;
390 
391  fout << '{';
392  while (isList(l)) {
393  fout << sep << boxpp(hd(hd(l))) << "=" << boxpp(tl(hd(l)));
394  sep = ", ";
395  l = tl(l);
396  }
397  fout << '}';
398  return fout;
399 }
A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches.
Definition: tree.hh:109
Tree hd(Tree l)
Definition: list.hh:133
bool isList(Tree l)
Definition: list.hh:138
Definition: ppbox.hh:58
Tree tl(Tree l)
Definition: list.hh:134
Tree fEnv
Definition: ppbox.hh:77

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Tree envpp::fEnv
private

Definition at line 77 of file ppbox.hh.

Referenced by print().


The documentation for this class was generated from the following files: