Lines Matching refs:start
183 * @param int $start The position in the string to start processing.
188 private function _processLine($string, $eolChar, $start, $end) argument
193 $space = $this->_collectWhitespace($string, $start, $end);
196 $start += strlen($space['content']);
199 if (isset($string[$start]) === false) {
203 if ($string[$start] === '@') {
206 preg_match('/@[^\s]+/', $string, $matches, 0, $start);
209 $start += strlen($tagName);
217 $space = $this->_collectWhitespace($string, $start, $end);
220 $start += strlen($space['content']);
226 $eol = strpos($string, $eolChar, $start);
231 if ($eol > $start) {
233 'content' => substr($string, $start, ($eol - $start)),
256 * @param int $start The position in the string to start processing.
261 private function _collectWhitespace($string, $start, $end) argument
264 for ($start; $start < $end; $start++) {
265 if ($string[$start] !== ' ' && $string[$start] !== "\t") {
269 $space .= $string[$start];