63 int n = (int)name.size();
70 for (; i < m/3; i++) { buf[i] = name[i]; }
76 for (
int c = n-m/3; c<n; c++, i++) { buf[i] = name[c]; }
142 while (!
isNil(lsig)) {
bool getDefNameProperty(Tree t, Tree &id)
Indicates the identifier (if any) the expression was a definition of.
void setSigListNickName(Tree lsig, const string &nickname)
set the nickname property of a list of signals.
A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches.
bool isSigFixDelay(Tree t, Tree &t0, Tree &t1)
Tree DEFNAMEPROPERTY
Definition name property : a property to keep track of the definition name of an expression.
void setDefNameProperty(Tree t, Tree id)
bool getSigNickname(Tree t, Tree &id)
Get the nickname property of a signal.
string subst(const string &model, const vector< string > &args)
Text substitution.
string defName2NickName(const string &defname)
Convert a definition name (can be long) into a short nickname that can be used as an equation name in...
const char * name(Symbol *sym)
Returns the name of a symbol.
void setProperty(Tree t, Tree key, Tree val)
void setSigNickname(Tree t, const string &id)
Set the nickname property of a signal.
Symbol * symbol(const char *str)
Returns (and creates if new) the symbol of name str.
Interface for names management.
bool getProperty(Tree t, Tree key, Tree &val)