original_string: protected function _calculationValue($unit) {
  		if (!isset($this->_Calculator)) {
  			$this->_Calculator = new Calculator();
  		}
  		return $this->_Calculator->convert(6371.04, Calculator::UNIT_KM, $unit);
  	}
code: protected function _calculationValue($unit) {
  		if (!isset($this->_Calculator)) {
  			$this->_Calculator = new Calculator();
  		}
  		return $this->_Calculator->convert(6371.04, Calculator::UNIT_KM, $unit);
  	}
code_tokens: protected function _calculationValue ( $ unit ) { if ( ! isset ( $ this -> _Calculator ) ) { $ this -> _Calculator = new Calculator ( ) ; } return $ this -> _Calculator -> convert ( 6371.04 , Calculator :: UNIT_KM , $ unit ) ; }
docstring: Get the current unit factor
  
  @param int $unit Unit constant
  @return float Value
docstring_tokens: Get the current unit factor