Lines Matching refs:That
36 * needs to do more substantial DOM manipulations to support that, so some
38 * That's it. I wanted to keep the API as simple as possible, so there's no
61 * @param {Array.<string>} out output buffer that receives chunks of HTML.
174 * A class that indicates a section of markup that is not code, e.g. to allow
202 /** A set of tokens that can precede a regular expression literal in
205 * list, but I've removed ones that might be problematic when seen in
206 * languages that don't support regular expression literals.
208 * <p>Specifically, I've removed any keywords that can't precede a regexp
228 '(?:(?:^|[^0-9.])\\.{1,3})|' + // a dot that's not part of a number
249 // Define regexps here so that the interpreter doesn't have to create an
284 // since that doesn't work in older versions of Safari.
348 // tag, so we detect that case and emulate innerHTML.
372 /** returns a function that expand tabs to spaces. This function can be fed
375 * @return {function (string) : string} a function that takes
424 // (3) /<\/?[a-zA-Z][^>]*>/ : A probably tag that should not be highlighted
425 // (4) /</ : A '<' that does not begin a larger chunk. Treated as 1
465 // A <span class="nocode"> will start a section that should be
526 * is null or matches the last non-comment token parsed, then that match is
533 * character, gurantee that this pattern and only this pattern matches.
535 * @param {Array} shortcutStylePatterns patterns that always start with
537 * @param {Array} fallthroughStylePatterns patterns that will be tried in
541 * function that takes source code and returns a list of decorations.
595 if (!token) { // make sure that we make progress
682 /** returns a function that produces a list of decorations from source text.
695 * decorator that takes sourceCode as plain text and that returns a
729 // A regular expression literal starts with a slash that is
730 // not followed by * or / so that it is not confused with
810 // contain stuff that looks like other tokens, so we want to mark those
829 /** identify regions of markup that are really source code, and recursivley
852 /** identify attribute values that really contain source code and recursively
973 // A helper function that is responsible for opening sections of decoration
1013 // a new style that we're going to have to immediately close in order
1119 * are tags that were extracted at that position.
1133 * are style markers (e.g., PR_COMMENT) that run from that position until
1167 // the loop is broken into a series of continuations to make sure that we
1232 // Replace <br>s with line-feeds so that copying and pasting works