Lines Matching refs:index

45      * - Forward movement: The value of {@see IntStream::index()} before calling
46 * this method is less than the value of `index` after calling this method.
50 * Note that calling this method does not guarantee that `index()` is
69 * - `i === -1` and {@see IntStream::index index()} returns a value greater
70 * than the value of `index` after the stream was constructed and `LA(1)
71 * was called in that order. Specifying the current `index` relative
72 * to the index after the stream was created allows for filtering
90 * will be valid over a "marked range" extending from the index where `mark`
91 * was called to the current {@see IntStream::index index()}. This allows
111 * {@see IntStream::release(mark)}, {@see IntStream::index()}, and
112 * {@see IntStream::seek(index)} as part of an operation to safely work within a
117 * $index = -1;
120 * $index = $stream->index();
123 * if ($index !== -1) {
124 * $stream->seek($index);
152 * Return the index into the stream of the input symbol referred to by `LA(1)`.
161 * Set the input cursor to the position indicated by `index`. If the
162 * specified index lies past the end of the stream, the operation behaves as
163 * though `index` was the index of the EOF symbol. After this method
167 * - {@see IntStream::index index()} will return the index of the first symbol
168 * appearing at or after the specified `index`. Specifically,
170 * adjust `index` forward the minimum amount required for the
174 * This operation is guaranteed to not throw an exception if `index` lies
180 * @param int $index The absolute index to seek to.
182 public function seek(int $index) : void;