/** * Add this values to the highlighted tokens. * * @param map the map that stores the tokens */ public static void enlistHighlightedWords(final TokenMap map) { for (final Towns town : Towns.values()) { map.put(town.name(), Token.VARIABLE); } }
@Override public void enlistHighlightedWords(final TokenMap map) { map.put("money", Token.RESERVED_WORD); }