original_string: public function genMessage(){
  
  		if( $this->currentFile && $this->currentFile['filename'] ){
  			$this->message .= ' in '.basename($this->currentFile['filename']);
  		}
  
  		if( $this->index !== null ){
  			$this->getInput();
  			if( $this->input ){
  				$line = self::getLineNumber();
  				$this->message .= ' on line '.$line.', column '.self::getColumn();
  
  				$lines = explode("\n",$this->input);
  
  				$count = count($lines);
  				$start_line = max(0, $line-3);
  				$last_line = min($count, $start_line+6);
  				$num_len = strlen($last_line);
  				for( $i = $start_line; $i < $last_line; $i++ ){
  					$this->message .= "\n".str_pad($i+1,$num_len,'0',STR_PAD_LEFT).'| '.$lines[$i];
  				}
  			}
  		}
  
  	}
code: public function genMessage(){
  
  		if( $this->currentFile && $this->currentFile['filename'] ){
  			$this->message .= ' in '.basename($this->currentFile['filename']);
  		}
  
  		if( $this->index !== null ){
  			$this->getInput();
  			if( $this->input ){
  				$line = self::getLineNumber();
  				$this->message .= ' on line '.$line.', column '.self::getColumn();
  
  				$lines = explode("\n",$this->input);
  
  				$count = count($lines);
  				$start_line = max(0, $line-3);
  				$last_line = min($count, $start_line+6);
  				$num_len = strlen($last_line);
  				for( $i = $start_line; $i < $last_line; $i++ ){
  					$this->message .= "\n".str_pad($i+1,$num_len,'0',STR_PAD_LEFT).'| '.$lines[$i];
  				}
  			}
  		}
  
  	}
code_tokens: public function genMessage ( ) { if ( $ this -> currentFile && $ this -> currentFile [ 'filename' ] ) { $ this -> message .= ' in ' . basename ( $ this -> currentFile [ 'filename' ] ) ; } if ( $ this -> index !== null ) { $ this -> getInput ( ) ; if ( $ this -> input ) { $ line = self :: getLineNumber ( ) ; $ this -> message .= ' on line ' . $ line . ', column ' . self :: getColumn ( ) ; $ lines = explode ( "\n" , $ this -> input ) ; $ count = count ( $ lines ) ; $ start_line = max ( 0 , $ line - 3 ) ; $ last_line = min ( $ count , $ start_line + 6 ) ; $ num_len = strlen ( $ last_line ) ; for ( $ i = $ start_line ; $ i < $ last_line ; $ i ++ ) { $ this -> message .= "\n" . str_pad ( $ i + 1 , $ num_len , '0' , STR_PAD_LEFT ) . '| ' . $ lines [ $ i ] ; } } } }
docstring: Converts the exception to string
  
  @return string
docstring_tokens: Converts the exception to string