Lines Matching defs:decorations
62 * Alternating indices and the decorations that should be inserted there.
76 * decorations: ?DecorationsT
86 * <dt>decorations<dd>an array of style classes preceded
658 * decorations to out.
661 * whose decorations are already present on out.
678 decorations: null
681 out.push.apply(out, job.decorations);
754 * attaches a list of decorations.
785 * Lexes job.sourceCode and attaches an output array job.decorations of
799 var decorations = [basePos, PR_PLAIN];
845 decorations.push(basePos + tokenStart, style);
863 decorate, decorations);
870 decorations);
876 decorate, decorations);
879 job.decorations = decorations;
884 /** returns a function that produces a list of decorations from source text.
1216 * {@code job.decorations} and modifies {@code job.sourceNode} in place.
1235 var decorations = job.decorations;
1236 var nDecorations = decorations.length;
1237 // Index into decorations after the last decoration which ends at or before
1241 // Remove all zero-length decorations.
1242 decorations[nDecorations] = sourceLength;
1245 if (decorations[i] !== decorations[i + 2]) {
1246 decorations[decPos++] = decorations[i++];
1247 decorations[decPos++] = decorations[i++];
1254 // Simplify decorations.
1256 var startPos = decorations[i];
1257 // Conflate all adjacent decorations that use the same style.
1258 var startDec = decorations[i + 1];
1260 while (end + 2 <= nDecorations && decorations[end + 1] === startDec) {
1263 decorations[decPos++] = startPos;
1264 decorations[decPos++] = startDec;
1268 nDecorations = decorations.length = decPos;
1283 var decEnd = decorations[decorationIndex + 2] || sourceLength;
1303 span.className = decorations[decorationIndex + 1];
1336 * of decorations. Takes a single argument job which describes the
1337 * state of the computation and attaches the decorations to it.
1476 // Integrate the decorations and tags back into the source code,
1523 decorations: null
1684 decorations: null