Lines Matching defs:job
622 var job = {
632 langHandler(job);
633 out.push.apply(out, job.decorations);
705 * @return {function (JobT)} a function that takes an undecorated job and
737 * Lexes job.sourceCode and attaches an output array job.decorations of
739 * job.sourceCode in order.
743 var decorate = function (job) {
744 var sourceCode = job.sourceCode, basePos = job.basePos;
745 var sourceNode = job.sourceNode;
831 job.decorations = decorations;
849 * in the input job and builds a decoration list which it attaches to
850 * the job.
1167 * Breaks {@code job.sourceCode} around style boundaries in
1168 * {@code job.decorations} and modifies {@code job.sourceNode} in place.
1169 * @param {JobT} job
1172 function recombineTagsAndDecorations(job) {
1177 var source = job.sourceCode;
1182 var spans = job.spans;
1187 var decorations = job.decorations;
1222 var sourceNode = job.sourceNode;
1288 * of decorations. Takes a single argument job which describes the
1412 /** @param {JobT} job */
1413 function applyDecorator(job) {
1414 var opt_langExtension = job.langExtension;
1418 var sourceAndSpans = extractSourceSpans(job.sourceNode, job.pre);
1421 job.sourceCode = source;
1422 job.spans = sourceAndSpans.spans;
1423 job.basePos = 0;
1426 langHandlerForExtension(opt_langExtension, source)(job);
1430 recombineTagsAndDecorations(job);
1467 var job = {
1477 applyDecorator(job);