Lines Matching defs:job
91 * by the position at which they start in job.sourceCode in order
899 var job = {
909 langHandler(job);
910 out.push.apply(out, job.decorations);
982 * @return {function (JobT)} a function that takes an undecorated job and
1014 * Lexes job.sourceCode and attaches an output array job.decorations of
1016 * job.sourceCode in order.
1020 var decorate = function (job) {
1021 var sourceCode = job.sourceCode, basePos = job.basePos;
1022 var sourceNode = job.sourceNode;
1108 job.decorations = decorations;
1126 * in the input job and builds a decoration list which it attaches to
1127 * the job.
1444 * Breaks {@code job.sourceCode} around style boundaries in
1445 * {@code job.decorations} and modifies {@code job.sourceNode} in place.
1446 * @param {JobT} job
1449 function recombineTagsAndDecorations(job) {
1454 var source = job.sourceCode;
1459 var spans = job.spans;
1464 var decorations = job.decorations;
1499 var sourceNode = job.sourceNode;
1565 * of decorations. Takes a single argument job which describes the
1689 /** @param {JobT} job */
1690 function applyDecorator(job) {
1691 var opt_langExtension = job.langExtension;
1695 var sourceAndSpans = extractSourceSpans(job.sourceNode, job.pre);
1698 job.sourceCode = source;
1699 job.spans = sourceAndSpans.spans;
1700 job.basePos = 0;
1703 langHandlerForExtension(opt_langExtension, source)(job);
1707 recombineTagsAndDecorations(job);
1744 var job = {
1754 applyDecorator(job);