Lines Matching refs:PR_Token
145 function PR_Token(token, style) { class
151 PR_Token.prototype.toString = function () {
439 chunksOut.push(new PR_Token(out.join(''), chunk.style));
476 lastChunk = new PR_Token(chunkText, style);
497 var chunk = new PR_Token('', null);
508 new PR_Token(chunk.token.substring(posChunk, chunk.token.length),
523 new PR_Token(chunk.token.substring(posChunk, posChunk + tokLen),
892 outlist.push(new PR_Token(t, PR_PLAIN));
971 outlist.push(new PR_Token(t, style));
1091 new PR_Token(s.substring(start, emitEnd), stateStyle));
1099 tokensOut.push(new PR_Token(s.substring(start, s.length), stateStyle));
1139 tok = new PR_Token('', null);
1151 tokensOut.push(new PR_Token(s.substring(0, decodeHelper.next),
1179 endTok = new PR_Token(s.substring(pos, s.length), PR_TAG);
1184 sourceChunks.push(new PR_Token(s, PR_PLAIN));
1211 tokensOut.push(new PR_Token('<span class=embsrc>', null));
1215 tokensOut.push(new PR_Token('</span>', null));
1269 tokensOut.push(new PR_Token(fs.substring(0, fpos), PR_ATTRIB_VALUE));
1271 tokensOut.push(new PR_Token(fs.substring(fpos, lpos), PR_PLAIN));
1273 tokensOut.push(new PR_Token(fs.substring(fpos, fs.length), PR_PLAIN));
1278 tokens.push(new PR_Token(ls.substring(0, lpos), PR_PLAIN));
1284 tokensOut.push(new PR_Token(ls.substring(lpos, ls.length), PR_PLAIN));
1311 tokensOut.push(new PR_Token('<span class=embsrc>', null));
1317 tokensOut.push(new PR_Token('</span>', null));
1334 tok = new PR_Token(tok.token, PR_PLAIN);