src/Generic/tokens/SymbolSubstitutionMap.cpp
/**
 * @param target the symbol to be replaced.
 * @param replacement the symbol to replace it with.
 */
@param target the symbol to be replaced.
@param replacement the symbol to replace it with.
@param target the symbol to be replaced . @param replacement the symbol to replace it with .
void SymbolSubstitutionMap::add(Symbol target, Symbol replacement) {
	if (contains(target)) {
		SessionLogger::warn("symbol_substitution") 
			<< "Multiple substitution replacements specified for "
			<< "a single target: [" << target.to_debug_string() << "]";
		return;
	}
	_map[target] = replacement;
}
void SymbolSubstitutionMap :: add ( Symbol target , Symbol replacement ) { if ( contains ( target ) ) { SessionLogger :: warn ( " " ) << " " << " " << target . to_debug_string ( ) << " " ; return ; } _map [ target ] = replacement ; }
@param target the symbol to be replaced.
@param target the symbol to be replaced .