|
FAUST compiler
0.9.9.6b8
|
API to the typing system of signals. More...


Go to the source code of this file.
Functions | |
| void | typeAnnotation (Tree term) |
| Annotates a signal term and its subterms with type information. More... | |
| Type | getCertifiedSigType (Tree term) |
| Return the type of a previously annotated signal term. More... | |
| void | annotationStatistics () |
| print annotation statistics More... | |
Variables | |
| bool | gVectorSwitch |
API to the typing system of signals.
Two functions are provided :
TypeAnnotation must be called first to annotate a signal or a list of signals, before being able to call getCertifiedType on any subterms. GetCertifiedType will produce an error if a term was not previously annotated.
Definition in file sigtyperules.hh.
| void annotationStatistics | ( | ) |
print annotation statistics
Definition at line 146 of file sigtyperules.cpp.
References AudioType::gAllocationCount, and TABBER.
Return the type of a previously annotated signal term.
Return the type of a previously annotated signal term.
Produces an error if the signal has no type associated
| sig | the signal we want to know the type |
Definition at line 159 of file sigtyperules.cpp.
References getSigType().
Referenced by VectorCompiler::CS(), ScalarCompiler::declareWaveform(), ScalarCompiler::forceCacheCode(), ScalarCompiler::generateBinOp(), DocCompiler::generateBinOp(), VectorCompiler::generateCacheCode(), ScalarCompiler::generateCacheCode(), DocCompiler::generateCacheCode(), ScalarCompiler::generateDelayVec(), DocCompiler::generateDelayVec(), DocCompiler::generateDocConstantTbl(), DocCompiler::generateDocWriteTbl(), ScalarCompiler::generateFConst(), DocCompiler::generateFConst(), DocCompiler::generateFVar(), ScalarCompiler::generateHBargraph(), DocCompiler::generateHBargraph(), ScalarCompiler::generateNumber(), DocCompiler::generateNumber(), ScalarCompiler::generatePrefix(), ScalarCompiler::generateRec(), DocCompiler::generateRec(), ScalarCompiler::generateStaticTable(), ScalarCompiler::generateTable(), VectorCompiler::generateVariableStore(), ScalarCompiler::generateVariableStore(), DocCompiler::generateVariableStore(), ScalarCompiler::generateVBargraph(), DocCompiler::generateVBargraph(), ScalarCompiler::generateXtended(), DocCompiler::generateXtended(), OccMarkup::incOcc(), VectorCompiler::needSeparateLoop(), recdraw(), ScalarCompiler::sharingAnnotation(), DocCompiler::sharingAnnotation(), signal2klass(), and sigToGraph().


| void typeAnnotation | ( | Tree | sig | ) |
Annotates a signal term and its subterms with type information.
Annotates a signal term and its subterms with type information.
| sig | the signal term tree to annotate |
Definition at line 89 of file sigtyperules.cpp.
References getSigType(), hd(), initialRecType(), isList(), isRec(), len(), setSigType(), CTree::startNewVisit(), symlist(), T(), and tl().
Referenced by DocCompiler::annotate(), ScalarCompiler::prepare(), and ScalarCompiler::prepare2().


| bool gVectorSwitch |
Definition at line 138 of file main.cpp.
Referenced by main(), and process_cmdline().
1.8.7