code: def register_function_compilation(self, func, compilation_cbk, listclass):
          
          self.compilations_function[func] = {
              'callback':  compilation_cbk,
              'listclass': listclass
          }
docs: Register given compilation method for given function.
  
          :param str path: Function name.
          :param callable compilation_cbk: Compilation callback to be called.
          :param class listclass: List class to use for lists.