original_string: public function query(SS_HTTPRequest $r) {
  		return $this->formatJSON($this->source->filter(array(
  			$this->labelField.':PartialMatch' => $r->getVar('q')
  		))
  		->limit(10));
  	}
code: public function query(SS_HTTPRequest $r) {
  		return $this->formatJSON($this->source->filter(array(
  			$this->labelField.':PartialMatch' => $r->getVar('q')
  		))
  		->limit(10));
  	}
code_tokens: public function query ( SS_HTTPRequest $ r ) { return $ this -> formatJSON ( $ this -> source -> filter ( array ( $ this -> labelField . ':PartialMatch' => $ r -> getVar ( 'q' ) ) ) -> limit ( 10 ) ) ; }
docstring: An AJAX endpoint for querying the typeahead
  
  @param  SS_HTTPRequest $r The request
  @return string            JSON
docstring_tokens: An AJAX endpoint for querying the typeahead