src/Generic/tokens/SymbolSubstitutionMap.cpp
/**
 * If the symbol is not found in the substitution map, it is
 * returned unchanged.
 *
 * @param sym the symbol to substitute.
 * @return the substituted symbol.
 */
If the symbol is not found in the substitution map, it is
returned unchanged.

@param sym the symbol to substitute.
@return the substituted symbol.
If the symbol is not found in the substitution map it is returned unchanged . @param sym the symbol to substitute . @return the substituted symbol .
Symbol SymbolSubstitutionMap::replace(Symbol sym) const {
	Symbol::HashMap<Symbol>::const_iterator it = _map.find(sym);
	if (it == _map.end())
		return sym;
	else
		return (*it).second;
}
Symbol SymbolSubstitutionMap :: replace ( Symbol sym ) const { Symbol :: HashMap < Symbol > :: const_iterator it = _map . find ( sym ) ; if ( it == _map . end ( ) ) return sym ; else return ( * it ) . second ; }
If the symbol is not found in the substitution map, it is
 returned unchanged.
If the symbol is not found in the substitution map it is returned unchanged .