* A range wraps around the end of the ring when the start token * is greater than the end token and the end token is not the * minimum token. * * @returns {boolean} Whether this range wraps around.
()
| 193 | * @returns {boolean} Whether this range wraps around. |
| 194 | */ |
| 195 | isWrappedAround() { |
| 196 | return this.start.compare(this.end) > 0 && !this.end.equals(this._tokenizer.minToken()); |
| 197 | } |
| 198 | |
| 199 | /** |
| 200 | * Splits this range into a list of two non-wrapping ranges. |