parameters: (self)
docstring: Loads the sub-resources that this module depends on from its dependency
      metadata.
  
      Raises:
        DepsException: There was a problem finding one of the dependencies.
        Exception: There was a problem parsing a module that this one depends on.
docstring_summary: Loads the sub-resources that this module depends on from its dependency
      metadata.
docstring_tokens: Loads the sub - resources that this module depends on from its dependency metadata .
function: def Load(self):
      """Loads the sub-resources that this module depends on from its dependency
      metadata.
  
      Raises:
        DepsException: There was a problem finding one of the dependencies.
        Exception: There was a problem parsing a module that this one depends on.
      """
      assert self.name, 'Module name must be set before dep resolution.'
      assert self.filename, 'Module filename must be set before dep resolution.'
      assert self.name in self.loader.loaded_modules, (
          'Module must be registered in resource loader before loading.')
  
      metadata = self.dependency_metadata
      for name in metadata.dependent_module_names:
        module = self.loader.LoadModule(module_name=name)
        self.dependent_modules.append(module)
  
      for path in metadata.dependent_raw_script_relative_paths:
        raw_script = self.loader.LoadRawScript(path)
        self.dependent_raw_scripts.append(raw_script)
  
      for name in metadata.style_sheet_names:
        style_sheet = self.loader.LoadStyleSheet(name)
        self.style_sheets.append(style_sheet)
function_tokens: def Load ( self ) : assert self . name , 'Module name must be set before dep resolution.' assert self . filename , 'Module filename must be set before dep resolution.' assert self . name in self . loader . loaded_modules , ( 'Module must be registered in resource loader before loading.' ) metadata = self . dependency_metadata for name in metadata . dependent_module_names : module = self . loader . LoadModule ( module_name = name ) self . dependent_modules . append ( module ) for path in metadata . dependent_raw_script_relative_paths : raw_script = self . loader . LoadRawScript ( path ) self . dependent_raw_scripts . append ( raw_script ) for name in metadata . style_sheet_names : style_sheet = self . loader . LoadStyleSheet ( name ) self . style_sheets . append ( style_sheet )