updateExchangeRates();
}
final LinkedList<Parser> parsers = Lists.newLinkedList();
if (currenciesByCode != null) {
for (final Entry<String, Currency> e : currenciesByCode.entrySet()) {
parsers.add(new UnitParser(e.getValue(), TokenList.createD(e.getKey())));
parsers.add(new UnitParser(e.getValue(), TokenList.createD(e.getKey().toLowerCase())));
}
parsers.add(new UnitParser(currenciesByCode.get("USD"), TokenList.createD("$")));
parsers.add(new UnitParser(currenciesByCode.get("EUR"), TokenList.createD("�")));
parsers.add(new UnitParser(currenciesByCode.get("JPY"), TokenList.createD("�")));
parsers.add(new UnitParser(currenciesByCode.get("GBP"), TokenList.createD("�")));
parsers.add(new CurrencyReverser());
}
return parsers;