def _MovedAndRenamed(tool, msvs_settings_name, msbuild_tool_name, msbuild_settings_name, setting_type):
 def _Translate(value, msbuild_settings):
  tool_settings = msbuild_settings.setdefault(msbuild_tool_name, {})
  tool_settings[msbuild_settings_name] = setting_type.ConvertToMSBuild(value)
 _msvs_validators[tool.msvs_name][msvs_settings_name] = setting_type.ValidateMSVS
 validator = setting_type.ValidateMSBuild
 _msbuild_validators[msbuild_tool_name][msbuild_settings_name] = validator
 _msvs_to_msbuild_converters[tool.msvs_name][msvs_settings_name] = _Translate

def _MovedAndRenamed ( tool , msvs_settings_name , msbuild_tool_name , msbuild_settings_name , setting_type ) : def _Translate ( value , msbuild_settings ) : tool_settings = msbuild_settings . setdefault ( msbuild_tool_name , { } ) tool_settings [ msbuild_settings_name ] = setting_type . ConvertToMSBuild ( value ) _msvs_validators [ tool . msvs_name ] [ msvs_settings_name ] = setting_type . ValidateMSVS validator = setting_type . ValidateMSBuild _msbuild_validators [ msbuild_tool_name ] [ msbuild_settings_name ] = validator _msvs_to_msbuild_converters [ tool . msvs_name ] [ msvs_settings_name ] = _Translate
defines a setting that may have moved to a new section .