|
FAUST compiler
0.9.9.6b8
|
A library to create and manipulate symbols with a unique name. More...
#include <string>#include <map>

Go to the source code of this file.
Classes | |
| class | Symbol |
| Symbols are unique objects with a name stored in a hash table. More... | |
Typedefs | |
| typedef Symbol * | Sym |
Functions | |
| Symbol * | symbol (const char *str) |
Returns (and creates if new) the symbol of name str. More... | |
| Symbol * | symbol (const string &str) |
Returns (and creates if new) the symbol of name str. More... | |
| Symbol * | unique (const char *str) |
| Returns a new unique symbol of name strxxx. More... | |
| const char * | name (Symbol *sym) |
| Returns the name of a symbol. More... | |
| void * | getUserData (Symbol *sym) |
| Returns user data. More... | |
| void | setUserData (Symbol *sym, void *d) |
| Set user data. More... | |
| ostream & | operator<< (ostream &s, const Symbol &n) |
A library to create and manipulate symbols with a unique name.
A library of functions to create and manipulate symbols with a unique name.
API:
Properties:
If p and q are two symbols then : p != q <=> name(p) != name(q)
Definition in file symbol.hh.
|
inline |
Returns user data.
Definition at line 100 of file symbol.hh.
References Symbol::fData.
Referenced by applyList(), xtended::box(), computeBoxComplexity(), ScalarCompiler::generateCode(), DocCompiler::generateCode(), generateInsideSchema(), ScalarCompiler::generateXtended(), DocCompiler::generateXtended(), getSubSignals(), infereBoxType(), infereSigOrder(), infereSigType(), infereXType(), insideBoxSimplification(), isSigPow(), preparePattern(), ppsig::print(), boxpp::print(), ppsig::printextended(), realeval(), realPropagate(), sigLabel(), and simplification().

|
inline |
Returns the name of a symbol.
Definition at line 98 of file symbol.hh.
References Symbol::fName.
Referenced by boxSimplification(), computeBoxComplexity(), evalIdDef(), extractName(), filebasename(), ScalarCompiler::generateCode(), DocCompiler::generateCode(), generateInsideSchema(), getDefFileProp(), getSubSignals(), infereSigOrder(), infereSigType(), insideBoxSimplification(), isBefore(), isBoxIdent(), isDocTxt(), isVerySimpleFormula(), makePrivatisationKey(), makePrivatisationLabel(), xtended::name(), normalizeLabel(), Symbol::prefix(), preparePattern(), ppsig::print(), boxpp::print(), print(), real_a2sb(), realPropagate(), shprkey(), sigLabel(), substkey(), tree2str(), verySimple(), and sigvisitor::visit().

|
inline |
Definition at line 103 of file symbol.hh.
References Symbol::print().

|
inline |
Set user data.
Definition at line 101 of file symbol.hh.
References Symbol::fData.
Referenced by xtended::xtended(), and xtended::~xtended().

|
inline |
Returns (and creates if new) the symbol of name str.
Definition at line 95 of file symbol.hh.
References Symbol::get().
Referenced by boxIdent(), docTxt(), and Node::Node().


|
inline |
Returns (and creates if new) the symbol of name str.
Definition at line 96 of file symbol.hh.
References Symbol::get().

|
inline |
Returns a new unique symbol of name strxxx.
Definition at line 97 of file symbol.hh.
References Symbol::prefix().
Referenced by calcDeBruijn2Sym(), makePrivatisationKey(), makePrivatisationLabel(), OccMarkup::mark(), pushNewLayer(), shprkey(), sigMapRename(), Occurrences::specificKey(), substkey(), and writeSchemaFile().


1.8.7