code: private static String highlightToken(String line, Token token)
      {
          String newLine = insertChar(line, getLastCharPositionInLine(token), ']');
          return insertChar(newLine, token.getCharPositionInLine(), '[');
      }
docs: Puts the specified token within square brackets.
  
  @param line the line containing the token
  @param token the token to put within square brackets