Lines Matching refs:cur
75 var cur = this.current();
79 } else if (cur === '"' || cur === '\'') {
81 return token(TOKEN_STRING, this._parseString(cur), lineno, colno);
94 cur = this.current();
95 if (cur === '\n') {
98 } else if (cur === '\r') {
101 cur = this.current();
102 if (cur === '\n') {
115 } else if (cur === 'r' && this.str.charAt(this.index + 1) === '/') {
148 } else if (delimChars.indexOf(cur) !== -1) {
152 var curComplex = cur + this.current();
156 cur = curComplex;
160 cur = curComplex + this.current();
164 switch (cur) {
198 return token(type, cur, lineno, colno);
299 var cur = this.current();
300 if (cur === '\\') {
317 str += cur;