1/** 2 * SyntaxHighlighter 3 * http://alexgorbatchev.com/SyntaxHighlighter 4 * 5 * SyntaxHighlighter is donationware. If you are using it, please donate. 6 * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 * 8 * @version 9 * 3.0.83 (Wed, 16 Apr 2014 03:56:09 GMT) 10 * 11 * @copyright 12 * Copyright (C) 2004-2013 Alex Gorbatchev. 13 * 14 * @license 15 * Dual licensed under the MIT and GPL licenses. 16 */ 17;(function() 18{ 19 // CommonJS 20 SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null); 21 22 function Brush() 23 { 24 var keywords = 'break case catch class continue ' + 25 'default delete do else enum export extends false ' + 26 'for function if implements import in instanceof ' + 27 'interface let new null package private protected ' + 28 'static return super switch ' + 29 'this throw true try typeof var while with yield ' + 30 'async await'; 31 32 var r = SyntaxHighlighter.regexLib; 33 34 this.regexList = [ 35 { regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings 36 { regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings 37 { regex: r.singleLineCComments, css: 'comments' }, // one line comments 38 { regex: r.multiLineCComments, css: 'comments' }, // multiline comments 39 { regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion 40 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords 41 ]; 42 43 this.forHtmlScript(r.scriptScriptTags); 44 }; 45 46 Brush.prototype = new SyntaxHighlighter.Highlighter(); 47 Brush.aliases = ['js', 'jscript', 'javascript', 'json']; 48 49 SyntaxHighlighter.brushes.JScript = Brush; 50 51 // CommonJS 52 typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 53})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.