Lines Matching refs:start
440 public function start($contents=null) function in PHP_CodeSniffer_File
504 $start = strpos($token['content'], '@codingStandardsChangeSetting');
505 $comment = substr($token['content'], ($start + 30));
3270 * @param int $start The position to start from in the token stack.
3275 public function getTokensAsString($start, $length) argument
3278 $end = ($start + $length);
3283 for ($i = $start; $i < $end; $i++) {
3301 * @param int $start The position to start searching from in the
3320 $start, argument
3332 for ($i = $start; $i >= $end; $i--) {
3382 * @param int $start The position to start searching from in the
3401 $start, argument
3413 for ($i = $start; $i < $end; $i++) {
3443 * @param int $start The position to start searching from in the token stack.
3448 public function findStartOfStatement($start, $ignore=null) argument
3469 $lastNotEmpty = $start;
3471 for ($i = $start; $i >= 0; $i--) {
3508 * @param int $start The position to start searching from in the token stack.
3513 public function findEndOfStatement($start, $ignore=null) argument
3537 $lastNotEmpty = $start;
3539 for ($i = $start; $i < $this->numTokens; $i++) {
3540 if ($i !== $start && isset($endTokens[$this->_tokens[$i]['code']]) === true) {
3587 * @param int $start The position to start searching from in the
3598 public function findFirstOnLine($types, $start, $exclude=false, $value=null) argument
3606 for ($i = $start; $i >= 0; $i--) {
3607 if ($this->_tokens[$i]['line'] < $this->_tokens[$start]['line']) {