Lines Matching refs:tok
1009 var tok = tokens[ci];
1010 if (PR_TAG == tok.style) {
1011 var s = tok.token;
1102 if (tok.style) {
1106 tokensOut.push(tok);
1126 var tok;
1129 tok = tokens[ci];
1130 if (null == tok.style) {
1131 tokens.push(tok);
1139 tok = new PR_Token('', null);
1142 var s = tok.token;
1145 if (PR_SOURCE == tok.style) {
1156 } else if (PR_TAG == tok.style) {
1174 if (PR_SOURCE == tok.style) {
1185 } else if (PR_PLAIN == tok.style) {
1187 sourceChunks.push(tok);
1188 } else if (PR_TAG == tok.style) {
1190 if ('<' == decodeHelper.decode(tok.token, 0) &&
1191 tok.token.length > decodeHelper.next &&
1192 '/' == decodeHelper.decode(tok.token, decodeHelper.next)) {
1193 endTok = tok;
1195 tokensOut.push(tok);
1199 endTok = tok;
1202 sourceChunks.push(tok);
1205 tokensOut.push(tok);
1222 tokensOut.push(tok);
1304 var tok = tokens[ci];
1306 if (PR_TAG == tok.style) {
1320 } else if (name && tok.token.indexOf('=') >= 0) {
1328 } else if (PR_ATTRIB_NAME == tok.style) {
1329 name += tok.token;
1330 } else if (PR_ATTRIB_VALUE == tok.style) {
1334 tok = new PR_Token(tok.token, PR_PLAIN);
1341 outList.push(tok);
1368 var tok = tokens[i];
1369 if (PR_PLAIN === tok.style) {
1370 PR_splitNonStringNonCommentToken(tok.token, tokensOut);
1373 tokensOut.push(tok);