Lines Matching refs:nextPos
39 let nextPos = string.indexOf("\\");
40 if (nextPos === -1) return string;
42 let result = string.substring(0, nextPos);
46 while (nextPos !== -1) {
47 let escapeIdentifier = string.charAt(nextPos + 1);
48 pos = nextPos + 2;
51 nextPos = pos;
54 nextPos = pos;
58 nextPos = pos + 2;
61 nextPos = pos + 4;
64 let escapeChars = string.substring(pos, nextPos);
69 pos = nextPos;
70 nextPos = string.indexOf("\\", pos);
72 if (nextPos === -1) {
74 } else if (pos != nextPos) {
75 result += string.substring(pos, nextPos);
91 let nextPos = 0;
92 while(nextPos !== -1) {
93 nextPos = line.indexOf(',', pos);
95 if (nextPos === -1) {
98 field = line.substring(pos, nextPos);
101 pos = nextPos + 1;