FAUST compiler  0.9.9.6b8
node.cpp
Go to the documentation of this file.
00001 #include "node.hh"
00002 
00003 ostream& Node::print (ostream& fout) const                  
00004 {
00005     switch (fType) {
00006         case kIntNode :     return fout << fData.i;
00007         case kDoubleNode :  return fout << fData.f;
00008         case kSymNode :     return fout << *(fData.s);
00009         case kPointerNode : return fout << "ptr:" << fData.p;
00010         default :           return fout << "badnode";
00011     }
00012             
00013 //  return fout;
00014 }
00015