Home | History | Annotate | Download | only in core-component-page

Lines Matching refs:sourceCode

2514    *   sourceCode: "print 'Hello '\n  + 'World';",
2580 sourceCode: chunks.join('').replace(/\n$/, ''),
2587 * Apply the given language handler to sourceCode and add the resulting
2589 * @param {number} basePos the index of sourceCode within the chunk of source
2592 function appendDecorations(basePos, sourceCode, langHandler, out) {
2593 if (!sourceCode) { return; }
2595 sourceCode: sourceCode,
2632 * where index_n is an index into the sourceCode, and style_n is a style
2634 * all characters in sourceCode[index_n-1:index_n].
2703 * Lexes job.sourceCode and produces an output array job.decorations of
2705 * job.sourceCode in order.
2708 * sourceCode: {string} sourceText plain text,
2709 * basePos: {int} position of job.sourceCode in the larger chunk of
2710 * sourceCode.
2714 var sourceCode = job.sourceCode, basePos = job.basePos;
2721 var pos = 0; // index into sourceCode
2722 var tokens = sourceCode.match(tokenizer) || [];
3116 * Breaks {@code job.sourceCode} around style boundaries in
3119 * sourceCode: {string} source as plain text,
3124 * by the position at which they start in job.sourceCode in order
3133 var source = job.sourceCode;
3246 * sourceCode: {string} as plain text.
3249 * job.sourceCode in order.
3384 var source = sourceAndSpans.sourceCode;
3385 job.sourceCode = source;