Home | History | Annotate | Download | only in doc

Lines Matching refs:new

20 var PR_keywords = new Object();

27 "naked namespace new noinline noreturn nothrow novtable operator private " +
37 "float native super while continue for new switch");
46 "interface long native new null package private protected public return " +
96 if (undefined === style) { throw new Error('BAD'); }
97 if ('number' != typeof(end)) { throw new Error('BAD'); }
116 if (undefined === style) { throw new Error('BAD'); }
227 var chunks = new Array();
252 chunks.push(new PR_Token(s.substring(start, pos), PR_PLAIN));
254 chunks.push(new PR_Token(s.substring(pos, i + 1), null));
263 chunks.push(new PR_Token(s.substring(start, s.length), PR_PLAIN));
272 var chunksOut = new Array();
301 new PR_Token(s.substring(pos, start), chunk.style));
303 chunksOut.push(new PR_Token(s.substring(start, i + 1), null));
312 new PR_Token(s.substring(pos, s.length), chunk.style) :
324 var tokens = new Array(); // the output
333 var chunk = new PR_Token('', null);
344 new PR_Token(chunk.token.substring(posChunk, chunk.token.length),
357 new PR_Token(chunk.token.substring(posChunk, posChunk + tokLen),
384 var tokenEnds = new Array();
397 var tokenChars = new Array(12);
401 var decodeHelper = new PR_DecodeHelper();
542 tokenEnds.push(new PR_TokenEnd(tokenStart, PR_PLAIN));
543 tokenEnds.push(new PR_TokenEnd(k + next, tokenStyle));
549 tokenEnds.push(new PR_TokenEnd(k, PR_PLAIN));
563 var tokenEnds = new Array(); // positions of ends of tokens in absolute space
575 tokenEnds.push(new PR_TokenEnd(k + i, PR_PLAIN));
581 tokenEnds.push(new PR_TokenEnd(k + i, PR_PLAIN));
587 tokenEnds.push(new PR_TokenEnd(k + i + 1, PR_STRING));
596 tokenEnds.push(new PR_TokenEnd(k + i - 1, PR_PLAIN));
599 tokenEnds.push(new PR_TokenEnd(k + i - 1, PR_PLAIN));
603 // ch will be reconsidered as start of new token.
609 tokenEnds.push(new PR_TokenEnd(k + i, PR_COMMENT));
618 tokenEnds.push(new PR_TokenEnd(k + i + 1, PR_COMMENT));
627 tokenEnds.push(new PR_TokenEnd(k, PR_PLAIN)); // a token ends at the end
660 outlist.push(new PR_Token(t, PR_PLAIN));
731 outlist.push(new PR_Token(t, style));
762 var tokensOut = new Array();
766 var decodeHelper = new PR_DecodeHelper();
850 new PR_Token(s.substring(start, emitEnd), stateStyle));
858 tokensOut.push(new PR_Token(s.substring(start, s.length), stateStyle));
876 var tokensOut = new Array();
880 var decodeHelper = new PR_DecodeHelper();
900 tokensOut.push(new PR_Token(s.substring(0, decodeHelper.next),
928 endTok = new PR_Token(s.substring(pos, s.length), PR_TAG);
932 if (null == sourceChunks) { sourceChunks = new Array(); }
933 sourceChunks.push(new PR_Token(s, PR_PLAIN));
935 if (null == sourceChunks) { sourceChunks = new Array(); }
957 tokensOut.push(new PR_Token('<span class=embsrc>', null));
961 tokensOut.push(new PR_Token('</span>', null));
994 var decodeHelper = new PR_DecodeHelper();
1011 var tokensOut = new Array();
1015 tokensOut.push(new PR_Token(fs.substring(0, fpos), PR_ATTRIB_VALUE));
1017 tokensOut.push(new PR_Token(fs.substring(fpos, lpos), PR_PLAIN));
1019 tokensOut.push(new PR_Token(fs.substring(fpos, fs.length), PR_PLAIN));
1024 tokens.push(new PR_Token(ls.substring(0, lpos), PR_PLAIN));
1030 tokensOut.push(new PR_Token(ls.substring(lpos, ls.length), PR_PLAIN));
1043 var tokensOut = new Array();
1057 tokensOut.push(new PR_Token('<span class=embsrc>', null));
1063 tokensOut.push(new PR_Token('</span>', null));
1078 if (null == sourceChunks) { sourceChunks = new Array(); }
1080 tok = new PR_Token(tok.token, PR_PLAIN);
1114 var tokensOut = new Array();
1257 var endTime = new Date().getTime() + 250;
1258 for (; k < elements.length && new Date().getTime() < endTime; k++) {
1287 // just replace the old html with the new