Lines Matching defs:job
590 var job = {
594 langHandler(job);
595 out.push.apply(out, job.decorations);
699 * Lexes job.sourceCode and produces an output array job.decorations of
701 * job.sourceCode in order.
703 * @param {Object} job an object like <pre>{
705 * basePos: {int} position of job.sourceCode in the larger chunk of
709 var decorate = function (job) {
710 var sourceCode = job.sourceCode, basePos = job.basePos;
793 job.decorations = decorations;
811 * in the input job and builds the decoration list.
1094 * Breaks {@code job.sourceCode} around style boundaries in
1095 * {@code job.decorations} and modifies {@code job.sourceNode} in place.
1096 * @param {Object} job like <pre>{
1102 * by the position at which they start in job.sourceCode in order
1106 function recombineTagsAndDecorations(job) {
1111 var source = job.sourceCode;
1116 var spans = job.spans;
1121 var decorations = job.decorations;
1156 var sourceNode = job.sourceNode;
1224 * of decorations. Takes a single argument job which describes the
1230 * job.sourceCode in order.
1376 function applyDecorator(job) {
1377 var opt_langExtension = job.langExtension;
1381 var sourceAndSpans = extractSourceSpans(job.sourceNode, job.pre);
1384 job.sourceCode = source;
1385 job.spans = sourceAndSpans.spans;
1386 job.basePos = 0;
1389 langHandlerForExtension(opt_langExtension, source)(job);
1393 recombineTagsAndDecorations(job);
1418 var job = {
1424 applyDecorator(job);