Lines Matching defs:decorations

610    * decorations to out.
613 * whose decorations are already present on out.
630 decorations: null
633 out.push.apply(out, job.decorations);
706 * attaches a list of decorations.
737 * Lexes job.sourceCode and attaches an output array job.decorations of
751 var decorations = [basePos, PR_PLAIN];
797 decorations.push(basePos + tokenStart, style);
815 decorate, decorations);
822 decorations);
828 decorate, decorations);
831 job.decorations = decorations;
836 /** returns a function that produces a list of decorations from source text.
1168 * {@code job.decorations} and modifies {@code job.sourceNode} in place.
1187 var decorations = job.decorations;
1188 var nDecorations = decorations.length;
1189 // Index into decorations after the last decoration which ends at or before
1193 // Remove all zero-length decorations.
1194 decorations[nDecorations] = sourceLength;
1197 if (decorations[i] !== decorations[i + 2]) {
1198 decorations[decPos++] = decorations[i++];
1199 decorations[decPos++] = decorations[i++];
1206 // Simplify decorations.
1208 var startPos = decorations[i];
1209 // Conflate all adjacent decorations that use the same style.
1210 var startDec = decorations[i + 1];
1212 while (end + 2 <= nDecorations && decorations[end + 1] === startDec) {
1215 decorations[decPos++] = startPos;
1216 decorations[decPos++] = startDec;
1220 nDecorations = decorations.length = decPos;
1235 var decEnd = decorations[decorationIndex + 2] || sourceLength;
1255 span.className = decorations[decorationIndex + 1];
1288 * of decorations. Takes a single argument job which describes the
1289 * state of the computation and attaches the decorations to it.
1428 // Integrate the decorations and tags back into the source code,
1475 decorations: null
1636 decorations: null