示例#1
0
 /**
  * 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);
   }
 }
示例#2
0
 @Override
 public void enlistHighlightedWords(final TokenMap map) {
   map.put("money", Token.RESERVED_WORD);
 }