Lines Matching refs:sourceCode
506 * sourceCode: "print 'Hello '\n + 'World';",
576 sourceCode: chunks.join('').replace(/\n$/, ''),
583 * Apply the given language handler to sourceCode and add the resulting
585 * @param {number} basePos the index of sourceCode within the chunk of source
588 function appendDecorations(basePos, sourceCode, langHandler, out) {
589 if (!sourceCode) { return; }
591 sourceCode: sourceCode,
628 * where index_n is an index into the sourceCode, and style_n is a style
630 * all characters in sourceCode[index_n-1:index_n].
699 * Lexes job.sourceCode and produces an output array job.decorations of
701 * job.sourceCode in order.
704 * sourceCode: {string} sourceText plain text,
705 * basePos: {int} position of job.sourceCode in the larger chunk of
706 * sourceCode.
710 var sourceCode = job.sourceCode, basePos = job.basePos;
717 var pos = 0; // index into sourceCode
718 var tokens = sourceCode.match(tokenizer) || [];
1094 * Breaks {@code job.sourceCode} around style boundaries in
1097 * sourceCode: {string} source as plain text,
1102 * by the position at which they start in job.sourceCode in order
1111 var source = job.sourceCode;
1227 * sourceCode: {string} as plain text.
1230 * job.sourceCode in order.
1383 var source = sourceAndSpans.sourceCode;
1384 job.sourceCode = source;