|
FAUST compiler
0.9.9.6b8
|
Interface for names management. More...


Go to the source code of this file.
Functions | |
| bool | getDefNameProperty (Tree t, Tree &id) |
| Indicates the identifier (if any) the expression was a definition of. More... | |
| void | setDefNameProperty (Tree t, Tree id) |
| void | setDefNameProperty (Tree t, const string &name) |
| void | setSigListNickName (Tree lsig, const string &nickname) |
| set the nickname property of a list of signals. More... | |
| void | setSigNickname (Tree t, const string &id) |
| Set the nickname property of a signal. More... | |
| bool | getSigNickname (Tree t, Tree &id) |
| Get the nickname property of a signal. More... | |
| Tree | pushValueDef (Tree id, Tree def, Tree lenv) |
| Push a new layer and add a single definition. More... | |
| Tree | simplifyPattern (Tree pattern) |
| Simplify a block-diagram pattern by computing its numerical sub-expressions. More... | |
Interface for names management.
Definition in file names.hh.
Indicates the identifier (if any) the expression was a definition of.
| t | the expression |
| id | reference to the identifier |
Definition at line 85 of file names.cpp.
References getProperty().
Referenced by a2sb(), applyList(), boxSimplification(), eval(), evalIdDef(), generateDiagramSchema(), generateInputSlotSchema(), generateInsideSchema(), generateOutputSlotSchema(), legalFileName(), mapGetEqName(), real_a2sb(), and writeSchemaFile().


Get the nickname property of a signal.
Definition at line 122 of file names.cpp.
References getProperty().
Referenced by DocCompiler::compileLateq().


Push a new layer and add a single definition.
| id | the symbol id to be defined |
| def | the definition to be binded to the symbol id |
| lenv | the environment where to push the layer and add the definition |
Definition at line 94 of file environment.cpp.
References addLayerDef(), and pushNewLayer().
Referenced by apply_pattern_matcher(), applyList(), iteratePar(), iterateProd(), iterateSeq(), iterateSum(), and real_a2sb().


Definition at line 54 of file names.cpp.
References setProperty().
Referenced by a2sb(), applyList(), boxSimplification(), copyEnvReplaceDefs(), eval(), pushMultiClosureDefs(), real_a2sb(), and realeval().


| void setDefNameProperty | ( | Tree | t, |
| const string & | name | ||
| ) |
Definition at line 60 of file names.cpp.
References gMaxNameSize, setProperty(), and tree().

| void setSigListNickName | ( | Tree | lsig, |
| const string & | nickname | ||
| ) |
set the nickname property of a list of signals.
If the list contains more than one signal, adds an index to the nickname
Definition at line 134 of file names.cpp.
References hd(), isList(), isNil(), setSigNickname(), subst(), T(), and tl().

| void setSigNickname | ( | Tree | t, |
| const string & | id | ||
| ) |
Set the nickname property of a signal.
Definition at line 108 of file names.cpp.
References isSigFixDelay(), isZero(), setProperty(), and tree().
Referenced by setSigListNickName().


Simplify a block-diagram pattern by computing its numerical sub-expressions.
| pattern | an evaluated block-diagram |
Definition at line 617 of file eval.cpp.
References getNumericProperty(), isBoxNumeric(), and setNumericProperty().
Referenced by apply_pattern_matcher_internal().


1.8.7