Lines Matching refs:index
9 var index = 0
12 return index < source.length
17 // the index is incremented. Otherwise `undefined` is returned.
20 var chars = source.slice(index)
23 index += match[0].length
27 if (source.indexOf(value, index) === index) {
28 index += value.length
48 if (string === '+' && index > 1 && source[index - 2] === ' ') {
65 throw new Error('Expected idstring at offset ' + index)
85 var begin = index
100 index = begin
124 throw new Error('Unexpected `' + source[index] +
125 '` at offset ' + index)