original_string: public function get_calculation() {
          if ($this->is_calculated()) {
              return grade_item::denormalize_formula($this->calculation, $this->courseid);
  
          } else {
              return NULL;
          }
      }
code: public function get_calculation() {
          if ($this->is_calculated()) {
              return grade_item::denormalize_formula($this->calculation, $this->courseid);
  
          } else {
              return NULL;
          }
      }
code_tokens: public function get_calculation ( ) { if ( $ this -> is_calculated ( ) ) { return grade_item :: denormalize_formula ( $ this -> calculation , $ this -> courseid ) ; } else { return NULL ; } }
docstring: Returns calculation string if grade calculated.
  
  @return string Returns the grade item's calculation if calculation is used, null if not
docstring_tokens: Returns calculation string if grade calculated .