original_docstring: Add an extension to the internal fill tree of this file loader.
  
          Arguments:
          ext_name: name of the extension
          ext_dir: path to extensions directory
          
docstring: Add an extension to the internal fill tree of this file loader.
  Arguments:
  ext_name: name of the extension
  ext_dir: path to extensions directory
docstring_tokens: Add an extension to the internal fill tree of this file loader . Arguments : ext_name : name of the extension ext_dir : path to extensions directory
code: def load_extension(self, ext_name, ext_dir):
          """Add an extension to the internal fill tree of this file loader.
  
          Arguments:
          ext_name: name of the extension
          ext_dir: path to extensions directory
          """
          exts_node = self.file_tree.children.get('extensions')
          if exts_node is None:
              exts_node = DirNode()
              self.file_tree.children['extensions'] = exts_node
  
          if ext_name in exts_node.children:
              raise ValueError('Extensions {} already present'.format(ext_name))
  
          floader = CatFileLoader(ext_dir)
          exts_node.children[ext_name] = floader
  
          return floader._load_extension(ext_dir)
code_tokens: def load_extension ( self , ext_name , ext_dir ) : exts_node = self . file_tree . children . get ( 'extensions' ) if exts_node is None : exts_node = DirNode ( ) self . file_tree . children [ 'extensions' ] = exts_node if ext_name in exts_node . children : raise ValueError ( 'Extensions {} already present' . format ( ext_name ) ) floader = CatFileLoader ( ext_dir ) exts_node . children [ ext_name ] = floader return floader . _load_extension ( ext_dir )
short_docstring: Add an extension to the internal fill tree of this file loader.
short_docstring_tokens: Add an extension to the internal fill tree of this file loader .
comment: """Add an extension to the internal fill tree of this file loader.
  
          Arguments:
          ext_name: name of the extension
          ext_dir: path to extensions directory
          """