original_string: public function finish() {
          if ($this->outputmode == self::NO_OUTPUT) {
              return;
          }
  
          if ($this->outputmode == self::OUTPUT_HTML) {
              echo html_writer::end_tag('table');
          }
      }
code: public function finish() {
          if ($this->outputmode == self::NO_OUTPUT) {
              return;
          }
  
          if ($this->outputmode == self::OUTPUT_HTML) {
              echo html_writer::end_tag('table');
          }
      }
code_tokens: public function finish ( ) { if ( $ this -> outputmode == self :: NO_OUTPUT ) { return ; } if ( $ this -> outputmode == self :: OUTPUT_HTML ) { echo html_writer :: end_tag ( 'table' ) ; } }
docstring: Finish the output.
  
  @return void
docstring_tokens: Finish the output .