Lines Matching defs:decorations

66  * Alternating indices and the decorations that should be inserted there.
80 * decorations: ?DecorationsT
90 * <dt>decorations<dd>an array of style classes preceded
887 * decorations to out.
890 * whose decorations are already present on out.
907 decorations: null
910 out.push.apply(out, job.decorations);
983 * attaches a list of decorations.
1014 * Lexes job.sourceCode and attaches an output array job.decorations of
1028 var decorations = [basePos, PR_PLAIN];
1074 decorations.push(basePos + tokenStart, style);
1092 decorate, decorations);
1099 decorations);
1105 decorate, decorations);
1108 job.decorations = decorations;
1113 /** returns a function that produces a list of decorations from source text.
1445 * {@code job.decorations} and modifies {@code job.sourceNode} in place.
1464 var decorations = job.decorations;
1465 var nDecorations = decorations.length;
1466 // Index into decorations after the last decoration which ends at or before
1470 // Remove all zero-length decorations.
1471 decorations[nDecorations] = sourceLength;
1474 if (decorations[i] !== decorations[i + 2]) {
1475 decorations[decPos++] = decorations[i++];
1476 decorations[decPos++] = decorations[i++];
1483 // Simplify decorations.
1485 var startPos = decorations[i];
1486 // Conflate all adjacent decorations that use the same style.
1487 var startDec = decorations[i + 1];
1489 while (end + 2 <= nDecorations && decorations[end + 1] === startDec) {
1492 decorations[decPos++] = startPos;
1493 decorations[decPos++] = startDec;
1497 nDecorations = decorations.length = decPos;
1512 var decEnd = decorations[decorationIndex + 2] || sourceLength;
1532 span.className = decorations[decorationIndex + 1];
1565 * of decorations. Takes a single argument job which describes the
1566 * state of the computation and attaches the decorations to it.
1705 // Integrate the decorations and tags back into the source code,
1752 decorations: null
1913 decorations: null