|
FAUST compiler
0.9.9.6b8
|
#include "timing.hh"#include "compile.hh"#include "floats.hh"#include "sigtype.hh"#include <stdio.h>#include "sigprint.hh"#include "ppsig.hh"#include "sigtyperules.hh"#include "simplify.hh"#include "privatise.hh"
Go to the source code of this file.
Functions | |
| static string | wdel (const string &s) |
| Removes enclosing whitespaces : ' toto ' -> 'toto'. | |
Variables | |
| int | gDetailsSwitch |
| string | gMasterName |
| static string wdel | ( | const string & | s | ) | [static] |
Removes enclosing whitespaces : ' toto ' -> 'toto'.
Definition at line 148 of file compile.cpp.
Referenced by Compiler::generateUserInterfaceTree(), and Compiler::generateWidgetCode().
{
size_t i = 0;
size_t j = s.size();
while (i<j && s[i]==' ') i++;
while (j>i && s[j-1] == ' ') j--;
return s.substr(i,j-i);
}

| int gDetailsSwitch |
| string gMasterName |
1.8.0