original_string: public function proceed() {
          if ($this->has_run()) {
              throw new coding_exception('The processor has already run.');
          } else if (!$this->mapper->has_mappings()) {
              throw new coding_exception('Mapping was not set.');
          }
  
          $this->proceeded = true;
          $this->process_mapping();
          $this->find_coursescompetencies();
          $this->find_modulecompetencies();
          $this->process_courses();
      }
code: public function proceed() {
          if ($this->has_run()) {
              throw new coding_exception('The processor has already run.');
          } else if (!$this->mapper->has_mappings()) {
              throw new coding_exception('Mapping was not set.');
          }
  
          $this->proceeded = true;
          $this->process_mapping();
          $this->find_coursescompetencies();
          $this->find_modulecompetencies();
          $this->process_courses();
      }
code_tokens: public function proceed ( ) { if ( $ this -> has_run ( ) ) { throw new coding_exception ( 'The processor has already run.' ) ; } else if ( ! $ this -> mapper -> has_mappings ( ) ) { throw new coding_exception ( 'Mapping was not set.' ) ; } $ this -> proceeded = true ; $ this -> process_mapping ( ) ; $ this -> find_coursescompetencies ( ) ; $ this -> find_modulecompetencies ( ) ; $ this -> process_courses ( ) ; }
docstring: Execute the whole task.
  @return void
docstring_tokens: Execute the whole task .