libsndfile source files.
[Faustine.git] / interpretor / preprocessor / faust-0.9.47mr3 / compiler / tlib / node.cpp
1 #include "node.hh"
2
3 ostream& Node::print (ostream& fout) const ///< print a node on a stream
4 {
5 switch (fType) {
6 case kIntNode : return fout << fData.i;
7 case kDoubleNode : return fout << fData.f;
8 case kSymNode : return fout << *(fData.s);
9 case kPointerNode : return fout << "ptr:" << fData.p;
10 default : return fout << "badnode";
11 }
12
13 // return fout;
14 }
15