Home | History | Annotate | Download | only in docs

Lines Matching refs:Style

33  * 2) define style rules.  See the example page for examples.
146 // token style names. correspond to css classes
147 /** token style for a string literal */
149 /** token style for a keyword */
151 /** token style for a comment */
153 /** token style for a type */
155 /** token style for a literal value. e.g. 1, null, true. */
157 /** token style for a punctuation string. */
159 /** token style for a punctuation string. */
162 /** token style for an sgml tag. */
164 /** token style for a markup declaration such as a DOCTYPE. */
166 /** token style for embedded source. */
168 /** token style for an sgml attribute name. */
170 /** token style for an sgml attribute value. */
246 // TODO: maybe style special characters inside a regexp as punctuation.
433 /** split markup into chunks of html tags (style null) and
434 style {@link #PR_PLAIN}), converting tags which are
512 /** Given triples of [style, pattern, context] returns a lexing function,
516 * where index_n is an index into the sourceCode, and style_n is a style
521 * [style : string, pattern : RegExp, context : RegExp, shortcut : string].
523 * Style is a style constant like PR_PLAIN.
527 * considered a token with the same style.
570 var style;
578 style = patternParts[0];
590 style = patternParts[0];
596 style = PR_PLAIN;
601 decorations.push(opt_basePos + pos, style);
604 if (style !== PR_COMMENT && notWs.test(token)) { lastToken = token; }
618 /^<(script|style|xmp)\b[^>]*>[\s\S]*?<\/\1\b[^>]*>/i, null],
621 // Splits any of the source|style|xmp entries above into a start tag,
637 // body with style SCRIPT.
668 var style = decorations[i + 1];
669 if (style === PR_TAG) {
685 * escape. It does not recognize perl's qq() style strings.
691 * It recognizes C, C++, and shell style comments.
777 var style = decorations[i + 1];
778 if (style === PR_PLAIN) {
795 // classify types and annotations using Java's style conventions
835 var style = decorations[i + 1];
836 if (style === PR_SOURCE) {
859 var style = decorations[i + 1];
861 if (style === PR_ATTRIB_NAME) {
864 nextValueIsSource = /^on|^style$/i.test(source.substring(start, end));
865 } else if (style === PR_ATTRIB_VALUE) {
919 * It will recurse into any <style>, <script>, and on* attributes using
926 // Output: List<PR_Token> where style in (PR_PLAIN, null)
933 // Output: List<PR_Token> with style in
938 // Output: List<PR_Token> where style in
951 * @param {Array.<number|string>} decorations style classes preceded by their
1013 // a new style that we're going to have to immediately close in order
1133 * are style markers (e.g., PR_COMMENT) that run from that position until