original_string: public function get_step($i) {
          if ($i < 0 || $i >= count($this->steps)) {
              throw new coding_exception('Index out of bounds in question_attempt::get_step.');
          }
          return $this->steps[$i];
      }
code: public function get_step($i) {
          if ($i < 0 || $i >= count($this->steps)) {
              throw new coding_exception('Index out of bounds in question_attempt::get_step.');
          }
          return $this->steps[$i];
      }
code_tokens: public function get_step ( $ i ) { if ( $ i < 0 || $ i >= count ( $ this -> steps ) ) { throw new coding_exception ( 'Index out of bounds in question_attempt::get_step.' ) ; } return $ this -> steps [ $ i ] ; }
docstring: Get one of the steps in this attempt.
  
  @param int $i the step number, which counts from 0.
  @return question_attempt_step
docstring_tokens: Get one of the steps in this attempt .