original_docstring: Runs a preprocessor plugin on a Windows Registry value.
  
      Args:
        file_system (dfvfs.FileSystem): file system to be preprocessed.
        mount_point (dfvfs.PathSpec): mount point path specification that refers
            to the base location of the file system.
        storage_writer (StorageWriter): storage writer.
        plugin (ArtifactPreprocessorPlugin): preprocessor plugin.
  
      Return:
        PreprocessMediator: preprocess mediator.
      
docstring: Runs a preprocessor plugin on a Windows Registry value.
docstring_tokens: Runs a preprocessor plugin on a Windows Registry value .
code: def _RunPreprocessorPluginOnWindowsRegistryValue(
        self, file_system, mount_point, storage_writer, plugin):
      """Runs a preprocessor plugin on a Windows Registry value.
  
      Args:
        file_system (dfvfs.FileSystem): file system to be preprocessed.
        mount_point (dfvfs.PathSpec): mount point path specification that refers
            to the base location of the file system.
        storage_writer (StorageWriter): storage writer.
        plugin (ArtifactPreprocessorPlugin): preprocessor plugin.
  
      Return:
        PreprocessMediator: preprocess mediator.
      """
      artifact_definition = self._artifacts_registry.GetDefinitionByName(
          plugin.ARTIFACT_DEFINITION_NAME)
      self.assertIsNotNone(artifact_definition)
  
      environment_variable = artifacts.EnvironmentVariableArtifact(
          case_sensitive=False, name='SystemRoot', value='C:\\Windows')
  
      registry_file_reader = manager.FileSystemWinRegistryFileReader(
          file_system, mount_point, environment_variables=[environment_variable])
      win_registry = dfwinreg_registry.WinRegistry(
          registry_file_reader=registry_file_reader)
  
      session = sessions.Session()
      storage_writer = self._CreateTestStorageWriter()
      test_knowledge_base = knowledge_base.KnowledgeBase()
      test_mediator = mediator.PreprocessMediator(
          session, storage_writer, test_knowledge_base)
  
      searcher = registry_searcher.WinRegistrySearcher(win_registry)
  
      plugin.Collect(test_mediator, artifact_definition, searcher)
  
      return test_mediator
code_tokens: def _RunPreprocessorPluginOnWindowsRegistryValue ( self , file_system , mount_point , storage_writer , plugin ) : artifact_definition = self . _artifacts_registry . GetDefinitionByName ( plugin . ARTIFACT_DEFINITION_NAME ) self . assertIsNotNone ( artifact_definition ) environment_variable = artifacts . EnvironmentVariableArtifact ( case_sensitive = False , name = 'SystemRoot' , value = 'C:\\Windows' ) registry_file_reader = manager . FileSystemWinRegistryFileReader ( file_system , mount_point , environment_variables = [ environment_variable ] ) win_registry = dfwinreg_registry . WinRegistry ( registry_file_reader = registry_file_reader ) session = sessions . Session ( ) storage_writer = self . _CreateTestStorageWriter ( ) test_knowledge_base = knowledge_base . KnowledgeBase ( ) test_mediator = mediator . PreprocessMediator ( session , storage_writer , test_knowledge_base ) searcher = registry_searcher . WinRegistrySearcher ( win_registry ) plugin . Collect ( test_mediator , artifact_definition , searcher ) return test_mediator
short_docstring: Runs a preprocessor plugin on a Windows Registry value.
short_docstring_tokens: Runs a preprocessor plugin on a Windows Registry value .
comment: """Runs a preprocessor plugin on a Windows Registry value.
  
      Args:
        file_system (dfvfs.FileSystem): file system to be preprocessed.
        mount_point (dfvfs.PathSpec): mount point path specification that refers
            to the base location of the file system.
        storage_writer (StorageWriter): storage writer.
        plugin (ArtifactPreprocessorPlugin): preprocessor plugin.
  
      Return:
        PreprocessMediator: preprocess mediator.
      """