1
if (! this.sh_languages) {
2
this.sh_languages = {};
4
sh_languages['webidl'] = [
27
/\b(?:abstract|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|final|finally|for|function|goto|if|implements|in|instanceof|interface|native|new|null|private|protected|prototype|public|return|static|super|switch|synchronized|throw|throws|this|transient|true|try|typeof|var|volatile|while|with|Unity|Unity.+Interface|optional|dictionary|readonly|attribute|enumeration|UnityTrackMetadata|readwrite)\b/g,
31
[ /method|dictionary|interface|String|Callback|UnityInitParameters|UnityIndicatorProperties/g, 'sh_type', -1
34
/(\+\+|--|\)|\])(\s*)(\/=?(?![*\/]))/g,
35
['sh_symbol', 'sh_normal', 'sh_symbol'],
39
/(0x[A-Fa-f0-9]+|(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?)(\s*)(\/(?![*\/]))/g,
40
['sh_number', 'sh_normal', 'sh_symbol'],
44
/([A-Za-z$_][A-Za-z0-9$_]*\s*)(\/=?(?![*\/]))/g,
45
['sh_normal', 'sh_symbol'],
49
/\/(?:\\.|[^*\\\/])(?:\\.|[^\\\/])*\/[gim]*/g,
54
/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,
69
/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,
79
/\b(?:Math|Infinity|NaN|undefined|arguments|Seed|signal|argv|argc|Gtk|GObject|GLib|WebKit)\b/g,
84
/\b(?:printf|sprintf|connect|Array|Boolean|Date|Error|EvalError|Function|Number|Object|RangeError|ReferenceError|RegExp|String|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|Unity.+Interface)\b/g,
89
/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,
101
/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,
123
/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,
128
/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,
134
/&(?:[A-Za-z0-9]+);/g,
139
/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,
144
/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,
155
/(?:TODO|FIXME|BUG)(?:[:]?)/g,
167
/([^=" \t>]+)([ \t]*)(=?)/g,
168
['sh_type', 'sh_normal', 'sh_symbol'],
196
/([^=" \t>]+)([ \t]*)(=?)/g,
197
['sh_type', 'sh_normal', 'sh_symbol'],
225
/([^=" \t>]+)([ \t]*)(=?)/g,
226
['sh_type', 'sh_normal', 'sh_symbol'],
249
/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,
271
/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,
276
/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,
282
/&(?:[A-Za-z0-9]+);/g,
287
/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,
292
/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,
303
/(?:TODO|FIXME|BUG)(?:[:]?)/g,
315
/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,
320
/(?:TODO|FIXME|BUG)(?:[:]?)/g,