Lines Matching full:if
56 if ($set->isNull()) {
65 if ($set->isNull()) {
84 * operation is `left - right`. If either of the input sets is `null`,
89 if ($left->isNull()) {
93 if ($right->isNull()) {
107 if ($rightInterval->stop < $resultInterval->start) {
113 if ($rightInterval->start > $resultInterval->stop) {
121 if ($rightInterval->start > $resultInterval->start) {
125 if ($rightInterval->stop < $resultInterval->stop) {
129 if ($beforeCurrent !== null) {
130 if ($afterCurrent !== null) {
146 if ($afterCurrent !== null) {
160 // If rightI reached right.intervals.size(), no more intervals to subtract from result.
161 // If resultI reached result.intervals.size(), we would be subtracting from an empty set.
178 if ($this->intervals === null || \count($this->intervals) === 0) {
197 if ($this->readOnly) {
201 if ($addition->stop < $addition->start) {
211 if ($addition->equals($resilt)) {
215 if ($addition->adjacent($resilt) || !$addition->disjoint($resilt)) {
226 if (!$bigger->adjacent($next) && $bigger->disjoint($next)) {
230 // if we bump up against or overlap next, merge
243 if ($addition->startsBeforeDisjoint($resilt)) {
250 // if disjoint and after r, a future iteration will handle it
259 if ($other->intervals !== null) {
282 if ($stop < $item) {
309 if ($v < $i->start) {
314 if ($v === $i->start && $v === $i->stop) {
321 if ($v === $i->start) {
328 if ($v === $i->stop - 1) {
335 if ($v < $i->stop - 1) {
353 * Returns the maximum value contained in the set if not isNull().
357 * @throws \RuntimeException If set is empty.
361 if ($this->isNull()) {
369 * Returns the minimum value contained in the set if not isNull().
373 * @throws \RuntimeException If set is empty.
377 if ($this->isNull()) {
386 if (!$this->intervals) {
392 if ($this->length() > 1) {
404 if ($start === $stop) {
405 if ($start === Token::EOF) {
413 if ($elemAreChar) {
424 if ($iter->valid()) {
429 if ($this->length() > 1) {
438 if (!$this->intervals) {
443 if ($this->length() > 1) {
455 if ($start === $stop) {
459 if ($i > $start) {
467 if ($iterator->valid()) {
472 if ($this->length() > 1) {
481 if ($a === Token::EOF) {
485 if ($a === Token::EPSILON) {
494 if ($this === $other) {
498 if (!$other instanceof self) {