|
FAUST compiler
0.9.9.6b8
|
#include <stdio.h>#include <set>#include <vector>#include <iostream>#include <sstream>#include <string>#include "signals.hh"#include "sigtype.hh"#include "sigtyperules.hh"#include "xtended.hh"#include "sigToGraph.hh"
Go to the source code of this file.
Functions | |
| static void | recdraw (Tree sig, set< Tree > &drawn, ofstream &fout) |
| Draw recursively a signal. More... | |
| static string | nodeattr (Type t) |
| Convert a signal type into node attributes. More... | |
| static string | edgeattr (Type t) |
| Convert a signal type into edge attributes. More... | |
| static string | sigLabel (Tree sig) |
| return the label of a signal as a string More... | |
| void | sigToGraph (Tree L, ofstream &fout) |
| Draw a list of signals as a directed graph using graphviz's dot language. More... | |
Variables | |
| static const char * | binopname [] |
| translate signal binary operations into strings More... | |
|
static |
Convert a signal type into edge attributes.
Definition at line 131 of file sigToGraph.cpp.
References kInt, kSamp, and kVect.
Referenced by nodeattr(), recdraw(), and sigToGraph().

|
static |
Convert a signal type into node attributes.
Definition at line 153 of file sigToGraph.cpp.
References edgeattr(), kBlock, kKonst, and kSamp.
Referenced by recdraw().


Draw recursively a signal.
Definition at line 76 of file sigToGraph.cpp.
References edgeattr(), getCertifiedSigType(), getSubSignals(), hd(), isList(), isRec(), nodeattr(), sigLabel(), and tl().
Referenced by sigToGraph().


|
static |
return the label of a signal as a string
Definition at line 184 of file sigToGraph.cpp.
References binopname, getUserData(), isProj(), isRec(), isSigAttach(), isSigBinOp(), isSigButton(), isSigCheckbox(), isSigDelay1(), isSigFConst(), isSigFFun(), isSigFixDelay(), isSigFloatCast(), isSigFVar(), isSigGen(), isSigHBargraph(), isSigHSlider(), isSigInput(), isSigInt(), isSigIntCast(), isSigIota(), isSigNumEntry(), isSigOutput(), isSigPrefix(), isSigRDTbl(), isSigReal(), isSigSelect2(), isSigSelect3(), isSigTable(), isSigVBargraph(), isSigVSlider(), isSigWaveform(), isSigWRTbl(), xtended::name(), and name().
Referenced by recdraw().


| void sigToGraph | ( | Tree | L, |
| ofstream & | fout | ||
| ) |
Draw a list of signals as a directed graph using graphviz's dot language.
Draw a list of signals L as a directed graph using graphviz's dot language.
Definition at line 50 of file sigToGraph.cpp.
References edgeattr(), getCertifiedSigType(), hd(), isList(), recdraw(), and tl().
Referenced by ScalarCompiler::prepare().


|
static |
translate signal binary operations into strings
Definition at line 173 of file sigToGraph.cpp.
Referenced by sigLabel().
1.8.7