Home | History | Annotate | Download | only in js

Lines Matching refs:decorations

754    * decorations to out.
756 * whose decorations are already present on out.
765 out.push.apply(out, job.decorations);
812 * function that takes source code and returns a list of decorations.
844 * Lexes job.source and produces an output array job.decorations of style
861 var decorations = [basePos, PR_PLAIN];
907 decorations.push(basePos + tokenStart, style);
924 decorate, decorations);
930 decorations);
935 decorate, decorations);
938 job.decorations = decorations;
943 /** returns a function that produces a list of decorations from source text.
1067 * {@code job.decorations} while re-interleaving {@code job.extractedTags},
1074 * decorations: {Array.<number|string} an array of style classes preceded
1082 var decorations = job.decorations;
1093 var decPos = 0; // index into decorations
1181 if (decPos < decorations.length) {
1185 outputTag = extractedTags[tagPos] <= decorations[decPos];
1202 } else if (decPos < decorations.length) {
1203 emitTextUpTo(decorations[decPos]);
1204 currentDecoration = decorations[decPos + 1];
1222 * of decorations. Takes a single argument job which describes the
1226 * decorations: {Array.<number|string>} an array of style classes
1231 * All positions in the output decorations array are relative
1376 // Integrate the decorations and tags back into the source code to produce