Lines Matching refs:endPos
32 * @param int $endPos End position
34 public function haveParens(int $startPos, int $endPos): bool { argument
36 && $this->haveTokenImmediatelyAfter($endPos, ')');
43 * @param int $endPos End position
45 public function haveBraces(int $startPos, int $endPos): bool { argument
48 && $this->haveTokenImmediatelyAfter($endPos, '}');
184 * @param int $endPos Ending position (exclusive)
188 public function haveTokenInRange(int $startPos, int $endPos, $tokenType): bool { argument
190 for ($pos = $startPos; $pos < $endPos; $pos++) {
198 public function haveTagInRange(int $startPos, int $endPos): bool { argument
199 return $this->haveTokenInRange($startPos, $endPos, \T_OPEN_TAG)
200 || $this->haveTokenInRange($startPos, $endPos, \T_CLOSE_TAG);