()
| 35 | return this.pos > start |
| 36 | } |
| 37 | eatSpace() { |
| 38 | let start = this.pos |
| 39 | while (/[\s\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos |
| 40 | return this.pos > start |
| 41 | } |
| 42 | skipToEnd() {this.pos = this.string.length} |
| 43 | skipTo(ch) { |
| 44 | let found = this.string.indexOf(ch, this.pos) |
no test coverage detected