2019-10-02 16:15:37 +00:00
/ * P r i s m J S 1 . 1 7 . 1
2019-10-14 09:49:59 +00:00
https : //prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+abap+abnf+actionscript+ada+apacheconf+apl+applescript+aql+c+arff+asciidoc+asm6502+csharp+autohotkey+autoit+bash+basic+batch+bison+bnf+brainfuck+bro+cpp+aspnet+arduino+cil+coffeescript+cmake+clojure+ruby+csp+css-extras+d+dart+diff+markup-templating+dns-zone-file+docker+ebnf+eiffel+ejs+elixir+elm+erb+erlang+fsharp+firestore-security-rules+flow+fortran+gcode+gdscript+gedcom+gherkin+git+glsl+gml+go+graphql+groovy+less+handlebars+haskell+haxe+hcl+http+hpkp+hsts+ichigojam+icon+inform7+ini+io+j+java+scala+php+javastacktrace+jolie+jq+javadoclike+n4js+markdown+json+jsonp+json5+julia+keyman+kotlin+latex+crystal+scheme+liquid+lisp+livescript+lolcode+lua+makefile+js-templates+django+matlab+mel+mizar+monkey+n1ql+typescript+nand2tetris-hdl+nasm+nginx+nim+nix+nsis+objectivec+ocaml+opencl+oz+parigp+parser+pascal+pascaligo+pcaxis+perl+jsdoc+phpdoc+php-extras+sql+powershell+processing+prolog+properties+protobuf+scss+puppet+pure+python+q+qore+r+js-extras+jsx+renpy+reason+vala+rest+rip+roboconf+robot-framework+textile+rust+sas+sass+stylus+javadoc+lilypond+shell-session+smalltalk+smarty+solidity+soy+turtle+splunk-spl+plsql+twig+swift+yaml+tcl+haml+toml+tt2+sparql+pug+tsx+t4-templating+visual-basic+t4-cs+regex+vbnet+velocity+verilog+vhdl+vim+t4-vb+wasm+wiki+xeora+xojo+xquery+tap+zig&plugins=line-numbers+toolbar+show-language+copy-to-clipboard+download-button */
2019-10-02 16:15:37 +00:00
var _self = "undefined" != typeof window ? window : "undefined" != typeof WorkerGlobalScope && self instanceof WorkerGlobalScope ? self : { } , Prism = function ( u ) { var c = /\blang(?:uage)?-([\w-]+)\b/i , a = 0 ; var _ = { manual : u . Prism && u . Prism . manual , disableWorkerMessageHandler : u . Prism && u . Prism . disableWorkerMessageHandler , util : { encode : function ( e ) { return e instanceof L ? new L ( e . type , _ . util . encode ( e . content ) , e . alias ) : Array . isArray ( e ) ? e . map ( _ . util . encode ) : e . replace ( /&/g , "&" ) . replace ( /</g , "<" ) . replace ( /\u00a0/g , " " ) } , type : function ( e ) { return Object . prototype . toString . call ( e ) . slice ( 8 , - 1 ) } , objId : function ( e ) { return e . _ _id || Object . defineProperty ( e , "__id" , { value : ++ a } ) , e . _ _id } , clone : function n ( e , r ) { var t , a , i = _ . util . type ( e ) ; switch ( r = r || { } , i ) { case "Object" : if ( a = _ . util . objId ( e ) , r [ a ] ) return r [ a ] ; for ( var o in t = { } , r [ a ] = t , e ) e . hasOwnProperty ( o ) && ( t [ o ] = n ( e [ o ] , r ) ) ; return t ; case "Array" : return a = _ . util . objId ( e ) , r [ a ] ? r [ a ] : ( t = [ ] , r [ a ] = t , e . forEach ( function ( e , a ) { t [ a ] = n ( e , r ) } ) , t ) ; default : return e } } } , languages : { extend : function ( e , a ) { var n = _ . util . clone ( _ . languages [ e ] ) ; for ( var r in a ) n [ r ] = a [ r ] ; return n } , insertBefore : function ( n , e , a , r ) { var t = ( r = r || _ . languages ) [ n ] , i = { } ; for ( var o in t ) if ( t . hasOwnProperty ( o ) ) { if ( o == e ) for ( var l in a ) a . hasOwnProperty ( l ) && ( i [ l ] = a [ l ] ) ; a . hasOwnProperty ( o ) || ( i [ o ] = t [ o ] ) } var s = r [ n ] ; return r [ n ] = i , _ . languages . DFS ( _ . languages , function ( e , a ) { a === s && e != n && ( this [ e ] = i ) } ) , i } , DFS : function e ( a , n , r , t ) { t = t || { } ; var i = _ . util . objId ; for ( var o in a ) if ( a . hasOwnProperty ( o ) ) { n . call ( a , o , a [ o ] , r || o ) ; var l = a [ o ] , s = _ . util . type ( l ) ; "Object" !== s || t [ i ( l ) ] ? "Array" !== s || t [ i ( l ) ] || ( t [ i ( l ) ] = ! 0 , e ( l , n , o , t ) ) : ( t [ i ( l ) ] = ! 0 , e ( l , n , null , t ) ) } } } , plugins : { } , highlightAll : function ( e , a ) { _ . highlightAllUnder ( document , e , a ) } , highlightAllUnder : function ( e , a , n ) { var r = { callback : n , selector : 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code' } ; _ . hooks . run ( "before-highlightall" , r ) ; for ( var t , i = e . querySelectorAll ( r . selector ) , o = 0 ; t = i [ o ++ ] ; ) _ . highlightElement ( t , ! 0 === a , r . callback ) } , highlightElement : function ( e , a , n ) { var r = function ( e ) { for ( ; e && ! c . test ( e . className ) ; ) e = e . parentNode ; return e ? ( e . className . match ( c ) || [ , "none" ] ) [ 1 ] . toLowerCase ( ) : "none" } ( e ) , t = _ . languages [ r ] ; e . className = e . className . replace ( c , "" ) . replace ( /\s+/g , " " ) + " language-" + r ; var i = e . parentNode ; i && "pre" === i . nodeName . toLowerCase ( ) && ( i . className = i . className . replace ( c , "" ) . replace ( /\s+/g , " " ) + " language-" + r ) ; var o = { element : e , language : r , grammar : t , code : e . textContent } ; function l ( e ) { o . highlightedCode = e , _ . hooks . run ( "before-insert" , o ) , o . element . innerHTML = o . highlightedCode , _ . hooks . run ( "after-highlight" , o ) , _ . hooks . run ( "complete" , o ) , n && n . call ( o . element ) } if ( _ . hooks . run ( "before-sanity-check" , o ) , ! o . code ) return _ . hooks . run ( "complete" , o ) , void ( n && n . call ( o . element ) ) ; if ( _ . hooks . run ( "before-highlight" , o ) , o . grammar ) if ( a && u . Worker ) { var s = new Worker ( _ . filename ) ; s . onmessage = function ( e ) { l ( e . data ) } , s . postMessage ( JSON . stringify ( { language : o . language , code : o . code , immediateClose : ! 0 } ) ) } else l ( _ . highlight ( o . code , o . grammar , o . language ) ) ; else l ( _ . util . encode ( o . code ) ) } , highlight : function ( e , a , n ) { var r = { code : e , grammar : a , language : n } ; return _ . hooks . run ( "before-tokenize" , r ) , r . tokens = _ . tokenize ( r . code , r . grammar ) , _ . hooks . run ( "after-tokenize" , r ) , L . stringify ( _ . util . encode ( r . tokens ) , r . language ) } , matchGrammar : function ( e , a , n , r , t , i , o ) { for ( var l in n ) if ( n . hasOwnProperty ( l ) && n [ l ] ) { var s = n [ l ] ; s = Array . isArray ( s ) ? s : [ s ] ; for ( var u = 0 ; u < s . length ; ++ u ) { if ( o && o == l + "," + u ) return ; var c = s [ u ] , g = c . inside , f = ! ! c . lookbehind , h = ! ! c . greedy , d = 0 , m = c . alias ; if ( h && ! c . pattern . global ) { var p = c . pattern . toString ( ) . match ( /[imsuy]*$/ ) [ 0 ] ; c . pattern = RegExp ( c . pattern . source , p + "g" ) } c = c . pattern || c ; for ( var y = r , v = t ; y < a . length ; v += a [ y ] . length , ++ y ) { var k = a [ y ] ; if ( a . length > e . length ) return ; if ( ! ( k instanceof L ) ) { if ( h && y != a . length - 1 ) { if ( c . lastIndex = v , ! ( x = c . exec ( e ) ) ) break ; for ( var b = x . index + ( f && x [ 1 ] ? x [ 1 ] . length : 0 ) , w = x . index + x [ 0 ] . length , A = y , P = v , O = a . length ; A < O && ( P < w || ! a [ A ] . type && ! a [ A - 1 ] . greedy ) ; ++ A ) ( P += a [ A ] . length ) <= b && ( ++ y , v = P ) ; if ( a [ y ] instanceof L ) continue ; j = A - y , k = e . slice ( v , P ) , x . index -= v } else { c . lastIndex = 0 ; var x = c . exec ( k ) , j = 1 } if ( x ) { f && ( d = x [ 1 ] ? x [ 1 ] . length : 0 ) ; w = ( b = x . index + d ) + ( x = x [ 0 ] . slice ( d ) ) . length ; var N = k . slice ( 0 , b ) , S = k . s
Prism . languages . markup = { comment : /<!--[\s\S]*?-->/ , prolog : /<\?[\s\S]+?\?>/ , doctype : /<!DOCTYPE[\s\S]+?>/i , cdata : /<!\[CDATA\[[\s\S]*?]]>/i , tag : { pattern : /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/i , greedy : ! 0 , inside : { tag : { pattern : /^<\/?[^\s>\/]+/i , inside : { punctuation : /^<\/?/ , namespace : /^[^\s>\/:]+:/ } } , "attr-value" : { pattern : /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i , inside : { punctuation : [ /^=/ , { pattern : /^(\s*)["']|["']$/ , lookbehind : ! 0 } ] } } , punctuation : /\/?>/ , "attr-name" : { pattern : /[^\s>\/]+/ , inside : { namespace : /^[^\s>\/:]+:/ } } } } , entity : /&#?[\da-z]{1,8};/i } , Prism . languages . markup . tag . inside [ "attr-value" ] . inside . entity = Prism . languages . markup . entity , Prism . hooks . add ( "wrap" , function ( a ) { "entity" === a . type && ( a . attributes . title = a . content . replace ( /&/ , "&" ) ) } ) , Object . defineProperty ( Prism . languages . markup . tag , "addInlined" , { value : function ( a , e ) { var s = { } ; s [ "language-" + e ] = { pattern : /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i , lookbehind : ! 0 , inside : Prism . languages [ e ] } , s . cdata = /^<!\[CDATA\[|\]\]>$/i ; var n = { "included-cdata" : { pattern : /<!\[CDATA\[[\s\S]*?\]\]>/i , inside : s } } ; n [ "language-" + e ] = { pattern : /[\s\S]+/ , inside : Prism . languages [ e ] } ; var i = { } ; i [ a ] = { pattern : RegExp ( "(<__[\\s\\S]*?>)(?:<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\s*|[\\s\\S])*?(?=<\\/__>)" . replace ( /__/g , a ) , "i" ) , lookbehind : ! 0 , greedy : ! 0 , inside : n } , Prism . languages . insertBefore ( "markup" , "cdata" , i ) } } ) , Prism . languages . xml = Prism . languages . extend ( "markup" , { } ) , Prism . languages . html = Prism . languages . markup , Prism . languages . mathml = Prism . languages . markup , Prism . languages . svg = Prism . languages . markup ;
! function ( s ) { var t = /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/ ; s . languages . css = { comment : /\/\*[\s\S]*?\*\// , atrule : { pattern : /@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/ , inside : { rule : /@[\w-]+/ } } , url : { pattern : RegExp ( "url\\((?:" + t . source + "|[^\n\r()]*)\\)" , "i" ) , inside : { function : /^url/i , punctuation : /^\(|\)$/ } } , selector : RegExp ( "[^{}\\s](?:[^{};\"']|" + t . source + ")*?(?=\\s*\\{)" ) , string : { pattern : t , greedy : ! 0 } , property : /[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i , important : /!important\b/i , function : /[-a-z0-9]+(?=\()/i , punctuation : /[(){};:,]/ } , s . languages . css . atrule . inside . rest = s . languages . css ; var e = s . languages . markup ; e && ( e . tag . addInlined ( "style" , "css" ) , s . languages . insertBefore ( "inside" , "attr-value" , { "style-attr" : { pattern : /\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i , inside : { "attr-name" : { pattern : /^\s*style/i , inside : e . tag . inside } , punctuation : /^\s*=\s*['"]|['"]\s*$/ , "attr-value" : { pattern : /.+/i , inside : s . languages . css } } , alias : "language-css" } } , e . tag ) ) } ( Prism ) ;
Prism . languages . clike = { comment : [ { pattern : /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/ , lookbehind : ! 0 } , { pattern : /(^|[^\\:])\/\/.*/ , lookbehind : ! 0 , greedy : ! 0 } ] , string : { pattern : /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 } , "class-name" : { pattern : /((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i , lookbehind : ! 0 , inside : { punctuation : /[.\\]/ } } , keyword : /\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/ , boolean : /\b(?:true|false)\b/ , function : /\w+(?=\()/ , number : /\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i , operator : /--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/ , punctuation : /[{}[\];(),.:]/ } ;
2019-10-14 09:49:59 +00:00
Prism . languages . javascript = Prism . languages . extend ( "clike" , { "class-name" : [ Prism . languages . clike [ "class-name" ] , { pattern : /(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/ , lookbehind : ! 0 } ] , keyword : [ { pattern : /((?:^|})\s*)(?:catch|finally)\b/ , lookbehind : ! 0 } , { pattern : /(^|[^.])\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/ , lookbehind : ! 0 } ] , number : /\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/ , function : /#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/ , operator : /--|\+\+|\*\*=?|=>|&&|\|\||[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|[~?:]/ } ) , Prism . languages . javascript [ "class-name" ] [ 0 ] . pattern = /(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/ , Prism . languages . insertBefore ( "javascript" , "keyword" , { regex : { pattern : /((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=\s*($|[\r\n,.;})\]]))/ , lookbehind : ! 0 , greedy : ! 0 } , "function-variable" : { pattern : /#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/ , alias : "function" } , parameter : [ { pattern : /(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/ , lookbehind : ! 0 , inside : Prism . languages . javascript } , { pattern : /[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i , inside : Prism . languages . javascript } , { pattern : /(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/ , lookbehind : ! 0 , inside : Prism . languages . javascript } , { pattern : /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/ , lookbehind : ! 0 , inside : Prism . languages . javascript } ] , constant : /\b[A-Z](?:[A-Z_]|\dx?)*\b/ } ) , Prism . languages . insertBefore ( "javascript" , "string" , { "template-string" : { pattern : /`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/ , greedy : ! 0 , inside : { "template-punctuation" : { pattern : /^`|`$/ , alias : "string" } , interpolation : { pattern : /((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/ , lookbehind : ! 0 , inside : { "interpolation-punctuation" : { pattern : /^\${|}$/ , alias : "punctuation" } , rest : Prism . languages . javascript } } , string : /[\s\S]+/ } } } ) , Prism . languages . markup && Prism . languages . markup . tag . addInlined ( "script" , "javascript" ) , Prism . languages . js = Prism . languages . javascript ;
2019-10-02 16:15:37 +00:00
Prism . languages . abap = { comment : /^\*.*/m , string : /(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/m , "string-template" : { pattern : /([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/ , lookbehind : ! 0 , alias : "string" } , "eol-comment" : { pattern : /(^|\s)".*/m , lookbehind : ! 0 , alias : "comment" } , keyword : { pattern : / ( \ s | \ . | ^ ) ( ? : S C I E N T I F I C _ W I T H _ L E A D I N G _ Z E R O | S C A L E _ P R E S E R V I N G _ S C I E N T I F I C | R M C _ C O M M U N I C A T I O N _ F A I L U R E | E N D - E N H A N C E M E N T - S E C T I O N | M U L T I P L Y - C O R R E S P O N D I N G | S U B T R A C T - C O R R E S P O N D I N G | V E R I F I C A T I O N - M E S S A G E | D I V I D E - C O R R E S P O N D I N G | E N H A N C E M E N T - S E C T I O N | C U R R E N C Y _ C O N V E R S I O N | R M C _ S Y S T E M _ F A I L U R E | S T A R T - O F - S E L E C T I O N | M O V E - C O R R E S P O N D I N G | R M C _ I N V A L I D _ S T A T U S | C U S T O M E R - F U N C T I O N | E N D - O F - D E F I N I T I O N | E N H A N C E M E N T - P O I N T | S Y S T E M - E X C E P T I O N S | A D D - C O R R E S P O N D I N G | S C A L E _ P R E S E R V I N G | S E L E C T I O N - S C R E E N | C U R S O R - S E L E C T I O N | E N D - O F - S E L E C T I O N | L O A D - O F - P R O G R A M | S C R O L L - B O U N D A R Y | S E L E C T I O N - T A B L E | E X C E P T I O N - T A B L E | I M P L E M E N T A T I O N S | P A R A M E T E R - T A B L E | R I G H T - J U S T I F I E D | U N I T _ C O N V E R S I O N | A U T H O R I T Y - C H E C K | L I S T - P R O C E S S I N G | S I G N _ A S _ P O S T F I X | C O L _ B A C K G R O U N D | I M P L E M E N T A T I O N | I N T E R F A C E - P O O L | T R A N S F O R M A T I O N | I D E N T I F I C A T I O N | E N D E N H A N C E M E N T | L I N E - S E L E C T I O N | I N I T I A L I Z A T I O N | L E F T - J U S T I F I E D | S E L E C T - O P T I O N S | S E L E C T I O N - S E T S | C O M M U N I C A T I O N | C O R R E S P O N D I N G | D E C I M A L _ S H I F T | P R I N T - C O N T R O L | V A L U E - R E Q U E S T | C H A I N - R E Q U E S T | F U N C T I O N - P O O L | F I E L D - S Y M B O L S | F U N C T I O N A L I T Y | I N V E R T E D - D A T E | S E L E C T I O N - S E T | C L A S S - M E T H O D S | O U T P U T - L E N G T H | C L A S S - C O D I N G | C O L _ N E G A T I V E | E R R O R M E S S A G E | F I E L D - G R O U P S | H E L P - R E Q U E S T | N O - E X T E N S I O N | N O - T O P O F P A G E | R E D E F I N I T I O N | D I S P L A Y - M O D E | E N D I N T E R F A C E | E X I T - C O M M A N D | F I E L D - S Y M B O L | N O - S C R O L L I N G | S H O R T D U M P - I D | A C C E S S P O L I C Y | C L A S S - E V E N T S | C O L _ P O S I T I V E | D E C L A R A T I O N S | E N H A N C E M E N T S | F I L T E R - T A B L E | S W I T C H S T A T E S | S Y N T A X - C H E C K | T R A N S P O R T I N G | A S Y N C H R O N O U S | S Y N T A X - T R A C E | T O K E N I Z A T I O N | U S E R - C O M M A N D | W I T H - H E A D I N G | A B A P - S O U R C E | B R E A K - P O I N T | C H A I N - I N P U T | C O M P R E S S I O N | F I X E D - P O I N T | N E W - S E C T I O N | N O N - U N I C O D E | O C C U R R E N C E S | R E S P O N S I B L E | S Y S T E M - C A L L | T R A C E - T A B L E | A B B R E V I A T E D | C H A R - T O - H E X | E N D - O F - F I L E | E N D F U N C T I O N | E N V I R O N M E N T | A S S O C I A T I O N | C O L _ H E A D I N G | E D I T O R - C A L L | E N D - O F - P A G E | E N G I N E E R I N G | I M P L E M E N T E D | I N T E N S I F I E D | R A D I O B U T T O N | S Y S T E M - E X I T | T O P - O F - P A G E | T R A N S A C T I O N | A P P L I C A T I O N | C O N C A T E N A T E | D E S T I N A T I O N | E N H A N C E M E N T | I M M E D I A T E L Y | N O - G R O U P I N G | P R E C O M P I L E D | R E P L A C E M E N T | T I T L E - L I N E S | A C T I V A T I O N | B Y T E - O R D E R | C L A S S - P O O L | C O N N E C T I O N | C O N V E R S I O N | D E F I N I T I O N | D E P A R T M E N T | E X P I R A T I O N | I N H E R I T I N G | M E S S A G E - I D | N O - H E A D I N G | P E R F O R M I N G | Q U E U E - O N L Y | R I G H T S P A C E | S C I E N T I F I C | S T A T U S I N F O | S T R U C T U R E S | S Y N C P O I N T S | W I T H - T I T L E | A T T R I B U T E S | B O U N D A R I E S | C L A S S - D A T A | C O L _ N O R M A L | D D \ / M M \ / Y Y Y Y | D E S C E N D I N G | I N T E R F A C E S | L I N E - C O U N T | M M \ / D D \ / Y Y Y Y | N O N - U N I Q U E | P R E S E R V I N G | S E L E C T I O N S | S T A T E M E N T S | S U B R O U T I N E | T R U N C A T I O N | T Y P E - P O O L S | A R I T H M E T I C | B A C K G R O U N D | E N D P R O V I D E | E X C E P T I O N S | I D E N T I F I E R | I N D E X - L I N E | O B L I G A T O R Y | P A R A M E T E R S | P E R C E N T A G E | P U S H B U T T O N | R E S O L U T I O N | C O M P O N E N T S | D E A L L O C A T E | D I S C O N N E C T | D U P L I C A T E S | F I R S T - L I N E | H E A D - L I N E S | N O - D I S P L A Y | O C C U R R E N C E | R E S P E C T I N G | R E T U R N C O D E | S U B M A T C H E S | T R A C E - F I L E | A S C E N D I N G | B Y P A S S I N G | E N D M O D U L E | E X C E P T I O N | E X C L U D I N G | E X P O R T I N G | I N C R E M E N T | M A T C H C O D E | P A R A M E T E R | P A R T I A L L Y | P R E F E R R E D | R E F E R E N C E | R E P L A C I N G | R E T U R N I N G | S E L E C T I O N | S E P A R A T E D | S P E C I F I E D | S T A T E M E N T | T I M E S T A M P | T Y P E - P O O L | A C C E P T I N G | A P P E N D A G E | A S S I G N I N G | C O L _ G R O U P | C O M P A R I N G | C O N S T A N T S | D A N G E R O U S | I M P O R T I N G | I N S T A N C E S | L E F T S P A C E | L O G - P O I N T | Q U I C K I N F O | R E A D - O N L Y | S C R O L L I N G | S Q L S C R I P T | S T E P - L O O P | T O P - L I N E S | T R A N S L A T E | A P P E N D I N G | A U T H O R I T Y | C H A R A C T E R | C O M P O N E N T | C O N D I T I O N | D I R E C T O R Y | D U P L I C A T E | M E S S A G I N G | R E C E I V I N G | S U B S C R E E N | A C C O R D I N G | C O L _ T O T A L | E N D - L I N E S | E N D M E T H O D | E N D S E L E C T | E X P A N D I N G | E X T E N S I O N | I N C L U D I N G | I N F O T Y P E S | I N T E R F A C E | I N T E R V A L S | L I N E - S I Z E | P F - S T A T U S | P R O C E D U R E | P R O T E C T E D | R E Q U E S T E D | R E S U M A B L E | R I G H T P L U S | S A P - S P O O L | S E C O N D A R Y | S T R U C T U R E | S U B S T R I N G | T A B L E V I E W | N U M O F C H A R | A D J A C E N T | A N A L Y S I S | A S S I G N E D | B A C K W A R D | C H A N N E L S | C H E C K B O X | C O N T I N U E | C R I T I C A L | D A T A I N F O | D D \ / M M \ / Y Y | D U R A T I O N | E N C O D I N G | E N D C L A S S | F U N C T I O N | L E F T P L U S | L I N E F E E D | M M \ / D D \ / Y Y | O V E R F L O W | R E C E I V E D | S K I P P I N G | S O R T A B L E | S T A N D A R D | S U B T R A C T | S U P P R E S S | T A B S T R I P | T I T L E B A R | T R U N C A T E | U N A S S I G N | W H E N E V E R | A N A L Y Z E R | C O A L E S C E | C O M M E N T S | C O N D E N S E | D E C I M A L S | D E F E R R E D | E N D W H I L E | E X P L I C I T | K E Y W O R D S | M E S S A G E S | P O S I T I O N | P R I O R I T Y | R E C E I V E R | R E N A M I N G | T I M E Z O N E | T R A I L I N G | A L L O C A T E | C E N T E R E D | C I R C U L A R | C O N T R O L S | C U R R E N C Y | D E L E T I N G | D E S C R I B E | D I S T A N C E | E N D C A T C H | E X P O N E N T | E X T E N D E D | G E N E R A T E | I G N O R I N G | I N C L U D E S | I N T E R N A L | M A J O R - I D | M O D I F I E R | N E W - L I N E | O P T I O N A L | P R O P E R T Y | R O L L B A C K | S T A R T I N G | S U P P L I E D | A B S T R A C T | C H A N G I N G | C O N T E X T S | C R E A T I N G | C U S T O M E R | D A T A B A S E | D A Y
! function ( n ) { var i = "(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)" ; Prism . languages . abnf = { comment : /;.*/ , string : { pattern : /(?:%[is])?"[^"\n\r]*"/ , greedy : ! 0 , inside : { punctuation : /^%[is]/ } } , range : { pattern : /%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i , alias : "number" } , terminal : { pattern : /%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i , alias : "number" } , repetition : { pattern : /(^|[^\w-])(?:\d*\*\d*|\d+)/ , lookbehind : ! 0 , alias : "operator" } , definition : { pattern : /(^[ \t]*)(?:[a-z][\w-]*|<[^>\r\n]*>)(?=\s*=)/m , lookbehind : ! 0 , alias : "keyword" , inside : { punctuation : /<|>/ } } , "core-rule" : { pattern : RegExp ( "(?:(^|[^<\\w-])" + i + "|<" + i + ">)(?![\\w-])" , "i" ) , lookbehind : ! 0 , alias : [ "rule" , "constant" ] , inside : { punctuation : /<|>/ } } , rule : { pattern : /(^|[^<\w-])[a-z][\w-]*|<[^>\r\n]*>/i , lookbehind : ! 0 , inside : { punctuation : /<|>/ } } , operator : /=\/?|\// , punctuation : /[()\[\]]/ } } ( ) ;
Prism . languages . actionscript = Prism . languages . extend ( "javascript" , { keyword : /\b(?:as|break|case|catch|class|const|default|delete|do|else|extends|finally|for|function|if|implements|import|in|instanceof|interface|internal|is|native|new|null|package|private|protected|public|return|super|switch|this|throw|try|typeof|use|var|void|while|with|dynamic|each|final|get|include|namespace|native|override|set|static)\b/ , operator : /\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/ } ) , Prism . languages . actionscript [ "class-name" ] . alias = "function" , Prism . languages . markup && Prism . languages . insertBefore ( "actionscript" , "string" , { xml : { pattern : /(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/ , lookbehind : ! 0 , inside : { rest : Prism . languages . markup } } } ) ;
Prism . languages . ada = { comment : /--.*/ , string : /"(?:""|[^"\r\f\n])*"/i , number : [ { pattern : /\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i } , { pattern : /\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i } ] , "attr-name" : /\b'\w+/i , keyword : /\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|new|return|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i , boolean : /\b(?:true|false)\b/i , operator : /<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/ , punctuation : /\.\.?|[,;():]/ , char : /'.'/ , variable : /\b[a-z](?:[_a-z\d])*\b/i } ;
Prism . languages . apacheconf = { comment : /#.*/ , "directive-inline" : { pattern : / ( ^ \ s * ) \ b ( ? : A c c e p t F i l t e r | A c c e p t P a t h I n f o | A c c e s s F i l e N a m e | A c t i o n | A d d ( ? : A l t | A l t B y E n c o d i n g | A l t B y T y p e | C h a r s e t | D e f a u l t C h a r s e t | D e s c r i p t i o n | E n c o d i n g | H a n d l e r | I c o n | I c o n B y E n c o d i n g | I c o n B y T y p e | I n p u t F i l t e r | L a n g u a g e | M o d u l e I n f o | O u t p u t F i l t e r | O u t p u t F i l t e r B y T y p e | T y p e ) | A l i a s | A l i a s M a t c h | A l l o w ( ? : C O N N E C T | E n c o d e d S l a s h e s | M e t h o d s | O v e r r i d e | O v e r r i d e L i s t ) ? | A n o n y m o u s ( ? : _ L o g E m a i l | _ M u s t G i v e E m a i l | _ N o U s e r I D | _ V e r i f y E m a i l ) ? | A s y n c R e q u e s t W o r k e r F a c t o r | A u t h ( ? : B a s i c A u t h o r i t a t i v e | B a s i c F a k e | B a s i c P r o v i d e r | B a s i c U s e D i g e s t A l g o r i t h m | D B D U s e r P W Q u e r y | D B D U s e r R e a l m Q u e r y | D B M G r o u p F i l e | D B M T y p e | D B M U s e r F i l e | D i g e s t ( ? : A l g o r i t h m | D o m a i n | N o n c e L i f e t i m e | P r o v i d e r | Q o p | S h m e m S i z e ) | F o r m ( ? : A u t h o r i t a t i v e | B o d y | D i s a b l e N o S t o r e | F a k e B a s i c A u t h | L o c a t i o n | L o g i n R e q u i r e d L o c a t i o n | L o g i n S u c c e s s L o c a t i o n | L o g o u t L o c a t i o n | M e t h o d | M i m e t y p e | P a s s w o r d | P r o v i d e r | S i t e P a s s p h r a s e | S i z e | U s e r n a m e ) | G r o u p F i l e | L D A P ( ? : A u t h o r i z e P r e f i x | B i n d A u t h o r i t a t i v e | B i n d D N | B i n d P a s s w o r d | C h a r s e t C o n f i g | C o m p a r e A s U s e r | C o m p a r e D N O n S e r v e r | D e r e f e r e n c e A l i a s e s | G r o u p A t t r i b u t e | G r o u p A t t r i b u t e I s D N | I n i t i a l B i n d A s U s e r | I n i t i a l B i n d P a t t e r n | M a x S u b G r o u p D e p t h | R e m o t e U s e r A t t r i b u t e | R e m o t e U s e r I s D N | S e a r c h A s U s e r | S u b G r o u p A t t r i b u t e | S u b G r o u p C l a s s | U r l ) | M e r g i n g | N a m e | T y p e | U s e r F i l e | n C a c h e ( ? : C o n t e x t | E n a b l e | P r o v i d e F o r | S O C a c h e | T i m e o u t ) | n z F c g i C h e c k A u t h n P r o v i d e r | n z F c g i D e f i n e P r o v i d e r | z D B D L o g i n T o R e f e r e r | z D B D Q u e r y | z D B D R e d i r e c t Q u e r y | z D B M T y p e | z S e n d F o r b i d d e n O n F a i l u r e ) | B a l a n c e r G r o w t h | B a l a n c e r I n h e r i t | B a l a n c e r M e m b e r | B a l a n c e r P e r s i s t | B r o w s e r M a t c h | B r o w s e r M a t c h N o C a s e | B u f f e r S i z e | B u f f e r e d L o g s | C G I D S c r i p t T i m e o u t | C G I M a p E x t e n s i o n | C a c h e ( ? : D e f a u l t E x p i r e | D e t a i l H e a d e r | D i r L e n g t h | D i r L e v e l s | D i s a b l e | E n a b l e | F i l e | H e a d e r | I g n o r e C a c h e C o n t r o l | I g n o r e H e a d e r s | I g n o r e N o L a s t M o d | I g n o r e Q u e r y S t r i n g | I g n o r e U R L S e s s i o n I d e n t i f i e r s | K e y B a s e U R L | L a s t M o d i f i e d F a c t o r | L o c k | L o c k M a x A g e | L o c k P a t h | M a x E x p i r e | M a x F i l e S i z e | M i n E x p i r e | M i n F i l e S i z e | N e g o t i a t e d D o c s | Q u i c k H a n d l e r | R e a d S i z e | R e a d T i m e | R o o t | S o c a c h e ( ? : M a x S i z e | M a x T i m e | M i n T i m e | R e a d S i z e | R e a d T i m e ) ? | S t a l e O n E r r o r | S t o r e E x p i r e d | S t o r e N o S t o r e | S t o r e P r i v a t e ) | C h a r s e t D e f a u l t | C h a r s e t O p t i o n s | C h a r s e t S o u r c e E n c | C h e c k C a s e O n l y | C h e c k S p e l l i n g | C h r o o t D i r | C o n t e n t D i g e s t | C o o k i e D o m a i n | C o o k i e E x p i r e s | C o o k i e N a m e | C o o k i e S t y l e | C o o k i e T r a c k i n g | C o r e D u m p D i r e c t o r y | C u s t o m L o g | D B D E x p t i m e | D B D I n i t S Q L | D B D K e e p | D B D M a x | D B D M i n | D B D P a r a m s | D B D P e r s i s t | D B D P r e p a r e S Q L | D B D r i v e r | D T r a c e P r i v i l e g e s | D a v | D a v D e p t h I n f i n i t y | D a v G e n e r i c L o c k D B | D a v L o c k D B | D a v M i n T i m e o u t | D e f a u l t I c o n | D e f a u l t L a n g u a g e | D e f a u l t R u n t i m e D i r | D e f a u l t T y p e | D e f i n e | D e f l a t e ( ? : B u f f e r S i z e | C o m p r e s s i o n L e v e l | F i l t e r N o t e | I n f l a t e L i m i t R e q u e s t B o d y | I n f l a t e R a t i o ( ? : B u r s t | L i m i t ) | M e m L e v e l | W i n d o w S i z e ) | D e n y | D i r e c t o r y C h e c k H a n d l e r | D i r e c t o r y I n d e x | D i r e c t o r y I n d e x R e d i r e c t | D i r e c t o r y S l a s h | D o c u m e n t R o o t | D u m p I O I n p u t | D u m p I O O u t p u t | E n a b l e E x c e p t i o n H o o k | E n a b l e M M A P | E n a b l e S e n d f i l e | E r r o r | E r r o r D o c u m e n t | E r r o r L o g | E r r o r L o g F o r m a t | E x a m p l e | E x p i r e s A c t i v e | E x p i r e s B y T y p e | E x p i r e s D e f a u l t | E x t F i l t e r D e f i n e | E x t F i l t e r O p t i o n s | E x t e n d e d S t a t u s | F a l l b a c k R e s o u r c e | F i l e E T a g | F i l t e r C h a i n | F i l t e r D e c l a r e | F i l t e r P r o t o c o l | F i l t e r P r o v i d e r | F i l t e r T r a c e | F o r c e L a n g u a g e P r i o r i t y | F o r c e T y p e | F o r e n s i c L o g | G p r o f D i r | G r a c e f u l S h u t d o w n T i m e o u t | G r o u p | H e a d e r | H e a d e r N a m e | H e a r t b e a t ( ? : A d d r e s s | L i s t e n | M a x S e r v e r s | S t o r a g e ) | H o s t n a m e L o o k u p s | I S A P I ( ? : A p p e n d L o g T o E r r o r s | A p p e n d L o g T o Q u e r y | C a c h e F i l e | F a k e A s y n c | L o g N o t S u p p o r t e d | R e a d A h e a d B u f f e r ) | I d e n t i t y C h e c k | I d e n t i t y C h e c k T i m e o u t | I m a p B a s e | I m a p D e f a u l t | I m a p M e n u | I n c l u d e | I n c l u d e O p t i o n a l | I n d e x ( ? : H e a d I n s e r t | I g n o r e | I g n o r e R e s e t | O p t i o n s | O r d e r D e f a u l t | S t y l e S h e e t ) | I n p u t S e d | K e e p A l i v e | K e e p A l i v e T i m e o u t | K e p t B o d y S i z e | L D A P ( ? : C a c h e E n t r i e s | C a c h e T T L | C o n n e c t i o n P o o l T T L | C o n n e c t i o n T i m e o u t | L i b r a r y D e b u g | O p C a c h e E n t r i e s | O p C a c h e T T L | R e f e r r a l H o p L i m i t | R e f e r r a l s | R e t r i e s | R e t r y D e l a y | S h a r e d C a c h e F i l e | S h a r e d C a c h e S i z e | T i m e o u t | T r u s t e d C l i e n t C e r t | T r u s t e d G l o b a l C e r t | T r u s t e d M o d e | V e r i f y S e r v e r C e r t ) | L a n g u a g e P r i o r i t y | L i m i t ( ? : I n t e r n a l R e c u r s i o n | R e q u e s t ( ? : B o d y | F i e l d S i z e | F i e l d s | L i n e ) | X M L R e q u e s t B o d y ) | L i s t e n | L i s t e n B a c k L o g | L o a d F i l e | L o a d M o d u l e | L o g F o r m a t | L o g L e v e l | L o g M e s s a g e | L u a A u t h z P r o v i d e r | L u a C o d e C a c h e | L u a ( ? : H o o k ( ? : A c c e s s C h e c k e r | A u t h C h e c k e r | C h e c k U s e r I D | F i x u p s | I n s e r t F i l t e r | L o g | M a p T o S t o r a g e | T r a n s l a t e N a m e | T y p e C h e c k e r ) | I n h e r i t | I n p u t F i l t e r | M a p H a n d l e r | O u t p u t F i l t e r | P a c k a g e C P a t h | P a c k a g e P a t h | Q u i c k H a n d l e r | R o o t | S c o p e ) | M M a p F i l e | M a x ( ? : C o n n e c t i o n s P e r C h i l d | K e e p
Prism . languages . apl = { comment : /(?:⍝|#[! ]).*$/m , string : { pattern : /'(?:[^'\r\n]|'')*'/ , greedy : ! 0 } , number : /¯?(?:\d*\.?\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:\d*\.?\d+(?:e[+¯]?\d+)?|¯|∞))?/i , statement : /:[A-Z][a-z][A-Za-z]*\b/ , "system-function" : { pattern : /⎕[A-Z]+/i , alias : "function" } , constant : /[⍬⌾#⎕⍞]/ , function : /[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/ , "monadic-operator" : { pattern : /[\\\/⌿⍀¨⍨⌶&∥]/ , alias : "operator" } , "dyadic-operator" : { pattern : /[.⍣⍠⍤∘⌸@⌺]/ , alias : "operator" } , assignment : { pattern : /←/ , alias : "keyword" } , punctuation : /[\[;\]()◇⋄]/ , dfn : { pattern : /[{}⍺⍵⍶⍹∇⍫:]/ , alias : "builtin" } } ;
Prism . languages . applescript = { comment : [ /\(\*(?:\(\*[\s\S]*?\*\)|[\s\S])*?\*\)/ , /--.+/ , /#.+/ ] , string : /"(?:\\.|[^"\\\r\n])*"/ , number : /(?:\b\d+\.?\d*|\B\.\d+)(?:e-?\d+)?\b/i , operator : [ /[&=≠≤≥*+\-\/÷^]|[<>]=?/ , /\b(?:(?:start|begin|end)s? with|(?:(?:does not|doesn't) contain|contains?)|(?:is|isn't|is not) (?:in|contained by)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:(?:does not|doesn't) come|comes) (?:before|after)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equals|equal to|isn't|is not)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|or|div|mod|as|not))\b/ ] , keyword : /\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/ , class : { pattern : /\b(?:alias|application|boolean|class|constant|date|file|integer|list|number|POSIX file|real|record|reference|RGB color|script|text|centimetres|centimeters|feet|inches|kilometres|kilometers|metres|meters|miles|yards|square feet|square kilometres|square kilometers|square metres|square meters|square miles|square yards|cubic centimetres|cubic centimeters|cubic feet|cubic inches|cubic metres|cubic meters|cubic yards|gallons|litres|liters|quarts|grams|kilograms|ounces|pounds|degrees Celsius|degrees Fahrenheit|degrees Kelvin)\b/ , alias : "builtin" } , punctuation : /[{}():,¬«»《》]/ } ;
Prism . languages . aql = { comment : /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/ , property : { pattern : /([{,]\s*)(?:(?!\d)\w+|(["'´ `])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/ , lookbehind : ! 0 , greedy : ! 0 } , string : { pattern : /(["'´ `])(?:(?!\1)[^\\\r\n]|\\.)*\1/ , greedy : ! 0 } , variable : /@@?\w+/ , keyword : [ { pattern : /(\bWITH\s+)COUNT(?=\s+INTO\b)/i , lookbehind : ! 0 } , /\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WITH)\b/i , { pattern : /(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i , lookbehind : ! 0 } , { pattern : /(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/ , lookbehind : ! 0 } , { pattern : /\bOPTIONS(?=\s*{)/i } ] , function : /(?!\d)\w+(?=\s*\()/ , boolean : /(?:true|false)/i , range : { pattern : /\.\./ , alias : "operator" } , number : /(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i , operator : /\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/ , punctuation : /::|[?.:,;()[\]{}]/ } ;
Prism . languages . c = Prism . languages . extend ( "clike" , { "class-name" : { pattern : /(\b(?:enum|struct)\s+)\w+/ , lookbehind : ! 0 } , keyword : /\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/ , operator : />>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/ , number : /(?:\b0x(?:[\da-f]+\.?[\da-f]*|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?)[ful]*/i } ) , Prism . languages . insertBefore ( "c" , "string" , { macro : { pattern : /(^\s*)#\s*[a-z]+(?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im , lookbehind : ! 0 , alias : "property" , inside : { string : { pattern : /(#\s*include\s*)(?:<.+?>|("|')(?:\\?.)+?\2)/ , lookbehind : ! 0 } , directive : { pattern : /(#\s*)\b(?:define|defined|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)\b/ , lookbehind : ! 0 , alias : "keyword" } } } , constant : /\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/ } ) , delete Prism . languages . c . boolean ;
Prism . languages . arff = { comment : /%.*/ , string : { pattern : /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 } , keyword : /@(?:attribute|data|end|relation)\b/i , number : /\b\d+(?:\.\d+)?\b/ , punctuation : /[{},]/ } ;
! function ( t ) { var n = { pattern : /(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\]\\]|\\.)*\]|[^\]\\]|\\.)*\]/m , lookbehind : ! 0 , inside : { quoted : { pattern : /([$`])(?:(?!\1)[^\\]|\\.)*\1/ , inside : { punctuation : /^[$`]|[$`]$/ } } , interpreted : { pattern : /'(?:[^'\\]|\\.)*'/ , inside : { punctuation : /^'|'$/ } } , string : /"(?:[^"\\]|\\.)*"/ , variable : /\w+(?==)/ , punctuation : /^\[|\]$|,/ , operator : /=/ , "attr-value" : /(?!^\s+$).+/ } } , a = t . languages . asciidoc = { "comment-block" : { pattern : /^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m , alias : "comment" } , table : { pattern : /^\|={3,}(?:(?:\r?\n|\r).*)*?(?:\r?\n|\r)\|={3,}$/m , inside : { specifiers : { pattern : /(?!\|)(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*])?(?:[<^>](?:\.[<^>])?|\.[<^>])?[a-z]*)(?=\|)/ , alias : "attr-value" } , punctuation : { pattern : /(^|[^\\])[|!]=*/ , lookbehind : ! 0 } } } , "passthrough-block" : { pattern : /^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m , inside : { punctuation : /^\++|\++$/ } } , "literal-block" : { pattern : /^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m , inside : { punctuation : /^(?:-+|\.+)|(?:-+|\.+)$/ } } , "other-block" : { pattern : /^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m , inside : { punctuation : /^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/ } } , "list-punctuation" : { pattern : /(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im , lookbehind : ! 0 , alias : "punctuation" } , "list-label" : { pattern : /(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im , lookbehind : ! 0 , alias : "symbol" } , "indented-block" : { pattern : /((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/ , lookbehind : ! 0 } , comment : /^\/\/.*/m , title : { pattern : /^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} +.+|^\.(?![\s.]).*/m , alias : "important" , inside : { punctuation : /^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/ } } , "attribute-entry" : { pattern : /^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m , alias : "tag" } , attributes : n , hr : { pattern : /^'{3,}$/m , alias : "punctuation" } , "page-break" : { pattern : /^<{3,}$/m , alias : "punctuation" } , admonition : { pattern : /^(?:TIP|NOTE|IMPORTANT|WARNING|CAUTION):/m , alias : "keyword" } , callout : [ { pattern : /(^[ \t]*)<?\d*>/m , lookbehind : ! 0 , alias : "symbol" } , { pattern : /<\d+>/ , alias : "symbol" } ] , macro : { pattern : /\b[a-z\d][a-z\d-]*::?(?:(?:\S+)??\[(?:[^\]\\"]|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/ , inside : { function : /^[a-z\d-]+(?=:)/ , punctuation : /^::?/ , attributes : { pattern : /(?:\[(?:[^\]\\"]|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/ , inside : n . inside } } } , inline : { pattern : /(^|[^\\])(?:(?:\B\[(?:[^\]\\"]|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?: ['`]|.)+?(?:(?:\r?\n|\r)(?: ['`]|.)+?)*['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"]|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m , lookbehind : ! 0 , inside : { attributes : n , url : { pattern : /^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/ , inside : { punctuation : /^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/ } } , "attribute-ref" : { pattern : /^\{.+\}$/ , inside : { variable : { pattern : /(^\{)[a-z\d,+_-]+/ , lookbehind : ! 0 } , operator : /^[=?!#%@$]|!(?=[:}])/ , punctuation : /^\{|\}$|::?/ } } , italic : { pattern : /^(['_])[\s\S]+\1$/ , inside : { punctuation : /^(?:''?|__?)|(?:''?|__?)$/ } } , bold : { pattern : /^\*[\s\S]+\*$/ , inside : { punctuation : /^\*\*?|\*\*?$/ } } , punctuation : /^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/ } } , replacement : { pattern : /\((?:C|TM|R)\)/ , alias : "builtin" } , entity : /&#?[\da-z]{1,8};/i , "line-continuation" : { pattern : /(^| )\+$/m , lookbehind : ! 0 , alias : "punctuation" } } ; function i ( t ) { for ( var n = { } , i = 0 , e = ( t = t . split ( " " ) ) . length ; i < e ; i ++ ) n [ t [ i ] ] = a [ t [ i ] ] ; return n } n . inside . interpreted . inside . rest = i ( "macro inline replacement entity" ) , a [ "passthrough-block" ] . inside . rest = i ( "macro" ) , a [ "literal-block" ] . inside . rest = i ( "callout" ) , a . table . inside . rest = i ( " comment - block passthrough - block literal - block other - block list - punctuation indented - block comment title attribute - entry attributes hr page - break admonition list - label callout macro inline replacem
Prism . languages . asm6502 = { comment : /;.*/ , directive : { pattern : /\.\w+(?= )/ , alias : "keyword" } , string : /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/ , opcode : { pattern : /\b(?:adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya|ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA)\b/ , alias : "property" } , hexnumber : { pattern : /#?\$[\da-f]{2,4}/i , alias : "string" } , binarynumber : { pattern : /#?%[01]+/ , alias : "string" } , decimalnumber : { pattern : /#?\d+/ , alias : "string" } , register : { pattern : /\b[xya]\b/i , alias : "variable" } } ;
Prism . languages . csharp = Prism . languages . extend ( "clike" , { keyword : /\b(?:abstract|add|alias|as|ascending|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|descending|do|double|dynamic|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|from|get|global|goto|group|if|implicit|in|int|interface|internal|into|is|join|let|lock|long|namespace|new|null|object|operator|orderby|out|override|params|partial|private|protected|public|readonly|ref|remove|return|sbyte|sealed|select|set|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|value|var|virtual|void|volatile|where|while|yield)\b/ , string : [ { pattern : /@("|')(?:\1\1|\\[\s\S]|(?!\1)[^\\])*\1/ , greedy : ! 0 } , { pattern : /("|')(?:\\.|(?!\1)[^\\\r\n])*?\1/ , greedy : ! 0 } ] , "class-name" : [ { pattern : /\b[A-Z]\w*(?:\.\w+)*\b(?=\s+\w+)/ , inside : { punctuation : /\./ } } , { pattern : /(\[)[A-Z]\w*(?:\.\w+)*\b/ , lookbehind : ! 0 , inside : { punctuation : /\./ } } , { pattern : /(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/ , lookbehind : ! 0 , inside : { punctuation : /\./ } } , { pattern : /((?:\b(?:class|interface|new)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/ , lookbehind : ! 0 , inside : { punctuation : /\./ } } ] , number : /\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)f?/i , operator : />>=?|<<=?|[-=]>|([-+&|?])\1|~|[-+*/%&|^!=<>]=?/ , punctuation : /\?\.?|::|[{}[\];(),.:]/ } ) , Prism . languages . insertBefore ( "csharp" , "class-name" , { "generic-method" : { pattern : /\w+\s*<[^>\r\n]+?>\s*(?=\()/ , inside : { function : /^\w+/ , "class-name" : { pattern : /\b[A-Z]\w*(?:\.\w+)*\b/ , inside : { punctuation : /\./ } } , keyword : Prism . languages . csharp . keyword , punctuation : /[<>(),.:]/ } } , preprocessor : { pattern : /(^\s*)#.*/m , lookbehind : ! 0 , alias : "property" , inside : { directive : { pattern : /(\s*#)\b(?:define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\b/ , lookbehind : ! 0 , alias : "keyword" } } } } ) , Prism . languages . dotnet = Prism . languages . cs = Prism . languages . csharp ;
Prism . languages . autohotkey = { comment : { pattern : /(^[^";\n]*("[^"\n]*?"[^"\n]*?)*)(?:;.*$|^\s*\/\*[\s\S]*\n\*\/)/m , lookbehind : ! 0 } , string : /"(?:[^"\n\r]|"")*"/m , function : /[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+?(?=\()/m , tag : /^[ \t]*[^\s:]+?(?=:(?:[^:]|$))/m , variable : /%\w+%/ , number : /\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee]-?\d+)?/ , operator : /\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/ , punctuation : /[{}[\]():,]/ , boolean : /\b(?:true|false)\b/ , selector : /\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i , constant : / \ b ( ? : a _ a h k p a t h | a _ a h k v e r s i o n | a _ a p p d a t a | a _ a p p d a t a c o m m o n | a _ a u t o t r i m | a _ b a t c h l i n e s | a _ c a r e t x | a _ c a r e t y | a _ c o m p u t e r n a m e | a _ c o n t r o l d e l a y | a _ c u r s o r | a _ d d | a _ d d d | a _ d d d d | a _ d e f a u l t m o u s e s p e e d | a _ d e s k t o p | a _ d e s k t o p c o m m o n | a _ d e t e c t h i d d e n t e x t | a _ d e t e c t h i d d e n w i n d o w s | a _ e n d c h a r | a _ e v e n t i n f o | a _ e x i t r e a s o n | a _ f o r m a t f l o a t | a _ f o r m a t i n t e g e r | a _ g u i | a _ g u i e v e n t | a _ g u i c o n t r o l | a _ g u i c o n t r o l e v e n t | a _ g u i h e i g h t | a _ g u i w i d t h | a _ g u i x | a _ g u i y | a _ h o u r | a _ i c o n f i l e | a _ i c o n h i d d e n | a _ i c o n n u m b e r | a _ i c o n t i p | a _ i n d e x | a _ i p a d d r e s s 1 | a _ i p a d d r e s s 2 | a _ i p a d d r e s s 3 | a _ i p a d d r e s s 4 | a _ i s a d m i n | a _ i s c o m p i l e d | a _ i s c r i t i c a l | a _ i s p a u s e d | a _ i s s u s p e n d e d | a _ i s u n i c o d e | a _ k e y d e l a y | a _ l a n g u a g e | a _ l a s t e r r o r | a _ l i n e f i l e | a _ l i n e n u m b e r | a _ l o o p f i e l d | a _ l o o p f i l e a t t r i b | a _ l o o p f i l e d i r | a _ l o o p f i l e e x t | a _ l o o p f i l e f u l l p a t h | a _ l o o p f i l e l o n g p a t h | a _ l o o p f i l e n a m e | a _ l o o p f i l e s h o r t n a m e | a _ l o o p f i l e s h o r t p a t h | a _ l o o p f i l e s i z e | a _ l o o p f i l e s i z e k b | a _ l o o p f i l e s i z e m b | a _ l o o p f i l e t i m e a c c e s s e d | a _ l o o p f i l e t i m e c r e a t e d | a _ l o o p f i l e t i m e m o d i f i e d | a _ l o o p r e a d l i n e | a _ l o o p r e g k e y | a _ l o o p r e g n a m e | a _ l o o p r e g s u b k e y | a _ l o o p r e g t i m e m o d i f i e d | a _ l o o p r e g t y p e | a _ m d a y | a _ m i n | a _ m m | a _ m m m | a _ m m m m | a _ m o n | a _ m o u s e d e l a y | a _ m s e c | a _ m y d o c u m e n t s | a _ n o w | a _ n o w u t c | a _ n u m b a t c h l i n e s | a _ o s t y p e | a _ o s v e r s i o n | a _ p r i o r h o t k e y | p r o g r a m f i l e s | a _ p r o g r a m f i l e s | a _ p r o g r a m s | a _ p r o g r a m s c o m m o n | a _ s c r e e n h e i g h t | a _ s c r e e n w i d t h | a _ s c r i p t d i r | a _ s c r i p t f u l l p a t h | a _ s c r i p t n a m e | a _ s e c | a _ s p a c e | a _ s t a r t m e n u | a _ s t a r t m e n u c o m m o n | a _ s t a r t u p | a _ s t a r t u p c o m m o n | a _ s t r i n g c a s e s e n s e | a _ t a b | a _ t e m p | a _ t h i s f u n c | a _ t h i s h o t k e y | a _ t h i s l a b e l | a _ t h i s m e n u | a _ t h i s m e n u i t e m | a _ t h i s m e n u i t e m p o s | a _ t i c k c o u n t | a _ t i m e i d l e | a _ t i m e i d l e p h y s i c a l | a _
Prism . languages . autoit = { comment : [ /;.*/ , { pattern : /(^\s*)#(?:comments-start|cs)[\s\S]*?^\s*#(?:comments-end|ce)/m , lookbehind : ! 0 } ] , url : { pattern : /(^\s*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m , lookbehind : ! 0 } , string : { pattern : /(["'])(?:\1\1|(?!\1)[^\r\n])*\1/ , greedy : ! 0 , inside : { variable : /([%$@])\w+\1/ } } , directive : { pattern : /(^\s*)#\w+/m , lookbehind : ! 0 , alias : "keyword" } , function : /\b\w+(?=\()/ , variable : /[$@]\w+/ , keyword : /\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i , number : /\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i , boolean : /\b(?:True|False)\b/i , operator : /<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Or|Not)\b/i , punctuation : /[\[\]().,:]/ } ;
! function ( e ) { var t = "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b" , n = { environment : { pattern : RegExp ( "\\$" + t ) , alias : "constant" } , variable : [ { pattern : /\$?\(\([\s\S]+?\)\)/ , greedy : ! 0 , inside : { variable : [ { pattern : /(^\$\(\([\s\S]+)\)\)/ , lookbehind : ! 0 } , /^\$\(\(/ ] , number : /\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee]-?\d+)?/ , operator : /--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/ , punctuation : /\(\(?|\)\)?|,|;/ } } , { pattern : /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/ , greedy : ! 0 , inside : { variable : /^\$\(|^`|\)$|`$/ } } , { pattern : /\$\{[^}]+\}/ , greedy : ! 0 , inside : { operator : /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/ , punctuation : /[\[\]]/ , environment : { pattern : RegExp ( "(\\{)" + t ) , lookbehind : ! 0 , alias : "constant" } } } , /\$(?:\w+|[#?*!@$])/ ] , entity : /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/ } ; e . languages . bash = { shebang : { pattern : /^#!\s*\/.*/ , alias : "important" } , comment : { pattern : /(^|[^"{\\$])#.*/ , lookbehind : ! 0 } , "function-name" : [ { pattern : /(\bfunction\s+)\w+(?=(?:\s*\(?:\s*\))?\s*\{)/ , lookbehind : ! 0 , alias : "function" } , { pattern : /\b\w+(?=\s*\(\s*\)\s*\{)/ , alias : "function" } ] , "for-or-select" : { pattern : /(\b(?:for|select)\s+)\w+(?=\s+in\s)/ , alias : "variable" , lookbehind : ! 0 } , "assign-left" : { pattern : /(^|[\s;|&]|[<>]\()\w+(?=\+?=)/ , inside : { environment : { pattern : RegExp ( "(^|[\\s;|&]|[<>]\\()" + t ) , lookbehind : ! 0 , alias : "constant" } } , alias : "variable" , lookbehind : ! 0 } , string : [ { pattern : /((?:^|[^<])<<-?\s*)(\w+?)\s*(?:\r?\n|\r)(?:[\s\S])*?(?:\r?\n|\r)\2/ , lookbehind : ! 0 , greedy : ! 0 , inside : n } , { pattern : /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s*(?:\r?\n|\r)(?:[\s\S])*?(?:\r?\n|\r)\3/ , lookbehind : ! 0 , greedy : ! 0 } , { pattern : /(["'])(?:\\[\s\S]|\$\([^)]+\)|`[^`]+`|(?!\1)[^\\])*\1/ , greedy : ! 0 , inside : n } ] , environment : { pattern : RegExp ( "\\$?" + t ) , alias : "constant" } , variable : n . variable , function : { pattern : / ( ^ | [ \ s ; | & ] | [ < > ] \ ( ) ( ? : a d d | a p r o p o s | a p t | a p t i t u d e | a p t - c a c h e | a p t - g e t | a s p e l l | a u t o m y s q l b a c k u p | a w k | b a s e n a m e | b a s h | b c | b c o n s o l e | b g | b z i p 2 | c a l | c a t | c f d i s k | c h g r p | c h k c o n f i g | c h m o d | c h o w n | c h r o o t | c k s u m | c l e a r | c m p | c o l u m n | c o m m | c p | c r o n | c r o n t a b | c s p l i t | c u r l | c u t | d a t e | d c | d d | d d r e s c u e | d e b o o t s t r a p | d f | d i f f | d i f f 3 | d i g | d i r | d i r c o l o r s | d i r n a m e | d i r s | d m e s g | d u | e g r e p | e j e c t | e n v | e t h t o o l | e x p a n d | e x p e c t | e x p r | f d f o r m a t | f d i s k | f g | f g r e p | f i l e | f i n d | f m t | f o l d | f o r m a t | f r e e | f s c k | f t p | f u s e r | g a w k | g i t | g p a r t e d | g r e p | g r o u p a d d | g r o u p d e l | g r o u p m o d | g r o u p s | g r u b - m k c o n f i g | g z i p | h a l t | h e a d | h g | h i s t o r y | h o s t | h o s t n a m e | h t o p | i c o n v | i d | i f c o n f i g | i f d o w n | i f u p | i m p o r t | i n s t a l l | i p | j o b s | j o i n | k i l l | k i l l a l l | l e s s | l i n k | l n | l o c a t e | l o g n a m e | l o g r o t a t e | l o o k | l p c | l p r | l p r i n t | l p r i n t d | l p r i n t q | l p r m | l s | l s o f | l y n x | m a k e | m a n | m c | m d a d m | m k c o n f i g | m k d i r | m k e 2 f s | m k f i f o | m k f s | m k i s o f s | m k n o d | m k s w a p | m m v | m o r e | m o s t | m o u n t | m t o o l s | m t r | m u t t | m v | n a n o | n c | n e t s t a t | n i c e | n l | n o h u p | n o t i f y - s e n d | n p m | n s l o o k u p | o p | o p e n | p a r t e d | p a s s w d | p a s t e | p a t h c h k | p i n g | p k i l l | p n p m | p o p d | p r | p r i n t c a p | p r i n t e n v | p s | p u s h d | p v | q u o t a | q u o t a c h e c k | q u o t a c t l | r a m | r a r | r c p | r e b o o t | r e m s y n c | r e n a m e | r e n i c e | r e v | r m | r m d i r | r p m | r s y n c | s c p | s c r e e n | s d i f f | s e d | s e n d m a i l | s e q | s e r v i c e | s f t p | s h | s h e l l c h e c k | s h u f | s h u t d o w n | s l e e p | s l o c a t e | s o r t | s p l i t | s s h | s t a t | s t r a c e |
Prism . languages . basic = { comment : { pattern : /(?:!|REM\b).+/i , inside : { keyword : /^REM/i } } , string : { pattern : /"(?:""|[!#$%&'()*,\/:;<=>?^_ +\-.A-Z\d])*"/i , greedy : ! 0 } , number : /(?:\b\d+\.?\d*|\B\.\d+)(?:E[+-]?\d+)?/i , keyword : /\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SHARED|SINGLE|SELECT CASE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i , function : /\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i , operator : /<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i , punctuation : /[,;:()]/ } ;
! function ( e ) { var r = /%%?[~:\w]+%?|!\S+!/ , t = { pattern : /\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im , alias : "attr-name" , inside : { punctuation : /:/ } } , n = /"[^"]*"/ , i = /(?:\b|-)\d+\b/ ; Prism . languages . batch = { comment : [ /^::.*/m , { pattern : /((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im , lookbehind : ! 0 } ] , label : { pattern : /^:.*/m , alias : "property" } , command : [ { pattern : /((?:^|[&(])[ \t]*)for(?: ?\/[a-z?](?:[ :](?:"[^"]*"|\S+))?)* \S+ in \([^)]+\) do/im , lookbehind : ! 0 , inside : { keyword : /^for\b|\b(?:in|do)\b/i , string : n , parameter : t , variable : r , number : i , punctuation : /[()',]/ } } , { pattern : /((?:^|[&(])[ \t]*)if(?: ?\/[a-z?](?:[ :](?:"[^"]*"|\S+))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|\S+)?(?:==| (?:equ|neq|lss|leq|gtr|geq) )(?:"[^"]*"|\S+))/im , lookbehind : ! 0 , inside : { keyword : /^if\b|\b(?:not|cmdextversion|defined|errorlevel|exist)\b/i , string : n , parameter : t , variable : r , number : i , operator : /\^|==|\b(?:equ|neq|lss|leq|gtr|geq)\b/i } } , { pattern : /((?:^|[&()])[ \t]*)else\b/im , lookbehind : ! 0 , inside : { keyword : /^else\b/i } } , { pattern : /((?:^|[&(])[ \t]*)set(?: ?\/[a-z](?:[ :](?:"[^"]*"|\S+))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im , lookbehind : ! 0 , inside : { keyword : /^set\b/i , string : n , parameter : t , variable : [ r , /\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/ ] , number : i , operator : /[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/ , punctuation : /[()',]/ } } , { pattern : /((?:^|[&(])[ \t]*@?)\w+\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im , lookbehind : ! 0 , inside : { keyword : /^\w+\b/i , string : n , parameter : t , label : { pattern : /(^\s*):\S+/m , lookbehind : ! 0 , alias : "property" } , variable : r , number : i , operator : /\^/ } } ] , operator : /[&@]/ , punctuation : /[()']/ } } ( ) ;
Prism . languages . bison = Prism . languages . extend ( "c" , { } ) , Prism . languages . insertBefore ( "bison" , "comment" , { bison : { pattern : /^[\s\S]*?%%[\s\S]*?%%/ , inside : { c : { pattern : /%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/ , inside : { delimiter : { pattern : /^%?\{|%?\}$/ , alias : "punctuation" } , "bison-variable" : { pattern : /[$@](?:<[^\s>]+>)?[\w$]+/ , alias : "variable" , inside : { punctuation : /<|>/ } } , rest : Prism . languages . c } } , comment : Prism . languages . c . comment , string : Prism . languages . c . string , property : /\S+(?=:)/ , keyword : /%\w+/ , number : { pattern : /(^|[^@])\b(?:0x[\da-f]+|\d+)/i , lookbehind : ! 0 } , punctuation : /%[%?]|[|:;\[\]<>]/ } } } ) ;
Prism . languages . bnf = { string : { pattern : /"[^\r\n"]*"|'[^\r\n']*'/ } , definition : { pattern : /<[^<>\r\n\t]+>(?=\s*::=)/ , alias : [ "rule" , "keyword" ] , inside : { punctuation : /^<|>$/ } } , rule : { pattern : /<[^<>\r\n\t]+>/ , inside : { punctuation : /^<|>$/ } } , operator : /::=|[|()[\]{}*+?]|\.{3}/ } , Prism . languages . rbnf = Prism . languages . bnf ;
Prism . languages . brainfuck = { pointer : { pattern : /<|>/ , alias : "keyword" } , increment : { pattern : /\+/ , alias : "inserted" } , decrement : { pattern : /-/ , alias : "deleted" } , branching : { pattern : /\[|\]/ , alias : "important" } , operator : /[.,]/ , comment : /\S+/ } ;
Prism . languages . bro = { comment : { pattern : /(^|[^\\$])#.*/ , lookbehind : ! 0 , inside : { italic : /\b(?:TODO|FIXME|XXX)\b/ } } , string : { pattern : /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 } , boolean : /\b[TF]\b/ , function : { pattern : /(?:function|hook|event) \w+(?:::\w+)?/ , inside : { keyword : /^(?:function|hook|event)/ } } , variable : { pattern : /(?:global|local) \w+/i , inside : { keyword : /(?:global|local)/ } } , builtin : /(?:@(?:load(?:-(?:sigs|plugin))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:redef|priority|log|optional|default|add_func|delete_func|expire_func|read_expire|write_expire|create_expire|synchronized|persistent|rotate_interval|rotate_size|encrypt|raw_output|mergeable|group|error_handler|type_column))/ , constant : { pattern : /const \w+/i , inside : { keyword : /const/ } } , keyword : /\b(?:break|next|continue|alarm|using|of|add|delete|export|print|return|schedule|when|timeout|addr|any|bool|count|double|enum|file|int|interval|pattern|opaque|port|record|set|string|subnet|table|time|vector|for|if|else|in|module|function)\b/ , operator : /--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/ , number : /\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i , punctuation : /[{}[\];(),.:]/ } ;
Prism . languages . cpp = Prism . languages . extend ( "c" , { "class-name" : { pattern : /(\b(?:class|enum|struct)\s+)\w+/ , lookbehind : ! 0 } , keyword : /\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/ , number : { pattern : /(?:\b0b[01']+|\b0x(?:[\da-f']+\.?[\da-f']*|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+\.?[\d']*|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]*/i , greedy : ! 0 } , operator : />>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/ , boolean : /\b(?:true|false)\b/ } ) , Prism . languages . insertBefore ( "cpp" , "string" , { "raw-string" : { pattern : /R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/ , alias : "string" , greedy : ! 0 } } ) ;
Prism . languages . aspnet = Prism . languages . extend ( "markup" , { "page-directive" : { pattern : /<%\s*@.*%>/i , alias : "tag" , inside : { "page-directive" : { pattern : /<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i , alias : "tag" } , rest : Prism . languages . markup . tag . inside } } , directive : { pattern : /<%.*%>/i , alias : "tag" , inside : { directive : { pattern : /<%\s*?[$=%#:]{0,2}|%>/i , alias : "tag" } , rest : Prism . languages . csharp } } } ) , Prism . languages . aspnet . tag . pattern = /<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i , Prism . languages . insertBefore ( "inside" , "punctuation" , { directive : Prism . languages . aspnet . directive } , Prism . languages . aspnet . tag . inside [ "attr-value" ] ) , Prism . languages . insertBefore ( "aspnet" , "comment" , { "asp-comment" : { pattern : /<%--[\s\S]*?--%>/ , alias : [ "asp" , "comment" ] } } ) , Prism . languages . insertBefore ( "aspnet" , Prism . languages . javascript ? "script" : "tag" , { "asp-script" : { pattern : /(<script(?=.*runat=['"]?server['"]?)[\s\S]*?>)[\s\S]*?(?=<\/script>)/i , lookbehind : ! 0 , alias : [ "asp" , "script" ] , inside : Prism . languages . csharp || { } } } ) ;
Prism . languages . arduino = Prism . languages . extend ( "cpp" , { keyword : /\b(?:setup|if|else|while|do|for|return|in|instanceof|default|function|loop|goto|switch|case|new|try|throw|catch|finally|null|break|continue|boolean|bool|void|byte|word|string|String|array|int|long|integer|double)\b/ , builtin : /\b(?:KeyboardController|MouseController|SoftwareSerial|EthernetServer|EthernetClient|LiquidCrystal|LiquidCrystal_I2C|RobotControl|GSMVoiceCall|EthernetUDP|EsploraTFT|HttpClient|RobotMotor|WiFiClient|GSMScanner|FileSystem|Scheduler|GSMServer|YunClient|YunServer|IPAddress|GSMClient|GSMModem|Keyboard|Ethernet|Console|GSMBand|Esplora|Stepper|Process|WiFiUDP|GSM_SMS|Mailbox|USBHost|Firmata|PImage|Client|Server|GSMPIN|FileIO|Bridge|Serial|EEPROM|Stream|Mouse|Audio|Servo|File|Task|GPRS|WiFi|Wire|TFT|GSM|SPI|SD|runShellCommandAsynchronously|analogWriteResolution|retrieveCallingNumber|printFirmwareVersion|analogReadResolution|sendDigitalPortPair|noListenOnLocalhost|readJoystickButton|setFirmwareVersion|readJoystickSwitch|scrollDisplayRight|getVoiceCallStatus|scrollDisplayLeft|writeMicroseconds|delayMicroseconds|beginTransmission|getSignalStrength|runAsynchronously|getAsynchronously|listenOnLocalhost|getCurrentCarrier|readAccelerometer|messageAvailable|sendDigitalPorts|lineFollowConfig|countryNameWrite|runShellCommand|readStringUntil|rewindDirectory|readTemperature|setClockDivider|readLightSensor|endTransmission|analogReference|detachInterrupt|countryNameRead|attachInterrupt|encryptionType|readBytesUntil|robotNameWrite|readMicrophone|robotNameRead|cityNameWrite|userNameWrite|readJoystickY|readJoystickX|mouseReleased|openNextFile|scanNetworks|noInterrupts|digitalWrite|beginSpeaker|mousePressed|isActionDone|mouseDragged|displayLogos|noAutoscroll|addParameter|remoteNumber|getModifiers|keyboardRead|userNameRead|waitContinue|processInput|parseCommand|printVersion|readNetworks|writeMessage|blinkVersion|cityNameRead|readMessage|setDataMode|parsePacket|isListening|setBitOrder|beginPacket|isDirectory|motorsWrite|drawCompass|digitalRead|clearScreen|serialEvent|rightToLeft|setTextSize|leftToRight|requestFrom|keyReleased|compassRead|analogWrite|interrupts|WiFiServer|disconnect|playMelody|parseFloat|autoscroll|getPINUsed|setPINUsed|setTimeout|sendAnalog|readSlider|analogRead|beginWrite|createChar|motorsStop|keyPressed|tempoWrite|readButton|subnetMask|debugPrint|macAddress|writeGreen|randomSeed|attachGPRS|readString|sendString|remotePort|releaseAll|mouseMoved|background|getXChange|getYChange|answerCall|getResult|voiceCall|endPacket|constrain|getSocket|writeJSON|getButton|available|connected|findUntil|readBytes|exitValue|readGreen|writeBlue|startLoop|IPAddress|isPressed|sendSysex|pauseMode|gatewayIP|setCursor|getOemKey|tuneWrite|noDisplay|loadImage|switchPIN|onRequest|onReceive|changePIN|playFile|noBuffer|parseInt|overflow|checkPIN|knobRead|beginTFT|bitClear|updateIR|bitWrite|position|writeRGB|highByte|writeRed|setSpeed|readBlue|noStroke|remoteIP|transfer|shutdown|hangCall|beginSMS|endWrite|attached|maintain|noCursor|checkReg|checkPUK|shiftOut|isValid|shiftIn|pulseIn|connect|println|localIP|pinMode|getIMEI|display|noBlink|process|getBand|running|beginSD|drawBMP|lowByte|setBand|release|bitRead|prepare|pointTo|readRed|setMode|noFill|remove|listen|stroke|detach|attach|noTone|exists|buffer|height|bitSet|circle|config|cursor|random|IRread|setDNS|endSMS|getKey|micros|millis|begin|print|write|ready|flush|width|isPIN|blink|clear|press|mkdir|rmdir|close|point|yield|image|BSSID|click|delay|read|text|move|peek|beep|rect|line|open|seek|fill|size|turn|stop|home|find|step|tone|sqrt|RSSI|SSID|end|bit|tan|cos|sin|pow|map|abs|max|min|get|run|put)\b/ , constant : /\b(?:DIGITAL_MESSAGE|FIRMATA_STRING|ANALOG_MESSAGE|REPORT_DIGITAL|REPORT_ANALOG|INPUT_PULLUP|SET_PIN_MODE|INTERNAL2V56|SYSTEM_RESET|LED_BUILTIN|INTERNAL1V1|SYSEX_START|INTERNAL|EXTERNAL|DEFAULT|OUTPUT|INPUT|HIGH|LOW)\b/ } ) ;
Prism . languages . cil = { comment : /\/\/.*/ , string : { pattern : /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 } , directive : { pattern : /(^|\W)\.[a-z]+(?=\s)/ , lookbehind : ! 0 , alias : "class-name" } , variable : /\[[\w\.]+\]/ , keyword : /\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|iant|idispatch|implements|import|initonly|instance|u?int(?:8|16|32|64)?|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/ , function : /\b(?:(?:constrained|unaligned|volatile|readonly|tail|no)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.[0-9]+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.[0-9]+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|ldvirtftn|castclass|beq(?:\.s)?|mkrefany|localloc|ckfinite|rethrow|ldtoken|ldsflda|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stloc|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|clt|cgt|ceq|box|and|or|br)\b/ , boolean : /\b(?:true|false)\b/ , number : /\b-?(?:0x[0-9a-fA-F]+|[0-9]+)(?:\.[0-9a-fA-F]+)?\b/i , punctuation : /[{}[\];(),:=]|IL_[0-9A-Za-z]+/ } ;
! function ( e ) { var t = /#(?!\{).+/ , n = { pattern : /#\{[^}]+\}/ , alias : "variable" } ; e . languages . coffeescript = e . languages . extend ( "javascript" , { comment : t , string : [ { pattern : /'(?:\\[\s\S]|[^\\'])*'/ , greedy : ! 0 } , { pattern : /"(?:\\[\s\S]|[^\\"])*"/ , greedy : ! 0 , inside : { interpolation : n } } ] , keyword : /\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/ , "class-member" : { pattern : /@(?!\d)\w+/ , alias : "variable" } } ) , e . languages . insertBefore ( "coffeescript" , "comment" , { "multiline-comment" : { pattern : /###[\s\S]+?###/ , alias : "comment" } , "block-regex" : { pattern : /\/{3}[\s\S]*?\/{3}/ , alias : "regex" , inside : { comment : t , interpolation : n } } } ) , e . languages . insertBefore ( "coffeescript" , "string" , { "inline-javascript" : { pattern : /`(?:\\[\s\S]|[^\\`])*`/ , inside : { delimiter : { pattern : /^`|`$/ , alias : "punctuation" } , rest : e . languages . javascript } } , "multiline-string" : [ { pattern : /'''[\s\S]*?'''/ , greedy : ! 0 , alias : "string" } , { pattern : /"""[\s\S]*?"""/ , greedy : ! 0 , alias : "string" , inside : { interpolation : n } } ] } ) , e . languages . insertBefore ( "coffeescript" , "keyword" , { property : /(?!\d)\w+(?=\s*:(?!:))/ } ) , delete e . languages . coffeescript [ "template-string" ] , e . languages . coffee = e . languages . coffeescript } ( Prism ) ;
Prism . languages . cmake = { comment : /#.*/ , string : { pattern : /"(?:[^\\"]|\\.)*"/ , greedy : ! 0 , inside : { interpolation : { pattern : /\${(?:[^{}$]|\${[^{}$]*})*}/ , inside : { punctuation : /\${|}/ , variable : /\w+/ } } } } , variable : /\b(?:CMAKE_\w+|\w+_(?:VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?|(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT)|(?:CTEST_CUSTOM_(?:MAXIMUM_(?:(?:FAIL|PASS)ED_TEST_OUTPUT_SIZE|NUMBER_OF_(?:ERROR|WARNING)S)|ERROR_(?:P(?:OST|RE)_CONTEXT|EXCEPTION|MATCH)|P(?:OST|RE)_MEMCHECK|WARNING_(?:EXCEPTION|MATCH)|(?:MEMCHECK|TESTS)_IGNORE|P(?:OST|RE)_TEST|COVERAGE_EXCLUDE)|ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/ , property : / \ b ( ? : c x x _ \ w + | ( ? : A R C H I V E _ O U T P U T _ ( ? : D I R E C T O R Y | N A M E ) | C O M P I L E _ D E F I N I T I O N S | C O M P I L E _ P D B _ N A M E | C O M P I L E _ P D B _ O U T P U T _ D I R E C T O R Y | E X C L U D E _ F R O M _ D E F A U L T _ B U I L D | I M P O R T E D _ ( ? : I M P L I B | L I B N A M E | L I N K _ D E P E N D E N T _ L I B R A R I E S | L I N K _ I N T E R F A C E _ L A N G U A G E S | L I N K _ I N T E R F A C E _ L I B R A R I E S | L I N K _ I N T E R F A C E _ M U L T I P L I C I T Y | L O C A T I O N | N O _ S O N A M E | O B J E C T S | S O N A M E ) | I N T E R P R O C E D U R A L _ O P T I M I Z A T I O N | L I B R A R Y _ O U T P U T _ D I R E C T O R Y | L I B R A R Y _ O U T P U T _ N A M E | L I N K _ F L A G S | L I N K _ I N T E R F A C E _ L I B R A R I E S | L I N K _ I N T E R F A C E _ M U L T I P L I C I T Y | L O C A T I O N | M A P _ I M P O R T E D _ C O N F I G | O S X _ A R C H I T E C T U R E S | O U T P U T _ N A M E | P D B _ N A M E | P D B _ O U T P U T _ D I R E C T O R Y | R U N T I M E _ O U T P U T _ D I R E C T O R Y | R U N T I M E _ O U T P U T _ N A M E | S T A T I C _ L I B R A R Y _ F L A G S | V S _ C S H A R P | V S _ D O T N E T _ R E F E R E N C E P R O P | V S _ D O T N E T _ R E F E R E N C E | V S _ G L O B A L _ S E C T I O N _ P O S T | V S _ G L O B A L _ S E C T I O N _ P R E | V S _ G L O B A L | X C O D E _ A T T R I B U T E ) _ \ w + | \ w + _ ( ? : C L A N G _ T I D Y | C O M P I L E R _ L A U N C H E R | C P P C H E C K | C P P L I N T | I N C L U D E _ W H A T _ Y O U _ U S E | O U T P U T _ N A M E | P O S T F I X | V I S I B I L I T Y _ P R E S E T ) | A B S T R A C T | A D D I T I O N A L _ M A K E _ C L E A N _ F I L E S | A D V A N C E D | A L I A S E D _ T A R G E T | A L L O W _ D U P L I C A T E _ C U S T O M _ T A R G E T S | A N D R O I D _ ( ? : A N T _ A D D I T I O N A L _ O P T I O N S | A P I | A P I _ M I N | A R C H | A S S E T S _ D I R E C T O R I E S | G U I | J A R _ D E P E N D E N C I E S | N A T I V E _ L I B _ D E P E N D E N C I E S | N A T I V E _ L I B _ D I R E C T O R I E S | P R O C E S S _ M A X | P R O G U A R D | P R O G U A R D _ C O N F I G _ P A T H | S E C U R E _ P R O P S _ P A T H | S K I P _ A N T _ S T E P | S T L _ T Y P E ) | A R C H I V E _ O U T P U T _ D I R E C T O R Y | A R C H I V E _ O U T P U T _ N A M E | A T T A C H E D _ F I L E S | A T T A C H E D _ F I L E S _ O N _ F A I L | A U T O G E N _ ( ? : B U I L D _ D I R | O R I G I N _ D E P E N D S | P A R A L L E L | S O U R C E _ G R O U P | T A R G E T S _ F O L D E R | T A R G E T _ D E P E N D S ) | A U T O M O C | A U T O M O C _ ( ? : C O M P I L E R _ P R E D E F I N E S | D E P E N D _ F I L T E R S | E X E C U T A B L E | M A C R O _ N A M E S | M O C _ O P T I O N S | S O U R C E _ G R O U P | T A R G E T S _ F O L D E R ) | A U T O R C C | A U T O R C C _ E X E C U T A B L E | A U T O R C C _ O P T I O N S | A U T O R C C _ S O U R C E _ G R O U P | A U T O U I C | A U T O U I C _ E X E C U T A B L E | A U T O U I C _ O P T I O N S | A U T O U I C _ S E A R C H _ P A T H S | B I N A R Y _ D I R | B U I L D S Y S T E M _ T A R G E T S | B U I L D _ R P A T H | B U I L D _ R P A T H _ U S E _ O R I G I N | B U I L D _ W I T H _ I N S T A L L _ N A M E _ D I R | B U I L D _ W I T H _ I N S T A L L _ R P A T H | B U N D L E | B U N D L E _ E X T E N S I O N | C A C H E _ V A R I A B L E S | C L E A N _ N O _ C U S T O M | C O M M O
Prism . languages . clojure = { comment : /;+.*/ , string : { pattern : /"(?:[^"\\]|\\.)*"/ , greedy : ! 0 } , operator : /(?:::|[:|'])\b[a-z][\w*+!?-]*\b/i , keyword : { pattern : /([^\w+*'?-])(?:def|if|do|let|\.\.|quote|var|->>|->|fn|loop|recur|throw|try|monitor-enter|\.|new|set!|def\-|defn|defn\-|defmacro|defmulti|defmethod|defstruct|defonce|declare|definline|definterface|defprotocol|==|defrecord|>=|deftype|<=|defproject|ns|\*|\+|\-|\/|<|=|>|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|conj|cons|constantly|cond|if-not|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|deref|difference|disj|dissoc|distinct|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|for|fnseq|frest|gensym|get-proxy-class|get|hash-map|hash-set|identical\?|identity|if-let|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|line-seq|list\*|list|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|time|to-array|to-array-2d|tree-seq|true\?|union|up|update-proxy|val|vals|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[^\w+*'?-])/ , lookbehind : ! 0 } , boolean : /\b(?:true|false|nil)\b/ , number : /\b[0-9A-Fa-f]+\b/ , punctuation : /[{}\[\](),]/ } ;
! function ( e ) { e . languages . ruby = e . languages . extend ( "clike" , { comment : [ /#.*/ , { pattern : /^=begin\s[\s\S]*?^=end/m , greedy : ! 0 } ] , keyword : /\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|false|for|if|in|module|new|next|nil|not|or|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|true|undef|unless|until|when|while|yield)\b/ } ) ; var n = { pattern : /#\{[^}]+\}/ , inside : { delimiter : { pattern : /^#\{|\}$/ , alias : "tag" } , rest : e . languages . ruby } } ; delete e . languages . ruby . function , e . languages . insertBefore ( "ruby" , "keyword" , { regex : [ { pattern : /%r([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1[gim]{0,3}/ , greedy : ! 0 , inside : { interpolation : n } } , { pattern : /%r\((?:[^()\\]|\\[\s\S])*\)[gim]{0,3}/ , greedy : ! 0 , inside : { interpolation : n } } , { pattern : /%r\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}[gim]{0,3}/ , greedy : ! 0 , inside : { interpolation : n } } , { pattern : /%r\[(?:[^\[\]\\]|\\[\s\S])*\][gim]{0,3}/ , greedy : ! 0 , inside : { interpolation : n } } , { pattern : /%r<(?:[^<>\\]|\\[\s\S])*>[gim]{0,3}/ , greedy : ! 0 , inside : { interpolation : n } } , { pattern : /(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\\\r\n])+\/[gim]{0,3}(?=\s*($|[\r\n,.;})]))/ , lookbehind : ! 0 , greedy : ! 0 } ] , variable : /[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/ , symbol : { pattern : /(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/ , lookbehind : ! 0 } , "method-definition" : { pattern : /(\bdef\s+)[\w.]+/ , lookbehind : ! 0 , inside : { function : /\w+$/ , rest : e . languages . ruby } } } ) , e . languages . insertBefore ( "ruby" , "number" , { builtin : /\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/ , constant : /\b[A-Z]\w*(?:[?!]|\b)/ } ) , e . languages . ruby . string = [ { pattern : /%[qQiIwWxs]?([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/ , greedy : ! 0 , inside : { interpolation : n } } , { pattern : /%[qQiIwWxs]?\((?:[^()\\]|\\[\s\S])*\)/ , greedy : ! 0 , inside : { interpolation : n } } , { pattern : /%[qQiIwWxs]?\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/ , greedy : ! 0 , inside : { interpolation : n } } , { pattern : /%[qQiIwWxs]?\[(?:[^\[\]\\]|\\[\s\S])*\]/ , greedy : ! 0 , inside : { interpolation : n } } , { pattern : /%[qQiIwWxs]?<(?:[^<>\\]|\\[\s\S])*>/ , greedy : ! 0 , inside : { interpolation : n } } , { pattern : /("|')(?:#\{[^}]+\}|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 , inside : { interpolation : n } } ] , e . languages . rb = e . languages . ruby } ( Prism ) ;
Prism . languages . csp = { directive : { pattern : /\b(?:(?:base-uri|form-action|frame-ancestors|plugin-types|referrer|reflected-xss|report-to|report-uri|require-sri-for|sandbox) |(?:block-all-mixed-content|disown-opener|upgrade-insecure-requests)(?: |;)|(?:child|connect|default|font|frame|img|manifest|media|object|script|style|worker)-src )/i , alias : "keyword" } , safe : { pattern : /'(?:self|none|strict-dynamic|(?:nonce-|sha(?:256|384|512)-)[a-zA-Z\d+=/]+)'/ , alias : "selector" } , unsafe : { pattern : /(?:'unsafe-inline'|'unsafe-eval'|'unsafe-hashed-attributes'|\*)/ , alias : "function" } } ;
! function ( e ) { e . languages . css . selector = { pattern : e . languages . css . selector , inside : { "pseudo-element" : /:(?:after|before|first-letter|first-line|selection)|::[-\w]+/ , "pseudo-class" : /:[-\w]+/ , class : /\.[-:.\w]+/ , id : /#[-:.\w]+/ , attribute : { pattern : /\[(?:[^[\]"']|("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1)*\]/ , greedy : ! 0 , inside : { punctuation : /^\[|\]$/ , "case-sensitivity" : { pattern : /(\s)[si]$/i , lookbehind : ! 0 , alias : "keyword" } , namespace : { pattern : /^(\s*)[-*\w\xA0-\uFFFF]*\|(?!=)/ , lookbehind : ! 0 , inside : { punctuation : /\|$/ } } , attribute : { pattern : /^(\s*)[-\w\xA0-\uFFFF]+/ , lookbehind : ! 0 } , value : [ /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/ , { pattern : /(=\s*)[-\w\xA0-\uFFFF]+(?=\s*$)/ , lookbehind : ! 0 } ] , operator : /[|~*^$]?=/ } } , "n-th" : [ { pattern : /(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/ , lookbehind : ! 0 , inside : { number : /[\dn]+/ , operator : /[+-]/ } } , { pattern : /(\(\s*)(?:even|odd)(?=\s*\))/i , lookbehind : ! 0 } ] , punctuation : /[()]/ } } , e . languages . insertBefore ( "css" , "property" , { variable : { pattern : /(^|[^-\w\xA0-\uFFFF])--[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*/i , lookbehind : ! 0 } } ) ; var a = { pattern : /(\d)(?:%|[a-z]+)/ , lookbehind : ! 0 } , n = { pattern : /(^|[^\w.-])-?\d*\.?\d+/ , lookbehind : ! 0 } ; e . languages . insertBefore ( "css" , "function" , { operator : { pattern : /(\s)[+\-*\/](?=\s)/ , lookbehind : ! 0 } , hexcode : { pattern : /\B#(?:[\da-f]{1,2}){3,4}\b/i , alias : "color" } , color : [ /\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i , { pattern : /\b(?:rgb|hsl)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:rgb|hsl)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i , inside : { unit : a , number : n , function : /[\w-]+(?=\()/ , punctuation : /[(),]/ } } ] , entity : /\\[\da-f]{1,8}/i , unit : a , number : n } ) } ( Prism ) ;
Prism . languages . d = Prism . languages . extend ( "clike" , { comment : [ { pattern : /^\s*#!.+/ , greedy : ! 0 } , { pattern : RegExp ( "(^|[^\\\\])(?:" + [ "\\/\\+(?:\\/\\+[\\s\\S]*?\\+\\/|(?!\\/\\+)[\\s\\S])*?\\+\\/" , "\\/\\/.*" , "\\/\\*[\\s\\S]*?\\*\\/" ] . join ( "|" ) + ")" ) , lookbehind : ! 0 , greedy : ! 0 } ] , string : [ { pattern : RegExp ( [ '\\b[rx]"(?:\\\\[\\s\\S]|[^\\\\"])*"[cwd]?' , '\\bq"(?:\\[[\\s\\S]*?\\]|\\([\\s\\S]*?\\)|<[\\s\\S]*?>|\\{[\\s\\S]*?\\})"' , '\\bq"((?!\\d)\\w+)$[\\s\\S]*?^\\1"' , '\\bq"(.)[\\s\\S]*?\\2"' , "'(?:\\\\(?:\\W|\\w+)|[^\\\\])'" , '(["`])(?:\\\\[\\s\\S]|(?!\\3)[^\\\\])*\\3[cwd]?' ] . join ( "|" ) , "m" ) , greedy : ! 0 } , { pattern : /\bq\{(?:\{[^{}]*\}|[^{}])*\}/ , greedy : ! 0 , alias : "token-string" } ] , number : [ /\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]*/i , { pattern : /((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]*/i , lookbehind : ! 0 } ] , keyword : /\$|\b(?:abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|public|pure|real|ref|return|scope|shared|short|static|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|__(?:(?:FILE|MODULE|LINE|FUNCTION|PRETTY_FUNCTION|DATE|EOF|TIME|TIMESTAMP|VENDOR|VERSION)__|gshared|traits|vector|parameters)|string|wstring|dstring|size_t|ptrdiff_t)\b/ , operator : /\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/ } ) , Prism . languages . insertBefore ( "d" , "keyword" , { property : /\B@\w*/ } ) , Prism . languages . insertBefore ( "d" , "function" , { register : { pattern : /\b(?:[ABCD][LHX]|E[ABCD]X|E?(?:BP|SP|DI|SI)|[ECSDGF]S|CR[0234]|DR[012367]|TR[3-7]|X?MM[0-7]|R[ABCD]X|[BS]PL|R[BS]P|[DS]IL|R[DS]I|R(?:[89]|1[0-5])[BWD]?|XMM(?:[89]|1[0-5])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/ , alias : "variable" } } ) ;
Prism . languages . dart = Prism . languages . extend ( "clike" , { string : [ { pattern : /r?("""|''')[\s\S]*?\1/ , greedy : ! 0 } , { pattern : /r?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 } ] , keyword : [ /\b(?:async|sync|yield)\*/ , /\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|default|deferred|do|dynamic|else|enum|export|external|extends|factory|final|finally|for|get|if|implements|import|in|library|new|null|operator|part|rethrow|return|set|static|super|switch|this|throw|try|typedef|var|void|while|with|yield)\b/ ] , operator : /\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/ } ) , Prism . languages . insertBefore ( "dart" , "function" , { metadata : { pattern : /@\w+/ , alias : "symbol" } } ) ;
! function ( d ) { d . languages . diff = { coord : [ /^(?:\*{3}|-{3}|\+{3}).*$/m , /^@@.*@@$/m , /^\d+.*$/m ] } ; var r = { "deleted-sign" : "-" , "deleted-arrow" : "<" , "inserted-sign" : "+" , "inserted-arrow" : ">" , unchanged : " " , diff : "!" } ; Object . keys ( r ) . forEach ( function ( e ) { var n = r [ e ] , a = [ ] ; /^\w+$/ . test ( e ) || a . push ( /\w+/ . exec ( e ) [ 0 ] ) , "diff" === e && a . push ( "bold" ) , d . languages . diff [ e ] = { pattern : RegExp ( "^(?:[" + n + "].*(?:\r\n?|\n|(?![\\s\\S])))+" , "m" ) , alias : a } } ) , Object . defineProperty ( d . languages . diff , "PREFIXES" , { value : r } ) } ( Prism ) ;
! function ( h ) { function v ( e , n ) { return "___" + e . toUpperCase ( ) + n + "___" } Object . defineProperties ( h . languages [ "markup-templating" ] = { } , { buildPlaceholders : { value : function ( a , r , e , o ) { if ( a . language === r ) { var c = a . tokenStack = [ ] ; a . code = a . code . replace ( e , function ( e ) { if ( "function" == typeof o && ! o ( e ) ) return e ; for ( var n , t = c . length ; - 1 !== a . code . indexOf ( n = v ( r , t ) ) ; ) ++ t ; return c [ t ] = e , n } ) , a . grammar = h . languages . markup } } } , tokenizePlaceholders : { value : function ( p , k ) { if ( p . language === k && p . tokenStack ) { p . grammar = h . languages [ k ] ; var m = 0 , d = Object . keys ( p . tokenStack ) ; ! function e ( n ) { for ( var t = 0 ; t < n . length && ! ( m >= d . length ) ; t ++ ) { var a = n [ t ] ; if ( "string" == typeof a || a . content && "string" == typeof a . content ) { var r = d [ m ] , o = p . tokenStack [ r ] , c = "string" == typeof a ? a : a . content , i = v ( k , r ) , u = c . indexOf ( i ) ; if ( - 1 < u ) { ++ m ; var g = c . substring ( 0 , u ) , l = new h . Token ( k , h . tokenize ( o , p . grammar ) , "language-" + k , o ) , s = c . substring ( u + i . length ) , f = [ ] ; g && f . push . apply ( f , e ( [ g ] ) ) , f . push ( l ) , s && f . push . apply ( f , e ( [ s ] ) ) , "string" == typeof a ? n . splice . apply ( n , [ t , 1 ] . concat ( f ) ) : a . content = f } } else a . content && e ( a . content ) } return n } ( p . tokens ) } } } } ) } ( Prism ) ;
Prism . languages [ "dns-zone-file" ] = { comment : /;.*/ , string : { pattern : /"(?:\\.|[^"\\\r\n])*"/ , greedy : ! 0 } , variable : [ { pattern : /(^\$ORIGIN[ \t]+)\S+/m , lookbehind : ! 0 } , { pattern : /(^|\s)@(?=\s|$)/ , lookbehind : ! 0 } ] , keyword : /^\$(?:ORIGIN|INCLUDE|TTL)(?=\s|$)/m , class : { pattern : /(^|\s)(?:IN|CH|CS|HS)(?=\s|$)/ , lookbehind : ! 0 , alias : "keyword" } , type : { pattern : /(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/ , lookbehind : ! 0 , alias : "keyword" } , punctuation : /[()]/ } , Prism . languages [ "dns-zone" ] = Prism . languages [ "dns-zone-file" ] ;
Prism . languages . docker = { keyword : { pattern : /(^\s*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)/im , lookbehind : ! 0 } , string : /("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/ , comment : /#.*/ , punctuation : /---|\.\.\.|[:[\]{}\-,|>?]/ } , Prism . languages . dockerfile = Prism . languages . docker ;
Prism . languages . ebnf = { comment : /\(\*[\s\S]*?\*\)/ , string : { pattern : /"[^"\r\n]*"|'[^'\r\n]*'/ , greedy : ! 0 } , special : { pattern : /\?[^?\r\n]*\?/ , greedy : ! 0 , alias : "class-name" } , definition : { pattern : /^(\s*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im , lookbehind : ! 0 , alias : [ "rule" , "keyword" ] } , rule : /[a-z]\w*(?:[ \t]+[a-z]\w*)*/i , punctuation : /\([:/]|[:/]\)|[.,;()[\]{}]/ , operator : /[-=|*/!]/ } ;
Prism . languages . eiffel = { comment : /--.*/ , string : [ { pattern : /"([^[]*)\[[\s\S]*?\]\1"/ , greedy : ! 0 } , { pattern : /"([^{]*)\{[\s\S]*?\}\1"/ , greedy : ! 0 } , { pattern : /"(?:%\s+%|%.|[^%"\r\n])*"/ , greedy : ! 0 } ] , char : /'(?:%.|[^%'\r\n])+'/ , keyword : /\b(?:across|agent|alias|all|and|attached|as|assign|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i , boolean : /\b(?:True|False)\b/i , "class-name" : { pattern : /\b[A-Z][\dA-Z_]*\b/ , alias : "builtin" } , number : [ /\b0[xcb][\da-f](?:_*[\da-f])*\b/i , /(?:\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*|\d(?:_*\d)*\.?/i ] , punctuation : /:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/ , operator : /\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/ } ;
! function ( a ) { a . languages . ejs = { delimiter : { pattern : /^<%[-_=]?|[-_]?%>$/ , alias : "punctuation" } , comment : /^#[\s\S]*/ , "language-javascript" : { pattern : /[\s\S]+/ , inside : a . languages . javascript } } , a . hooks . add ( "before-tokenize" , function ( e ) { a . languages [ "markup-templating" ] . buildPlaceholders ( e , "ejs" , /<%(?!%)[\s\S]+?%>/g ) } ) , a . hooks . add ( "after-tokenize" , function ( e ) { a . languages [ "markup-templating" ] . tokenizePlaceholders ( e , "ejs" ) } ) } ( Prism ) ;
Prism . languages . elixir = { comment : /#.*/m , regex : { pattern : /~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/ , greedy : ! 0 } , string : [ { pattern : /~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/ , greedy : ! 0 , inside : { } } , { pattern : /("""|''')[\s\S]*?\1/ , greedy : ! 0 , inside : { } } , { pattern : /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 , inside : { } } ] , atom : { pattern : /(^|[^:]):\w+/ , lookbehind : ! 0 , alias : "symbol" } , "attr-name" : /\w+:(?!:)/ , capture : { pattern : /(^|[^&])&(?:[^&\s\d()][^\s()]*|(?=\())/ , lookbehind : ! 0 , alias : "function" } , argument : { pattern : /(^|[^&])&\d+/ , lookbehind : ! 0 , alias : "variable" } , attribute : { pattern : /@\w+/ , alias : "variable" } , number : /\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i , keyword : /\b(?:after|alias|and|case|catch|cond|def(?:callback|exception|impl|module|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|require|rescue|try|unless|use|when)\b/ , boolean : /\b(?:true|false|nil)\b/ , operator : [ /\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/ , { pattern : /([^<])<(?!<)/ , lookbehind : ! 0 } , { pattern : /([^>])>(?!>)/ , lookbehind : ! 0 } ] , punctuation : /<<|>>|[.,%\[\]{}()]/ } , Prism . languages . elixir . string . forEach ( function ( e ) { e . inside = { interpolation : { pattern : /#\{[^}]+\}/ , inside : { delimiter : { pattern : /^#\{|\}$/ , alias : "punctuation" } , rest : Prism . languages . elixir } } } } ) ;
Prism . languages . elm = { comment : /--.*|{-[\s\S]*?-}/ , char : { pattern : /'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+))'/ , greedy : ! 0 } , string : [ { pattern : /"""[\s\S]*?"""/ , greedy : ! 0 } , { pattern : /"(?:[^\\"\r\n]|\\(?:[abfnrtv\\"]|\d+|x[0-9a-fA-F]+))*"/ , greedy : ! 0 } ] , import _statement : { pattern : /^\s*import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+([A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m , inside : { keyword : /\b(?:import|as|exposing)\b/ } } , keyword : /\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/ , builtin : /\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/ , number : /\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i , operator : /\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/ , hvariable : /\b(?:[A-Z]\w*\.)*[a-z]\w*\b/ , constant : /\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/ , punctuation : /[{}[\]|(),.:]/ } ;
! function ( n ) { n . languages . erb = n . languages . extend ( "ruby" , { } ) , n . languages . insertBefore ( "erb" , "comment" , { delimiter : { pattern : /^<%=?|%>$/ , alias : "punctuation" } } ) , n . hooks . add ( "before-tokenize" , function ( e ) { n . languages [ "markup-templating" ] . buildPlaceholders ( e , "erb" , /<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s[\s\S]*?^=end)+?%>/gm ) } ) , n . hooks . add ( "after-tokenize" , function ( e ) { n . languages [ "markup-templating" ] . tokenizePlaceholders ( e , "erb" ) } ) } ( Prism ) ;
Prism . languages . erlang = { comment : /%.+/ , string : { pattern : /"(?:\\.|[^\\"\r\n])*"/ , greedy : ! 0 } , "quoted-function" : { pattern : /'(?:\\.|[^\\'\r\n])+'(?=\()/ , alias : "function" } , "quoted-atom" : { pattern : /'(?:\\.|[^\\'\r\n])+'/ , alias : "atom" } , boolean : /\b(?:true|false)\b/ , keyword : /\b(?:fun|when|case|of|end|if|receive|after|try|catch)\b/ , number : [ /\$\\?./ , /\d+#[a-z0-9]+/i , /(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i ] , function : /\b[a-z][\w@]*(?=\()/ , variable : { pattern : /(^|[^@])(?:\b|\?)[A-Z_][\w@]*/ , lookbehind : ! 0 } , operator : [ /[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:bnot|div|rem|band|bor|bxor|bsl|bsr|not|and|or|xor|orelse|andalso)\b/ , { pattern : /(^|[^<])<(?!<)/ , lookbehind : ! 0 } , { pattern : /(^|[^>])>(?!>)/ , lookbehind : ! 0 } ] , atom : /\b[a-z][\w@]*/ , punctuation : /[()[\]{}:;,.#|]|<<|>>/ } ;
Prism . languages . fsharp = Prism . languages . extend ( "clike" , { comment : [ { pattern : /(^|[^\\])\(\*[\s\S]*?\*\)/ , lookbehind : ! 0 } , { pattern : /(^|[^\\:])\/\/.*/ , lookbehind : ! 0 } ] , string : { pattern : /(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?|'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/ , greedy : ! 0 } , "class-name" : { pattern : /(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/ , lookbehind : ! 0 , inside : { operator : /->|\*/ , punctuation : /\./ } } , keyword : /\b(?:let|return|use|yield)(?:!\B|\b)|\b(abstract|and|as|assert|base|begin|class|default|delegate|do|done|downcast|downto|elif|else|end|exception|extern|false|finally|for|fun|function|global|if|in|inherit|inline|interface|internal|lazy|match|member|module|mutable|namespace|new|not|null|of|open|or|override|private|public|rec|select|static|struct|then|to|true|try|type|upcast|val|void|when|while|with|asr|land|lor|lsl|lsr|lxor|mod|sig|atomic|break|checked|component|const|constraint|constructor|continue|eager|event|external|fixed|functor|include|method|mixin|object|parallel|process|protected|pure|sealed|tailcall|trait|virtual|volatile)\b/ , number : [ /\b0x[\da-fA-F]+(?:un|lf|LF)?\b/ , /\b0b[01]+(?:y|uy)?\b/ , /(?:\b\d+\.?\d*|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i , /\b\d+(?:[IlLsy]|u[lsy]?|UL)?\b/ ] , operator : /([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/ } ) , Prism . languages . insertBefore ( "fsharp" , "keyword" , { preprocessor : { pattern : /^[^\r\n\S]*#.*/m , alias : "property" , inside : { directive : { pattern : /(\s*#)\b(?:else|endif|if|light|line|nowarn)\b/ , lookbehind : ! 0 , alias : "keyword" } } } } ) , Prism . languages . insertBefore ( "fsharp" , "punctuation" , { "computation-expression" : { pattern : /[_a-z]\w*(?=\s*\{)/i , alias : "keyword" } } ) , Prism . languages . insertBefore ( "fsharp" , "string" , { annotation : { pattern : /\[<.+?>\]/ , inside : { punctuation : /^\[<|>\]$/ , "class-name" : { pattern : /^\w+$|(^|;\s*)[A-Z]\w*(?=\()/ , lookbehind : ! 0 } , "annotation-content" : { pattern : /[\s\S]+/ , inside : Prism . languages . fsharp } } } } ) ;
Prism . languages [ "firestore-security-rules" ] = Prism . languages . extend ( "clike" , { comment : /\/\/.*/ , keyword : /\b(?:allow|function|if|match|null|return|rules_version|service)\b/ , operator : /&&|\|\||[<>!=]=?|[-+*/%=]|\b(?:in|is)\b/ } ) , delete Prism . languages [ "firestore-security-rules" ] [ "class-name" ] , Prism . languages . insertBefore ( "firestore-security-rules" , "keyword" , { path : { pattern : /(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/ , lookbehind : ! 0 , greedy : ! 0 , inside : { variable : { pattern : /\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/ , inside : { operator : /=/ , keyword : /\*\*/ , punctuation : /[.$(){}]/ } } , punctuation : /[/]/ } } , method : { pattern : /(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/ , lookbehind : ! 0 , alias : "builtin" , inside : { punctuation : /,/ } } } ) ;
! function ( a ) { a . languages . flow = a . languages . extend ( "javascript" , { } ) , a . languages . insertBefore ( "flow" , "keyword" , { type : [ { pattern : /\b(?:[Nn]umber|[Ss]tring|[Bb]oolean|Function|any|mixed|null|void)\b/ , alias : "tag" } ] } ) , a . languages . flow [ "function-variable" ] . pattern = /[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/i , delete a . languages . flow . parameter , a . languages . insertBefore ( "flow" , "operator" , { "flow-punctuation" : { pattern : /\{\||\|\}/ , alias : "punctuation" } } ) , Array . isArray ( a . languages . flow . keyword ) || ( a . languages . flow . keyword = [ a . languages . flow . keyword ] ) , a . languages . flow . keyword . unshift ( { pattern : /(^|[^$]\b)(?:type|opaque|declare|Class)\b(?!\$)/ , lookbehind : ! 0 } , { pattern : /(^|[^$]\B)\$(?:await|Diff|Exact|Keys|ObjMap|PropertyType|Shape|Record|Supertype|Subtype|Enum)\b(?!\$)/ , lookbehind : ! 0 } ) } ( Prism ) ;
Prism . languages . fortran = { "quoted-number" : { pattern : /[BOZ](['"])[A-F0-9]+\1/i , alias : "number" } , string : { pattern : /(?:\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:\s*!.+(?:\r\n?|\n))?|(?!\1).)*(?:\1|&)/ , inside : { comment : { pattern : /(&(?:\r\n?|\n)\s*)!.*/ , lookbehind : ! 0 } } } , comment : { pattern : /!.*/ , greedy : ! 0 } , boolean : /\.(?:TRUE|FALSE)\.(?:_\w+)?/i , number : /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i , keyword : [ /\b(?:INTEGER|REAL|DOUBLE ?PRECISION|COMPLEX|CHARACTER|LOGICAL)\b/i , /\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i , /\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i , /\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEWHERE|ELSEIF|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i ] , operator : [ /\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.(?:EQ|NE|LT|LE|GT|GE|NOT|AND|OR|EQV|NEQV)\.|\.[A-Z]+\./i , { pattern : /(^|(?!\().)\/(?!\))/ , lookbehind : ! 0 } ] , punctuation : /\(\/|\/\)|[(),;:&]/ } ;
Prism . languages . gcode = { comment : /;.*|\B\(.*?\)\B/ , string : { pattern : /"(?:""|[^"])*"/ , greedy : ! 0 } , keyword : /\b[GM]\d+(?:\.\d+)?\b/ , property : /\b[A-Z]/ , checksum : { pattern : /\*\d+/ , alias : "punctuation" } , punctuation : /:/ } ;
Prism . languages . gdscript = { comment : /#.*/ , string : { pattern : /@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/ , greedy : ! 0 } , "class-name" : { pattern : /(^(?:class_name|class|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m , lookbehind : ! 0 } , keyword : /\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/ , function : /[a-z_]\w*(?=[ \t]*\()/i , variable : /\$\w+/ , number : [ /\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/ , /\b(?:INF|NAN|PI|TAU)\b/ ] , constant : /\b[A-Z][A-Z_\d]*\b/ , boolean : /\b(?:false|true)\b/ , operator : /->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/ , punctuation : /[.:,;()[\]{}]/ } ;
Prism . languages . gedcom = { "line-value" : { pattern : /(^\s*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ +).+/m , lookbehind : ! 0 , inside : { pointer : { pattern : /^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/ , alias : "variable" } } } , tag : { pattern : /(^\s*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m , lookbehind : ! 0 , alias : "string" } , level : { pattern : /(^\s*)\d+/m , lookbehind : ! 0 , alias : "number" } , pointer : { pattern : /@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/ , alias : "variable" } } ;
Prism . languages . gherkin = { pystring : { pattern : /("""|''')[\s\S]+?\1/ , alias : "string" } , comment : { pattern : /((?:^|\r?\n|\r)[ \t]*)#.*/ , lookbehind : ! 0 } , tag : { pattern : /((?:^|\r?\n|\r)[ \t]*)@\S*/ , lookbehind : ! 0 } , feature : { pattern : /((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|laH|Lastnost|Mak|Mogucnost|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|perbogh|poQbogh malja'|Potrzeba biznesowa|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:]+(?:\r?\n|\r|$))*/ , lookbehind : ! 0 , inside : { important : { pattern : /(:)[^\r\n]+/ , lookbehind : ! 0 } , keyword : /[^:\r\n]+:/ } } , scenario : { pattern : / ( ( ? : ^ | \ r ? \ n | \ r ) [ \ t ] * ) ( ? : A b s t r a c t S c e n a r i o | A b s t r a k t S c e n a r i o | A c h t e r g r o n d | A e r | Æ r | A g t e r g r o n d | A l l y ' a l l | A n t e c e d e n t e s | A n t e c e d e n t s | A t b u r ð a r á s | A t b u r ð a r á s i r | A w w w , l o o k m a t e | B 4 | B a c k g r o u n d | B a g g r u n d | B a k g r u n d | B a k g r u n n | B a k g r u n n u r | B e i s p i e l e | B e i s p i l l e r | B ố i c ả n h | C e f n d i r | C e n a r i o | C e n á r i o | C e n a r i o d e F u n d o | C e n á r i o d e F u n d o | C e n a r i o s | C e n á r i o s | C o n t e s t o | C o n t e x t | C o n t e x t e | C o n t e x t o | C o n t o | C o n t o h | C o n t o n e | D æ m i | D a s a r | D e a d m e n t e l l n o t a l e s | D e l i n e a c a o d o C e n a r i o | D e l i n e a ç ã o d o C e n á r i o | D i s i s w h a t w e n t d o w n | D ữ l i ệ u | D y a g r a m s e n a r y o | D y a g r a m S e n a r y o | E g z a n p | E j e m p l o s | E k s e m p l e r | E k z e m p l o j | E n g h r e i f f t i a u | E s b o z o d o e s c e n a r i o | E s c e n a r i | E s c e n a r i o | E s e m p i | E s q u e m a d e l ' e s c e n a r i | E s q u e m a d e l e s c e n a r i o | E s q u e m a d o C e n a r i o | E s q u e m a d o C e n á r i o | E x a m p l e s | E X A M P L Z | E x e m p e l | E x e m p l e | E x e m p l e s | E x e m p l o s | F i r s t o f f | F o n o | F o r g a t ó k ö n y v | F o r g a t ó k ö n y v v á z l a t | F u n d o | G e ç m i ş | g h a n t o H | G r u n d l a g e | H a n n e r g r o n d | H á t t é r | H e a v e t o | I s t o r i k | J u h t u m i d | K e a d a a n | K h u n g k ị c h b ả n | K h u n g t ì n h h u ố n g | K ị c h b ả n | K o n c e p t | K o n s e p s k e n a r i o | K o n t è k s | K o n t e k s t | K o n t e k s t a s | K o n t e k s t s | K o n t e x t | K o n t u r o d e l a s c e n a r o | L a t a r B e l a k a n g | l u t | l u t c h o v n a t l h | l u t m e y | L ý s i n g A t b u r ð a r á s a r | L ý s i n g D æ m a | M e n g g a r i s k a n S e n a r i o | M I S H U N | M I S H U N S R S L Y | m o ' | N á č r t S c e n á r a | N á č r t S c é n á ř e | N á č r t S c e n á r u | O r i s s c e n a r i j a | Ö r n e k l e r | O s n o v a | O s n o v a S c e n á r a | O s n o v a s c é n á ř e | O s n u t e k | O z a d j e | P a r a u g s | P a v y z d ž i a i | P é l d á k | P i e m ē r i | P l a n d u s c é n a r i o | P l a n d u S c é n a r i o | P l a n s e n a r y o | P l a n S e n a r y o | P l a n g v u m S z e n a r i o | P o z a d í | P o z a d i e | P o z a d i n a | P r í k l a d y | P ř í k l a d y | P r i m e r | P r i m e r i | P r i m j e r i | P r z y k ł a d y | R a a m s t s e n a a r i u m | R e c k o n i t ' s l i k e | R e r e f o n s | S c e n á r | S c é n á ř | S c e n a r i e | S c e n a r i j | S c e n a r i j a i | S c e n a r i j a u s š a b l o n a s | S c e n a r i j i | S c e n ā r i j s | S c e n ā r i j s p ē c p a r a u g a | S c e n a r i j u s | S c e n a r i o | S c é n a r i o | S c e n a r i o A m l i n e l l o l | S c e n a r i o O u t l i n e | S c e n a r i o T e m p l a t e | S c e n a r i o m a l | S c e n a r i o m a l l | S c e n a r i o s | S c e n a r i u | S c e n a r i u s z | S c e n a r o | S c h e m a d e l l o s c e n a r i o | S e ð e | S e t h e | S e þ e | S e n a r i o | S e n a r y o | S e n a r y o d e s k r i p s y o n | S e n a r y o D e s k r i p s y o n | S e n a r y o t a s l a ğ ı | S h i v e r m e t i m b e r s | S i t u ā c i j a | S i t u a i | S i t u a s i e | S i t u a s i e U i t e e n s e t t i n g | S k e n a r i o | S k e n a r i o k o n s e p | S k i c a | S t r u c t u r a s c e n a r i u | S t r u c t u r ă s c e n a r i u | S t r u k t u r a s c e n a r i j a | S t s e n a a r i u m | S w a | S w a h w a e r s w a | S w a h w æ r s w a | S z a b l o n s c e n a r i u s z a | S z e n a r i o | S z e n a r i o g r u n d r i s s | T a p a u k s e t | T a p a u s | T a p a u s a i h i o | T a u s t | T a u s t a | T e m p l a t e K e a d a a n | T e m p l a t e S e n a r i o | T e m p l a t e S i t u a i | T h e t h i n g o f i t i s | T ì n h h u ố n g | V a r i a n t a i | V o o r b e e l d e | V o o r b e e l d e n | W h a r r i m e a n i s | Y o \ - h o \ - h o | Y o u ' l l w a n n a | Z a ł o ż e n i a | Π α ρ α δ ε ί γ μ α τ α | Π ε ρ <EFBFBD>
Prism . languages . git = { comment : /^#.*/m , deleted : /^[-– ].*/m , inserted : /^\+.*/m , string : /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/m , command : { pattern : /^.*\$ git .*$/m , inside : { parameter : /\s--?\w+/m } } , coord : /^@@.*@@$/m , commit _sha1 : /^commit \w{40}$/m } ;
Prism . languages . glsl = Prism . languages . extend ( "clike" , { comment : [ /\/\*[\s\S]*?\*\// , /\/\/(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/ ] , number : /(?:\b0x[\da-f]+|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?)[ulf]*/i , keyword : /\b(?:attribute|const|uniform|varying|buffer|shared|coherent|volatile|restrict|readonly|writeonly|atomic_uint|layout|centroid|flat|smooth|noperspective|patch|sample|break|continue|do|for|while|switch|case|default|if|else|subroutine|in|out|inout|float|double|int|void|bool|true|false|invariant|precise|discard|return|d?mat[234](?:x[234])?|[ibdu]?vec[234]|uint|lowp|mediump|highp|precision|[iu]?sampler[123]D|[iu]?samplerCube|sampler[12]DShadow|samplerCubeShadow|[iu]?sampler[12]DArray|sampler[12]DArrayShadow|[iu]?sampler2DRect|sampler2DRectShadow|[iu]?samplerBuffer|[iu]?sampler2DMS(?:Array)?|[iu]?samplerCubeArray|samplerCubeArrayShadow|[iu]?image[123]D|[iu]?image2DRect|[iu]?imageCube|[iu]?imageBuffer|[iu]?image[12]DArray|[iu]?imageCubeArray|[iu]?image2DMS(?:Array)?|struct|common|partition|active|asm|class|union|enum|typedef|template|this|resource|goto|inline|noinline|public|static|extern|external|interface|long|short|half|fixed|unsigned|superp|input|output|hvec[234]|fvec[234]|sampler3DRect|filter|sizeof|cast|namespace|using)\b/ } ) , Prism . languages . insertBefore ( "glsl" , "comment" , { preprocessor : { pattern : /(^[ \t]*)#(?:(?:define|undef|if|ifdef|ifndef|else|elif|endif|error|pragma|extension|version|line)\b)?/m , lookbehind : ! 0 , alias : "builtin" } } ) ;
Prism . languages . gamemakerlanguage = Prism . languages . gml = Prism . languages . extend ( "clike" , { number : /(?:\b0x[\da-f]+|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?)[ulf]*/i , keyword : /\b(?:if|else|switch|case|default|break|for|repeat|while|do|until|continue|exit|return|globalvar|var|enum)\b/ , operator : /[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:or|and|not|with|at|xor|not)\b/ , constant : / \ b ( s e l f | o t h e r | a l l | n o o n e | g l o b a l | l o c a l | u n d e f i n e d | p o i n t e r _ ( ? : i n v a l i d | n u l l ) | a c t i o n _ ( ? : s t o p | r e s t a r t | c o n t i n u e | r e v e r s e ) | p i | G M _ b u i l d _ d a t e | G M _ v e r s i o n | t i m e z o n e _ ( ? : l o c a l | u t c ) | g a m e s p e e d _ ( ? : f p s | m i c r o s e c o n d s ) | e v _ ( ? : c r e a t e | d e s t r o y | s t e p | a l a r m | k e y b o a r d | m o u s e | c o l l i s i o n | o t h e r | d r a w | d r a w _ ( ? : b e g i n | e n d | p r e | p o s t ) | k e y p r e s s | k e y r e l e a s e | t r i g g e r | ( ? : l e f t | r i g h t | m i d d l e | n o ) _ b u t t o n | ( ? : l e f t | r i g h t | m i d d l e ) _ p r e s s | ( ? : l e f t | r i g h t | m i d d l e ) _ r e l e a s e | m o u s e _ ( ? : e n t e r | l e a v e | w h e e l _ u p | w h e e l _ d o w n ) | g l o b a l _ ( ? : l e f t | r i g h t | m i d d l e ) _ b u t t o n | g l o b a l _ ( ? : l e f t | r i g h t | m i d d l e ) _ p r e s s | g l o b a l _ ( ? : l e f t | r i g h t | m i d d l e ) _ r e l e a s e | j o y s t i c k ( ? : 1 | 2 ) _ ( ? : l e f t | r i g h t | u p | d o w n | b u t t o n 1 | b u t t o n 2 | b u t t o n 3 | b u t t o n 4 | b u t t o n 5 | b u t t o n 6 | b u t t o n 7 | b u t t o n 8 ) | o u t s i d e | b o u n d a r y | g a m e _ s t a r t | g a m e _ e n d | r o o m _ s t a r t | r o o m _ e n d | n o _ m o r e _ l i v e s | a n i m a t i o n _ e n d | e n d _ o f _ p a t h | n o _ m o r e _ h e a l t h | u s e r \ d | s t e p _ ( ? : n o r m a l | b e g i n | e n d ) | g u i | g u i _ b e g i n | g u i _ e n d ) | v k _ ( ? : n o k e y | a n y k e y | e n t e r | r e t u r n | s h i f t | c o n t r o l | a l t | e s c a p e | s p a c e | b a c k s p a c e | t a b | p a u s e | p r i n t s c r e e n | l e f t | r i g h t | u p | d o w n | h o m e | e n d | d e l e t e | i n s e r t | p a g e u p | p a g e d o w n | f \ d | n u m p a d \ d | d i v i d e | m u l t i p l y | s u b t r a c t | a d d | d e c i m a l | l s h i f t | l c o n t r o l | l a l t | r s h i f t | r c o n t r o l | r a l t ) | m b _ ( ? : a n y | n o n e | l e f t | r i g h t | m i d d l e ) | c _ ( ? : a q u a | b l a c k | b l u e | d k g r a y | f u c h s i a | g r a y | g r e e n | l i m e | l t g r a y | m a r o o n | n a v y | o l i v e | p u r p l e | r e d | s i l v e r | t e a l | w h i t e | y e l l o w | o r a n g e ) | f a _ ( ? : l e f t | c e n t e r | r i g h t | t o p | m i d d l e | b o t t o m | r e a d o n l y | h i d d e n | s y s f i l e | v o l u m e i d | d i r e c t o r y | a r c h i v e ) | p r _ ( ? : p o i n t l i s t | l i n e l i s t | l i n e s t r i p | t r i a n g l e l i s t | t r i a n g l e s t r i p | t r i a n g l e f a n ) | b m _ ( ? : c o m p l e x | n o r m a l | a d d | m a x | s u b t r a c t | z e r o | o n e | s r c _ c o l o u r | i n v _ s r c _ c o l o u r | s r c _ c o l o r | i n v _ s r c _ c o l o r | s r c _ a l p h a | i n v _ s r c _ a l p h a | d e s t _ a l p h a | i n v _ d e s t _ a l p h a | d e s t _ c o l o u r | i n v _ d e s t _ c o l o u r | d e s t _ c o l o r | i n v _ d e s t _ c o l o r | s r c _ a l p h a _ s a t ) | a u d i o _ ( ? : f a l l o f f _ ( ? : n o n e | i n v e r s e _ d i s t a n c e | i n v e r s e _ d i s t a n c e _ c l a m p e d | l i n e a r _ d i s t a n c e | l i n e a r _ d i s t a n c e _ c l a m p e d | e x p o n e n t _ d i s t a n c e | e x p o n e n t _ d i s t a n c e _ c l a m p e d ) | o l d _ s y s t e m | n e w _ s y s t e m | m o n o | s t e r e o | 3 d ) | c r _ ( ? : d e f a u l t | n o n e | a r r o w | c r o s s | b e a m | s i z e _ n e s w | s i z e _ n s | s i z e _ n w s e | s i z e _ w e | u p a r r o w | h o u r g l a s s | d r a g | a p p s t a r t | h a n d p o i n t | s i z e _ a l l ) | s p r i t e s p e e d _ f r a m e s p e r ( ? : s e c o n d | g a m e f r a m e ) | a s s e t _ ( ? : o b j e c t | u n k n o w n | s p r i t e | s o u n d | r o o m | p a t h | s c r i p t | f o n t | t i m e l i n e | t i l e s | s h a d e r ) | d s _ t y p e _ ( ? : m a p | l i s t | s t a c k | q u e u e | g r i d | p r i o r i t y ) | e f _ ( ? : e x p l o s i o n | r i n g | e l l i p s e | f i r e w o r k | s m o k e | s m o k e u p | s t a r | s p a r k | f l a r e | c l o u d | r a i n | s n o w ) | p t _ s h a p e _ ( ? : p i x e l | d i s k | s q u a r e | l i n e | s t a r | c i r c l e | r i n g | s p h e r e | f l a r e | s p a r k | e x p l o s i o n | c l o u d | s m o k e | s n o w ) | p s _ ( ? : d i s t r | s h a p e ) _ ( ? : l i n e a r | g a u s s i a n | i n v g a u s s i a n | r e c t a n g l e | e l l i p s e | d i a m o n d | l i n e ) | t y _ ( ? : r e a l | s t r i n g ) | d l l _ ( ? : c d e l | c d e c l | s t d c a l l ) | m a t r i x _ ( ? : v i e w | p r o j e c t i o n | w o r l d ) | o s _ ( ? : w i n 3 2 | w i n d o w s | m a c o s x | i o s | a n d r o i d | l i n u x | u n k n o w n | w i n p h o n e | w i n 8 n a t i v e | p s v i t a | p s 4 | x b o x o n e | p s 3 | u w p ) | b r o w s e r _ ( ? : n o t _ a _ b r o w s e r | u n k n o w n | i e | f i r e f o x | c h r o m e | s a f a r i | s a f a r i _ m o b i l e | o p e r a | t i z e n | w i n d o w s _ s t o r e | i e _ m o b i l e ) | d e v i c e _ i o s _ ( ? : u n k n o w n | i p h o n e | i p h o n e _ r e t i n a | i p a d | i p a d _ r e t i n a | i p h o n e 5 | i p h o n e 6 | i p h o n e 6 p l u s ) | d e v i c e _ ( ? : e m u l a t o r | t a b l e t ) | d i s p l a y _ ( ? : l a n d s c a p e | l a n d s c a p e _ f l i p p e d | p o r t r a i t | p o r t r a i t _ f l i p p e d ) | o f _ c h a l l e n g e _ ( ? : w i n | l o s e | t i e ) | l e a d e r b o a r d _ t y p e _ ( ? : n u m b e r | t i m e _ m i n s _ s e c s ) | c m p f u n c _ ( ? : n e v e r | l e s s | e q u a l | l e s s e q u a l | g r e a t e r | n o t e q u a l | g r e a t e r e q u a l | a l w a y s ) | c u l l _ ( ? : n o c u l l i n g | c l o c k w i s e | c o u n t e r c l o c k w i s e ) | l i g h t t y p e _ ( ? : d i r | p o i n t ) | i a p _ ( ? : e v _ s t o r e l o a d | e v _ p r o d u c t | e v _ p u r c h a s e | e v _ c o n s u m e | e v _ r e s t o r e | s t o r e l o a d _ o k | s t o r e l o a d _ f a i l e d | s t a t u s _ u n i n i t i a l i s e d | s t a t u s _ u n a v a i l a b l e | s t a t u s _ l o a d i n g | s t a t u s _ a v a i l a b l e | s t a t u s _ p r o c e s s i n g | s t a t u s _ r e s t o r i n g | f a i l e d | u n a v a i l a b l e | a v a i l a b l e | p u r c h a s e d | c a n c e l e d | r e f u n d e d ) | f b _ l o g i n _ ( ? : d e f a u l t | f a l l b a c k _ t o _ w e b v i e w | n o _ f a l l b a c k _ t o _ w e b v i e w | f o r c i n g _ w e b v i e w | u s e _ s y s t e m _ a c c o u n t | f o r c i n g _ s a f a r i ) | p h y _ j o i n t _ ( ? : a n c h o r _ 1 _ x | a n c h o r _ 1 _ y | a n c h o r _ 2 _ x | a n c h o r _ 2 _ y | r e a c t i o n _ f o r c e _ x | r e a c t i o n _ f o r c e _ y | r e a c t i o n _ t o r q u e | m o t o r _ s p e e d | a n g l e | m o t o r _ t o r q u e | m a x _ m o t o r _ t o r q u e | t r a n s l a t i o n | s p e e d | m o t o r _ f o r c e | m a x _ m o t o r _ f o r c e | l e n g t h _ 1 | l e n g t h _ 2 | d a m p i n g _ r a t i o | f r e q u e n c y | l o w e r _ a n g l e _ l i m i t | u p p e r _ a n g l e _ l i m i t | a n g
Prism . languages . go = Prism . languages . extend ( "clike" , { keyword : /\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/ , builtin : /\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/ , boolean : /\b(?:_|iota|nil|true|false)\b/ , operator : /[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./ , number : /(?:\b0x[a-f\d]+|(?:\b\d+\.?\d*|\B\.\d+)(?:e[-+]?\d+)?)i?/i , string : { pattern : /(["'`])(\\[\s\S]|(?!\1)[^\\])*\1/ , greedy : ! 0 } } ) , delete Prism . languages . go [ "class-name" ] ;
Prism . languages . graphql = { comment : /#.*/ , string : { pattern : /"(?:\\.|[^\\"\r\n])*"/ , greedy : ! 0 } , number : /(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i , boolean : /\b(?:true|false)\b/ , variable : /\$[a-z_]\w*/i , directive : { pattern : /@[a-z_]\w*/i , alias : "function" } , "attr-name" : { pattern : /[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i , greedy : ! 0 } , "class-name" : { pattern : /(\b(?:enum|implements|interface|on|scalar|type|union)\s+)[a-zA-Z_]\w*/ , lookbehind : ! 0 } , fragment : { pattern : /(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/ , lookbehind : ! 0 , alias : "function" } , keyword : /\b(?:enum|fragment|implements|input|interface|mutation|on|query|scalar|schema|type|union)\b/ , operator : /[!=|]|\.{3}/ , punctuation : /[!(){}\[\]:=,]/ , constant : /\b(?!ID\b)[A-Z][A-Z_\d]*\b/ } ;
Prism . languages . groovy = Prism . languages . extend ( "clike" , { string : [ { pattern : /("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:\$\/\$|[\s\S])*?\/\$/ , greedy : ! 0 } , { pattern : /(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 } ] , keyword : /\b(?:as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/ , number : /\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?[\d]+)?)[glidf]?\b/i , operator : { pattern : /(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/ , lookbehind : ! 0 } , punctuation : /\.+|[{}[\];(),.:$]/ } ) , Prism . languages . insertBefore ( "groovy" , "string" , { shebang : { pattern : /#!.+/ , alias : "comment" } } ) , Prism . languages . insertBefore ( "groovy" , "punctuation" , { "spock-block" : /\b(?:setup|given|when|then|and|cleanup|expect|where):/ } ) , Prism . languages . insertBefore ( "groovy" , "function" , { annotation : { pattern : /(^|[^.])@\w+/ , lookbehind : ! 0 , alias : "punctuation" } } ) , Prism . hooks . add ( "wrap" , function ( e ) { if ( "groovy" === e . language && "string" === e . type ) { var t = e . content [ 0 ] ; if ( "'" != t ) { var n = /([^\\])(?:\$(?:\{.*?\}|[\w.]+))/ ; "$" === t && ( n = /([^\$])(?:\$(?:\{.*?\}|[\w.]+))/ ) , e . content = e . content . replace ( /</g , "<" ) . replace ( /&/g , "&" ) , e . content = Prism . highlight ( e . content , { expression : { pattern : n , lookbehind : ! 0 , inside : Prism . languages . groovy } } ) , e . classes . push ( "/" === t ? "regex" : "gstring" ) } } } ) ;
Prism . languages . less = Prism . languages . extend ( "css" , { comment : [ /\/\*[\s\S]*?\*\// , { pattern : /(^|[^\\])\/\/.*/ , lookbehind : ! 0 } ] , atrule : { pattern : /@[\w-]+?(?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};])*?(?=\s*\{)/ , inside : { punctuation : /[:()]/ } } , selector : { pattern : /(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@])*?(?=\s*\{)/ , inside : { variable : /@+[\w-]+/ } } , property : /(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/i , operator : /[+\-*\/]/ } ) , Prism . languages . insertBefore ( "less" , "property" , { variable : [ { pattern : /@[\w-]+\s*:/ , inside : { punctuation : /:/ } } , /@@?[\w-]+/ ] , "mixin-usage" : { pattern : /([{;]\s*)[.#](?!\d)[\w-]+.*?(?=[(;])/ , lookbehind : ! 0 , alias : "function" } } ) ;
! function ( e ) { e . languages . handlebars = { comment : /\{\{![\s\S]*?\}\}/ , delimiter : { pattern : /^\{\{\{?|\}\}\}?$/i , alias : "punctuation" } , string : /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/ , number : /\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][+-]?\d+)?/ , boolean : /\b(?:true|false)\b/ , block : { pattern : /^(\s*~?\s*)[#\/]\S+?(?=\s*~?\s*$|\s)/i , lookbehind : ! 0 , alias : "keyword" } , brackets : { pattern : /\[[^\]]+\]/ , inside : { punctuation : /\[|\]/ , variable : /[\s\S]+/ } } , punctuation : /[!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]/ , variable : /[^!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~\s]+/ } , e . hooks . add ( "before-tokenize" , function ( a ) { e . languages [ "markup-templating" ] . buildPlaceholders ( a , "handlebars" , /\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g ) } ) , e . hooks . add ( "after-tokenize" , function ( a ) { e . languages [ "markup-templating" ] . tokenizePlaceholders ( a , "handlebars" ) } ) } ( Prism ) ;
Prism . languages . haskell = { comment : { pattern : /(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--[^-!#$%*+=?&@|~.:<>^\\\/].*|{-[\s\S]*?-})/m , lookbehind : ! 0 } , char : /'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\d+|o[0-7]+|x[0-9a-fA-F]+))'/ , string : { pattern : /"(?:[^\\"]|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\d+|o[0-7]+|x[0-9a-fA-F]+)|\\\s+\\)*"/ , greedy : ! 0 } , keyword : /\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/ , import _statement : { pattern : /((?:\r?\n|\r|^)\s*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][_a-zA-Z0-9']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m , lookbehind : ! 0 , inside : { keyword : /\b(?:import|qualified|as|hiding)\b/ } } , builtin : /\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/ , number : /\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i , operator : /\s\.\s|[-!#$%*+=?&@|~.:<>^\\\/]*\.[-!#$%*+=?&@|~.:<>^\\\/]+|[-!#$%*+=?&@|~.:<>^\\\/]+\.[-!#$%*+=?&@|~.:<>^\\\/]*|[-!#$%*+=?&@|~:<>^\\\/]+|`([A-Z][\w']*\.)*[_a-z][\w']*`/ , hvariable : /\b(?:[A-Z][\w']*\.)*[_a-z][\w']*\b/ , constant : /\b(?:[A-Z][\w']*\.)*[A-Z][\w']*\b/ , punctuation : /[{}[\];(),.:]/ } , Prism . languages . hs = Prism . languages . haskell ;
Prism . languages . haxe = Prism . languages . extend ( "clike" , { string : { pattern : /(["'])(?:(?!\1)[^\\]|\\[\s\S])*\1/ , greedy : ! 0 , inside : { interpolation : { pattern : /(^|[^\\])\$(?:\w+|\{[^}]+\})/ , lookbehind : ! 0 , inside : { interpolation : { pattern : /^\$\w*/ , alias : "variable" } } } } } , keyword : /\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|from|for|function|if|implements|import|in|inline|interface|macro|new|null|override|public|private|return|static|super|switch|throw|to|try|typedef|using|var|while)(?!\.)\b/ , operator : /\.{3}|\+\+?|-[->]?|[=!]=?|&&?|\|\|?|<[<=]?|>[>=]?|[*\/%~^]/ } ) , Prism . languages . insertBefore ( "haxe" , "class-name" , { regex : { pattern : /~\/(?:[^\/\\\r\n]|\\.)+\/[igmsu]*/ , greedy : ! 0 } } ) , Prism . languages . insertBefore ( "haxe" , "keyword" , { preprocessor : { pattern : /#\w+/ , alias : "builtin" } , metadata : { pattern : /@:?\w+/ , alias : "symbol" } , reification : { pattern : /\$(?:\w+|(?=\{))/ , alias : "variable" } } ) , Prism . languages . haxe . string . inside . interpolation . inside . rest = Prism . languages . haxe , delete Prism . languages . haxe [ "class-name" ] ;
Prism . languages . hcl = { comment : /(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/ , heredoc : { pattern : /<<-?(\w+)[\s\S]*?^\s*\1/m , greedy : ! 0 , alias : "string" } , keyword : [ { pattern : /(?:resource|data)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+{)/i , inside : { type : { pattern : /(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i , lookbehind : ! 0 , alias : "variable" } } } , { pattern : /(?:provider|provisioner|variable|output|module|backend)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?={)/i , inside : { type : { pattern : /(provider|provisioner|variable|output|module|backend)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i , lookbehind : ! 0 , alias : "variable" } } } , { pattern : /[\w-]+(?=\s+{)/ } ] , property : [ /[\w-\.]+(?=\s*=(?!=))/ , /"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/ ] , string : { pattern : /"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/ , greedy : ! 0 , inside : { interpolation : { pattern : /(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/ , lookbehind : ! 0 , inside : { type : { pattern : /(\b(?:terraform|var|self|count|module|path|data|local)\b\.)[\w\*]+/i , lookbehind : ! 0 , alias : "variable" } , keyword : /\b(?:terraform|var|self|count|module|path|data|local)\b/i , function : /\w+(?=\()/ , string : { pattern : /"(?:\\[\s\S]|[^\\"])*"/ , greedy : ! 0 } , number : /\b0x[\da-f]+|\d+\.?\d*(?:e[+-]?\d+)?/i , punctuation : /[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/ } } } } , number : /\b0x[\da-f]+|\d+\.?\d*(?:e[+-]?\d+)?/i , boolean : /\b(?:true|false)\b/i , punctuation : /[=\[\]{}]/ } ;
! function ( t ) { t . languages . http = { "request-line" : { pattern : /^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\s(?:https?:\/\/|\/)\S+\sHTTP\/[0-9.]+/m , inside : { property : /^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\b/ , "attr-name" : /:\w+/ } } , "response-status" : { pattern : /^HTTP\/1.[01] \d+.*/m , inside : { property : { pattern : /(^HTTP\/1.[01] )\d+.*/i , lookbehind : ! 0 } } } , "header-name" : { pattern : /^[\w-]+:(?=.)/m , alias : "keyword" } } ; var a , e , n , i = t . languages , s = { "application/javascript" : i . javascript , "application/json" : i . json || i . javascript , "application/xml" : i . xml , "text/xml" : i . xml , "text/html" : i . html , "text/css" : i . css } , p = { "application/json" : ! 0 , "application/xml" : ! 0 } ; for ( var r in s ) if ( s [ r ] ) { a = a || { } ; var T = p [ r ] ? ( void 0 , n = ( e = r ) . replace ( /^[a-z]+\// , "" ) , "(?:" + e + "|\\w+/(?:[\\w.-]+\\+)+" + n + "(?![+\\w.-]))" ) : r ; a [ r ] = { pattern : RegExp ( "(content-type:\\s*" + T + "[\\s\\S]*?)(?:\\r?\\n|\\r){2}[\\s\\S]*" , "i" ) , lookbehind : ! 0 , inside : { rest : s [ r ] } } } a && t . languages . insertBefore ( "http" , "header-name" , a ) } ( Prism ) ;
Prism . languages . hpkp = { directive : { pattern : /\b(?:(?:includeSubDomains|preload|strict)(?: |;)|pin-sha256="[a-zA-Z\d+=/]+"|(?:max-age|report-uri)=|report-to )/ , alias : "keyword" } , safe : { pattern : /\d{7,}/ , alias : "selector" } , unsafe : { pattern : /\d{1,6}/ , alias : "function" } } ;
Prism . languages . hsts = { directive : { pattern : /\b(?:max-age=|includeSubDomains|preload)/ , alias : "keyword" } , safe : { pattern : /\d{8,}/ , alias : "selector" } , unsafe : { pattern : /\d{1,7}/ , alias : "function" } } ;
Prism . languages . ichigojam = { comment : /(?:\B'|REM)(?:[^\n\r]*)/i , string : { pattern : /"(?:""|[!#$%&'()*,\/:;<=>?^_ +\-.A-Z\d])*"/i , greedy : ! 0 } , number : /\B#[0-9A-F]+|\B`[01]+|(?:\b\d+\.?\d*|\B\.\d+)(?:E[+-]?\d+)?/i , keyword : /\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GSB|GOTO|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|RIGHT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i , function : /\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i , label : /(?:\B@[^\s]+)/i , operator : /<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i , punctuation : /[\[,;:()\]]/ } ;
Prism . languages . icon = { comment : /#.*/ , string : { pattern : /(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/ , greedy : ! 0 } , number : /\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i , "builtin-keyword" : { pattern : /&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/ , alias : "variable" } , directive : { pattern : /\$\w+/ , alias : "builtin" } , keyword : /\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/ , function : /(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/ , operator : /[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/ , punctuation : /[\[\](){},;]/ } ;
Prism . languages . inform7 = { string : { pattern : /"[^"]*"/ , inside : { substitution : { pattern : /\[[^\]]+\]/ , inside : { delimiter : { pattern : /\[|\]/ , alias : "punctuation" } } } } } , comment : { pattern : /\[[^\]]+\]/ , greedy : ! 0 } , title : { pattern : /^[ \t]*(?:volume|book|part(?! of)|chapter|section|table)\b.+/im , alias : "important" } , number : { pattern : /(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?\w*|\b(?:one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve))\b(?!-)/i , lookbehind : ! 0 } , verb : { pattern : /(^|[^-])\b(?:applying to|are|attacking|answering|asking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:s|ing)?|consulting|contain(?:s|ing)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:ve|s|ving)|hold(?:s|ing)?|impl(?:y|ies)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:s|ing)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:s|ing)?|setting|showing|singing|sleeping|smelling|squeezing|switching|support(?:s|ing)?|swearing|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:s|ing)?|var(?:y|ies|ying)|waiting|waking|waving|wear(?:s|ing)?)\b(?!-)/i , lookbehind : ! 0 , alias : "operator" } , keyword : { pattern : /(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|unless|the story)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i , lookbehind : ! 0 } , property : { pattern : /(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: on| off)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i , lookbehind : ! 0 , alias : "symbol" } , position : { pattern : /(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i , lookbehind : ! 0 , alias : "keyword" } , type : { pattern : /(^|[^-])\b(?:actions?|activit(?:y|ies)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i , lookbehind : ! 0 , alias : "variable" } , punctuation : /[.,:;(){}]/ } , Prism . languages . inform7 . string . inside . substitution . inside . rest = Prism . languages . inform7 , Prism . languages . inform7 . string . inside . substitution . inside . rest . text = { pattern : /\S(?:\s*\S)*/ , alias : "comment" } ;
Prism . languages . ini = { comment : /^[ \t]*[;#].*$/m , selector : /^[ \t]*\[.*?\]/m , constant : /^[ \t]*[^\s=]+?(?=[ \t]*=)/m , "attr-value" : { pattern : /=.*/ , inside : { punctuation : /^[=]/ } } } ;
Prism . languages . io = { comment : [ { pattern : /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/ , lookbehind : ! 0 } , { pattern : /(^|[^\\])\/\/.*/ , lookbehind : ! 0 } , { pattern : /(^|[^\\])#.*/ , lookbehind : ! 0 } ] , "triple-quoted-string" : { pattern : /"""(?:\\[\s\S]|(?!""")[^\\])*"""/ , greedy : ! 0 , alias : "string" } , string : { pattern : /"(?:\\.|[^\\\r\n"])*"/ , greedy : ! 0 } , keyword : /\b(?:activate|activeCoroCount|asString|block|break|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getSlot|getEnvironmentVariable|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|call|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/ , builtin : /\b(?:Array|AudioDevice|AudioMixer|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Regex|SGML|SGMLElement|SGMLParser|SQLite|Server|Sequence|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink|Random|BigNum|Sequence)\b/ , boolean : /\b(?:true|false|nil)\b/ , number : /\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e-?\d+)?/i , operator : /[=!*/%+-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|(\b(?:return|and|or|not)\b)|@@?|\?\??|\.\./ , punctuation : /[{}[\];(),.:]/ } ;
Prism . languages . j = { comment : /\bNB\..*/ , string : { pattern : /'(?:''|[^'\r\n])*'/ , greedy : ! 0 } , keyword : /\b(?:(?:adverb|conjunction|CR|def|define|dyad|LF|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/ , verb : { pattern : /(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/ , alias : "keyword" } , number : /\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:[ejpx]|ad|ar)_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_(?!\.))/ , adverb : { pattern : /[~}]|[\/\\]\.?|[bfM]\.|t[.:]/ , alias : "builtin" } , operator : /[=a][.:]|_\./ , conjunction : { pattern : /&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/ , alias : "variable" } , punctuation : /[()]/ } ;
! function ( e ) { var t = /\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|null|open|opens|package|private|protected|provides|public|requires|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/ , a = /\b[A-Z](?:\w*[a-z]\w*)?\b/ ; e . languages . java = e . languages . extend ( "clike" , { "class-name" : [ a , /\b[A-Z]\w*(?=\s+\w+\s*[;,=())])/ ] , keyword : t , function : [ e . languages . clike . function , { pattern : /(\:\:)[a-z_]\w*/ , lookbehind : ! 0 } ] , number : /\b0b[01][01_]*L?\b|\b0x[\da-f_]*\.?[\da-f_p+-]+\b|(?:\b\d[\d_]*\.?[\d_]*|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i , operator : { pattern : /(^|[^.])(?:<<=?|>>>?=?|->|([-+&|])\2|[?:~]|[-+*/%&|^!=<>]=?)/m , lookbehind : ! 0 } } ) , e . languages . insertBefore ( "java" , "string" , { "triple-quoted-string" : { pattern : /"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/ , greedy : ! 0 , alias : "string" } } ) , e . languages . insertBefore ( "java" , "class-name" , { annotation : { alias : "punctuation" , pattern : /(^|[^.])@\w+/ , lookbehind : ! 0 } , namespace : { pattern : /(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)[a-z]\w*(\.[a-z]\w*)+/ , lookbehind : ! 0 , inside : { punctuation : /\./ } } , generics : { pattern : /<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/ , inside : { "class-name" : a , keyword : t , punctuation : /[<>(),.:]/ , operator : /[?&|]/ } } } ) } ( Prism ) ;
Prism . languages . scala = Prism . languages . extend ( "java" , { keyword : /<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/ , "triple-quoted-string" : { pattern : /"""[\s\S]*?"""/ , greedy : ! 0 , alias : "string" } , string : { pattern : /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 } , builtin : /\b(?:String|Int|Long|Short|Byte|Boolean|Double|Float|Char|Any|AnyRef|AnyVal|Unit|Nothing)\b/ , number : /\b0x[\da-f]*\.?[\da-f]+|(?:\b\d+\.?\d*|\B\.\d+)(?:e\d+)?[dfl]?/i , symbol : /'[^\d\s\\]\w*/ } ) , delete Prism . languages . scala [ "class-name" ] , delete Prism . languages . scala . function ;
! function ( n ) { n . languages . php = n . languages . extend ( "clike" , { keyword : /\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|final|finally|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|new|or|parent|print|private|protected|public|require|require_once|return|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i , boolean : { pattern : /\b(?:false|true)\b/i , alias : "constant" } , constant : [ /\b[A-Z_][A-Z0-9_]*\b/ , /\b(?:null)\b/i ] , comment : { pattern : /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/ , lookbehind : ! 0 } } ) , n . languages . insertBefore ( "php" , "string" , { "shell-comment" : { pattern : /(^|[^\\])#.*/ , lookbehind : ! 0 , alias : "comment" } } ) , n . languages . insertBefore ( "php" , "comment" , { delimiter : { pattern : /\?>$|^<\?(?:php(?=\s)|=)?/i , alias : "important" } } ) , n . languages . insertBefore ( "php" , "keyword" , { variable : /\$+(?:\w+\b|(?={))/i , package : { pattern : /(\\|namespace\s+|use\s+)[\w\\]+/ , lookbehind : ! 0 , inside : { punctuation : /\\/ } } } ) , n . languages . insertBefore ( "php" , "operator" , { property : { pattern : /(->)[\w]+/ , lookbehind : ! 0 } } ) ; var e = { pattern : /{\$(?:{(?:{[^{}]+}|[^{}]+)}|[^{}])+}|(^|[^\\{])\$+(?:\w+(?:\[.+?]|->\w+)*)/ , lookbehind : ! 0 , inside : { rest : n . languages . php } } ; n . languages . insertBefore ( "php" , "string" , { "nowdoc-string" : { pattern : /<<<'([^']+)'(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\1;/ , greedy : ! 0 , alias : "string" , inside : { delimiter : { pattern : /^<<<'[^']+'|[a-z_]\w*;$/i , alias : "symbol" , inside : { punctuation : /^<<<'?|[';]$/ } } } } , "heredoc-string" : { pattern : /<<<(?:"([^"]+)"(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\1;|([a-z_]\w*)(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\2;)/i , greedy : ! 0 , alias : "string" , inside : { delimiter : { pattern : /^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i , alias : "symbol" , inside : { punctuation : /^<<<"?|[";]$/ } } , interpolation : e } } , "single-quoted-string" : { pattern : /'(?:\\[\s\S]|[^\\'])*'/ , greedy : ! 0 , alias : "string" } , "double-quoted-string" : { pattern : /"(?:\\[\s\S]|[^\\"])*"/ , greedy : ! 0 , alias : "string" , inside : { interpolation : e } } } ) , delete n . languages . php . string , n . hooks . add ( "before-tokenize" , function ( e ) { if ( /<\?/ . test ( e . code ) ) { n . languages [ "markup-templating" ] . buildPlaceholders ( e , "php" , /<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#)(?:[^?\n\r]|\?(?!>))*|\/\*[\s\S]*?(?:\*\/|$))*?(?:\?>|$)/gi ) } } ) , n . hooks . add ( "after-tokenize" , function ( e ) { n . languages [ "markup-templating" ] . tokenizePlaceholders ( e , "php" ) } ) } ( Prism ) ;
Prism . languages . javastacktrace = { summary : { pattern : /^[\t ]*(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?:\:.*)?$/m , inside : { keyword : { pattern : /^(\s*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m , lookbehind : ! 0 } , string : { pattern : /^(\s*)"[^"]*"/ , lookbehind : ! 0 } , exceptions : { pattern : /^(:?\s*)[\w$.]+(?=:|$)/ , lookbehind : ! 0 , inside : { "class-name" : /[\w$]+(?=$|:)/ , namespace : /[a-z]\w*/ , punctuation : /[.:]/ } } , message : { pattern : /(:\s*)\S.*/ , lookbehind : ! 0 , alias : "string" } , punctuation : /[:]/ } } , "stack-frame" : { pattern : /^[\t ]*at [\w$.]+(?:<init>)?\([^()]*\)/m , inside : { keyword : { pattern : /^(\s*)at/ , lookbehind : ! 0 } , source : [ { pattern : /(\()\w+.\w+:\d+(?=\))/ , lookbehind : ! 0 , inside : { file : /^\w+\.\w+/ , punctuation : /:/ , "line-number" : { pattern : /\d+/ , alias : "number" } } } , { pattern : /(\()[^()]*(?=\))/ , lookbehind : ! 0 , inside : { keyword : /^(?:Unknown Source|Native Method)$/ } } ] , "class-name" : /[\w$]+(?=\.(?:<init>|[\w$]+)\()/ , function : /(?:<init>|[\w$]+)(?=\()/ , namespace : /[a-z]\w*/ , punctuation : /[.()]/ } } , more : { pattern : /^[\t ]*\.{3} \d+ [a-z]+(?: [a-z]+)*/m , inside : { punctuation : /\.{3}/ , number : /\d+/ , keyword : /\b[a-z]+(?: [a-z]+)*\b/ } } } ;
Prism . languages . jolie = Prism . languages . extend ( "clike" , { keyword : /\b(?:include|define|is_defined|undef|main|init|outputPort|inputPort|Location|Protocol|Interfaces|RequestResponse|OneWay|type|interface|extender|throws|cset|csets|forward|Aggregates|Redirects|embedded|courier|execution|sequential|concurrent|single|scope|install|throw|comp|cH|default|global|linkIn|linkOut|synchronized|this|new|for|if|else|while|in|Jolie|Java|Javascript|nullProcess|spawn|constants|with|provide|until|exit|foreach|instanceof|over|service)\b/ , builtin : /\b(?:undefined|string|int|void|long|Byte|bool|double|float|char|any)\b/ , number : /(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?l?/i , operator : /-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[:?\/%^]/ , symbol : /[|;@]/ , punctuation : /[,.]/ , string : { pattern : /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 } } ) , delete Prism . languages . jolie [ "class-name" ] , Prism . languages . insertBefore ( "jolie" , "keyword" , { function : { pattern : /((?:\b(?:outputPort|inputPort|in|service|courier)\b|@)\s*)\w+/ , lookbehind : ! 0 } , aggregates : { pattern : /(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/ , lookbehind : ! 0 , inside : { "with-extension" : { pattern : /\bwith\s+\w+/ , inside : { keyword : /\bwith\b/ } } , function : { pattern : /\w+/ } , punctuation : { pattern : /,/ } } } , redirects : { pattern : /(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/ , lookbehind : ! 0 , inside : { punctuation : { pattern : /,/ } , function : { pattern : /\w+/ } , symbol : { pattern : /=>/ } } } } ) ;
! function ( e ) { var n = "\\\\\\((?:[^()]|\\([^()]*\\))*\\)" , t = RegExp ( '"(?:[^"\r\\n\\\\]|\\\\[^\r\\n(]|__)*"' . replace ( /__/g , n ) ) , i = { interpolation : { pattern : RegExp ( "((?:^|[^\\\\])(?:\\\\{2})*)" + n ) , lookbehind : ! 0 , inside : { content : { pattern : /^(\\\()[\s\S]+(?=\)$)/ , lookbehind : ! 0 , inside : null } , punctuation : /^\\\(|\)$/ } } } , a = e . languages . jq = { comment : /#.*/ , property : { pattern : RegExp ( t . source + "(?=\\s*:(?!:))" ) , greedy : ! 0 , inside : i } , string : { pattern : t , greedy : ! 0 , inside : i } , function : { pattern : /(\bdef\s+)[a-z_]\w+/i , lookbehind : ! 0 } , variable : /\B\$\w+/ , "property-literal" : { pattern : /[a-z_]\w*(?=\s*:(?!:))/i , alias : "property" } , keyword : /\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/ , boolean : /\b(?:true|false)\b/ , number : /(?:\b\d+\.|\B\.)?\d+(?:[eE][+-]?\d+)?\b/ , operator : [ { pattern : /\|=?/ , alias : "pipe" } , /\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|or|not)\b/ ] , "c-style-function" : { pattern : /\b[a-z_]\w*(?=\s*\()/i , alias : "function" } , punctuation : /::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/ , dot : { pattern : /\./ , alias : "important" } } ; i . interpolation . inside . content . inside = a } ( Prism ) ;
! function ( p ) { var a = p . languages . javadoclike = { parameter : { pattern : /(^\s*(?:\/{3}|\*|\/\*\*)\s*@(?:param|arg|arguments)\s+)\w+/m , lookbehind : ! 0 } , keyword : { pattern : /(^\s*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m , lookbehind : ! 0 } , punctuation : /[{}]/ } ; Object . defineProperty ( a , "addSupport" , { value : function ( a , e ) { "string" == typeof a && ( a = [ a ] ) , a . forEach ( function ( a ) { ! function ( a , e ) { var n = "doc-comment" , t = p . languages [ a ] ; if ( t ) { var r = t [ n ] ; if ( ! r ) { var i = { "doc-comment" : { pattern : /(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/ , alias : "comment" } } ; r = ( t = p . languages . insertBefore ( a , "comment" , i ) ) [ n ] } if ( r instanceof RegExp && ( r = t [ n ] = { pattern : r } ) , Array . isArray ( r ) ) for ( var o = 0 , s = r . length ; o < s ; o ++ ) r [ o ] instanceof RegExp && ( r [ o ] = { pattern : r [ o ] } ) , e ( r [ o ] ) ; else e ( r ) } } ( a , function ( a ) { a . inside || ( a . inside = { } ) , a . inside . rest = e } ) } ) } } ) , a . addSupport ( [ "java" , "javascript" , "php" ] , a ) } ( Prism ) ;
Prism . languages . n4js = Prism . languages . extend ( "javascript" , { keyword : /\b(?:any|Array|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/ } ) , Prism . languages . insertBefore ( "n4js" , "constant" , { annotation : { pattern : /@+\w+/ , alias : "operator" } } ) , Prism . languages . n4jsd = Prism . languages . n4js ;
! function ( d ) { function n ( n , e ) { return n = n . replace ( /<inner>/g , "(?:\\\\.|[^\\\\\\n\r]|(?:\r?\n|\r)(?!\r?\n|\r))" ) , e && ( n = n + "|" + n . replace ( /_/g , "\\*" ) ) , RegExp ( "((?:^|[^\\\\])(?:\\\\{2})*)(?:" + n + ")" ) } var e = "(?:\\\\.|``.+?``|`[^`\r\\n]+`|[^\\\\|\r\\n`])+" , t = "\\|?__(?:\\|__)+\\|?(?:(?:\r?\n|\r)|$)" . replace ( /__/g , e ) , a = "\\|?[ \t]*:?-{3,}:?[ \t]*(?:\\|[ \t]*:?-{3,}:?[ \t]*)+\\|?(?:\r?\n|\r)" ; d . languages . markdown = d . languages . extend ( "markup" , { } ) , d . languages . insertBefore ( "markdown" , "prolog" , { blockquote : { pattern : /^>(?:[\t ]*>)*/m , alias : "punctuation" } , table : { pattern : RegExp ( "^" + t + a + "(?:" + t + ")*" , "m" ) , inside : { "table-data-rows" : { pattern : RegExp ( "^(" + t + a + ")(?:" + t + ")*$" ) , lookbehind : ! 0 , inside : { "table-data" : { pattern : RegExp ( e ) , inside : d . languages . markdown } , punctuation : /\|/ } } , "table-line" : { pattern : RegExp ( "^(" + t + ")" + a + "$" ) , lookbehind : ! 0 , inside : { punctuation : /\||:?-{3,}:?/ } } , "table-header-row" : { pattern : RegExp ( "^" + t + "$" ) , inside : { "table-header" : { pattern : RegExp ( e ) , alias : "important" , inside : d . languages . markdown } , punctuation : /\|/ } } } } , code : [ { pattern : /(^[ \t]*(?:\r?\n|\r))(?: {4}|\t).+(?:(?:\r?\n|\r)(?: {4}|\t).+)*/m , lookbehind : ! 0 , alias : "keyword" } , { pattern : /``.+?``|`[^`\r\n]+`/ , alias : "keyword" } , { pattern : /^```[\s\S]*?^```$/m , greedy : ! 0 , inside : { "code-block" : { pattern : /^(```.*(?:\r?\n|\r))[\s\S]+?(?=(?:\r?\n|\r)^```$)/m , lookbehind : ! 0 } , "code-language" : { pattern : /^(```).+/ , lookbehind : ! 0 } , punctuation : /```/ } } ] , title : [ { pattern : /\S.*(?:\r?\n|\r)(?:==+|--+)(?=[ \t]*$)/m , alias : "important" , inside : { punctuation : /==+$|--+$/ } } , { pattern : /(^\s*)#+.+/m , lookbehind : ! 0 , alias : "important" , inside : { punctuation : /^#+|#+$/ } } ] , hr : { pattern : /(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m , lookbehind : ! 0 , alias : "punctuation" } , list : { pattern : /(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m , lookbehind : ! 0 , alias : "punctuation" } , "url-reference" : { pattern : /!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/ , inside : { variable : { pattern : /^(!?\[)[^\]]+/ , lookbehind : ! 0 } , string : /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/ , punctuation : /^[\[\]!:]|[<>]/ } , alias : "url" } , bold : { pattern : n ( "__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__" , ! 0 ) , lookbehind : ! 0 , greedy : ! 0 , inside : { content : { pattern : /(^..)[\s\S]+(?=..$)/ , lookbehind : ! 0 , inside : { } } , punctuation : /\*\*|__/ } } , italic : { pattern : n ( "_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_" , ! 0 ) , lookbehind : ! 0 , greedy : ! 0 , inside : { content : { pattern : /(^.)[\s\S]+(?=.$)/ , lookbehind : ! 0 , inside : { } } , punctuation : /[*_]/ } } , strike : { pattern : n ( "(~~?)(?:(?!~)<inner>)+?\\2" , ! 1 ) , lookbehind : ! 0 , greedy : ! 0 , inside : { content : { pattern : /(^~~?)[\s\S]+(?=\1$)/ , lookbehind : ! 0 , inside : { } } , punctuation : /~~?/ } } , url : { pattern : n ( '!?\\[(?:(?!\\])<inner>)+\\](?:\\([^\\s)]+(?:[\t ]+"(?:\\\\.|[^"\\\\])*")?\\)| ?\\[(?:(?!\\])<inner>)+\\])' , ! 1 ) , lookbehind : ! 0 , greedy : ! 0 , inside : { variable : { pattern : /(\[)[^\]]+(?=\]$)/ , lookbehind : ! 0 } , content : { pattern : /(^!?\[)[^\]]+(?=\])/ , lookbehind : ! 0 , inside : { } } , string : { pattern : /"(?:\\.|[^"\\])*"(?=\)$)/ } } } } ) , [ "url" , "bold" , "italic" , "strike" ] . forEach ( function ( e ) { [ "url" , "bold" , "italic" , "strike" ] . forEach ( function ( n ) { e !== n && ( d . languages . markdown [ e ] . inside . content . inside [ n ] = d . languages . markdown [ n ] ) } ) } ) , d . hooks . add ( "after-tokenize" , function ( n ) { "markdown" !== n . language && "md" !== n . language || ! function n ( e ) { if ( e && "string" != typeof e ) for ( var t = 0 , a = e . length ; t < a ; t ++ ) { var i = e [ t ] ; if ( "code" === i . type ) { var r = i . content [ 1 ] , o = i . content [ 3 ] ; if ( r && o && "code-language" === r . type && "code-block" === o . type && "string" == typeof r . content ) { var l = "language-" + r . content . trim ( ) . split ( /\s+/ ) [ 0 ] . toLowerCase ( ) ; o . alias ? "string" == typeof o . alias ? o . alias = [ o . alias , l ] : o . alias . push ( l ) : o . alias = [ l ] } } else n ( i . content ) } } ( n . tokens ) } ) , d . hooks . add ( "wrap" , function ( n ) { if ( "code-block" === n . type ) { for ( var e = "" , t = 0 , a = n . classes . length ; t < a ; t ++ ) { var i = n . classes [ t ] , r = /language-(.+)/ . exec ( i ) ; if ( r ) { e = r [ 1 ] ; break } } var o = d . languages [ e ] ; if ( o ) { var l = n . content . replace ( /</g , "<" ) . replace ( /&/g , "&" ) ; n . content = d . highlight ( l , o , e ) } else if ( e && "none" !== e && d . plugins . autoloader ) { var s = "md-" + ( new Date ) . valueOf ( ) + "-" + Math . floor ( 1e16 * Math . random ( ) ) ; n . attributes . id = s , d . plugins . autoloader . loadLanguages ( e , function ( ) { var n = document . getElementById ( s ) ; n
Prism . languages . json = { property : { pattern : /"(?:\\.|[^\\"\r\n])*"(?=\s*:)/ , greedy : ! 0 } , string : { pattern : /"(?:\\.|[^\\"\r\n])*"(?!\s*:)/ , greedy : ! 0 } , comment : /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/ , number : /-?\d+\.?\d*(e[+-]?\d+)?/i , punctuation : /[{}[\],]/ , operator : /:/ , boolean : /\b(?:true|false)\b/ , null : { pattern : /\bnull\b/ , alias : "keyword" } } ;
Prism . languages . jsonp = Prism . languages . extend ( "json" , { punctuation : /[{}[\]();,.]/ } ) , Prism . languages . insertBefore ( "jsonp" , "punctuation" , { function : /[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*\()/ } ) ;
! function ( n ) { var e = /("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/ ; n . languages . json5 = n . languages . extend ( "json" , { property : [ { pattern : RegExp ( e . source + "(?=\\s*:)" ) , greedy : ! 0 } , { pattern : /[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*:)/ , alias : "unquoted" } ] , string : { pattern : e , greedy : ! 0 } , number : /[+-]?(?:NaN|Infinity|0x[a-fA-F\d]+|(?:\d+\.?\d*|\.\d+)(?:[eE][+-]?\d+)?)/ } ) } ( Prism ) ;
Prism . languages . julia = { comment : { pattern : /(^|[^\\])#.*/ , lookbehind : ! 0 } , string : /("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2/ , keyword : /\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/ , boolean : /\b(?:true|false)\b/ , number : /(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+\.?\d*|\.\d+)(?:[efp][+-]?\d+)?j?/i , operator : /[-+*^%÷&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥]/ , punctuation : /[{}[\];(),.:]/ , constant : /\b(?:(?:NaN|Inf)(?:16|32|64)?)\b/ } ;
Prism . languages . keyman = { comment : /\bc\s.*/i , function : /\[\s*(?:(?:CTRL|SHIFT|ALT|LCTRL|RCTRL|LALT|RALT|CAPS|NCAPS)\s+)*(?:[TKU]_[\w?]+|".+?"|'.+?')\s*\]/i , string : /("|').*?\1/ , bold : [ /&(?:baselayout|bitmap|capsononly|capsalwaysoff|shiftfreescaps|copyright|ethnologuecode|hotkey|includecodes|keyboardversion|kmw_embedcss|kmw_embedjs|kmw_helpfile|kmw_helptext|kmw_rtl|language|layer|layoutfile|message|mnemoniclayout|name|oldcharposmatching|platform|targets|version|visualkeyboard|windowslanguages)\b/i , /\b(?:bitmap|bitmaps|caps on only|caps always off|shift frees caps|copyright|hotkey|language|layout|message|name|version)\b/i ] , keyword : /\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|return|reset|save|set|store|use)\b/i , atrule : /\b(?:ansi|begin|unicode|group|using keys|match|nomatch)\b/i , number : /\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i , operator : /[+>\\,()]/ , tag : /\$(?:keyman|kmfl|weaver|keymanweb|keymanonly):/i } ;
! function ( e ) { e . languages . kotlin = e . languages . extend ( "clike" , { keyword : { pattern : /(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/ , lookbehind : ! 0 } , function : [ /\w+(?=\s*\()/ , { pattern : /(\.)\w+(?=\s*\{)/ , lookbehind : ! 0 } ] , number : /\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/ , operator : /\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/ } ) , delete e . languages . kotlin [ "class-name" ] , e . languages . insertBefore ( "kotlin" , "string" , { "raw-string" : { pattern : /("""|''')[\s\S]*?\1/ , alias : "string" } } ) , e . languages . insertBefore ( "kotlin" , "keyword" , { annotation : { pattern : /\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/ , alias : "builtin" } } ) , e . languages . insertBefore ( "kotlin" , "function" , { label : { pattern : /\w+@|@\w+/ , alias : "symbol" } } ) ; var n = [ { pattern : /\$\{[^}]+\}/ , inside : { delimiter : { pattern : /^\$\{|\}$/ , alias : "variable" } , rest : e . languages . kotlin } } , { pattern : /\$\w+/ , alias : "variable" } ] ; e . languages . kotlin . string . inside = e . languages . kotlin [ "raw-string" ] . inside = { interpolation : n } } ( Prism ) ;
! function ( a ) { var e = /\\(?:[^a-z()[\]]|[a-z*]+)/i , n = { "equation-command" : { pattern : e , alias : "regex" } } ; a . languages . latex = { comment : /%.*/m , cdata : { pattern : /(\\begin\{((?:verbatim|lstlisting)\*?)\})[\s\S]*?(?=\\end\{\2\})/ , lookbehind : ! 0 } , equation : [ { pattern : /\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/ , inside : n , alias : "string" } , { pattern : /(\\begin\{((?:equation|math|eqnarray|align|multline|gather)\*?)\})[\s\S]*?(?=\\end\{\2\})/ , lookbehind : ! 0 , inside : n , alias : "string" } ] , keyword : { pattern : /(\\(?:begin|end|ref|cite|label|usepackage|documentclass)(?:\[[^\]]+\])?\{)[^}]+(?=\})/ , lookbehind : ! 0 } , url : { pattern : /(\\url\{)[^}]+(?=\})/ , lookbehind : ! 0 } , headline : { pattern : /(\\(?:part|chapter|section|subsection|frametitle|subsubsection|paragraph|subparagraph|subsubparagraph|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\}(?:\[[^\]]+\])?)/ , lookbehind : ! 0 , alias : "class-name" } , function : { pattern : e , alias : "selector" } , punctuation : /[[\]{}&]/ } , a . languages . tex = a . languages . latex , a . languages . context = a . languages . latex } ( Prism ) ;
! function ( e ) { e . languages . crystal = e . languages . extend ( "ruby" , { keyword : [ /\b(?:abstract|alias|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|rescue|return|require|select|self|sizeof|struct|super|then|type|typeof|uninitialized|union|unless|until|when|while|with|yield|__DIR__|__END_LINE__|__FILE__|__LINE__)\b/ , { pattern : /(\.\s*)(?:is_a|responds_to)\?/ , lookbehind : ! 0 } ] , number : /\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/ } ) , e . languages . insertBefore ( "crystal" , "string" , { attribute : { pattern : /@\[.+?\]/ , alias : "attr-name" , inside : { delimiter : { pattern : /^@\[|\]$/ , alias : "tag" } , rest : e . languages . crystal } } , expansion : [ { pattern : /\{\{.+?\}\}/ , inside : { delimiter : { pattern : /^\{\{|\}\}$/ , alias : "tag" } , rest : e . languages . crystal } } , { pattern : /\{%.+?%\}/ , inside : { delimiter : { pattern : /^\{%|%\}$/ , alias : "tag" } , rest : e . languages . crystal } } ] } ) } ( Prism ) ;
Prism . languages . scheme = { comment : /;.*/ , string : { pattern : /"(?:[^"\\]|\\.)*"|'[^()#'\s]+/ , greedy : ! 0 } , character : { pattern : /#\\(?:[ux][a-fA-F\d]+|[a-zA-Z]+|\S)/ , alias : "string" } , keyword : { pattern : /(\()(?:define(?:-syntax|-library|-values)?|(?:case-)?lambda|let(?:\*|rec)?(?:-values)?|else|if|cond|begin|delay(?:-force)?|parameterize|guard|set!|(?:quasi-)?quote|syntax-rules)(?=[()\s])/ , lookbehind : ! 0 } , builtin : { pattern : /(\()(?:(?:cons|car|cdr|list|call-with-current-continuation|call\/cc|append|abs|apply|eval)\b|null\?|pair\?|boolean\?|eof-object\?|char\?|procedure\?|number\?|port\?|string\?|vector\?|symbol\?|bytevector\?)(?=[()\s])/ , lookbehind : ! 0 } , number : { pattern : /([\s()])[-+]?(?:\d+\/\d+|\d*\.?\d+(?:\s*[-+]\s*\d*\.?\d+i)?)\b/ , lookbehind : ! 0 } , boolean : /#[tf]/ , operator : { pattern : /(\()(?:[-+*%\/]|[<>]=?|=>?)(?=\s|$)/ , lookbehind : ! 0 } , function : { pattern : /(\()[^()'\s]+(?=[()\s)]|$)/ , lookbehind : ! 0 } , punctuation : /[()']/ } ;
Prism . languages . liquid = { keyword : /\b(?:comment|endcomment|if|elsif|else|endif|unless|endunless|for|endfor|case|endcase|when|in|break|assign|continue|limit|offset|range|reversed|raw|endraw|capture|endcapture|tablerow|endtablerow)\b/ , number : /\b0b[01]+\b|\b0x[\da-f]*\.?[\da-fp-]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?[df]?/i , operator : { pattern : /(^|[^.])(?:\+[+=]?|-[-=]?|!=?|<<?=?|>>?>?=?|==?|&[&=]?|\|[|=]?|\*=?|\/=?|%=?|\^=?|[?:~])/m , lookbehind : ! 0 } , function : { pattern : /(^|[\s;|&])(?:append|prepend|capitalize|cycle|cols|increment|decrement|abs|at_least|at_most|ceil|compact|concat|date|default|divided_by|downcase|escape|escape_once|first|floor|join|last|lstrip|map|minus|modulo|newline_to_br|plus|remove|remove_first|replace|replace_first|reverse|round|rstrip|size|slice|sort|sort_natural|split|strip|strip_html|strip_newlines|times|truncate|truncatewords|uniq|upcase|url_decode|url_encode|include|paginate)(?=$|[\s;|&])/ , lookbehind : ! 0 } } ;
! function ( e ) { function n ( e ) { return RegExp ( "(\\()" + e + "(?=[\\s\\)])" ) } function a ( e ) { return RegExp ( "([\\s([])" + e + "(?=[\\s)])" ) } var t = "[-+*/_~!@$%^=<>{}\\w]+" , r = "(\\()" , i = "(?=\\))" , s = "(?=\\s)" , o = { heading : { pattern : /;;;.*/ , alias : [ "comment" , "title" ] } , comment : /;.*/ , string : { pattern : /"(?:[^"\\]|\\.)*"/ , greedy : ! 0 , inside : { argument : /[-A-Z]+(?=[.,\s])/ , symbol : RegExp ( "`" + t + "'" ) } } , "quoted-symbol" : { pattern : RegExp ( "#?'" + t ) , alias : [ "variable" , "symbol" ] } , "lisp-property" : { pattern : RegExp ( ":" + t ) , alias : "property" } , splice : { pattern : RegExp ( ",@?" + t ) , alias : [ "symbol" , "variable" ] } , keyword : [ { pattern : RegExp ( r + "(?:(?:lexical-)?let\\*?|(?:cl-)?letf|if|when|while|unless|cons|cl-loop|and|or|not|cond|setq|error|message|null|require|provide|use-package)" + s ) , lookbehind : ! 0 } , { pattern : RegExp ( r + "(?:for|do|collect|return|finally|append|concat|in|by)" + s ) , lookbehind : ! 0 } ] , declare : { pattern : n ( "declare" ) , lookbehind : ! 0 , alias : "keyword" } , interactive : { pattern : n ( "interactive" ) , lookbehind : ! 0 , alias : "keyword" } , boolean : { pattern : a ( "(?:t|nil)" ) , lookbehind : ! 0 } , number : { pattern : a ( "[-+]?\\d+(?:\\.\\d*)?" ) , lookbehind : ! 0 } , defvar : { pattern : RegExp ( r + "def(?:var|const|custom|group)\\s+" + t ) , lookbehind : ! 0 , inside : { keyword : /^def[a-z]+/ , variable : RegExp ( t ) } } , defun : { pattern : RegExp ( r + "(?:cl-)?(?:defun\\*?|defmacro)\\s+" + t + "\\s+\\([\\s\\S]*?\\)" ) , lookbehind : ! 0 , inside : { keyword : /^(?:cl-)?def\S+/ , arguments : null , function : { pattern : RegExp ( "(^\\s)" + t ) , lookbehind : ! 0 } , punctuation : /[()]/ } } , lambda : { pattern : RegExp ( r + "lambda\\s+\\((?:&?" + t + "\\s*)*\\)" ) , lookbehind : ! 0 , inside : { keyword : /^lambda/ , arguments : null , punctuation : /[()]/ } } , car : { pattern : RegExp ( r + t ) , lookbehind : ! 0 } , punctuation : [ /(['`,]?\(|[)\[\]])/ , { pattern : /(\s)\.(?=\s)/ , lookbehind : ! 0 } ] } , l = { "lisp-marker" : RegExp ( "&[-+*/_~!@$%^=<>{}\\w]+" ) , rest : { argument : { pattern : RegExp ( t ) , alias : "variable" } , varform : { pattern : RegExp ( r + t + "\\s+\\S[\\s\\S]*" + i ) , lookbehind : ! 0 , inside : { string : o . string , boolean : o . boolean , number : o . number , symbol : o . symbol , punctuation : /[()]/ } } } } , p = "\\S+(?:\\s+\\S+)*" , d = { pattern : RegExp ( r + "[\\s\\S]*" + i ) , lookbehind : ! 0 , inside : { "rest-vars" : { pattern : RegExp ( "&(?:rest|body)\\s+" + p ) , inside : l } , "other-marker-vars" : { pattern : RegExp ( "&(?:optional|aux)\\s+" + p ) , inside : l } , keys : { pattern : RegExp ( "&key\\s+" + p + "(?:\\s+&allow-other-keys)?" ) , inside : l } , argument : { pattern : RegExp ( t ) , alias : "variable" } , punctuation : /[()]/ } } ; o . lambda . inside . arguments = d , o . defun . inside . arguments = e . util . clone ( d ) , o . defun . inside . arguments . inside . sublist = d , e . languages . lisp = o , e . languages . elisp = o , e . languages . emacs = o , e . languages [ "emacs-lisp" ] = o } ( Prism ) ;
Prism . languages . livescript = { comment : [ { pattern : /(^|[^\\])\/\*[\s\S]*?\*\// , lookbehind : ! 0 } , { pattern : /(^|[^\\])#.*/ , lookbehind : ! 0 } ] , "interpolated-string" : { pattern : /(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/ , lookbehind : ! 0 , greedy : ! 0 , inside : { variable : { pattern : /(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m , lookbehind : ! 0 } , interpolation : { pattern : /(^|[^\\])#\{[^}]+\}/m , lookbehind : ! 0 , inside : { "interpolation-punctuation" : { pattern : /^#\{|\}$/ , alias : "variable" } } } , string : /[\s\S]+/ } } , string : [ { pattern : /('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/ , greedy : ! 0 } , { pattern : /<\[[\s\S]*?\]>/ , greedy : ! 0 } , /\\[^\s,;\])}]+/ ] , regex : [ { pattern : /\/\/(\[.+?]|\\.|(?!\/\/)[^\\])+\/\/[gimyu]{0,5}/ , greedy : ! 0 , inside : { comment : { pattern : /(^|[^\\])#.*/ , lookbehind : ! 0 } } } , { pattern : /\/(\[.+?]|\\.|[^/\\\r\n])+\/[gimyu]{0,5}/ , greedy : ! 0 } ] , keyword : { pattern : /(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m , lookbehind : ! 0 } , "keyword-operator" : { pattern : /(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?:nt| not)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m , lookbehind : ! 0 , alias : "operator" } , boolean : { pattern : /(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m , lookbehind : ! 0 } , argument : { pattern : /(^|(?!\.&\.)[^&])&(?!&)\d*/m , lookbehind : ! 0 , alias : "variable" } , number : /\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i , identifier : /[a-z_](?:-?[a-z]|[\d_])*/i , operator : [ { pattern : /( )\.(?= )/ , lookbehind : ! 0 } , /\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/ ] , punctuation : /[(){}\[\]|.,:;`]/ } , Prism . languages . livescript [ "interpolated-string" ] . inside . interpolation . inside . rest = Prism . languages . livescript ;
Prism . languages . lolcode = { comment : [ /\bOBTW\s+[\s\S]*?\s+TLDR\b/ , /\bBTW.+/ ] , string : { pattern : /"(?::.|[^"])*"/ , inside : { variable : /:\{[^}]+\}/ , symbol : [ /:\([a-f\d]+\)/i , /:\[[^\]]+\]/ , /:[)>o":]/ ] } , greedy : ! 0 } , number : /(?:\B-)?(?:\b\d+\.?\d*|\B\.\d+)/ , symbol : { pattern : /(^|\s)(?:A )?(?:YARN|NUMBR|NUMBAR|TROOF|BUKKIT|NOOB)(?=\s|,|$)/ , lookbehind : ! 0 , inside : { keyword : /A(?=\s)/ } } , label : { pattern : /((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/ , lookbehind : ! 0 , alias : "string" } , function : { pattern : /((?:^|\s)(?:I IZ|HOW IZ I|IZ) )[a-zA-Z]\w*/ , lookbehind : ! 0 } , keyword : [ { pattern : /(^|\s)(?:O HAI IM|KTHX|HAI|KTHXBYE|I HAS A|ITZ(?: A)?|R|AN|MKAY|SMOOSH|MAEK|IS NOW(?: A)?|VISIBLE|GIMMEH|O RLY\?|YA RLY|NO WAI|OIC|MEBBE|WTF\?|OMG|OMGWTF|GTFO|IM IN YR|IM OUTTA YR|FOUND YR|YR|TIL|WILE|UPPIN|NERFIN|I IZ|HOW IZ I|IF U SAY SO|SRS|HAS A|LIEK(?: A)?|IZ)(?=\s|,|$)/ , lookbehind : ! 0 } , /'Z(?=\s|,|$)/ ] , boolean : { pattern : /(^|\s)(?:WIN|FAIL)(?=\s|,|$)/ , lookbehind : ! 0 } , variable : { pattern : /(^|\s)IT(?=\s|,|$)/ , lookbehind : ! 0 } , operator : { pattern : /(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:SUM|DIFF|PRODUKT|QUOSHUNT|MOD|BIGGR|SMALLR|BOTH|EITHER|WON|ALL|ANY) OF)(?=\s|,|$)/ , lookbehind : ! 0 } , punctuation : /\.{3}|…|,|!/ } ;
Prism . languages . lua = { comment : /^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m , string : { pattern : /(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[\s\S]))*\1|\[(=*)\[[\s\S]*?\]\2\]/ , greedy : ! 0 } , number : /\b0x[a-f\d]+\.?[a-f\d]*(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|\.?\d*(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i , keyword : /\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/ , function : /(?!\d)\w+(?=\s*(?:[({]))/ , operator : [ /[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/ , { pattern : /(^|[^.])\.\.(?!\.)/ , lookbehind : ! 0 } ] , punctuation : /[\[\](){},;]|\.+|:+/ } ;
Prism . languages . makefile = { comment : { pattern : /(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/ , lookbehind : ! 0 } , string : { pattern : /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 } , builtin : /\.[A-Z][^:#=\s]+(?=\s*:(?!=))/ , symbol : { pattern : /^[^:=\r\n]+(?=\s*:(?!=))/m , inside : { variable : /\$+(?:[^(){}:#=\s]+|(?=[({]))/ } } , variable : /\$+(?:[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/ , keyword : [ /-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/ , { pattern : /(\()(?:addsuffix|abspath|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:s|list)?)(?=[ \t])/ , lookbehind : ! 0 } ] , operator : /(?:::|[?:+!])?=|[|@]/ , punctuation : /[:;(){}]/ } ;
! function ( u ) { var e = u . languages . javascript [ "template-string" ] , n = e . pattern . source , a = e . inside . interpolation , i = a . inside [ "interpolation-punctuation" ] , r = a . pattern . source ; function t ( e , t ) { if ( u . languages [ e ] ) return { pattern : RegExp ( "((?:" + t + ")\\s*)" + n ) , lookbehind : ! 0 , greedy : ! 0 , inside : { "template-punctuation" : { pattern : /^`|`$/ , alias : "string" } , "embedded-code" : { pattern : /[\s\S]+/ , alias : e } } } } function o ( e , t , n ) { var r = { code : e , grammar : t , language : n } ; return u . hooks . run ( "before-tokenize" , r ) , r . tokens = u . tokenize ( r . code , r . grammar ) , u . hooks . run ( "after-tokenize" , r ) , r . tokens } function d ( e ) { var t = { } ; t [ "interpolation-punctuation" ] = i ; var n = u . tokenize ( e , t ) ; if ( 3 === n . length ) { var r = [ 1 , 1 ] ; r . push . apply ( r , o ( n [ 1 ] , u . languages . javascript , "javascript" ) ) , n . splice . apply ( n , r ) } return new u . Token ( "interpolation" , n , a . alias , e ) } function c ( a , e , i ) { var t = u . tokenize ( a , { interpolation : { pattern : RegExp ( r ) , lookbehind : ! 0 } } ) , f = 0 , y = { } , n = o ( t . map ( function ( e ) { if ( "string" == typeof e ) return e ; for ( var t , n = e . content ; - 1 !== a . indexOf ( ( r = f ++ , t = "___" + i . toUpperCase ( ) + "_" + r + "___" ) ) ; ) ; return y [ t ] = n , t ; var r } ) . join ( "" ) , e , i ) , v = Object . keys ( y ) ; return f = 0 , function e ( t ) { for ( var n = 0 ; n < t . length ; n ++ ) { if ( f >= v . length ) return ; var r = t [ n ] ; if ( "string" == typeof r || "string" == typeof r . content ) { var a = v [ f ] , i = "string" == typeof r ? r : r . content , o = i . indexOf ( a ) ; if ( - 1 !== o ) { ++ f ; var s = i . substring ( 0 , o ) , p = d ( y [ a ] ) , l = i . substring ( o + a . length ) , g = [ ] ; if ( s && g . push ( s ) , g . push ( p ) , l ) { var u = [ l ] ; e ( u ) , g . push . apply ( g , u ) } "string" == typeof r ? ( t . splice . apply ( t , [ n , 1 ] . concat ( g ) ) , n += g . length - 1 ) : r . content = g } } else { var c = r . content ; Array . isArray ( c ) ? e ( c ) : e ( [ c ] ) } } } ( n ) , new u . Token ( i , n , "language-" + i , a ) } u . languages . javascript [ "template-string" ] = [ t ( "css" , "\\b(?:styled(?:\\([^)]*\\))?(?:\\s*\\.\\s*\\w+(?:\\([^)]*\\))*)*|css(?:\\s*\\.\\s*(?:global|resolve))?|createGlobalStyle|keyframes)" ) , t ( "html" , "\\bhtml|\\.\\s*(?:inner|outer)HTML\\s*\\+?=" ) , t ( "svg" , "\\bsvg" ) , t ( "markdown" , "\\b(?:md|markdown)" ) , t ( "graphql" , "\\b(?:gql|graphql(?:\\s*\\.\\s*experimental)?)" ) , e ] . filter ( Boolean ) ; var s = { javascript : ! 0 , js : ! 0 , typescript : ! 0 , ts : ! 0 , jsx : ! 0 , tsx : ! 0 } ; function f ( e ) { return "string" == typeof e ? e : Array . isArray ( e ) ? e . map ( f ) . join ( "" ) : f ( e . content ) } u . hooks . add ( "after-tokenize" , function ( e ) { e . language in s && ! function e ( t ) { for ( var n = 0 , r = t . length ; n < r ; n ++ ) { var a = t [ n ] ; if ( "string" != typeof a ) { var i = a . content ; if ( Array . isArray ( i ) ) if ( "template-string" === a . type ) { var o = i [ 1 ] ; if ( 3 === i . length && "string" != typeof o && "embedded-code" === o . type ) { var s = f ( o ) , p = o . alias , l = Array . isArray ( p ) ? p [ 0 ] : p , g = u . languages [ l ] ; if ( ! g ) continue ; i [ 1 ] = c ( s , g , l ) } } else e ( i ) ; else "string" != typeof i && e ( [ i ] ) } } } ( e . tokens ) } ) } ( Prism ) ;
! function ( e ) { e . languages . django = { comment : /^{#[\s\S]*?#}$/ , tag : { pattern : /(^{%[+-]?\s*)\w+/ , lookbehind : ! 0 , alias : "keyword" } , delimiter : { pattern : /^{[{%][+-]?|[+-]?[}%]}$/ , alias : "punctuation" } , string : { pattern : /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 } , filter : { pattern : /(\|)\w+/ , lookbehind : ! 0 , alias : "function" } , test : { pattern : /(\bis\s+(?:not\s+)?)(?!not\b)\w+/ , lookbehind : ! 0 , alias : "function" } , function : /\b[a-z_]\w+(?=\s*\()/i , keyword : /\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/ , operator : /[-+*/%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/ , number : /\b\d+(?:\.\d+)?\b/ , boolean : /[Tt]rue|[Ff]alse|[Nn]one/ , variable : /\b\w+?\b/ , punctuation : /[{}[\](),.:;]/ } ; var n = /{{[\s\S]*?}}|{%[\s\S]*?%}|{#[\s\S]*?#}/g , o = e . languages [ "markup-templating" ] ; e . hooks . add ( "before-tokenize" , function ( e ) { o . buildPlaceholders ( e , "django" , n ) } ) , e . hooks . add ( "after-tokenize" , function ( e ) { o . tokenizePlaceholders ( e , "django" ) } ) , e . languages . jinja2 = e . languages . django , e . hooks . add ( "before-tokenize" , function ( e ) { o . buildPlaceholders ( e , "jinja2" , n ) } ) , e . hooks . add ( "after-tokenize" , function ( e ) { o . tokenizePlaceholders ( e , "jinja2" ) } ) } ( Prism ) ;
Prism . languages . matlab = { comment : [ /%\{[\s\S]*?\}%/ , /%.+/ ] , string : { pattern : /\B'(?:''|[^'\r\n])*'/ , greedy : ! 0 } , number : /(?:\b\d+\.?\d*|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/ , keyword : /\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\b/ , function : /(?!\d)\w+(?=\s*\()/ , operator : /\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/ , punctuation : /\.{3}|[.,;\[\](){}!]/ } ;
Prism . languages . mel = { comment : /\/\/.*/ , code : { pattern : /`(?:\\.|[^\\`\r\n])*`/ , greedy : ! 0 , alias : "italic" , inside : { delimiter : { pattern : /^`|`$/ , alias : "punctuation" } } } , string : { pattern : /"(?:\\.|[^\\"\r\n])*"/ , greedy : ! 0 } , variable : /\$\w+/ , number : /\b0x[\da-fA-F]+\b|\b\d+\.?\d*|\B\.\d+/ , flag : { pattern : /-[^\d\W]\w*/ , alias : "operator" } , keyword : /\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/ , function : / \ w + ( ? = \ ( ) | \ b ( ? : a b o u t | a b s | a d d A t t r | a d d A t t r i b u t e E d i t o r N o d e H e l p | a d d D y n a m i c | a d d N e w S h e l f T a b | a d d P P | a d d P a n e l C a t e g o r y | a d d P r e f i x T o N a m e | a d v a n c e T o N e x t D r i v e n K e y | a f f e c t e d N e t | a f f e c t s | a i m C o n s t r a i n t | a i r | a l i a s | a l i a s A t t r | a l i g n | a l i g n C t x | a l i g n C u r v e | a l i g n S u r f a c e | a l l V i e w F i t | a m b i e n t L i g h t | a n g l e | a n g l e B e t w e e n | a n i m C o n e | a n i m C u r v e E d i t o r | a n i m D i s p l a y | a n i m V i e w | a n n o t a t e | a p p e n d S t r i n g A r r a y | a p p l i c a t i o n N a m e | a p p l y A t t r P r e s e t | a p p l y T a k e | a r c L e n D i m C o n t e x t | a r c L e n g t h D i m e n s i o n | a r c l e n | a r r a y M a p p e r | a r t 3 d P a i n t C t x | a r t A t t r C t x | a r t A t t r P a i n t V e r t e x C t x | a r t A t t r S k i n P a i n t C t x | a r t A t t r T o o l | a r t B u i l d P a i n t M e n u | a r t F l u i d A t t r C t x | a r t P u t t y C t x | a r t S e l e c t C t x | a r t S e t P a i n t C t x | a r t U s e r P a i n t C t x | a s s i g n C o m m a n d | a s s i g n I n p u t D e v i c e | a s s i g n V i e w p o r t F a c t o r i e s | a t t a c h C u r v e | a t t a c h D e v i c e A t t r | a t t a c h S u r f a c e | a t t r C o l o r S l i d e r G r p | a t t r C o m p a t i b i l i t y | a t t r C o n t r o l G r p | a t t r E n u m O p t i o n M e n u | a t t r E n u m O p t i o n M e n u G r p | a t t r F i e l d G r p | a t t r F i e l d S l i d e r G r p | a t t r N a v i g a t i o n C o n t r o l G r p | a t t r P r e s e t E d i t W i n | a t t r i b u t e E x i s t s | a t t r i b u t e I n f o | a t t r i b u t e M e n u | a t t r i b u t e Q u e r y | a u t o K e y f r a m e | a u t o P l a c e | b a k e C l i p | b a k e F l u i d S h a d i n g | b a k e P a r t i a l H i s t o r y | b a k e R e s u l t s | b a k e S i m u l a t i o n | b a s e n a m e | b a s e n a m e E x | b a t c h R e n d e r | b e s s e l | b e v e l | b e v e l P l u s | b i n M e m b e r s h i p | b i n d S k i n | b l e n d 2 | b l e n d S h a p e | b l e n d S h a p e E d i t o r | b l e n d S h a p e P a n e l | b l e n d T w o A t t r | b l i n d D a t a T y p e | b o n e L a t t i c e | b o u n d a r y | b o x D o l l y C t x | b o x Z o o m C t x | b u f f e r C u r v e | b u i l d B o o k m a r k M e n u | b u i l d K e y f r a m e M e n u | b u t t o n | b u t t o n M a n i p | C B G | c a c h e F i l e | c a c h e F i l e C o m b i n e | c a c h e F i l e M e r g e | c a c h e F i l e T r a c k | c a m e r a | c a m e r a V i e w | c a n C r e a t e M a n i p | c a n v a s | c a p i t a l i z e S t r i n g | c a t c h | c a t c h Q u i e t | c e i l | c h a n g e S u b d i v C o m p o n e n t D i s p l a y L e v e l | c h a n g e S u b d i v R e g i o n | c h a n n e l B o x | c h a r a c t e r | c h a r a c t e r M a p | c h a r a c t e r O u t l i n e E d i t o r | c h a r a c t e r i z e | c h d i r | c h e c k B o x | c h e c k B o x G r p | c h e c k D e f a u l t R e n d e r G l o b a l s | c h o i c e | c i r c l e | c i r c u l a r F i l l e t | c l a m p | c l e a r | c l e a r C a c h e | c l i p | c l i p E d i t o r | c l i p E d i t o r C u r r e n t T i m e C t x | c l i p S c h e d u l e | c l i p S c h e d u l e r O u t l i n e r | c l i p T r i m B e f o r e | c l o s e C u r v e | c l o s e S u r f a c e | c l u s t e r | c m d F i l e O u t p u t | c m d S c r o l l F i e l d E x e c u t e r | c m d S c r o l l F i e l d R e p o r t e r | c m d S h e l l | c o a r s e n S u b d i v S e l e c t i o n L i s t | c o l l i s i o n | c o l o r | c o l o r A t P o i n t | c o l o r E d i t o r | c o l o r I n d e x | c o l o r I n d e x S l i d e r G r p | c o l o r S l i d e r B u t t o n G r p | c o l o r S l i d e r G r p | c o l u m n L a y o u t | c o m m a n d E c h o | c o m m a n d L i n e | c o m m a n d P o r t | c o m p a c t H a i r S y s t e m | c o m p o n e n t E d i t o r | c o m p o s i t i n g I n t e r o p | c o m p u t e P o l y s e t V o l u m e | c o n d i t i o n | c o n e | c o n f i r m D i a l o g | c o n n e c t A t t r | c o n n e c t C o n t r o l | c o n n e c t D y n a m i c | c o n n e c t J o i n t | c o n n e c t i o n I n f o | c o n s t r a i n | c o n s t r a i n V a l u e | c o n s t r u c t i o n H i s t o r y | c o n t a i n e r | c o n t a i n s M u l t i b y t e | c o n t e x t I n f o | c o n t r o l | c o n v e r t F r o m O l d L a y e r s | c o n v e r t I f f T o P s d | c o n v e r t L i g h t m a p | c o n v e r t S o l i d T x | c o n v e r t T e s s e l l a t i o n | c o n v e r t U n i t | c o p y A r r a y | c o p y F l e x o r | c o p y K e y | c o p y S k i n W e i g h t s | c o s | c p B u t t o n | c p C a c h e | c p C l o t h S e t | c p C o l l i s i o n | c p C o n s t r a i n t | c p C o n v C l o t h T o M e s h | c p F o r c e s | c p G e t S o l v e r A t t r | c p P a n e l | c p P r o p e r t y | c p R i g i d C o l l i s i o n F i l t e r | c p S e a m | c p S e t E d i t | c p S e t S o l v e r A t t r | c p S o l v e r | c p S o l v e r T y p e s | c p T o o l | c p U p d a t e C l o t h U V s | c r e a t e D i s p l a y L a y e r | c r e a t e D r a w C t x | c r e a t e E d i t o r | c r e a t e L a y e r e d P s d F i l e | c r e a t e M o t i o n F i e l d | c r e a t e N e w S h e l f | c r e a t e N o d e | c r e a t e R e n d e r L a y e r | c r e a t e S u b d i v R e g i o n | c r o s s | c r o s s P r o d u c t | c t x A b o r t | c t x C o m p l e t i o n | c t x E d i t M o d e | c t x T r a v e r s e | c u r r e n t C t x | c u r r e n t T i m e | c u r r e n t T i m e C t x | c u r r e n t U n i t | c u r v e | c u r v e A d d P t C t x | c u r v e C V C t x | c u r v e E P C t x | c u r v e E d i t o r C t x | c u r v e I n t e r s e c t | c u r v e M o v e E P C t x | c u r v e O n S u r f a c e | c u r v e S k e t c h C t x | c u t K e y | c y c l e C h e c k | c y l i n d e r | d a g P o s e | d a t e | d e f a u l t L i g h t L i s t C h e c k B o x | d e f a u l t N a v i g a t i o n | d e f i n e D a t a S e r v e r | d e f i n e V i r t u a l D e v i c e | d e f o r m e r | d e g _ t o _ r a d | d e l e t e | d e l e t e A t t r | d e l e t e S h a d i n g G r o u p s A n d M a t e r i a l s | d e l e t e S h e l f T a b | d e l e t e U I | d e l e t e U n u s e d B r u s h e s | d e l r a n d s t r | d e t a c h C u r v e | d e t a c h D e v i c e A t t r | d e t a c h S u r f a c e | d e v i c e E d i t o r | d e v i c e P a n e l | d g I n f o | d g d i r t y | d g e v a l | d g t i m e r | d i m W h e n | d i r e c t K e y C t x | d i r e c t i o n a l L i g h t | d i r m a p | d i r n a m e | d i s a b l e | d i s c o n n e c t A t t r | d i s c o n n e c t J o i n t | d i s k C a c h e | d i s p l a c e m e n t T o P o l y | d i s p l a y A f f e c t e d | d i s p l a y C o l o r | d i s p l a y C u l l | d i s p l a y L e v e l O f D e t a i l | d i s p l a y P r e f | d i s p l a y R G B C o l o r | d i s p l a y S m o o t h n e
Prism . languages . mizar = { comment : /::.+/ , keyword : /@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|equals|end|environ|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:y|ies)|when|where|with|wrt)\b/ , parameter : { pattern : /\$(?:10|\d)/ , alias : "variable" } , variable : /\w+(?=:)/ , number : /(?:\b|-)\d+\b/ , operator : /\.\.\.|->|&|\.?=/ , punctuation : /\(#|#\)|[,:;\[\](){}]/ } ;
Prism . languages . monkey = { string : /"[^"\r\n]*"/ , comment : [ { pattern : /^#Rem\s+[\s\S]*?^#End/im , greedy : ! 0 } , { pattern : /'.+/ , greedy : ! 0 } ] , preprocessor : { pattern : /(^[ \t]*)#.+/m , lookbehind : ! 0 , alias : "comment" } , function : /\w+(?=\()/ , "type-char" : { pattern : /(\w)[?%#$]/ , lookbehind : ! 0 , alias : "variable" } , number : { pattern : /((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i , lookbehind : ! 0 } , keyword : /\b(?:Void|Strict|Public|Private|Property|Bool|Int|Float|String|Array|Object|Continue|Exit|Import|Extern|New|Self|Super|Try|Catch|Eachin|True|False|Extends|Abstract|Final|Select|Case|Default|Const|Local|Global|Field|Method|Function|Class|End|If|Then|Else|ElseIf|EndIf|While|Wend|Repeat|Until|Forever|For|To|Step|Next|Return|Module|Interface|Implements|Inline|Throw|Null)\b/i , operator : /\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i , punctuation : /[.,:;()\[\]]/ } ;
Prism . languages . n1ql = { comment : /\/\*[\s\S]*?(?:$|\*\/)/ , parameter : /\$[\w.]+/ , string : { pattern : /(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/ , greedy : ! 0 } , identifier : { pattern : /`(?:\\[\s\S]|[^\\`]|``)*`/ , greedy : ! 0 } , function : /\b(?:ABS|ACOS|ARRAY_AGG|ARRAY_APPEND|ARRAY_AVG|ARRAY_CONCAT|ARRAY_CONTAINS|ARRAY_COUNT|ARRAY_DISTINCT|ARRAY_FLATTEN|ARRAY_IFNULL|ARRAY_INSERT|ARRAY_INTERSECT|ARRAY_LENGTH|ARRAY_MAX|ARRAY_MIN|ARRAY_POSITION|ARRAY_PREPEND|ARRAY_PUT|ARRAY_RANGE|ARRAY_REMOVE|ARRAY_REPEAT|ARRAY_REPLACE|ARRAY_REVERSE|ARRAY_SORT|ARRAY_STAR|ARRAY_SUM|ARRAY_SYMDIFF|ARRAY_SYMDIFFN|ARRAY_UNION|ASIN|ATAN|ATAN2|AVG|BASE64|BASE64_DECODE|BASE64_ENCODE|BITAND|BITCLEAR|BITNOT|BITOR|BITSET|BITSHIFT|BITTEST|BITXOR|CEIL|CLOCK_LOCAL|CLOCK_MILLIS|CLOCK_STR|CLOCK_TZ|CLOCK_UTC|CONTAINS|CONTAINS_TOKEN|CONTAINS_TOKEN_LIKE|CONTAINS_TOKEN_REGEXP|COS|COUNT|CURL|DATE_ADD_MILLIS|DATE_ADD_STR|DATE_DIFF_MILLIS|DATE_DIFF_STR|DATE_FORMAT_STR|DATE_PART_MILLIS|DATE_PART_STR|DATE_RANGE_MILLIS|DATE_RANGE_STR|DATE_TRUNC_MILLIS|DATE_TRUNC_STR|DECODE_JSON|DEGREES|DURATION_TO_STR|E|ENCODED_SIZE|ENCODE_JSON|EXP|FLOOR|GREATEST|HAS_TOKEN|IFINF|IFMISSING|IFMISSINGORNULL|IFNAN|IFNANORINF|IFNULL|INITCAP|ISARRAY|ISATOM|ISBOOLEAN|ISNUMBER|ISOBJECT|ISSTRING|IsBitSET|LEAST|LENGTH|LN|LOG|LOWER|LTRIM|MAX|META|MILLIS|MILLIS_TO_LOCAL|MILLIS_TO_STR|MILLIS_TO_TZ|MILLIS_TO_UTC|MILLIS_TO_ZONE_NAME|MIN|MISSINGIF|NANIF|NEGINFIF|NOW_LOCAL|NOW_MILLIS|NOW_STR|NOW_TZ|NOW_UTC|NULLIF|OBJECT_ADD|OBJECT_CONCAT|OBJECT_INNER_PAIRS|OBJECT_INNER_VALUES|OBJECT_LENGTH|OBJECT_NAMES|OBJECT_PAIRS|OBJECT_PUT|OBJECT_REMOVE|OBJECT_RENAME|OBJECT_REPLACE|OBJECT_UNWRAP|OBJECT_VALUES|PAIRS|PI|POLY_LENGTH|POSINFIF|POSITION|POWER|RADIANS|RANDOM|REGEXP_CONTAINS|REGEXP_LIKE|REGEXP_POSITION|REGEXP_REPLACE|REPEAT|REPLACE|REVERSE|ROUND|RTRIM|SIGN|SIN|SPLIT|SQRT|STR_TO_DURATION|STR_TO_MILLIS|STR_TO_TZ|STR_TO_UTC|STR_TO_ZONE_NAME|SUBSTR|SUFFIXES|SUM|TAN|TITLE|TOARRAY|TOATOM|TOBOOLEAN|TOKENS|TOKENS|TONUMBER|TOOBJECT|TOSTRING|TRIM|TRUNC|TYPE|UPPER|WEEKDAY_MILLIS|WEEKDAY_STR)(?=\s*\()/i , keyword : /\b(?:ALL|ALTER|ANALYZE|AS|ASC|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|CONNECT|CONTINUE|CORRELATE|COVER|CREATE|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FLATTEN|FOR|FORCE|FROM|FUNCTION|GRANT|GROUP|GSI|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LAST|LEFT|LET|LETTING|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NULL|NUMBER|OBJECT|OFFSET|ON|OPTION|ORDER|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROCEDURE|PUBLIC|RAW|REALM|REDUCE|RENAME|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|SATISFIES|SCHEMA|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TO|TRANSACTION|TRIGGER|TRUNCATE|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WITH|WORK|XOR)\b/i , boolean : /\b(?:TRUE|FALSE)\b/i , number : /(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+\.?\d*|\B\.\d+\b/i , operator : /[-+*\/=%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i , punctuation : /[;[\](),.{}:]/ } ;
2019-10-14 09:49:59 +00:00
Prism . languages . typescript = Prism . languages . extend ( "javascript" , { keyword : /\b(?:abstract|as|async|await|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|is|keyof|let|module|namespace|new|null|of|package|private|protected|public|readonly|return|require|set|static|super|switch|this|throw|try|type|typeof|undefined|var|void|while|with|yield)\b/ , builtin : /\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/ } ) , Prism . languages . ts = Prism . languages . typescript ;
2019-10-02 16:15:37 +00:00
Prism . languages [ "nand2tetris-hdl" ] = { comment : /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/ , keyword : /\b(?:CHIP|IN|OUT|PARTS|BUILTIN|CLOCKED)\b/ , boolean : /\b(?:true|false)\b/ , function : /[A-Za-z][A-Za-z0-9]*(?=\()/ , number : /\b\d+\b/ , operator : /=|\.\./ , punctuation : /[{}[\];(),:]/ } ;
Prism . languages . nasm = { comment : /;.*$/m , string : /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/ , label : { pattern : /(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m , lookbehind : ! 0 , alias : "function" } , keyword : [ /\[?BITS (?:16|32|64)\]?/ , { pattern : /(^\s*)section\s*[a-zA-Z.]+:?/im , lookbehind : ! 0 } , /(?:extern|global)[^;\r\n]*/i , /(?:CPU|FLOAT|DEFAULT).*$/m ] , register : { pattern : /\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|sp|si|di)|[cdefgs]s)\b/i , alias : "variable" } , number : /(?:\b|(?=\$))(?:0[hx][\da-f]*\.?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|\d*\.?\d+(?:\.?e[+-]?\d+)?[dt]?)\b/i , operator : /[\[\]*+\-\/%<>=&|$!]/ } ;
Prism . languages . nginx = Prism . languages . extend ( "clike" , { comment : { pattern : /(^|[^"{\\])#.*/ , lookbehind : ! 0 } , keyword : / \ b ( ? : C O N T E N T _ | D O C U M E N T _ | G A T E W A Y _ | H T T P _ | H T T P S | i f _ n o t _ e m p t y | P A T H _ | Q U E R Y _ | R E D I R E C T _ | R E M O T E _ | R E Q U E S T _ | S C G I | S C R I P T _ | S E R V E R _ | h t t p | e v e n t s | a c c e p t _ m u t e x | a c c e p t _ m u t e x _ d e l a y | a c c e s s _ l o g | a d d _ a f t e r _ b o d y | a d d _ b e f o r e _ b o d y | a d d _ h e a d e r | a d d i t i o n _ t y p e s | a i o | a l i a s | a l l o w | a n c i e n t _ b r o w s e r | a n c i e n t _ b r o w s e r _ v a l u e | a u t h | a u t h _ b a s i c | a u t h _ b a s i c _ u s e r _ f i l e | a u t h _ h t t p | a u t h _ h t t p _ h e a d e r | a u t h _ h t t p _ t i m e o u t | a u t o i n d e x | a u t o i n d e x _ e x a c t _ s i z e | a u t o i n d e x _ l o c a l t i m e | b r e a k | c h a r s e t | c h a r s e t _ m a p | c h a r s e t _ t y p e s | c h u n k e d _ t r a n s f e r _ e n c o d i n g | c l i e n t _ b o d y _ b u f f e r _ s i z e | c l i e n t _ b o d y _ i n _ f i l e _ o n l y | c l i e n t _ b o d y _ i n _ s i n g l e _ b u f f e r | c l i e n t _ b o d y _ t e m p _ p a t h | c l i e n t _ b o d y _ t i m e o u t | c l i e n t _ h e a d e r _ b u f f e r _ s i z e | c l i e n t _ h e a d e r _ t i m e o u t | c l i e n t _ m a x _ b o d y _ s i z e | c o n n e c t i o n _ p o o l _ s i z e | c r e a t e _ f u l l _ p u t _ p a t h | d a e m o n | d a v _ a c c e s s | d a v _ m e t h o d s | d e b u g _ c o n n e c t i o n | d e b u g _ p o i n t s | d e f a u l t _ t y p e | d e n y | d e v p o l l _ c h a n g e s | d e v p o l l _ e v e n t s | d i r e c t i o | d i r e c t i o _ a l i g n m e n t | d i s a b l e _ s y m l i n k s | e m p t y _ g i f | e n v | e p o l l _ e v e n t s | e r r o r _ l o g | e r r o r _ p a g e | e x p i r e s | f a s t c g i _ b u f f e r _ s i z e | f a s t c g i _ b u f f e r s | f a s t c g i _ b u s y _ b u f f e r s _ s i z e | f a s t c g i _ c a c h e | f a s t c g i _ c a c h e _ b y p a s s | f a s t c g i _ c a c h e _ k e y | f a s t c g i _ c a c h e _ l o c k | f a s t c g i _ c a c h e _ l o c k _ t i m e o u t | f a s t c g i _ c a c h e _ m e t h o d s | f a s t c g i _ c a c h e _ m i n _ u s e s | f a s t c g i _ c a c h e _ p a t h | f a s t c g i _ c a c h e _ p u r g e | f a s t c g i _ c a c h e _ u s e _ s t a l e | f a s t c g i _ c a c h e _ v a l i d | f a s t c g i _ c o n n e c t _ t i m e o u t | f a s t c g i _ h i d e _ h e a d e r | f a s t c g i _ i g n o r e _ c l i e n t _ a b o r t | f a s t c g i _ i g n o r e _ h e a d e r s | f a s t c g i _ i n d e x | f a s t c g i _ i n t e r c e p t _ e r r o r s | f a s t c g i _ k e e p _ c o n n | f a s t c g i _ m a x _ t e m p _ f i l e _ s i z e | f a s t c g i _ n e x t _ u p s t r e a m | f a s t c g i _ n o _ c a c h e | f a s t c g i _ p a r a m | f a s t c g i _ p a s s | f a s t c g i _ p a s s _ h e a d e r | f a s t c g i _ r e a d _ t i m e o u t | f a s t c g i _ r e d i r e c t _ e r r o r s | f a s t c g i _ s e n d _ t i m e o u t | f a s t c g i _ s p l i t _ p a t h _ i n f o | f a s t c g i _ s t o r e | f a s t c g i _ s t o r e _ a c c e s s | f a s t c g i _ t e m p _ f i l e _ w r i t e _ s i z e | f a s t c g i _ t e m p _ p a t h | f l v | g e o | g e o i p _ c i t y | g e o i p _ c o u n t r y | g o o g l e _ p e r f t o o l s _ p r o f i l e s | g z i p | g z i p _ b u f f e r s | g z i p _ c o m p _ l e v e l | g z i p _ d i s a b l e | g z i p _ h t t p _ v e r s i o n | g z i p _ m i n _ l e n g t h | g z i p _ p r o x i e d | g z i p _ s t a t i c | g z i p _ t y p e s | g z i p _ v a r y | i f | i f _ m o d i f i e d _ s i n c e | i g n o r e _ i n v a l i d _ h e a d e r s | i m a g e _ f i l t e r | i m a g e _ f i l t e r _ b u f f e r | i m a g e _ f i l t e r _ j p e g _ q u a l i t y | i m a g e _ f i l t e r _ s h a r p e n | i m a g e _ f i l t e r _ t r a n s p a r e n c y | i m a p _ c a p a b i l i t i e s | i m a p _ c l i e n t _ b u f f e r | i n c l u d e | i n d e x | i n t e r n a l | i p _ h a s h | k e e p a l i v e | k e e p a l i v e _ d i s a b l e | k e e p a l i v e _ r e q u e s t s | k e e p a l i v e _ t i m e o u t | k q u e u e _ c h a n g e s | k q u e u e _ e v e n t s | l a r g e _ c l i e n t _ h e a d e r _ b u f f e r s | l i m i t _ c o n n | l i m i t _ c o n n _ l o g _ l e v e l | l i m i t _ c o n n _ z o n e | l i m i t _ e x c e p t | l i m i t _ r a t e | l i m i t _ r a t e _ a f t e r | l i m i t _ r e q | l i m i t _ r e q _ l o g _ l e v e l | l i m i t _ r e q _ z o n e | l i m i t _ z o n e | l i n g e r i n g _ c l o s e | l i n g e r i n g _ t i m e | l i n g e r i n g _ t i m e o u t | l i s t e n | l o c a t i o n | l o c k _ f i l e | l o g _ f o r m a t | l o g _ f o r m a t _ c o m b i n e d | l o g _ n o t _ f o u n d | l o g _ s u b r e q u e s t | m a p | m a p _ h a s h _ b u c k e t _ s i z e | m a p _ h a s h _ m a x _ s i z e | m a s t e r _ p r o c e s s | m a x _ r a n g e s | m e m c a c h e d _ b u f f e r _ s i z e | m e m c a c h e d _ c o n n e c t _ t i m e o u t | m e m c a c h e d _ n e x t _ u p s t r e a m | m e m c a c h e d _ p a s s | m e m c a c h e d _ r e a d _ t i m e o u t | m e m c a c h e d _ s e n d _ t i m e o u t | m e r g e _ s l a s h e s | m i n _ d e l e t e _ d e p t h | m o d e r n _ b r o w s e r | m o d e r n _ b r o w s e r _ v a l u e | m p 4 | m p 4 _ b u f f e r _ s i z e | m p 4 _ m a x _ b u f f e r _ s i z e | m s i e _ p a d d i n g | m s i e _ r e f r e s h | m u l t i _ a c c e p t | o p e n _ f i l e _ c a c h e | o p e n _ f i l e _ c a c h e _ e r r o r s | o p e n _ f i l e _ c a c h e _ m i n _ u s e s | o p e n _ f i l e _ c a c h e _ v a l i d | o p e n _ l o g _ f i l e _ c a c h e | o p t i m i z e _ s e r v e r _ n a m e s | o v e r r i d e _ c h a r s e t | p c r e _ j i t | p e r l | p e r l _ m o d u l e s | p e r l _ r e q u i r e | p e r l _ s e t | p i d | p o p 3 _ a u t h | p o p 3 _ c a p a b i l i t i e s | p o r t _ i n _ r e d i r e c t | p o s t _ a c t i o n | p o s t p o n e _ o u t p u t | p r o t o c o l | p r o x y | p r o x y _ b u f f e r | p r o x y _ b u f f e r _ s i z e | p r o x y _ b u f f e r i n g | p r o x y _ b u f f e r s | p r o x y _ b u s y _ b u f f e r s _ s i z e | p r o x y _ c a c h e | p r o x y _ c a c h e _ b y p a s s | p r o x y _ c a c h e _ k e y | p r o x y _ c a c h e _ l o c k | p r o x y _ c a c h e _ l o c k _ t i m e o u t | p r o x y _ c a c h e _ m e t h o d s | p r o x y _ c a c h e _ m i n _ u s e s | p r o x y _ c a c h e _ p a t h | p r o x y _ c a c h e _ u s e _ s t a l e | p r o x y _ c a c h e _ v a l i d | p r o x y _ c o n n e c t _ t i m e o u t | p r o x y _ c o o k i e _ d o m a i n | p r o x y _ c o o k i e _ p a t h | p r o x y _ h e a d e r s _ h a s h _ b u c k e t _ s i z e | p r o x y _ h e a d e r s _ h a s h _ m a x _ s i z e | p r o x y _ h i d e _ h e a d e r | p r o x y _ h t t p _ v e r s i o n | p r o x y _ i g n o r e _ c l i e n t _ a b o r t | p r o x y _ i g n o r e _ h e a d e r s | p r o x y _ i n t e r c e p t _ e r r o r s | p r o x y _ m a x _ t e m p _ f i l e _ s i z e | p r o x y _ m e t h o d | p r o x y _ n e x t _ u p s t r e a m | p r o x y _ n o _ c a c h e | p r o x y _ p a s s | p r o x y _ p a s s _ e r r o r _ m e s s a g e | p r o x y _ p a s s _ h e a d e r | p r o x y _ p a s s _ r e q u e s t _ b o d y | p r o x y _ p a s s _ r e q u e s t _ h e a d e r s | p r o x y _ r e a d _ t i m e o u t | p r o x y _ r e d i r e c t | p r o x y _ r e d i r e c t _ e r r o r s | p r o x y _ s e n d _ l o w a t | p r o x y _ s e n d _ t i m e o u t | p r o x y _ s e t _ b o d y | p r o x y _ s e t _ h e a d e r | p r o x y _ s s l _ s e s s i o n _ r e u s e | p r o x y _ s t o r e | p r o x y _ s t o r e _ a c c e s s | p r o x y _ t e m p _ f i l e _ w r i t e _ s i z e | p r o x y _ t e m p
Prism . languages . nim = { comment : /#.*/ , string : { pattern : /(?:(?:\b(?!\d)(?:\w|\\x[8-9a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")|'(?:\\(?:\d+|x[\da-fA-F]{2}|.)|[^'])')/ , greedy : ! 0 } , number : /\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/ , keyword : /\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/ , function : { pattern : /(?:(?!\d)(?:\w|\\x[8-9a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/ , inside : { operator : /\*$/ } } , ignore : { pattern : /`[^`\r\n]+`/ , inside : { punctuation : /`/ } } , operator : { pattern : /(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|of|or|in|is|isnot|mod|not|notin|shl|shr|xor)\b)/m , lookbehind : ! 0 } , punctuation : /[({\[]\.|\.[)}\]]|[`(){}\[\],:]/ } ;
Prism . languages . nix = { comment : /\/\*[\s\S]*?\*\/|#.*/ , string : { pattern : /"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/ , greedy : ! 0 , inside : { interpolation : { pattern : /(^|(?:^|(?!'').)[^\\])\$\{(?:[^}]|\{[^}]*\})*}/ , lookbehind : ! 0 , inside : { antiquotation : { pattern : /^\$(?=\{)/ , alias : "variable" } } } } } , url : [ /\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/ , { pattern : /([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/ , lookbehind : ! 0 } ] , antiquotation : { pattern : /\$(?=\{)/ , alias : "variable" } , number : /\b\d+\b/ , keyword : /\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/ , function : /\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:url|Tarball)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/ , boolean : /\b(?:true|false)\b/ , operator : /[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/ , punctuation : /[{}()[\].,:;]/ } , Prism . languages . nix . string . inside . interpolation . inside . rest = Prism . languages . nix ;
Prism . languages . nsis = { comment : { pattern : /(^|[^\\])(\/\*[\s\S]*?\*\/|[#;].*)/ , lookbehind : ! 0 } , string : { pattern : /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 } , keyword : { pattern : /(^\s*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|Banner|BG(?:Font|Gradient|Image)|BrandingText|BringToFront|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|WriteUTF16LE|Seek|Write|WriteByte|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DlgItem|DLLVersion(?:Local)?|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|Name|Nop|ns(?:Dialogs|Exec)|NSISdl|OutFile|Page(?:Callbacks)?|PE(?:DllCharacteristics|SubsysVer)|Pop|Push|Quit|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|Unicode|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UninstPage|UnRegDLL|UserInfo|Var|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle)\b/m , lookbehind : ! 0 } , property : /\b(?:admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user|ARCHIVE|FILE_(ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK((CR|CU|LM)(32|64)?|DD|PD|U)|HKEY_(CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)\b/ , constant : /\${[\w\.:\^-]+}|\$\([\w\.:\^-]+\)/i , variable : /\$\w+/i , number : /\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee]-?\d+)?/ , operator : /--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/ , punctuation : /[{}[\];(),.:]/ , important : { pattern : /(^\s*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|ifdef|ifmacrodef|ifmacrondef|ifndef|if|include|insertmacro|macroend|macro|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im , lookbehind : ! 0 } } ;
Prism . languages . objectivec = Prism . languages . extend ( "c" , { keyword : /\b(?:asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while|in|self|super)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/ , string : /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|@"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/ , operator : /-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/ } ) , delete Prism . languages . objectivec [ "class-name" ] ;
Prism . languages . ocaml = { comment : /\(\*[\s\S]*?\*\)/ , string : [ { pattern : /"(?:\\.|[^\\\r\n"])*"/ , greedy : ! 0 } , { pattern : /(['`])(?:\\(?:\d+|x[\da-f]+|.)|(?!\1)[^\\\r\n])\1/i , greedy : ! 0 } ] , number : /\b(?:0x[\da-f][\da-f_]+|(?:0[bo])?\d[\d_]*\.?[\d_]*(?:e[+-]?[\d_]+)?)/i , type : { pattern : /\B['`]\w*/ , alias : "variable" } , directive : { pattern : /\B#\w+/ , alias : "function" } , keyword : /\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|object|of|open|prefix|private|rec|then|sig|struct|to|try|type|val|value|virtual|where|while|with)\b/ , boolean : /\b(?:false|true)\b/ , operator : /:=|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lxor|lsl|lsr|mod|nor|or)\b/ , punctuation : /[(){}\[\]|_.,:;]/ } ;
! function ( E ) { E . languages . opencl = E . languages . extend ( "c" , { keyword : /\b(?:__attribute__|(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|auto|break|case|cl_(?:image_format|mem_fence_flags)|clk_event_t|complex|const|continue|default|do|(?:float|double)(?:16(?:x(?:1|16|2|4|8))?|1x(?:1|16|2|4|8)|2(?:x(?:1|16|2|4|8))?|3|4(?:x(?:1|16|2|4|8))?|8(?:x(?:1|16|2|4|8))?)?|else|enum|event_t|extern|for|goto|(?:u?(?:char|short|int|long)|half|quad|bool)(?:2|3|4|8|16)?|if|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|imaginary|inline|intptr_t|ndrange_t|packed|pipe|ptrdiff_t|queue_t|register|reserve_id_t|restrict|return|sampler_t|signed|size_t|sizeof|static|struct|switch|typedef|uintptr_t|uniform|union|unsigned|void|volatile|while)\b/ , "function-opencl-kernel" : { pattern : /\b(?:abs(?:_diff)?|a?(?:cos|sin)(?:h|pi)?|add_sat|aligned|all|and|any|async(?:_work_group_copy|_work_group_strided_copy)?|atan(?:2?(?:pi)?|h)?|atom_(?:add|and|cmpxchg|dec|inc|max|min|or|sub|xchg|xor)|barrier|bitselect|cbrt|ceil|clamp|clz|copies|copysign|cross|degrees|distance|dot|endian|erf|erfc|exp(?:2|10)?|expm1|fabs|fast_(?:distance|length|normalize)|fdim|floor|fma|fmax|fmin|fract|frexp|fro|from|get_(?:global_(?:id|offset|size)|group_id|image_(?:channel_data_type|channel_order|depth|dim|height|width)|local(?:_id|_size)|num_groups|work_dim)|hadd|(?:half|native)_(?:cos|divide|exp(?:2|10)?|log(?:2|10)?|powr|recip|r?sqrt|sin|tan)|hypot|ilogb|is(?:equal|finite|greater(?:equal)?|inf|less(?:equal|greater)?|nan|normal|notequal|(?:un)?ordered)|ldexp|length|lgamma|lgamma_r|log(?:b|1p|2|10)?|mad(?:24|_hi|_sat)?|max|mem(?:_fence)?|min|mix|modf|mul24|mul_hi|nan|nextafter|normalize|pow[nr]?|prefetch|radians|read_(?:image)(?:f|h|u?i)|read_mem_fence|remainder|remquo|reqd_work_group_size|rhadd|rint|rootn|rotate|round|rsqrt|select|shuffle2?|sign|signbit|sincos|smoothstep|sqrt|step|sub_sat|tan|tanh|tanpi|tgamma|to|trunc|upsample|vec_(?:step|type_hint)|v(?:load|store)(?:_half)?(?:2|3|4|8|16)?|v(?:loada_half|storea?(?:_half)?)(?:2|3|4|8|16)?(?:_(?:rte|rtn|rtp|rtz))?|wait_group_events|work_group_size_hint|write_image(?:f|h|u?i)|write_mem_fence)\b/ , alias : "function" } , "constant-opencl-kernel" : { pattern : /\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:LOCAL|GLOBAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT)_(?:DIG|EPSILON|MANT_DIG|(?:MIN|MAX)(?:(?:_10)?_EXP)?)|FLT_RADIX|HUGE_VALF|INFINITY|(?:INT|LONG|SCHAR|SHRT|UCHAR|UINT|ULONG)_(?:MAX|MIN)|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:10|2)E?|PI[24]?|SQRT(?:1_2|2))|NAN)\b/ , alias : "constant" } } ) ; var _ = { "type-opencl-host" : { pattern : /\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|short|int|long)|float|double)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/ , alias : "keyword" } , "boolean-opencl-host" : { pattern : /\bCL_(?:TRUE|FALSE)\b/ , alias : "boolean" } , "constant-opencl-host" : { pattern : / \ b C L _ ( ? : A | A B G R | A D D R E S S _ ( ? : C L A M P ( ? : _ T O _ E D G E ) ? | M I R R O R E D _ R E P E A T | N O N E | R E P E A T ) | A R G B | B G R A | B L O C K I N G | B U F F E R _ C R E A T E _ T Y P E _ R E G I O N | B U I L D _ ( ? : E R R O R | I N _ P R O G R E S S | N O N E | P R O G R A M _ F A I L U R E | S U C C E S S ) | C O M M A N D _ ( ? : A C Q U I R E _ G L _ O B J E C T S | B A R R I E R | C O P Y _ ( ? : B U F F E R ( ? : _ R E C T | _ T O _ I M A G E ) ? | I M A G E ( ? : _ T O _ B U F F E R ) ? ) | F I L L _ ( ? : B U F F E R | I M A G E ) | M A P ( ? : _ B U F F E R | _ I M A G E ) | M A R K E R | M I G R A T E ( ? : _ S V M ) ? _ M E M _ O B J E C T S | N A T I V E _ K E R N E L | N D R A N G E _ K E R N E L | R E A D _ ( ? : B U F F E R ( ? : _ R E C T ) ? | I M A G E ) | R E L E A S E _ G L _ O B J E C T S | S V M _ ( ? : F R E E | M A P | M E M C P Y | M E M F I L L | U N M A P ) | T A S K | U N M A P _ M E M _ O B J E C T | U S E
Prism . languages . oz = { comment : /\/\*[\s\S]*?\*\/|%.*/ , string : { pattern : /"(?:[^"\\]|\\[\s\S])*"/ , greedy : ! 0 } , atom : { pattern : /'(?:[^'\\]|\\[\s\S])*'/ , greedy : ! 0 , alias : "builtin" } , keyword : /[$_]|\[\]|\b(?:at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/ , function : [ /[a-z][A-Za-z\d]*(?=\()/ , { pattern : /(\{)[A-Z][A-Za-z\d]*/ , lookbehind : ! 0 } ] , number : /\b(?:0[bx][\da-f]+|\d+\.?\d*(?:e~?\d+)?\b)|&(?:[^\\]|\\(?:\d{3}|.))/i , variable : /\b[A-Z][A-Za-z\d]*|`(?:[^`\\]|\\.)+`/ , "attr-name" : /\w+(?=:)/ , operator : /:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/ , punctuation : /[\[\](){}.:;?]/ } ;
Prism . languages . parigp = { comment : /\/\*[\s\S]*?\*\/|\\\\.*/ , string : { pattern : /"(?:[^"\\\r\n]|\\.)*"/ , greedy : ! 0 } , keyword : function ( ) { var r = [ "breakpoint" , "break" , "dbg_down" , "dbg_err" , "dbg_up" , "dbg_x" , "forcomposite" , "fordiv" , "forell" , "forpart" , "forprime" , "forstep" , "forsubgroup" , "forvec" , "for" , "iferr" , "if" , "local" , "my" , "next" , "return" , "until" , "while" ] ; return r = r . map ( function ( r ) { return r . split ( "" ) . join ( " *" ) } ) . join ( "|" ) , RegExp ( "\\b(?:" + r + ")\\b" ) } ( ) , function : /\w[\w ]*?(?= *\()/ , number : { pattern : /((?:\. *\. *)?)(?:\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *[+-]? *\d(?: *\d)*)?/i , lookbehind : ! 0 } , operator : /\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?:(?: *<)?(?: *=)?| *>)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/ , punctuation : /[\[\]{}().,:;|]/ } ;
! function ( e ) { var n = e . languages . parser = e . languages . extend ( "markup" , { keyword : { pattern : /(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/ , lookbehind : ! 0 } , variable : { pattern : /(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/ , lookbehind : ! 0 , inside : { punctuation : /\.|:+/ } } , function : { pattern : /(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/ , lookbehind : ! 0 , inside : { keyword : { pattern : /(^@)(?:GET_|SET_)/ , lookbehind : ! 0 } , punctuation : /\.|:+/ } } , escape : { pattern : /\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i , alias : "builtin" } , punctuation : /[\[\](){};]/ } ) ; n = e . languages . insertBefore ( "parser" , "keyword" , { "parser-comment" : { pattern : /(\s)#.*/ , lookbehind : ! 0 , alias : "comment" } , expression : { pattern : /(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/ , greedy : ! 0 , lookbehind : ! 0 , inside : { string : { pattern : /(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/ , lookbehind : ! 0 } , keyword : n . keyword , variable : n . variable , function : n . function , boolean : /\b(?:true|false)\b/ , number : /\b(?:0x[a-f\d]+|\d+\.?\d*(?:e[+-]?\d+)?)\b/i , escape : n . escape , operator : /[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/ , punctuation : n . punctuation } } } ) , n = e . languages . insertBefore ( "inside" , "punctuation" , { expression : n . expression , keyword : n . keyword , variable : n . variable , function : n . function , escape : n . escape , "parser-punctuation" : { pattern : n . punctuation , alias : "punctuation" } } , n . tag . inside [ "attr-value" ] ) } ( Prism ) ;
Prism . languages . pascal = { comment : [ /\(\*[\s\S]+?\*\)/ , /\{[\s\S]+?\}/ , /\/\/.*/ ] , string : { pattern : /(?:'(?:''|[^'\r\n])*'|#[&$%]?[a-f\d]+)+|\^[a-z]/i , greedy : ! 0 } , keyword : [ { pattern : /(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i , lookbehind : ! 0 } , { pattern : /(^|[^&])\b(?:dispose|exit|false|new|true)\b/i , lookbehind : ! 0 } , { pattern : /(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i , lookbehind : ! 0 } , { pattern : /(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i , lookbehind : ! 0 } ] , number : [ /(?:[&%]\d+|\$[a-f\d]+)/i , /\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i ] , operator : [ /\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/i , { pattern : /(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/ , lookbehind : ! 0 } ] , punctuation : /\(\.|\.\)|[()\[\]:;,.]/ } , Prism . languages . objectpascal = Prism . languages . pascal ;
! function ( e ) { var n = "(?:\\w+(?:<braces>)?|<braces>)" . replace ( /<braces>/g , "\\((?:[^()]|\\((?:[^()]|\\([^()]*\\))*\\))*\\)" ) , i = e . languages . pascaligo = { comment : /\(\*[\s\S]+?\*\)|\/\/.*/ , string : { pattern : /(["'`])(\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i , greedy : ! 0 } , "class-name" : [ { pattern : RegExp ( "(\\btype\\s+\\w+\\s+is\\s+)<type>" . replace ( /<type>/g , n ) , "i" ) , lookbehind : ! 0 , inside : null } , { pattern : RegExp ( "<type>(?=\\s+is\\b)" . replace ( /<type>/g , n ) , "i" ) , inside : null } , { pattern : RegExp ( "(:\\s*)<type>" . replace ( /<type>/g , n ) ) , lookbehind : ! 0 , inside : null } ] , keyword : { pattern : /(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i , lookbehind : ! 0 } , boolean : { pattern : /(^|[^&])\b(?:True|False)\b/i , lookbehind : ! 0 } , builtin : { pattern : /(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i , lookbehind : ! 0 } , function : /\w+(?=\s*\()/i , number : [ /%[01]+|&[0-7]+|\$[a-f\d]+/i , /\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i ] , operator : /->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/ , punctuation : /\(\.|\.\)|[()\[\]:;,.{}]/ } , t = [ "comment" , "keyword" , "builtin" , "operator" , "punctuation" ] . reduce ( function ( e , n ) { return e [ n ] = i [ n ] , e } , { } ) ; i [ "class-name" ] . forEach ( function ( e ) { e . inside = t } ) } ( Prism ) ;
Prism . languages . pcaxis = { string : /"[^"]*"/ , keyword : { pattern : /((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/ , lookbehind : ! 0 , greedy : ! 0 , inside : { keyword : /^[-A-Z\d]+/ , language : { pattern : /^(\s*)\[[-\w]+\]/ , lookbehind : ! 0 , inside : { punctuation : /^\[|\]$/ , property : /[-\w]+/ } } , "sub-key" : { pattern : /^(\s*)[\s\S]+/ , lookbehind : ! 0 , inside : { parameter : { pattern : /"[^"]*"/ , alias : "property" } , punctuation : /^\(|\)$|,/ } } } } , operator : /=/ , tlist : { pattern : /TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/ , greedy : ! 0 , inside : { function : /^TLIST/ , property : { pattern : /^(\s*\(\s*)\w+/ , lookbehind : ! 0 } , string : /"[^"]*"/ , punctuation : /[(),]/ , operator : /-/ } } , punctuation : /[;,]/ , number : { pattern : /(^|\s)\d+(?:\.\d+)?(?!\S)/ , lookbehind : ! 0 } , boolean : /YES|NO/ } , Prism . languages . px = Prism . languages . pcaxis ;
Prism . languages . perl = { comment : [ { pattern : /(^\s*)=\w+[\s\S]*?=cut.*/m , lookbehind : ! 0 } , { pattern : /(^|[^\\$])#.*/ , lookbehind : ! 0 } ] , string : [ { pattern : /\b(?:q|qq|qx|qw)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/ , greedy : ! 0 } , { pattern : /\b(?:q|qq|qx|qw)\s+([a-zA-Z0-9])(?:(?!\1)[^\\]|\\[\s\S])*\1/ , greedy : ! 0 } , { pattern : /\b(?:q|qq|qx|qw)\s*\((?:[^()\\]|\\[\s\S])*\)/ , greedy : ! 0 } , { pattern : /\b(?:q|qq|qx|qw)\s*\{(?:[^{}\\]|\\[\s\S])*\}/ , greedy : ! 0 } , { pattern : /\b(?:q|qq|qx|qw)\s*\[(?:[^[\]\\]|\\[\s\S])*\]/ , greedy : ! 0 } , { pattern : /\b(?:q|qq|qx|qw)\s*<(?:[^<>\\]|\\[\s\S])*>/ , greedy : ! 0 } , { pattern : /("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/ , greedy : ! 0 } , { pattern : /'(?:[^'\\\r\n]|\\.)*'/ , greedy : ! 0 } ] , regex : [ { pattern : /\b(?:m|qr)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1[msixpodualngc]*/ , greedy : ! 0 } , { pattern : /\b(?:m|qr)\s+([a-zA-Z0-9])(?:(?!\1)[^\\]|\\[\s\S])*\1[msixpodualngc]*/ , greedy : ! 0 } , { pattern : /\b(?:m|qr)\s*\((?:[^()\\]|\\[\s\S])*\)[msixpodualngc]*/ , greedy : ! 0 } , { pattern : /\b(?:m|qr)\s*\{(?:[^{}\\]|\\[\s\S])*\}[msixpodualngc]*/ , greedy : ! 0 } , { pattern : /\b(?:m|qr)\s*\[(?:[^[\]\\]|\\[\s\S])*\][msixpodualngc]*/ , greedy : ! 0 } , { pattern : /\b(?:m|qr)\s*<(?:[^<>\\]|\\[\s\S])*>[msixpodualngc]*/ , greedy : ! 0 } , { pattern : /(^|[^-]\b)(?:s|tr|y)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2[msixpodualngcer]*/ , lookbehind : ! 0 , greedy : ! 0 } , { pattern : /(^|[^-]\b)(?:s|tr|y)\s+([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2[msixpodualngcer]*/ , lookbehind : ! 0 , greedy : ! 0 } , { pattern : /(^|[^-]\b)(?:s|tr|y)\s*\((?:[^()\\]|\\[\s\S])*\)\s*\((?:[^()\\]|\\[\s\S])*\)[msixpodualngcer]*/ , lookbehind : ! 0 , greedy : ! 0 } , { pattern : /(^|[^-]\b)(?:s|tr|y)\s*\{(?:[^{}\\]|\\[\s\S])*\}\s*\{(?:[^{}\\]|\\[\s\S])*\}[msixpodualngcer]*/ , lookbehind : ! 0 , greedy : ! 0 } , { pattern : /(^|[^-]\b)(?:s|tr|y)\s*\[(?:[^[\]\\]|\\[\s\S])*\]\s*\[(?:[^[\]\\]|\\[\s\S])*\][msixpodualngcer]*/ , lookbehind : ! 0 , greedy : ! 0 } , { pattern : /(^|[^-]\b)(?:s|tr|y)\s*<(?:[^<>\\]|\\[\s\S])*>\s*<(?:[^<>\\]|\\[\s\S])*>[msixpodualngcer]*/ , lookbehind : ! 0 , greedy : ! 0 } , { pattern : /\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor|x)\b))/ , greedy : ! 0 } ] , variable : [ /[&*$@%]\{\^[A-Z]+\}/ , /[&*$@%]\^[A-Z_]/ , /[&*$@%]#?(?=\{)/ , /[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+)+(?:::)*/i , /[&*$@%]\d+/ , /(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/ ] , filehandle : { pattern : /<(?![<=])\S*>|\b_\b/ , alias : "symbol" } , vstring : { pattern : /v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/ , alias : "string" } , function : { pattern : /sub [a-z0-9_]+/i , inside : { keyword : /sub/ } } , keyword : /\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/ , number : /\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:\d(?:_?\d)*)?\.?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/ , operator : /-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:lt|gt|le|ge|eq|ne|cmp|not|and|or|xor)\b/ , punctuation : /[{}[\];(),:]/ } ;
! function ( a ) { var e = a . languages . javascript , n = "{(?:[^{}]|{(?:[^{}]|{[^{}]*})*})+}" , s = "(@(?:param|arg|argument|property)\\s+(?:" + n + "\\s+)?)" ; a . languages . jsdoc = a . languages . extend ( "javadoclike" , { parameter : { pattern : RegExp ( s + "[$\\w\\xA0-\\uFFFF.]+(?=\\s|$)" ) , lookbehind : ! 0 , inside : { punctuation : /\./ } } } ) , a . languages . insertBefore ( "jsdoc" , "keyword" , { "optional-parameter" : { pattern : RegExp ( s + "\\[[$\\w\\xA0-\\uFFFF.]+(?:=[^[\\]]+)?\\](?=\\s|$)" ) , lookbehind : ! 0 , inside : { parameter : { pattern : /(^\[)[$\w\xA0-\uFFFF\.]+/ , lookbehind : ! 0 , inside : { punctuation : /\./ } } , code : { pattern : /(=)[\s\S]*(?=\]$)/ , lookbehind : ! 0 , inside : e , alias : "language-javascript" } , punctuation : /[=[\]]/ } } , "class-name" : [ { pattern : RegExp ( "(@[a-z]+\\s+)" + n ) , lookbehind : ! 0 , inside : { punctuation : /[.,:?=<>|{}()[\]]/ } } , { pattern : /(@(?:augments|extends|class|interface|memberof!?|this)\s+)[A-Z]\w*(?:\.[A-Z]\w*)*/ , lookbehind : ! 0 , inside : { punctuation : /\./ } } ] , example : { pattern : /(@example\s+)[^@]+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/ , lookbehind : ! 0 , inside : { code : { pattern : /^(\s*(?:\*\s*)?).+$/m , lookbehind : ! 0 , inside : e , alias : "language-javascript" } } } } ) , a . languages . javadoclike . addSupport ( "javascript" , a . languages . jsdoc ) } ( Prism ) ;
! function ( a ) { var e = "(?:[a-zA-Z]\\w*|[|\\\\[\\]])+" ; a . languages . phpdoc = a . languages . extend ( "javadoclike" , { parameter : { pattern : RegExp ( "(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:" + e + "\\s+)?)\\$\\w+" ) , lookbehind : ! 0 } } ) , a . languages . insertBefore ( "phpdoc" , "keyword" , { "class-name" : [ { pattern : RegExp ( "(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)" + e ) , lookbehind : ! 0 , inside : { keyword : /\b(?:callback|resource|boolean|integer|double|object|string|array|false|float|mixed|bool|null|self|true|void|int)\b/ , punctuation : /[|\\[\]()]/ } } ] } ) , a . languages . javadoclike . addSupport ( "php" , a . languages . phpdoc ) } ( Prism ) ;
Prism . languages . insertBefore ( "php" , "variable" , { this : /\$this\b/ , global : /\$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)\b/ , scope : { pattern : /\b[\w\\]+::/ , inside : { keyword : /static|self|parent/ , punctuation : /::|\\/ } } } ) ;
Prism . languages . sql = { comment : { pattern : /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/ , lookbehind : ! 0 } , variable : [ { pattern : /@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/ , greedy : ! 0 } , /@[\w.$]+/ ] , string : { pattern : /(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/ , greedy : ! 0 , lookbehind : ! 0 } , function : /\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i , keyword : /\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURNS?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i , boolean : /\b(?:TRUE|FALSE|NULL)\b/i , number : /\b0x[\da-f]+\b|\b\d+\.?\d*|\B\.\d+\b/i , operator : /[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|IN|LIKE|NOT|OR|IS|DIV|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i , punctuation : /[;[\]()`,.]/ } ;
! function ( e ) { var t = Prism . languages . powershell = { comment : [ { pattern : /(^|[^`])<#[\s\S]*?#>/ , lookbehind : ! 0 } , { pattern : /(^|[^`])#.*/ , lookbehind : ! 0 } ] , string : [ { pattern : /"(?:`[\s\S]|[^`"])*"/ , greedy : ! 0 , inside : { function : { pattern : /(^|[^`])\$\((?:\$\(.*?\)|(?!\$\()[^\r\n)])*\)/ , lookbehind : ! 0 , inside : { } } } } , { pattern : /'(?:[^']|'')*'/ , greedy : ! 0 } ] , namespace : /\[[a-z](?:\[(?:\[[^\]]*]|[^\[\]])*]|[^\[\]])*]/i , boolean : /\$(?:true|false)\b/i , variable : /\$\w+\b/i , function : [ /\b(?:Add-(?:Computer|Content|History|Member|PSSnapin|Type)|Checkpoint-Computer|Clear-(?:Content|EventLog|History|Item|ItemProperty|Variable)|Compare-Object|Complete-Transaction|Connect-PSSession|ConvertFrom-(?:Csv|Json|StringData)|Convert-Path|ConvertTo-(?:Csv|Html|Json|Xml)|Copy-(?:Item|ItemProperty)|Debug-Process|Disable-(?:ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)|Disconnect-PSSession|Enable-(?:ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)|Enter-PSSession|Exit-PSSession|Export-(?:Alias|Clixml|Console|Csv|FormatData|ModuleMember|PSSession)|ForEach-Object|Format-(?:Custom|List|Table|Wide)|Get-(?:Alias|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Culture|Date|Event|EventLog|EventSubscriber|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|WmiObject)|Group-Object|Import-(?:Alias|Clixml|Csv|LocalizedData|Module|PSSession)|Invoke-(?:Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)|Join-Path|Limit-EventLog|Measure-(?:Command|Object)|Move-(?:Item|ItemProperty)|New-(?:Alias|Event|EventLog|Item|ItemProperty|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy)|Out-(?:Default|File|GridView|Host|Null|Printer|String)|Pop-Location|Push-Location|Read-Host|Receive-(?:Job|PSSession)|Register-(?:EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)|Remove-(?:Computer|Event|EventLog|Item|ItemProperty|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)|Rename-(?:Computer|Item|ItemProperty)|Reset-ComputerMachinePassword|Resolve-Path|Restart-(?:Computer|Service)|Restore-Computer|Resume-(?:Job|Service)|Save-Help|Select-(?:Object|String|Xml)|Send-MailMessage|Set-(?:Alias|Content|Date|Item|ItemProperty|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)|Show-(?:Command|ControlPanelItem|EventLog)|Sort-Object|Split-Path|Start-(?:Job|Process|Service|Sleep|Transaction)|Stop-(?:Computer|Job|Process|Service)|Suspend-(?:Job|Service)|Tee-Object|Test-(?:ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)|Trace-Command|Unblock-File|Undo-Transaction|Unregister-(?:Event|PSSessionConfiguration)|Update-(?:FormatData|Help|List|TypeData)|Use-Transaction|Wait-(?:Event|Job|Process)|Where-Object|Write-(?:Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning))\b/i , /\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i ] , keyword : /\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i , operator : { pattern : /(\W?)(?:!|-(eq|ne|gt|ge|lt|le|sh[lr]|not|b?(?:and|x?or)|(?:Not)?(?:Like|Match|Contains|In)|Replace|Join|is(?:Not)?|as)\b|-[-=]?|\+[+=]?|[*\/%]=?)/i , lookbehind : ! 0 } , punctuation : /[|{}[\];(),.]/ } , o = t . string [ 0 ] . inside ; o . boolean = t . boolean , o . variable = t . variable , o . function . i
Prism . languages . processing = Prism . languages . extend ( "clike" , { keyword : /\b(?:break|catch|case|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/ , operator : /<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/ } ) , Prism . languages . insertBefore ( "processing" , "number" , { constant : /\b(?!XML\b)[A-Z][A-Z\d_]+\b/ , type : { pattern : /\b(?:boolean|byte|char|color|double|float|int|XML|[A-Z]\w*)\b/ , alias : "variable" } } ) , Prism . languages . processing . function . pattern = /\w+(?=\s*\()/ , Prism . languages . processing [ "class-name" ] . alias = "variable" ;
Prism . languages . prolog = { comment : [ /%.+/ , /\/\*[\s\S]*?\*\// ] , string : { pattern : /(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 } , builtin : /\b(?:fx|fy|xf[xy]?|yfx?)\b/ , variable : /\b[A-Z_]\w*/ , function : /\b[a-z]\w*(?:(?=\()|\/\d+)/ , number : /\b\d+\.?\d*/ , operator : /[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/ , punctuation : /[(){}\[\],]/ } ;
Prism . languages . properties = { comment : /^[ \t]*[#!].*$/m , "attr-value" : { pattern : /(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?: *[=:] *| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m , lookbehind : ! 0 } , "attr-name" : /^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?= *[=:] *| )/m , punctuation : /[=:]/ } ;
! function ( e ) { var a = /\b(?:double|float|[su]?int(?:32|64)|s?fixed(?:32|64)|bool|string|bytes)\b/ ; e . languages . protobuf = e . languages . extend ( "clike" , { "class-name" : { pattern : /(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/ , lookbehind : ! 0 } , keyword : /\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|service|syntax|to)\b/ } ) , e . languages . insertBefore ( "protobuf" , "operator" , { map : { pattern : /\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[A-Za-z_]\w*\s*[=;])/ , alias : "class-name" , inside : { punctuation : /[<>.,]/ , builtin : a } } , builtin : a , "positional-class-name" : { pattern : /(?:\b|\B\.)[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s+[A-Za-z_]\w*\s*[=;])/ , alias : "class-name" , inside : { punctuation : /\./ } } , annotation : { pattern : /(\[\s*)[A-Za-z_]\w*(?=\s*=)/ , lookbehind : ! 0 } } ) } ( Prism ) ;
Prism . languages . scss = Prism . languages . extend ( "css" , { comment : { pattern : /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/ , lookbehind : ! 0 } , atrule : { pattern : /@[\w-]+(?:\([^()]+\)|[^(])*?(?=\s+[{;])/ , inside : { rule : /@[\w-]+/ } } , url : /(?:[-a-z]+-)?url(?=\()/i , selector : { pattern : /(?=\S)[^@;{}()]?(?:[^@;{}()]|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}]+[:{][^}]+))/m , inside : { parent : { pattern : /&/ , alias : "important" } , placeholder : /%[-\w]+/ , variable : /\$[-\w]+|#\{\$[-\w]+\}/ } } , property : { pattern : /(?:[\w-]|\$[-\w]+|#\{\$[-\w]+\})+(?=\s*:)/ , inside : { variable : /\$[-\w]+|#\{\$[-\w]+\}/ } } } ) , Prism . languages . insertBefore ( "scss" , "atrule" , { keyword : [ /@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i , { pattern : /( +)(?:from|through)(?= )/ , lookbehind : ! 0 } ] } ) , Prism . languages . insertBefore ( "scss" , "important" , { variable : /\$[-\w]+|#\{\$[-\w]+\}/ } ) , Prism . languages . insertBefore ( "scss" , "function" , { placeholder : { pattern : /%[-\w]+/ , alias : "selector" } , statement : { pattern : /\B!(?:default|optional)\b/i , alias : "keyword" } , boolean : /\b(?:true|false)\b/ , null : { pattern : /\bnull\b/ , alias : "keyword" } , operator : { pattern : /(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/ , lookbehind : ! 0 } } ) , Prism . languages . scss . atrule . inside . rest = Prism . languages . scss ;
! function ( e ) { e . languages . puppet = { heredoc : [ { pattern : /(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r))*?[ \t]*\|?[ \t]*-?[ \t]*\2/ , lookbehind : ! 0 , alias : "string" , inside : { punctuation : /(?=\S).*\S(?= *$)/ } } , { pattern : /(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r))*?[ \t]*\|?[ \t]*-?[ \t]*\2/ , lookbehind : ! 0 , greedy : ! 0 , alias : "string" , inside : { punctuation : /(?=\S).*\S(?= *$)/ } } , { pattern : /@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/ , alias : "string" , inside : { punctuation : { pattern : /(\().+?(?=\))/ , lookbehind : ! 0 } } } ] , "multiline-comment" : { pattern : /(^|[^\\])\/\*[\s\S]*?\*\// , lookbehind : ! 0 , greedy : ! 0 , alias : "comment" } , regex : { pattern : /((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/ , lookbehind : ! 0 , greedy : ! 0 , inside : { "extended-regex" : { pattern : /^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/ , inside : { comment : /#.*/ } } } } , comment : { pattern : /(^|[^\\])#.*/ , lookbehind : ! 0 , greedy : ! 0 } , string : { pattern : /(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|(?!\1)[^\\]|\\[\s\S])*\1/ , greedy : ! 0 , inside : { "double-quoted" : { pattern : /^"[\s\S]*"$/ , inside : { } } } } , variable : { pattern : /\$(?:::)?\w+(?:::\w+)*/ , inside : { punctuation : /::/ } } , "attr-name" : /(?:\w+|\*)(?=\s*=>)/ , function : [ { pattern : /(\.)(?!\d)\w+/ , lookbehind : ! 0 } , /\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/ ] , number : /\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i , boolean : /\b(?:true|false)\b/ , keyword : /\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/ , datatype : { pattern : /\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/ , alias : "symbol" } , operator : /=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/ , punctuation : /[\[\]{}().,;]|:+/ } ; var n = [ { pattern : /(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/ , lookbehind : ! 0 , inside : { "short-variable" : { pattern : /(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/ , lookbehind : ! 0 , alias : "variable" , inside : { punctuation : /::/ } } , delimiter : { pattern : /^\$/ , alias : "variable" } , rest : e . languages . puppet } } , { pattern : /(^|[^\\])\$(?:::)?\w+(?:::\w+)*/ , lookbehind : ! 0 , alias : "variable" , inside : { punctuation : /::/ } } ] ; e . languages . puppet . heredoc [ 0 ] . inside . interpolation = n , e . languages . puppet . string . inside [ "double-quoted" ] . inside . interpolation = n } ( Prism ) ;
! function ( r ) { r . languages . pure = { comment : [ { pattern : /(^|[^\\])\/\*[\s\S]*?\*\// , lookbehind : ! 0 } , { pattern : /(^|[^\\:])\/\/.*/ , lookbehind : ! 0 } , /#!.+/ ] , "inline-lang" : { pattern : /%<[\s\S]+?%>/ , greedy : ! 0 , inside : { lang : { pattern : /(^%< *)-\*-.+?-\*-/ , lookbehind : ! 0 , alias : "comment" } , delimiter : { pattern : /^%<.*|%>$/ , alias : "punctuation" } } } , string : { pattern : /"(?:\\.|[^"\\\r\n])*"/ , greedy : ! 0 } , number : { pattern : /((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d)?|\B\.\d)\d*(?:e[+-]?\d+)?L?)/i , lookbehind : ! 0 } , keyword : /\b(?:ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|NULL|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/ , function : /\b(?:abs|add_(?:(?:fundef|interface|macdef|typedef)(?:_at)?|addr|constdef|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_(?:matrix|pointer)|byte_c?string(?:_pointer)?|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|short|sentry|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/ , special : { pattern : /\b__[a-z]+__\b/i , alias : "builtin" } , operator : /(?=\b_|[^_])[!"#$%&'*+,\-.\/:<=>?@\\^_`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]+|\b(?:and|div|mod|not|or)\b/ , punctuation : /[(){}\[\];,|]/ } ; [ "c" , { lang : "c++" , alias : "cpp" } , "fortran" ] . forEach ( function ( e ) { var t = e ; if ( "string" != typeof e && ( t = e . alias , e = e . lang ) , r . languages [ t ] ) { var a = { } ; a [ "inline-lang-" + t ] = { pattern : RegExp ( "%< *-\\*- *{lang}\\d* *-\\*-[\\s\\S]+?%>" . replace ( "{lang}" , e . replace ( /([.+*?\/\\(){}\[\]])/g , "\\$1" ) ) , "i" ) , inside : r . util . clone ( r . languages . pure [ "inline-lang" ] . inside ) } , a [ "inline-lang-" + t ] . inside . rest = r . util . clone ( r . languages [ t ] ) , r . languages . insertBefore ( "pure" , "inline-lang" , a ) } } ) , r . languages . c && ( r . languages . pure [ "inline-lang" ] . inside . rest = r . util . clone ( r . languages . c ) ) } ( Prism ) ;
Prism . languages . python = { comment : { pattern : /(^|[^\\])#.*/ , lookbehind : ! 0 } , "string-interpolation" : { pattern : /(?:f|rf|fr)(?:("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i , greedy : ! 0 , inside : { interpolation : { pattern : /((?:^|[^{])(?:{{)*){(?!{)(?:[^{}]|{(?!{)(?:[^{}]|{(?!{)(?:[^{}])+})+})+}/ , lookbehind : ! 0 , inside : { "format-spec" : { pattern : /(:)[^:(){}]+(?=}$)/ , lookbehind : ! 0 } , "conversion-option" : { pattern : // , alias : "punctuation" } , rest : null } } , string : /[\s\S]+/ } } , "triple-quoted-string" : { pattern : /(?:[rub]|rb|br)?("""|''')[\s\S]+?\1/i , greedy : ! 0 , alias : "string" } , string : { pattern : /(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i , greedy : ! 0 } , function : { pattern : /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g , lookbehind : ! 0 } , "class-name" : { pattern : /(\bclass\s+)\w+/i , lookbehind : ! 0 } , decorator : { pattern : /(^\s*)@\w+(?:\.\w+)*/im , lookbehind : ! 0 , alias : [ "annotation" , "punctuation" ] , inside : { punctuation : /\./ } } , keyword : /\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/ , builtin : /\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/ , boolean : /\b(?:True|False|None)\b/ , number : /(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i , operator : /[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/ , punctuation : /[{}[\];(),.:]/ } , Prism . languages . python [ "string-interpolation" ] . inside . interpolation . inside . rest = Prism . languages . python , Prism . languages . py = Prism . languages . python ;
Prism . languages . q = { string : /"(?:\\.|[^"\\\r\n])*"/ , comment : [ { pattern : /([\t )\]}])\/.*/ , lookbehind : ! 0 , greedy : ! 0 } , { pattern : /(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/ , lookbehind : ! 0 , greedy : ! 0 } , { pattern : /^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m , greedy : ! 0 } , { pattern : /^#!.+/m , greedy : ! 0 } ] , symbol : /`(?::\S+|[\w.]*)/ , datetime : { pattern : /0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/ , alias : "number" } , number : /\b(?![01]:)(?:0[wn]|0W[hj]?|0N[hje]?|0x[\da-fA-F]+|\d+\.?\d*(?:e[+-]?\d+)?[hjfeb]?)/ , keyword : /\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/ , adverb : { pattern : /['\/\\]:?|\beach\b/ , alias : "function" } , verb : { pattern : /(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?_~=|$&#@^]):?/ , alias : "operator" } , punctuation : /[(){}\[\];.]/ } ;
Prism . languages . qore = Prism . languages . extend ( "clike" , { comment : { pattern : /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/ , lookbehind : ! 0 } , string : { pattern : /("|')(\\[\s\S]|(?!\1)[^\\])*\1/ , greedy : ! 0 } , variable : /\$(?!\d)\w+\b/ , keyword : /\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:int|float|number|bool|string|date|list)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/ , number : /\b(?:0b[01]+|0x[\da-f]*\.?[\da-fp\-]+|\d*\.?\d+e?\d*[df]|\d*\.?\d+)\b/i , boolean : /\b(?:true|false)\b/i , operator : { pattern : /(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/ , lookbehind : ! 0 } , function : /\$?\b(?!\d)\w+(?=\()/ } ) ;
Prism . languages . r = { comment : /#.*/ , string : { pattern : /(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 } , "percent-operator" : { pattern : /%[^%\s]*%/ , alias : "operator" } , boolean : /\b(?:TRUE|FALSE)\b/ , ellipsis : /\.\.(?:\.|\d+)/ , number : [ /\b(?:NaN|Inf)\b/ , /(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+\.?\d*|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/ ] , keyword : /\b(?:if|else|repeat|while|function|for|in|next|break|NULL|NA|NA_integer_|NA_real_|NA_complex_|NA_character_)\b/ , operator : /->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/ , punctuation : /[(){}\[\],;]/ } ;
! function ( a ) { a . languages . insertBefore ( "javascript" , "function-variable" , { "method-variable" : { pattern : RegExp ( "(\\.\\s*)" + a . languages . javascript [ "function-variable" ] . pattern . source ) , lookbehind : ! 0 , alias : [ "function-variable" , "method" , "function" , "property-access" ] } } ) , a . languages . insertBefore ( "javascript" , "function" , { method : { pattern : RegExp ( "(\\.\\s*)" + a . languages . javascript . function . source ) , lookbehind : ! 0 , alias : [ "function" , "property-access" ] } } ) , a . languages . insertBefore ( "javascript" , "constant" , { "known-class-name" : [ { pattern : /\b(?:(?:(?:Uint|Int)(?:8|16|32)|Uint8Clamped|Float(?:32|64))?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|(?:Weak)?(?:Set|Map)|WebAssembly)\b/ , alias : "class-name" } , { pattern : /\b(?:[A-Z]\w*)Error\b/ , alias : "class-name" } ] } ) , a . languages . javascript . keyword . unshift ( { pattern : /\b(?:as|default|export|from|import)\b/ , alias : "module" } , { pattern : /\bnull\b/ , alias : [ "null" , "nil" ] } , { pattern : /\bundefined\b/ , alias : "nil" } ) , a . languages . insertBefore ( "javascript" , "operator" , { spread : { pattern : /\.{3}/ , alias : "operator" } , arrow : { pattern : /=>/ , alias : "operator" } } ) , a . languages . insertBefore ( "javascript" , "punctuation" , { "property-access" : { pattern : /(\.\s*)#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*/ , lookbehind : ! 0 } , "maybe-class-name" : { pattern : /(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/ , lookbehind : ! 0 } , dom : { pattern : /\b(?:document|location|navigator|performance|(?:local|session)Storage|window)\b/ , alias : "variable" } , console : { pattern : /\bconsole(?=\s*\.)/ , alias : "class-name" } } ) ; for ( var e = [ "function" , "function-variable" , "method" , "method-variable" , "property-access" ] , t = 0 ; t < e . length ; t ++ ) { var n = e [ t ] , r = a . languages . javascript [ n ] ; "RegExp" === a . util . type ( r ) && ( r = a . languages . javascript [ n ] = { pattern : r } ) ; var s = r . inside || { } ; ( r . inside = s ) [ "maybe-class-name" ] = /^[A-Z][\s\S]*/ } } ( Prism ) ;
! function ( i ) { var t = i . util . clone ( i . languages . javascript ) ; i . languages . jsx = i . languages . extend ( "markup" , t ) , i . languages . jsx . tag . pattern = /<\/?(?:[\w.:-]+\s*(?:\s+(?:[\w.:-]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s{'">=]+|\{(?:\{(?:\{[^}]*\}|[^{}])*\}|[^{}])+\}))?|\{\.{3}[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\}))*\s*\/?)?>/i , i . languages . jsx . tag . inside . tag . pattern = /^<\/?[^\s>\/]*/i , i . languages . jsx . tag . inside [ "attr-value" ] . pattern = /=(?!\{)(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">]+)/i , i . languages . jsx . tag . inside . tag . inside [ "class-name" ] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/ , i . languages . insertBefore ( "inside" , "attr-name" , { spread : { pattern : /\{\.{3}[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\}/ , inside : { punctuation : /\.{3}|[{}.]/ , "attr-value" : /\w+/ } } } , i . languages . jsx . tag ) , i . languages . insertBefore ( "inside" , "attr-value" , { script : { pattern : /=(\{(?:\{(?:\{[^}]*\}|[^}])*\}|[^}])+\})/i , inside : { "script-punctuation" : { pattern : /^=(?={)/ , alias : "punctuation" } , rest : i . languages . jsx } , alias : "language-javascript" } } , i . languages . jsx . tag ) ; var o = function ( t ) { return t ? "string" == typeof t ? t : "string" == typeof t . content ? t . content : t . content . map ( o ) . join ( "" ) : "" } , p = function ( t ) { for ( var n = [ ] , e = 0 ; e < t . length ; e ++ ) { var a = t [ e ] , s = ! 1 ; if ( "string" != typeof a && ( "tag" === a . type && a . content [ 0 ] && "tag" === a . content [ 0 ] . type ? "</" === a . content [ 0 ] . content [ 0 ] . content ? 0 < n . length && n [ n . length - 1 ] . tagName === o ( a . content [ 0 ] . content [ 1 ] ) && n . pop ( ) : "/>" === a . content [ a . content . length - 1 ] . content || n . push ( { tagName : o ( a . content [ 0 ] . content [ 1 ] ) , openedBraces : 0 } ) : 0 < n . length && "punctuation" === a . type && "{" === a . content ? n [ n . length - 1 ] . openedBraces ++ : 0 < n . length && 0 < n [ n . length - 1 ] . openedBraces && "punctuation" === a . type && "}" === a . content ? n [ n . length - 1 ] . openedBraces -- : s = ! 0 ) , ( s || "string" == typeof a ) && 0 < n . length && 0 === n [ n . length - 1 ] . openedBraces ) { var g = o ( a ) ; e < t . length - 1 && ( "string" == typeof t [ e + 1 ] || "plain-text" === t [ e + 1 ] . type ) && ( g += o ( t [ e + 1 ] ) , t . splice ( e + 1 , 1 ) ) , 0 < e && ( "string" == typeof t [ e - 1 ] || "plain-text" === t [ e - 1 ] . type ) && ( g = o ( t [ e - 1 ] ) + g , t . splice ( e - 1 , 1 ) , e -- ) , t [ e ] = new i . Token ( "plain-text" , g , null , g ) } a . content && "string" != typeof a . content && p ( a . content ) } } ; i . hooks . add ( "after-tokenize" , function ( t ) { "jsx" !== t . language && "tsx" !== t . language || p ( t . tokens ) } ) } ( Prism ) ;
Prism . languages . renpy = { comment : { pattern : /(^|[^\\])#.+/ , lookbehind : ! 0 } , string : { pattern : /("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2|(?:^#?(?:(?:[0-9a-fA-F]{2}){3}|(?:[0-9a-fA-F]){3})$)/m , greedy : ! 0 } , function : /[a-z_]\w*(?=\()/i , property : /\b(?:insensitive|idle|hover|selected_idle|selected_hover|background|position|alt|xpos|ypos|pos|xanchor|yanchor|anchor|xalign|yalign|align|xcenter|ycenter|xofsset|yoffset|ymaximum|maximum|xmaximum|xminimum|yminimum|minimum|xsize|ysizexysize|xfill|yfill|area|antialias|black_color|bold|caret|color|first_indent|font|size|italic|justify|kerning|language|layout|line_leading|line_overlap_split|line_spacing|min_width|newline_indent|outlines|rest_indent|ruby_style|slow_cps|slow_cps_multiplier|strikethrough|text_align|underline|hyperlink_functions|vertical|hinting|foreground|left_margin|xmargin|top_margin|bottom_margin|ymargin|left_padding|right_padding|xpadding|top_padding|bottom_padding|ypadding|size_group|child|hover_sound|activate_sound|mouse|focus_mask|keyboard_focus|bar_vertical|bar_invert|bar_resizing|left_gutter|right_gutter|top_gutter|bottom_gutter|left_bar|right_bar|top_bar|bottom_bar|thumb|thumb_shadow|thumb_offset|unscrollable|spacing|first_spacing|box_reverse|box_wrap|order_reverse|fit_first|ysize|thumbnail_width|thumbnail_height|help|text_ypos|text_xpos|idle_color|hover_color|selected_idle_color|selected_hover_color|insensitive_color|alpha|insensitive_background|hover_background|zorder|value|width|xadjustment|xanchoraround|xaround|xinitial|xoffset|xzoom|yadjustment|yanchoraround|yaround|yinitial|yzoom|zoom|ground|height|text_style|text_y_fudge|selected_insensitive|has_sound|has_music|has_voice|focus|hovered|image_style|length|minwidth|mousewheel|offset|prefix|radius|range|right_margin|rotate|rotate_pad|developer|screen_width|screen_height|window_title|name|version|windows_icon|default_fullscreen|default_text_cps|default_afm_time|main_menu_music|sample_sound|enter_sound|exit_sound|save_directory|enter_transition|exit_transition|intra_transition|main_game_transition|game_main_transition|end_splash_transition|end_game_transition|after_load_transition|window_show_transition|window_hide_transition|adv_nvl_transition|nvl_adv_transition|enter_yesno_transition|exit_yesno_transition|enter_replay_transition|exit_replay_transition|say_attribute_transition|directory_name|executable_name|include_update|window_icon|modal|google_play_key|google_play_salt|drag_name|drag_handle|draggable|dragged|droppable|dropped|narrator_menu|action|default_afm_enable|version_name|version_tuple|inside|fadeout|fadein|layers|layer_clipping|linear|scrollbars|side_xpos|side_ypos|side_spacing|edgescroll|drag_joined|drag_raise|drop_shadow|drop_shadow_color|subpixel|easein|easeout|time|crop|auto|update|get_installed_packages|can_update|UpdateVersion|Update|overlay_functions|translations|window_left_padding|show_side_image|show_two_window)\b/ , tag : /\b(?:label|image|menu|[hv]box|frame|text|imagemap|imagebutton|bar|vbar|screen|textbutton|buttoscreenn|fixed|grid|input|key|mousearea|side|timer|viewport|window|hotspot|hotbar|self|button|drag|draggroup|tag|mm_menu_frame|nvl|block|parallel)\b|\$/ , keyword : /\b(?:as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|pass|print|raise|return|try|while|yield|adjustment|alignaround|allow|angle|around|box_layout|cache|changed|child_size|clicked|clipping|corner1|corner2|default|delay|exclude|scope|slow|slow_abortable|slow_done|sound|style_group|substitute|suffix|transform_anchor|transpose|unhovered|config|theme|mm_root|gm_root|rounded_window|build|disabled_text|disabled|widget_selected|widget_text|widget_hover|widget|updater|behind|call|expression|hide|init|jump|onlayer|python|renpy|scene|set|show|transform|play|queue|stop|pause|define|window|repeat|contains|choice|on|function|event|animation|clockwise|counterclockwise|circles|knot|null|None|random|has|add|use|fade|dissolve|style|store|id|voice|center|left|right|less_rounded|music|movie|clear|persistent|ui)\b/ , boolean : /\b(?:[Tt]rue|[Ff]alse)\b/ , number : / ( ? : \ b ( ? : 0 [ b o ] ) ? ( ? : ( ? : \ d | 0 x [ \ d
Prism . languages . reason = Prism . languages . extend ( "clike" , { comment : { pattern : /(^|[^\\])\/\*[\s\S]*?\*\// , lookbehind : ! 0 } , string : { pattern : /"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/ , greedy : ! 0 } , "class-name" : /\b[A-Z]\w*/ , keyword : /\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/ , operator : /\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:mod|land|lor|lxor|lsl|lsr|asr)\b/ } ) , Prism . languages . insertBefore ( "reason" , "class-name" , { character : { pattern : /'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/ , alias : "string" } , constructor : { pattern : /\b[A-Z]\w*\b(?!\s*\.)/ , alias : "variable" } , label : { pattern : /\b[a-z]\w*(?=::)/ , alias : "symbol" } } ) , delete Prism . languages . reason . function ;
Prism . languages . vala = Prism . languages . extend ( "clike" , { "class-name" : [ { pattern : /\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w+)/ , inside : { punctuation : /\./ } } , { pattern : /(\[)[A-Z]\w*(?:\.\w+)*\b/ , lookbehind : ! 0 , inside : { punctuation : /\./ } } , { pattern : /(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/ , lookbehind : ! 0 , inside : { punctuation : /\./ } } , { pattern : /((?:\b(?:class|interface|new|struct|enum)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/ , lookbehind : ! 0 , inside : { punctuation : /\./ } } ] , constant : /\b[A-Z0-9_]+\b/ , function : /\w+(?=\s*\()/ , keyword : /\b(?:bool|char|double|float|null|size_t|ssize_t|string|unichar|void|int|int8|int16|int32|int64|long|short|uchar|uint|uint8|uint16|uint32|uint64|ulong|ushort|class|delegate|enum|errordomain|interface|namespace|struct|break|continue|do|for|foreach|return|while|else|if|switch|assert|case|default|abstract|const|dynamic|ensures|extern|inline|internal|override|private|protected|public|requires|signal|static|virtual|volatile|weak|async|owned|unowned|try|catch|finally|throw|as|base|construct|delete|get|in|is|lock|new|out|params|ref|sizeof|set|this|throws|typeof|using|value|var|yield)\b/i , number : /(?:\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i , operator : /\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./ , punctuation : /[{}[\];(),.:]/ } ) , Prism . languages . insertBefore ( "vala" , "string" , { "raw-string" : { pattern : /"""[\s\S]*?"""/ , greedy : ! 0 , alias : "string" } , "template-string" : { pattern : /@"[\s\S]*?"/ , greedy : ! 0 , inside : { interpolation : { pattern : /\$(?:\([^)]*\)|[a-zA-Z]\w*)/ , inside : { delimiter : { pattern : /^\$\(?|\)$/ , alias : "punctuation" } , rest : Prism . languages . vala } } , string : /[\s\S]+/ } } } ) , Prism . languages . insertBefore ( "vala" , "keyword" , { regex : { pattern : /\/(\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*($|[\r\n,.;})\]]))/ , greedy : ! 0 } } ) ;
Prism . languages . rest = { table : [ { pattern : /(\s*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1(?:[+|].+)+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/ , lookbehind : ! 0 , inside : { punctuation : /\||(?:\+[=-]+)+\+/ } } , { pattern : /(\s*)(?:=+ +)+=+(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1(?:=+ +)+=+(?=(?:\r?\n|\r){2}|\s*$)/ , lookbehind : ! 0 , inside : { punctuation : /[=-]+/ } } ] , "substitution-def" : { pattern : /(^\s*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m , lookbehind : ! 0 , inside : { substitution : { pattern : /^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/ , alias : "attr-value" , inside : { punctuation : /^\||\|$/ } } , directive : { pattern : /( +)[^:]+::/ , lookbehind : ! 0 , alias : "function" , inside : { punctuation : /::$/ } } } } , "link-target" : [ { pattern : /(^\s*\.\. )\[[^\]]+\]/m , lookbehind : ! 0 , alias : "string" , inside : { punctuation : /^\[|\]$/ } } , { pattern : /(^\s*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m , lookbehind : ! 0 , alias : "string" , inside : { punctuation : /^_|:$/ } } ] , directive : { pattern : /(^\s*\.\. )[^:]+::/m , lookbehind : ! 0 , alias : "function" , inside : { punctuation : /::$/ } } , comment : { pattern : /(^\s*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m , lookbehind : ! 0 } , title : [ { pattern : /^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m , inside : { punctuation : /^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/ , important : /.+/ } } , { pattern : /(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/ , lookbehind : ! 0 , inside : { punctuation : /[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/ , important : /.+/ } } ] , hr : { pattern : /((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/ , lookbehind : ! 0 , alias : "punctuation" } , field : { pattern : /(^\s*):[^:\r\n]+:(?= )/m , lookbehind : ! 0 , alias : "attr-name" } , "command-line-option" : { pattern : /(^\s*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im , lookbehind : ! 0 , alias : "symbol" } , "literal-block" : { pattern : /::(?:\r?\n|\r){2}([ \t]+).+(?:(?:\r?\n|\r)\1.+)*/ , inside : { "literal-block-punctuation" : { pattern : /^::/ , alias : "punctuation" } } } , "quoted-literal-block" : { pattern : /::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/ , inside : { "literal-block-punctuation" : { pattern : /^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m , alias : "punctuation" } } } , "list-bullet" : { pattern : /(^\s*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im , lookbehind : ! 0 , alias : "punctuation" } , "doctest-block" : { pattern : /(^\s*)>>> .+(?:(?:\r?\n|\r).+)*/m , lookbehind : ! 0 , inside : { punctuation : /^>>>/ } } , inline : [ { pattern : /(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s).*?[^\s]\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m , lookbehind : ! 0 , inside : { bold : { pattern : /(^\*\*).+(?=\*\*$)/ , lookbehind : ! 0 } , italic : { pattern : /(^\*).+(?=\*$)/ , lookbehind : ! 0 } , "inline-literal" : { pattern : /(^``).+(?=``$)/ , lookbehind : ! 0 , alias : "symbol" } , role : { pattern : /^:[^:]+:|:[^:]+:$/ , alias : "function" , inside : { punctuation : /^:|:$/ } } , "interpreted-text" : { pattern : /(^`).+(?=`$)/ , lookbehind : ! 0 , alias : "attr-value" } , substitution : { pattern : /(^\|).+(?=\|$)/ , lookbehind : ! 0 , alias : "attr-value" } , punctuation : /\*\*?|``?|\|/ } } ] , link : [ { pattern : /\[[^\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/ , alias : "string" , inside : { punctuation : /^\[|\]_$/ } } , { pattern : /(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i , alias : "string" , inside : { punctuation : /^_?`|`$|`?_?_$/ } } ] , punctuation : { pattern : /(^\s*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m , lookbehind : ! 0 } } ;
Prism . languages . rip = { comment : /#.*/ , keyword : /(?:=>|->)|\b(?:class|if|else|switch|case|return|exit|try|catch|finally|raise)\b/ , builtin : /@|\bSystem\b/ , boolean : /\b(?:true|false)\b/ , date : /\b\d{4}-\d{2}-\d{2}\b/ , time : /\b\d{2}:\d{2}:\d{2}\b/ , datetime : /\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/ , character : /\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/ , regex : { pattern : /(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\\\r\n])+\/(?=\s*($|[\r\n,.;})]))/ , lookbehind : ! 0 , greedy : ! 0 } , symbol : /:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/ , string : { pattern : /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 } , number : /[+-]?(?:(?:\d+\.\d+)|(?:\d+))/ , punctuation : /(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/ , reference : /[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/ } ;
Prism . languages . roboconf = { comment : /#.*/ , keyword : { pattern : /(^|\s)(?:(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{)|(?:external|import)\b)/ , lookbehind : ! 0 } , component : { pattern : /[\w-]+(?=[ \t]*\{)/ , alias : "variable" } , property : /[\w.-]+(?=[ \t]*:)/ , value : { pattern : /(=[ \t]*)[^,;]+/ , lookbehind : ! 0 , alias : "attr-value" } , optional : { pattern : /\(optional\)/ , alias : "builtin" } , wildcard : { pattern : /(\.)\*/ , lookbehind : ! 0 , alias : "operator" } , punctuation : /[{},.;:=]/ } ;
! function ( t ) { var r = { pattern : /(^[ \t]*| {2}|\t)#.*/m , lookbehind : ! 0 , greedy : ! 0 } , o = { pattern : /((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/ , lookbehind : ! 0 , inside : { punctuation : /^[$@&%]\{|\}$/ } } ; function n ( t , n ) { var e = { "section-header" : { pattern : /^ ?\*{3}.+?\*{3}/ , alias : "keyword" } } ; for ( var a in n ) e [ a ] = n [ a ] ; return e . tag = { pattern : /([\r\n](?: |\t)[ \t]*)\[[-\w]+\]/ , lookbehind : ! 0 , inside : { punctuation : /\[|\]/ } } , e . variable = o , e . comment = r , { pattern : RegExp ( "^ ?\\*{3}[ \t]*<name>[ \t]*\\*{3}(?:.|[\r\\n](?!\\*{3}))*" . replace ( /<name>/g , t ) , "im" ) , alias : "section" , inside : e } } var e = { pattern : /(\[Documentation\](?: |\t)[ \t]*)(?![ \t]|#)(?:.|[ \t]*(?:\r\n?|\n)[ \t]*\.{3}[ \t]*)+/ , lookbehind : ! 0 , alias : "string" } , a = { pattern : /([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/ , lookbehind : ! 0 , alias : "function" , inside : { variable : o } } , i = { pattern : /([\r\n](?: |\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/ , lookbehind : ! 0 , inside : { variable : o } } ; t . languages [ "robot-framework" ] = { settings : n ( "Settings" , { documentation : { pattern : /([\r\n] ?Documentation(?: |\t)[ \t]*)(?![ \t]|#)(?:.|[ \t]*(?:\r\n?|\n)[ \t]*\.{3}[ \t]*)+/ , lookbehind : ! 0 , alias : "string" } , property : { pattern : /([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/ , lookbehind : ! 0 } } ) , variables : n ( "Variables" ) , "test-cases" : n ( "Test Cases" , { "test-name" : a , documentation : e , property : i } ) , keywords : n ( "Keywords" , { "keyword-name" : a , documentation : e , property : i } ) , tasks : n ( "Tasks" , { "task-name" : a , documentation : e , property : i } ) , comment : r } , t . languages . robot = t . languages [ "robot-framework" ] } ( Prism ) ;
! function ( e ) { var n = "(?:\\([^|)]+\\)|\\[[^\\]]+\\]|\\{[^}]+\\})+" , i = { css : { pattern : /\{[^}]+\}/ , inside : { rest : e . languages . css } } , "class-id" : { pattern : /(\()[^)]+(?=\))/ , lookbehind : ! 0 , alias : "attr-value" } , lang : { pattern : /(\[)[^\]]+(?=\])/ , lookbehind : ! 0 , alias : "attr-value" } , punctuation : /[\\\/]\d+|\S/ } , t = e . languages . textile = e . languages . extend ( "markup" , { phrase : { pattern : /(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/ , lookbehind : ! 0 , inside : { "block-tag" : { pattern : RegExp ( "^[a-z]\\w*(?:" + n + "|[<>=()])*\\." ) , inside : { modifier : { pattern : RegExp ( "(^[a-z]\\w*)(?:" + n + "|[<>=()])+(?=\\.)" ) , lookbehind : ! 0 , inside : i } , tag : /^[a-z]\w*/ , punctuation : /\.$/ } } , list : { pattern : RegExp ( "^[*#]+(?:" + n + ")?\\s+.+" , "m" ) , inside : { modifier : { pattern : RegExp ( "(^[*#]+)" + n ) , lookbehind : ! 0 , inside : i } , punctuation : /^[*#]+/ } } , table : { pattern : RegExp ( "^(?:(?:" + n + "|[<>=()^~])+\\.\\s*)?(?:\\|(?:(?:" + n + "|[<>=()^~_]|[\\\\/]\\d+)+\\.)?[^|]*)+\\|" , "m" ) , inside : { modifier : { pattern : RegExp ( "(^|\\|(?:\\r?\\n|\\r)?)(?:" + n + "|[<>=()^~_]|[\\\\/]\\d+)+(?=\\.)" ) , lookbehind : ! 0 , inside : i } , punctuation : /\||^\./ } } , inline : { pattern : RegExp ( "(\\*\\*|__|\\?\\?|[*_%@+\\-^~])(?:" + n + ")?.+?\\1" ) , inside : { bold : { pattern : RegExp ( "(^(\\*\\*?)(?:" + n + ")?).+?(?=\\2)" ) , lookbehind : ! 0 } , italic : { pattern : RegExp ( "(^(__?)(?:" + n + ")?).+?(?=\\2)" ) , lookbehind : ! 0 } , cite : { pattern : RegExp ( "(^\\?\\?(?:" + n + ")?).+?(?=\\?\\?)" ) , lookbehind : ! 0 , alias : "string" } , code : { pattern : RegExp ( "(^@(?:" + n + ")?).+?(?=@)" ) , lookbehind : ! 0 , alias : "keyword" } , inserted : { pattern : RegExp ( "(^\\+(?:" + n + ")?).+?(?=\\+)" ) , lookbehind : ! 0 } , deleted : { pattern : RegExp ( "(^-(?:" + n + ")?).+?(?=-)" ) , lookbehind : ! 0 } , span : { pattern : RegExp ( "(^%(?:" + n + ")?).+?(?=%)" ) , lookbehind : ! 0 } , modifier : { pattern : RegExp ( "(^\\*\\*|__|\\?\\?|[*_%@+\\-^~])" + n ) , lookbehind : ! 0 , inside : i } , punctuation : /[*_%?@+\-^~]+/ } } , "link-ref" : { pattern : /^\[[^\]]+\]\S+$/m , inside : { string : { pattern : /(\[)[^\]]+(?=\])/ , lookbehind : ! 0 } , url : { pattern : /(\])\S+$/ , lookbehind : ! 0 } , punctuation : /[\[\]]/ } } , link : { pattern : RegExp ( '"(?:' + n + ')?[^"]+":.+?(?=[^\\w/]?(?:\\s|$))' ) , inside : { text : { pattern : RegExp ( '(^"(?:' + n + ')?)[^"]+(?=")' ) , lookbehind : ! 0 } , modifier : { pattern : RegExp ( '(^")' + n ) , lookbehind : ! 0 , inside : i } , url : { pattern : /(:).+/ , lookbehind : ! 0 } , punctuation : /[":]/ } } , image : { pattern : RegExp ( "!(?:" + n + "|[<>=()])*[^!\\s()]+(?:\\([^)]+\\))?!(?::.+?(?=[^\\w/]?(?:\\s|$)))?" ) , inside : { source : { pattern : RegExp ( "(^!(?:" + n + "|[<>=()])*)[^!\\s()]+(?:\\([^)]+\\))?(?=!)" ) , lookbehind : ! 0 , alias : "url" } , modifier : { pattern : RegExp ( "(^!)(?:" + n + "|[<>=()])+" ) , lookbehind : ! 0 , inside : i } , url : { pattern : /(:).+/ , lookbehind : ! 0 } , punctuation : /[!:]/ } } , footnote : { pattern : /\b\[\d+\]/ , alias : "comment" , inside : { punctuation : /\[|\]/ } } , acronym : { pattern : /\b[A-Z\d]+\([^)]+\)/ , inside : { comment : { pattern : /(\()[^)]+(?=\))/ , lookbehind : ! 0 } , punctuation : /[()]/ } } , mark : { pattern : /\b\((?:TM|R|C)\)/ , alias : "comment" , inside : { punctuation : /[()]/ } } } } } ) , a = t . phrase . inside , o = { inline : a . inline , link : a . link , image : a . image , footnote : a . footnote , acronym : a . acronym , mark : a . mark } ; t . tag . pattern = /<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i ; var r = a . inline . inside ; r . bold . inside = o , r . italic . inside = o , r . inserted . inside = o , r . deleted . inside = o , r . span . inside = o ; var d = a . table . inside ; d . inline = o . inline , d . link = o . link , d . image = o . image , d . footnote = o . footnote , d . acronym = o . acronym , d . mark = o . mark } ( Prism ) ;
Prism . languages . rust = { comment : [ { pattern : /(^|[^\\])\/\*[\s\S]*?\*\// , lookbehind : ! 0 } , { pattern : /(^|[^\\:])\/\/.*/ , lookbehind : ! 0 } ] , string : [ { pattern : /b?r(#*)"(?:\\.|(?!"\1)[^\\\r\n])*"\1/ , greedy : ! 0 } , { pattern : /b?"(?:\\.|[^\\\r\n"])*"/ , greedy : ! 0 } ] , char : { pattern : /b?'(?:\\(?:x[0-7][\da-fA-F]|u{(?:[\da-fA-F]_*){1,6}|.)|[^\\\r\n\t'])'/ , alias : "string" } , "lifetime-annotation" : { pattern : /'[^\s>']+/ , alias : "symbol" } , keyword : /\b(?:abstract|alignof|as|async|await|be|box|break|const|continue|crate|do|dyn|else|enum|extern|false|final|fn|for|if|impl|in|let|loop|match|mod|move|mut|offsetof|once|override|priv|pub|pure|ref|return|sizeof|static|self|Self|struct|super|true|trait|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/ , attribute : { pattern : /#!?\[.+?\]/ , greedy : ! 0 , alias : "attr-name" } , function : [ /\w+(?=\s*\()/ , /\w+!(?=\s*\(|\[)/ ] , "macro-rules" : { pattern : /\w+!/ , alias : "function" } , number : /\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(\d(?:_?\d)*)?\.?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:[iu](?:8|16|32|64)?|f32|f64))?\b/ , "closure-params" : { pattern : /\|[^|]*\|(?=\s*[{-])/ , inside : { punctuation : /[|:,]/ , operator : /[&*]/ } } , punctuation : /->|\.\.=|\.{1,3}|::|[{}[\];(),:]/ , operator : /[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/ } ;
2019-10-14 09:49:59 +00:00
! function ( e ) { var t = "(?:\"(?:\"\"|[^\"])*\"(?!\")|'(?:''|[^'])*'(?!'))" , a = /\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i , n = { pattern : RegExp ( t + "[bx]" ) , alias : "number" } , i = [ /\/\*[\s\S]*?\*\// , { pattern : /(^\s*|;\s*)\*[^;]*;/m , lookbehind : ! 0 } ] , s = { pattern : RegExp ( t ) , greedy : ! 0 } , r = /[$%@.(){}\[\];,\\]/ , o = { "arg-value" : { pattern : /(=)[A-Z]+/i , lookbehind : ! 0 } , operator : /=/ , arg : { pattern : /[A-Z]+/i , alias : "keyword" } , number : a , "numeric-constant" : n , punctuation : r , string : s } ; e . languages . sas = { datalines : { pattern : /^(\s*)(?:(?:data)?lines|cards);[\s\S]+?^\s*;/im , lookbehind : ! 0 , alias : "string" , inside : { keyword : { pattern : /^(?:(?:data)?lines|cards)/i } , punctuation : /;/ } } , "proc-sql" : { pattern : /(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|run|data);|(?![\s\S]))/im , lookbehind : ! 0 , inside : { sql : { pattern : RegExp ( "^[ \t]*(?:select|alter\\s+table|(?:create|describe|drop)\\s+(?:index|table(?:\\s+constraints)?|view)|create\\s+unique\\s+index|insert\\s+into|update)(?:<str>|[^;\"'])+;" . replace ( /<str>/g , t ) , "im" ) , alias : "language-sql" , inside : e . languages . sql } , "global-statements" : { pattern : /((?:^|[\s])=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i , lookbehind : ! 0 , alias : "keyword" } , "sql-statements" : { pattern : /(^|\s)(?:disconnect\s+from|exec(?:ute)?|begin|commit|rollback|reset|validate)\b/i , lookbehind : ! 0 , alias : "keyword" } , number : a , "numeric-constant" : n , punctuation : r , string : s } } , "proc-args" : { pattern : RegExp ( "(^proc\\s+\\w+\\s+)(?!\\s)(?:[^;\"']|<str>)+;" . replace ( /<str>/g , t ) , "im" ) , lookbehind : ! 0 , inside : o } , "macro-keyword" : { pattern : /((?:^|\s)=?)%(?:ABORT|BQUOTE|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|NRBQUOTE|NRQUOTE|NRSTR|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUOTE|QUPCASE|RETURN|RUN|SCAN|STR|SUBSTR|SUPERQ|SYMDEL|SYMGLOBL|SYMLOCAL|SYMEXIST|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i , lookbehind : ! 0 , alias : "keyword" } , "macro-declaration" : { pattern : /^%macro[^;]+(?=;)/im , inside : { keyword : /%macro/i } } , "macro-end" : { pattern : /^%mend[^;]+(?=;)/im , inside : { keyword : /%mend/i } } , macro : { pattern : /%_\w+(?=\()/ , alias : "keyword" } , input : { pattern : /\binput\s+[-\w\s/*.$&]+;/i , inside : { input : { alias : "keyword" , pattern : /^input/i } , comment : i , number : a , "numeric-constant" : n } } , "options-args" : { pattern : /(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im , lookbehind : ! 0 , inside : o } , function : { pattern : /%?\w+(?=\()/ , alias : "keyword" } , format : { pattern : /\b(?:format|put)\b=?[\w'$.]+/im , inside : { keyword : /^(?:format|put)(?=\=)/i , equals : /=/ , format : { pattern : /(?:\w|\$\d)+\.\d?/i , alias : "number" } } } , altformat : { pattern : /\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i , inside : { keyword : /^(?:format|put)/i , format : { pattern : /[\w$]+\.\d?/ , alias : "number" } } } , "numeric-constant" : n , comment : i , datetime : { pattern : RegExp ( t + "(?:dt?|t)" ) , alias : "number" } , string : s , step : { pattern : /(^|\s+)(?:proc\s+\w+|quit|run|data(?!\=))\b/i , alias : "keyword" , lookbehind : ! 0 } , keyword : { pattern : /((?:^|\s)=?)(?:action|after|analysis|and|array|barchart|barwidth|begingraph|by|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|data(?=\=)|define|document|do\s+over|do|dol|drop|dul|end|entryTitle|else|endcomp|fill(?:attrs)?|filename|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|legendlabel|length|libname|merge|midpoints|name|noobs|nowd|ods|options|or|out(?:put)?|overlay|plot|ranexp|rannor|rbreak|retain|set|session|sessref|statgraph|sum|summarize|table|temp|then\s+do|then|title\d?|to|var|where|xaxisopts|yaxisopts|y2axisopts)\b/i , lookbehind : ! 0 } , "operator-keyword" : { pattern : /\b(?:eq|ne|gt|lt|ge|le|in|not)\b/i , alias : "operator" } , number : a , operator : /\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/i , punctuation : r } } ( Prism ) ;
2019-10-02 16:15:37 +00:00
! function ( e ) { e . languages . sass = e . languages . extend ( "css" , { comment : { pattern : /^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t]+.+)*/m , lookbehind : ! 0 } } ) , e . languages . insertBefore ( "sass" , "atrule" , { "atrule-line" : { pattern : /^(?:[ \t]*)[@+=].+/m , inside : { atrule : /(?:@[\w-]+|[+=])/m } } } ) , delete e . languages . sass . atrule ; var t = /\$[-\w]+|#\{\$[-\w]+\}/ , a = [ /[+*\/%]|[=!]=|<=?|>=?|\b(?:and|or|not)\b/ , { pattern : /(\s+)-(?=\s)/ , lookbehind : ! 0 } ] ; e . languages . insertBefore ( "sass" , "property" , { "variable-line" : { pattern : /^[ \t]*\$.+/m , inside : { punctuation : /:/ , variable : t , operator : a } } , "property-line" : { pattern : /^[ \t]*(?:[^:\s]+ *:.*|:[^:\s]+.*)/m , inside : { property : [ /[^:\s]+(?=\s*:)/ , { pattern : /(:)[^:\s]+/ , lookbehind : ! 0 } ] , punctuation : /:/ , variable : t , operator : a , important : e . languages . sass . important } } } ) , delete e . languages . sass . property , delete e . languages . sass . important , e . languages . insertBefore ( "sass" , "punctuation" , { selector : { pattern : /([ \t]*)\S(?:,?[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,?[^,\r\n]+)*)*/ , lookbehind : ! 0 } } ) } ( Prism ) ;
! function ( n ) { var t = { url : /url\((["']?).*?\1\)/i , string : { pattern : /("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/ , greedy : ! 0 } , interpolation : null , func : null , important : /\B!(?:important|optional)\b/i , keyword : { pattern : /(^|\s+)(?:(?:if|else|for|return|unless)(?=\s+|$)|@[\w-]+)/ , lookbehind : ! 0 } , hexcode : /#[\da-f]{3,6}/i , number : /\b\d+(?:\.\d+)?%?/ , boolean : /\b(?:true|false)\b/ , operator : [ /~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.+|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/ ] , punctuation : /[{}()\[\];:,]/ } ; t . interpolation = { pattern : /\{[^\r\n}:]+\}/ , alias : "variable" , inside : { delimiter : { pattern : /^{|}$/ , alias : "punctuation" } , rest : t } } , t . func = { pattern : /[\w-]+\([^)]*\).*/ , inside : { function : /^[^(]+/ , rest : t } } , n . languages . stylus = { comment : { pattern : /(^|[^\\])(\/\*[\s\S]*?\*\/|\/\/.*)/ , lookbehind : ! 0 } , "atrule-declaration" : { pattern : /(^\s*)@.+/m , lookbehind : ! 0 , inside : { atrule : /^@[\w-]+/ , rest : t } } , "variable-declaration" : { pattern : /(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:(?:\{[^}]*\}|.+)|$)/m , lookbehind : ! 0 , inside : { variable : /^\S+/ , rest : t } } , statement : { pattern : /(^[ \t]*)(?:if|else|for|return|unless)[ \t]+.+/m , lookbehind : ! 0 , inside : { keyword : /^\S+/ , rest : t } } , "property-declaration" : { pattern : /((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)[^{\r\n]*(?:;|[^{\r\n,](?=$)(?!(\r?\n|\r)(?:\{|\2[ \t]+)))/m , lookbehind : ! 0 , inside : { property : { pattern : /^[^\s:]+/ , inside : { interpolation : t . interpolation } } , rest : t } } , selector : { pattern : /(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\))?|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\))?|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t]+)))/m , lookbehind : ! 0 , inside : { interpolation : t . interpolation , punctuation : /[{},]/ } } , func : t . func , string : t . string , interpolation : t . interpolation , punctuation : /[{}()\[\];:.]/ } } ( Prism ) ;
! function ( a ) { var e = { code : { pattern : /(^(\s*(?:\*\s*)*)).*[^*\s].+$/m , lookbehind : ! 0 , inside : a . languages . java , alias : "language-java" } } ; a . languages . javadoc = a . languages . extend ( "javadoclike" , { } ) , a . languages . insertBefore ( "javadoc" , "keyword" , { "class-name" : [ { pattern : /(@(?:exception|throws|see|link|linkplain|value)\s+(?:[a-z\d]+\.)*)[A-Z](?:\w*[a-z]\w*)?(?:\.[A-Z](?:\w*[a-z]\w*)?)*/ , lookbehind : ! 0 , inside : { punctuation : /\./ } } , { pattern : /(@param\s+)<[A-Z]\w*>/ , lookbehind : ! 0 , inside : { punctuation : /[.<>]/ } } ] , namespace : { pattern : /(@(?:exception|throws|see|link|linkplain)\s+)(?:[a-z\d]+\.)+/ , lookbehind : ! 0 , inside : { punctuation : /\./ } } , "code-section" : [ { pattern : /(\{@code\s+)(?:[^{}]|\{[^{}]*\})+?(?=\s*\})/ , lookbehind : ! 0 , inside : e } , { pattern : /(<(code|tt)>\s*)[\s\S]+?(?=\s*<\/\2>)/ , lookbehind : ! 0 , inside : e } ] , tag : a . languages . markup . tag } ) , a . languages . javadoclike . addSupport ( "java" , a . languages . javadoc ) } ( Prism ) ;
! function ( e ) { for ( var n = '\\((?:[^();"#\\\\]|\\\\[\\s\\S]|;.*|"(?:[^"\\\\]|\\\\.)*"|#(?:\\{(?:(?!#\\})[\\s\\S])*#\\}|[^{])|<expr>)*\\)' , d = 0 ; d < 5 ; d ++ ) n = n . replace ( /<expr>/g , n ) ; n = n . replace ( /<expr>/g , "[^\\s\\S]" ) ; var i = e . languages . lilypond = { comment : /%(?:(?!\{).*|\{[\s\S]*?%\})/ , "embedded-scheme" : { pattern : RegExp ( '(^|[=\\s])#(?:"(?:[^"\\\\]|\\\\.)*"|[^\\s()"]*(?:[^\\s()]|<expr>))' . replace ( /<expr>/g , n ) , "m" ) , lookbehind : ! 0 , greedy : ! 0 , inside : { scheme : { pattern : /^(#)[\s\S]+$/ , lookbehind : ! 0 , alias : "language-scheme" , inside : { "embedded-lilypond" : { pattern : /#\{[\s\S]*?#\}/ , greedy : ! 0 , inside : { punctuation : /^#\{|#\}$/ , lilypond : { pattern : /[\s\S]+/ , alias : "language-lilypond" , inside : null } } } , rest : e . languages . scheme } } , punctuation : /#/ } } , string : { pattern : /"(?:[^"\\]|\\.)*"/ , greedy : ! 0 } , "class-name" : { pattern : /(\\new\s+)[\w-]+/ , lookbehind : ! 0 } , keyword : { pattern : /\\[a-z][-\w]*/i , inside : { punctuation : /^\\/ } } , operator : /[=|]|<<|>>/ , punctuation : { pattern : /(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/ , lookbehind : ! 0 } , number : /\b\d+(?:\/\d+)?\b/ } ; i [ "embedded-scheme" ] . inside . scheme . inside [ "embedded-lilypond" ] . inside . lilypond . inside = i , e . languages . ly = i } ( Prism ) ;
Prism . languages [ "shell-session" ] = { command : { pattern : /\$(?:[^\r\n'"<]|(["'])(?:\\[\s\S]|\$\([^)]+\)|`[^`]+`|(?!\1)[^\\])*\1|((?:^|[^<])<<\s*)["']?(\w+?)["']?\s*(?:\r\n?|\n)(?:[\s\S])*?(?:\r\n?|\n)\3)+/ , inside : { bash : { pattern : /(\$\s*)[\s\S]+/ , lookbehind : ! 0 , alias : "language-bash" , inside : Prism . languages . bash } , sh : { pattern : /^\$/ , alias : "important" } } } , output : { pattern : /.(?:.*(?:\r\n?|\n|.$))*/ } } ;
Prism . languages . smalltalk = { comment : /"(?:""|[^"])*"/ , character : { pattern : /\$./ , alias : "string" } , string : /'(?:''|[^'])*'/ , symbol : /#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i , "block-arguments" : { pattern : /(\[\s*):[^\[|]*\|/ , lookbehind : ! 0 , inside : { variable : /:[\da-z]+/i , punctuation : /\|/ } } , "temporary-variables" : { pattern : /\|[^|]+\|/ , inside : { variable : /[\da-z]+/i , punctuation : /\|/ } } , keyword : /\b(?:nil|true|false|self|super|new)\b/ , number : [ /\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/ , /\b\d+(?:\.\d+)?(?:e-?\d+)?/ ] , operator : /[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/ , punctuation : /[.;:?\[\](){}]/ } ;
! function ( n ) { n . languages . smarty = { comment : /\{\*[\s\S]*?\*\}/ , delimiter : { pattern : /^\{|\}$/i , alias : "punctuation" } , string : /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/ , number : /\b0x[\dA-Fa-f]+|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][-+]?\d+)?/ , variable : [ /\$(?!\d)\w+/ , /#(?!\d)\w+#/ , { pattern : /(\.|->)(?!\d)\w+/ , lookbehind : ! 0 } , { pattern : /(\[)(?!\d)\w+(?=\])/ , lookbehind : ! 0 } ] , function : [ { pattern : /(\|\s*)@?(?!\d)\w+/ , lookbehind : ! 0 } , /^\/?(?!\d)\w+/ , /(?!\d)\w+(?=\()/ ] , "attr-name" : { pattern : /\w+\s*=\s*(?:(?!\d)\w+)?/ , inside : { variable : { pattern : /(=\s*)(?!\d)\w+/ , lookbehind : ! 0 } , operator : /=/ } } , punctuation : [ /[\[\]().,:`]|->/ ] , operator : [ /[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/ , /\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/ , /\b(?:eq|neq?|gt|lt|gt?e|lt?e|not|mod|or|and)\b/ ] , keyword : /\b(?:false|off|on|no|true|yes)\b/ } , n . hooks . add ( "before-tokenize" , function ( e ) { var t = ! 1 ; n . languages [ "markup-templating" ] . buildPlaceholders ( e , "smarty" , /\{\*[\s\S]*?\*\}|\{[\s\S]+?\}/g , function ( e ) { return "{/literal}" === e && ( t = ! 1 ) , ! t && ( "{literal}" === e && ( t = ! 0 ) , ! 0 ) } ) } ) , n . hooks . add ( "after-tokenize" , function ( e ) { n . languages [ "markup-templating" ] . tokenizePlaceholders ( e , "smarty" ) } ) } ( Prism ) ;
Prism . languages . solidity = Prism . languages . extend ( "clike" , { "class-name" : { pattern : /(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/ , lookbehind : ! 0 } , keyword : /\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/ , operator : /=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/ } ) , Prism . languages . insertBefore ( "solidity" , "keyword" , { builtin : /\b(?:address|bool|string|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|byte|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/ } ) , Prism . languages . insertBefore ( "solidity" , "number" , { version : { pattern : /([<>]=?|\^)\d+\.\d+\.\d+\b/ , lookbehind : ! 0 , alias : "number" } } ) ;
! function ( t ) { var e = /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/ , a = /\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/ ; t . languages . soy = { comment : [ /\/\*[\s\S]*?\*\// , { pattern : /(\s)\/\/.*/ , lookbehind : ! 0 , greedy : ! 0 } ] , "command-arg" : { pattern : /({+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/ , lookbehind : ! 0 , alias : "string" , inside : { punctuation : /\./ } } , parameter : { pattern : /({+\/?\s*@?param\??\s+)\.?[\w.]+/ , lookbehind : ! 0 , alias : "variable" } , keyword : [ { pattern : /({+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/ , lookbehind : ! 0 } , /\b(?:any|as|attributes|bool|css|float|in|int|js|html|list|map|null|number|string|uri)\b/ ] , delimiter : { pattern : /^{+\/?|\/?}+$/ , alias : "punctuation" } , property : /\w+(?==)/ , variable : { pattern : /\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+]))*/ , inside : { string : { pattern : e , greedy : ! 0 } , number : a , punctuation : /[\[\].?]/ } } , string : { pattern : e , greedy : ! 0 } , function : [ /\w+(?=\()/ , { pattern : /(\|[^\S\r\n]*)\w+/ , lookbehind : ! 0 } ] , boolean : /\b(?:true|false)\b/ , number : a , operator : /\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/ , punctuation : /[{}()\[\]|.,:]/ } , t . hooks . add ( "before-tokenize" , function ( e ) { var a = ! 1 ; t . languages [ "markup-templating" ] . buildPlaceholders ( e , "soy" , /{{.+?}}|{.+?}|\s\/\/.*|\/\*[\s\S]*?\*\//g , function ( e ) { return "{/literal}" === e && ( a = ! 1 ) , ! a && ( "{literal}" === e && ( a = ! 0 ) , ! 0 ) } ) } ) , t . hooks . add ( "after-tokenize" , function ( e ) { t . languages [ "markup-templating" ] . tokenizePlaceholders ( e , "soy" ) } ) } ( Prism ) ;
Prism . languages . turtle = { comment : { pattern : /#.*/ , greedy : ! 0 } , "multiline-string" : { pattern : /"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/ , greedy : ! 0 , alias : "string" , inside : { comment : /#.*/ } } , string : { pattern : /"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/ , greedy : ! 0 } , url : { pattern : /<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-f]{4}|U[\da-f]{8}))*>/i , greedy : ! 0 , inside : { punctuation : /[<>]/ } } , function : { pattern : /(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i , inside : { "local-name" : { pattern : /([^:]*:)[\s\S]+/ , lookbehind : ! 0 } , prefix : { pattern : /[\s\S]+/ , inside : { punctuation : /:/ } } } } , number : /[+-]?\b\d+\.?\d*(?:e[+-]?\d+)?/i , punctuation : /[{}.,;()[\]]|\^\^/ , boolean : /\b(?:true|false)\b/ , keyword : [ /(?:\ba|@prefix|@base)\b|=/ , /\b(?:graph|base|prefix)\b/i ] , tag : { pattern : /@[a-z]+(?:-[a-z\d]+)*/i , inside : { punctuation : /@/ } } } , Prism . languages . trig = Prism . languages . turtle ;
Prism . languages [ "splunk-spl" ] = { comment : /`comment\("(?:\\.|[^\\"])*"\)`/ , string : { pattern : /"(?:\\.|[^\\"])*"/ , greedy : ! 0 } , keyword : /\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i , "operator-word" : { pattern : /\b(?:and|as|by|not|or|xor)\b/i , alias : "operator" } , function : /\w+(?=\s*\()/ , property : /\w+(?=\s*=(?!=))/ , date : { pattern : /\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/ , alias : "number" } , number : /\b\d+(?:\.\d+)?\b/ , boolean : /\b(?:f|false|t|true)\b/i , operator : /[<>=]=?|[-+*/%|]/ , punctuation : /[()[\],]/ } ;
! function ( E ) { var A = E . languages . plsql = E . languages . extend ( "sql" , { comment : [ /\/\*[\s\S]*?\*\// , /--.*/ ] } ) , T = A . keyword ; Array . isArray ( T ) || ( T = A . keyword = [ T ] ) , T . unshift ( /\b(?:ACCESS|AGENT|AGGREGATE|ARRAY|ARROW|AT|ATTRIBUTE|AUDIT|AUTHID|BFILE_BASE|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BYTE|CALLING|CHAR_BASE|CHARSET(?:FORM|ID)|CLOB_BASE|COLAUTH|COLLECT|CLUSTERS?|COMPILED|COMPRESS|CONSTANT|CONSTRUCTOR|CONTEXT|CRASH|CUSTOMDATUM|DANGLING|DATE_BASE|DEFINE|DETERMINISTIC|DURATION|ELEMENT|EMPTY|EXCEPTIONS?|EXCLUSIVE|EXTERNAL|FINAL|FORALL|FORM|FOUND|GENERAL|HEAP|HIDDEN|IDENTIFIED|IMMEDIATE|INCLUDING|INCREMENT|INDICATOR|INDEXES|INDICES|INFINITE|INITIAL|ISOPEN|INSTANTIABLE|INTERFACE|INVALIDATE|JAVA|LARGE|LEADING|LENGTH|LIBRARY|LIKE[24C]|LIMITED|LONG|LOOP|MAP|MAXEXTENTS|MAXLEN|MEMBER|MINUS|MLSLABEL|MULTISET|NAME|NAN|NATIVE|NEW|NOAUDIT|NOCOMPRESS|NOCOPY|NOTFOUND|NOWAIT|NUMBER(?:_BASE)?|OBJECT|OCI(?:COLL|DATE|DATETIME|DURATION|INTERVAL|LOBLOCATOR|NUMBER|RAW|REF|REFCURSOR|ROWID|STRING|TYPE)|OFFLINE|ONLINE|ONLY|OPAQUE|OPERATOR|ORACLE|ORADATA|ORGANIZATION|ORL(?:ANY|VARY)|OTHERS|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETERS?|PASCAL|PCTFREE|PIPE(?:LINED)?|PRAGMA|PRIOR|PRIVATE|RAISE|RANGE|RAW|RECORD|REF|REFERENCE|REM|REMAINDER|RESULT|RESOURCE|RETURNING|REVERSE|ROW(?:ID|NUM|TYPE)|SAMPLE|SB[124]|SEGMENT|SELF|SEPARATE|SEQUENCE|SHORT|SIZE(?:_T)?|SPARSE|SQL(?:CODE|DATA|NAME|STATE)|STANDARD|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUCCESSFUL|SYNONYM|SYSDATE|TABAUTH|TDO|THE|TIMEZONE_(?:ABBR|HOUR|MINUTE|REGION)|TRAILING|TRANSAC(?:TIONAL)?|TRUSTED|UB[124]|UID|UNDER|UNTRUSTED|VALIDATE|VALIST|VARCHAR2|VARIABLE|VARIANCE|VARRAY|VIEWS|VOID|WHENEVER|WRAPPED|ZONE)\b/i ) ; var R = A . operator ; Array . isArray ( R ) || ( R = A . operator = [ R ] ) , R . unshift ( /:=/ ) } ( Prism ) ;
Prism . languages . twig = { comment : /\{#[\s\S]*?#\}/ , tag : { pattern : /\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}/ , inside : { ld : { pattern : /^(?:\{\{-?|\{%-?\s*\w+)/ , inside : { punctuation : /^(?:\{\{|\{%)-?/ , keyword : /\w+/ } } , rd : { pattern : /-?(?:%\}|\}\})$/ , inside : { punctuation : /.+/ } } , string : { pattern : /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/ , inside : { punctuation : /^['"]|['"]$/ } } , keyword : /\b(?:even|if|odd)\b/ , boolean : /\b(?:true|false|null)\b/ , number : /\b0x[\dA-Fa-f]+|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][-+]?\d+)?/ , operator : [ { pattern : /(\s)(?:and|b-and|b-xor|b-or|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/ , lookbehind : ! 0 } , /[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/ ] , property : /\b[a-zA-Z_]\w*\b/ , punctuation : /[()\[\]{}:.,]/ } } , other : { pattern : /\S(?:[\s\S]*\S)?/ , inside : Prism . languages . markup } } ;
Prism . languages . swift = Prism . languages . extend ( "clike" , { string : { pattern : /("|')(\\(?:\((?:[^()]|\([^)]+\))+\)|\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/ , greedy : ! 0 , inside : { interpolation : { pattern : /\\\((?:[^()]|\([^)]+\))+\)/ , inside : { delimiter : { pattern : /^\\\(|\)$/ , alias : "variable" } } } } } , keyword : /\b(?:as|associativity|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic(?:Type)?|else|enum|extension|fallthrough|final|for|func|get|guard|if|import|in|infix|init|inout|internal|is|lazy|left|let|mutating|new|none|nonmutating|operator|optional|override|postfix|precedence|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|Self|set|static|struct|subscript|super|switch|throws?|try|Type|typealias|unowned|unsafe|var|weak|where|while|willSet|__(?:COLUMN__|FILE__|FUNCTION__|LINE__))\b/ , number : /\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i , constant : /\b(?:nil|[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/ , atrule : /@\b(?:IB(?:Outlet|Designable|Action|Inspectable)|class_protocol|exported|noreturn|NS(?:Copying|Managed)|objc|UIApplicationMain|auto_closure)\b/ , builtin : /\b(?:[A-Z]\S+|abs|advance|alignof(?:Value)?|assert|contains|count(?:Elements)?|debugPrint(?:ln)?|distance|drop(?:First|Last)|dump|enumerate|equal|filter|find|first|getVaList|indices|isEmpty|join|last|lexicographicalCompare|map|max(?:Element)?|min(?:Element)?|numericCast|overlaps|partition|print(?:ln)?|reduce|reflect|reverse|sizeof(?:Value)?|sort(?:ed)?|split|startsWith|stride(?:of(?:Value)?)?|suffix|swap|toDebugString|toString|transcode|underestimateCount|unsafeBitCast|with(?:ExtendedLifetime|Unsafe(?:MutablePointers?|Pointers?)|VaList))\b/ } ) , Prism . languages . swift . string . inside . interpolation . inside . rest = Prism . languages . swift ;
Prism . languages . yaml = { scalar : { pattern : /([\-:]\s*(?:![^\s]+)?[ \t]*[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)[^\r\n]+(?:\2[^\r\n]+)*)/ , lookbehind : ! 0 , alias : "string" } , comment : /#.*/ , key : { pattern : /(\s*(?:^|[:\-,[{\r\n?])[ \t]*(?:![^\s]+)?[ \t]*)[^\r\n{[\]},#\s]+?(?=\s*:\s)/ , lookbehind : ! 0 , alias : "atrule" } , directive : { pattern : /(^[ \t]*)%.+/m , lookbehind : ! 0 , alias : "important" } , datetime : { pattern : /([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?)?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?)(?=[ \t]*(?:$|,|]|}))/m , lookbehind : ! 0 , alias : "number" } , boolean : { pattern : /([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:true|false)[ \t]*(?=$|,|]|})/im , lookbehind : ! 0 , alias : "important" } , null : { pattern : /([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:null|~)[ \t]*(?=$|,|]|})/im , lookbehind : ! 0 , alias : "important" } , string : { pattern : /([:\-,[{]\s*(?:![^\s]+)?[ \t]*)("|')(?:(?!\2)[^\\\r\n]|\\.)*\2(?=[ \t]*(?:$|,|]|}|\s*#))/m , lookbehind : ! 0 , greedy : ! 0 } , number : { pattern : /([:\-,[{]\s*(?:![^\s]+)?[ \t]*)[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+\.?\d*|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)[ \t]*(?=$|,|]|})/im , lookbehind : ! 0 } , tag : /![^\s]+/ , important : /[&*][\w]+/ , punctuation : /---|[:[\]{}\-,|>?]|\.\.\./ } , Prism . languages . yml = Prism . languages . yaml ;
Prism . languages . tcl = { comment : { pattern : /(^|[^\\])#.*/ , lookbehind : ! 0 } , string : { pattern : /"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/ , greedy : ! 0 } , variable : [ { pattern : /(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/ , lookbehind : ! 0 } , { pattern : /(\$){[^}]+}/ , lookbehind : ! 0 } , { pattern : /(^\s*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m , lookbehind : ! 0 } ] , function : { pattern : /(^\s*proc[ \t]+)[^\s]+/m , lookbehind : ! 0 } , builtin : [ { pattern : /(^\s*)(?:proc|return|class|error|eval|exit|for|foreach|if|switch|while|break|continue)\b/m , lookbehind : ! 0 } , /\b(?:elseif|else)\b/ ] , scope : { pattern : /(^\s*)(?:global|upvar|variable)\b/m , lookbehind : ! 0 , alias : "constant" } , keyword : { pattern : /(^\s*|\[)(?:after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|Safe_Base|scan|seek|set|socket|source|split|string|subst|Tcl|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|wordBreak(?:After|Before)|test|vars)|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m , lookbehind : ! 0 } , operator : /!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|ne|in|ni)\b/ , punctuation : /[{}()\[\]]/ } ;
! function ( e ) { e . languages . haml = { "multiline-comment" : { pattern : /((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ]+.+)*/ , lookbehind : ! 0 , alias : "comment" } , "multiline-code" : [ { pattern : /((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ]+.*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ]+.+)/ , lookbehind : ! 0 , inside : { rest : e . languages . ruby } } , { pattern : /((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ]+.*\|[\t ]*)*/ , lookbehind : ! 0 , inside : { rest : e . languages . ruby } } ] , filter : { pattern : /((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ]+.+|\s*?(?=\r?\n|\r)))+/ , lookbehind : ! 0 , inside : { "filter-name" : { pattern : /^:[\w-]+/ , alias : "variable" } } } , markup : { pattern : /((?:^|\r?\n|\r)[\t ]*)<.+/ , lookbehind : ! 0 , inside : { rest : e . languages . markup } } , doctype : { pattern : /((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/ , lookbehind : ! 0 } , tag : { pattern : /((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^}])+\}|\[[^\]]+\])*[\/<>]*/ , lookbehind : ! 0 , inside : { attributes : [ { pattern : /(^|[^#])\{(?:\{[^}]+\}|[^}])+\}/ , lookbehind : ! 0 , inside : { rest : e . languages . ruby } } , { pattern : /\([^)]+\)/ , inside : { "attr-value" : { pattern : /(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/ , lookbehind : ! 0 } , "attr-name" : /[\w:-]+(?=\s*!?=|\s*[,)])/ , punctuation : /[=(),]/ } } , { pattern : /\[[^\]]+\]/ , inside : { rest : e . languages . ruby } } ] , punctuation : /[<>]/ } } , code : { pattern : /((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/ , lookbehind : ! 0 , inside : { rest : e . languages . ruby } } , interpolation : { pattern : /#\{[^}]+\}/ , inside : { delimiter : { pattern : /^#\{|\}$/ , alias : "punctuation" } , rest : e . languages . ruby } } , punctuation : { pattern : /((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/ , lookbehind : ! 0 } } ; for ( var t = [ "css" , { filter : "coffee" , language : "coffeescript" } , "erb" , "javascript" , "less" , "markdown" , "ruby" , "scss" , "textile" ] , r = { } , n = 0 , a = t . length ; n < a ; n ++ ) { var i = t [ n ] ; i = "string" == typeof i ? { filter : i , language : i } : i , e . languages [ i . language ] && ( r [ "filter-" + i . filter ] = { pattern : RegExp ( "((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ]+.+|\\s*?(?=\\r?\\n|\\r)))+" . replace ( "{{filter_name}}" , i . filter ) ) , lookbehind : ! 0 , inside : { "filter-name" : { pattern : /^:[\w-]+/ , alias : "variable" } , rest : e . languages [ i . language ] } } ) } e . languages . insertBefore ( "haml" , "filter" , r ) } ( Prism ) ;
! function ( e ) { var d = "(?:[\\w-]+|'[^'\n\r]*'|\"(?:\\.|[^\\\\\"\r\n])*\")" ; Prism . languages . toml = { comment : { pattern : /#.*/ , greedy : ! 0 } , table : { pattern : RegExp ( "(^\\s*\\[\\s*(?:\\[\\s*)?)" + d + "(?:\\s*\\.\\s*" + d + ")*(?=\\s*\\])" , "m" ) , lookbehind : ! 0 , greedy : ! 0 , alias : "class-name" } , key : { pattern : RegExp ( "(^\\s*|[{,]\\s*)" + d + "(?:\\s*\\.\\s*" + d + ")*(?=\\s*=)" , "m" ) , lookbehind : ! 0 , greedy : ! 0 , alias : "property" } , string : { pattern : /"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/ , greedy : ! 0 } , date : [ { pattern : /\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?/i , alias : "number" } , { pattern : /\d{2}:\d{2}:\d{2}(?:\.\d+)?/i , alias : "number" } ] , number : /(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?(?:inf|nan)\b/ , boolean : /\b(?:true|false)\b/ , punctuation : /[.,=[\]{}]/ } } ( ) ;
! function ( t ) { t . languages . tt2 = t . languages . extend ( "clike" , { comment : /#.*|\[%#[\s\S]*?%\]/ , keyword : /\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|TAGS|THROW|TRY|SWITCH|UNLESS|USE|WHILE|WRAPPER)\b/ , punctuation : /[[\]{},()]/ } ) , t . languages . insertBefore ( "tt2" , "number" , { operator : /=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|or|not)\b/ , variable : { pattern : /[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*/i } } ) , t . languages . insertBefore ( "tt2" , "keyword" , { delimiter : { pattern : /^(?:\[%|%%)-?|-?%]$/ , alias : "punctuation" } } ) , t . languages . insertBefore ( "tt2" , "string" , { "single-quoted-string" : { pattern : /'[^\\']*(?:\\[\s\S][^\\']*)*'/ , greedy : ! 0 , alias : "string" } , "double-quoted-string" : { pattern : /"[^\\"]*(?:\\[\s\S][^\\"]*)*"/ , greedy : ! 0 , alias : "string" , inside : { variable : { pattern : /\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i } } } } ) , delete t . languages . tt2 . string , t . hooks . add ( "before-tokenize" , function ( e ) { t . languages [ "markup-templating" ] . buildPlaceholders ( e , "tt2" , /\[%[\s\S]+?%\]/g ) } ) , t . hooks . add ( "after-tokenize" , function ( e ) { t . languages [ "markup-templating" ] . tokenizePlaceholders ( e , "tt2" ) } ) } ( Prism ) ;
Prism . languages . sparql = Prism . languages . extend ( "turtle" , { variable : { pattern : /[?$]\w+/ , greedy : ! 0 } , boolean : /\b(?:true|false)\b/i } ) , Prism . languages . insertBefore ( "sparql" , "punctuation" , { keyword : [ /\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i , /\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|ROUND|REGEX|REPLACE|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i , /\b(?:GRAPH|BASE|PREFIX)\b/i ] } ) , Prism . languages . rq = Prism . languages . sparql ;
! function ( e ) { e . languages . pug = { comment : { pattern : /(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ]+.+)*/m , lookbehind : ! 0 } , "multiline-script" : { pattern : /(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ]+.+|\s*?(?=\r?\n|\r)))+/m , lookbehind : ! 0 , inside : { rest : e . languages . javascript } } , filter : { pattern : /(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ]+.+|\s*?(?=\r?\n|\r)))+/m , lookbehind : ! 0 , inside : { "filter-name" : { pattern : /^:[\w-]+/ , alias : "variable" } } } , "multiline-plain-text" : { pattern : /(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ]+.+|\s*?(?=\r?\n|\r)))+/m , lookbehind : ! 0 } , markup : { pattern : /(^[\t ]*)<.+/m , lookbehind : ! 0 , inside : { rest : e . languages . markup } } , doctype : { pattern : /((?:^|\n)[\t ]*)doctype(?: .+)?/ , lookbehind : ! 0 } , "flow-control" : { pattern : /(^[\t ]*)(?:if|unless|else|case|when|default|each|while)\b(?: .+)?/m , lookbehind : ! 0 , inside : { each : { pattern : /^each .+? in\b/ , inside : { keyword : /\b(?:each|in)\b/ , punctuation : /,/ } } , branch : { pattern : /^(?:if|unless|else|case|when|default|while)\b/ , alias : "keyword" } , rest : e . languages . javascript } } , keyword : { pattern : /(^[\t ]*)(?:block|extends|include|append|prepend)\b.+/m , lookbehind : ! 0 } , mixin : [ { pattern : /(^[\t ]*)mixin .+/m , lookbehind : ! 0 , inside : { keyword : /^mixin/ , function : /\w+(?=\s*\(|\s*$)/ , punctuation : /[(),.]/ } } , { pattern : /(^[\t ]*)\+.+/m , lookbehind : ! 0 , inside : { name : { pattern : /^\+\w+/ , alias : "function" } , rest : e . languages . javascript } } ] , script : { pattern : /(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]+).+/m , lookbehind : ! 0 , inside : { rest : e . languages . javascript } } , "plain-text" : { pattern : /(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]+).+/m , lookbehind : ! 0 } , tag : { pattern : /(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m , lookbehind : ! 0 , inside : { attributes : [ { pattern : /&[^(]+\([^)]+\)/ , inside : { rest : e . languages . javascript } } , { pattern : /\([^)]+\)/ , inside : { "attr-value" : { pattern : /(=\s*)(?:\{[^}]*\}|[^,)\r\n]+)/ , lookbehind : ! 0 , inside : { rest : e . languages . javascript } } , "attr-name" : /[\w-]+(?=\s*!?=|\s*[,)])/ , punctuation : /[!=(),]+/ } } ] , punctuation : /:/ } } , code : [ { pattern : /(^[\t ]*(?:-|!?=)).+/m , lookbehind : ! 0 , inside : { rest : e . languages . javascript } } ] , punctuation : /[.\-!=|]+/ } ; for ( var t = [ { filter : "atpl" , language : "twig" } , { filter : "coffee" , language : "coffeescript" } , "ejs" , "handlebars" , "less" , "livescript" , "markdown" , { filter : "sass" , language : "scss" } , "stylus" ] , n = { } , a = 0 , i = t . length ; a < i ; a ++ ) { var r = t [ a ] ; r = "string" == typeof r ? { filter : r , language : r } : r , e . languages [ r . language ] && ( n [ "filter-" + r . filter ] = { pattern : RegExp ( "(^([\t ]*)):{{filter_name}}(?:(?:\r?\n|\r(?!\n))(?:\\2[\t ]+.+|\\s*?(?=\r?\n|\r)))+" . replace ( "{{filter_name}}" , r . filter ) , "m" ) , lookbehind : ! 0 , inside : { "filter-name" : { pattern : /^:[\w-]+/ , alias : "variable" } , rest : e . languages [ r . language ] } } ) } e . languages . insertBefore ( "pug" , "filter" , n ) } ( Prism ) ;
var typescript = Prism . util . clone ( Prism . languages . typescript ) ; Prism . languages . tsx = Prism . languages . extend ( "jsx" , typescript ) ;
! function ( n ) { function i ( e , t , a ) { return { pattern : RegExp ( "<#" + e + "[\\s\\S]*?#>" ) , alias : "block" , inside : { delimiter : { pattern : RegExp ( "^<#" + e + "|#>$" ) , alias : "important" } , content : { pattern : /[\s\S]+/ , inside : t , alias : a } } } } n . languages [ "t4-templating" ] = Object . defineProperty ( { } , "createT4" , { value : function ( e ) { var t = n . languages [ e ] , a = "language-" + e ; return { block : { pattern : /<#[\s\S]+?#>/ , inside : { directive : i ( "@" , { "attr-value" : { pattern : /=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/ , inside : { punctuation : /^=|^["']|["']$/ } } , keyword : /\w+(?=\s)/ , "attr-name" : /\w+/ } ) , expression : i ( "=" , t , a ) , "class-feature" : i ( "\\+" , t , a ) , standard : i ( "" , t , a ) } } } } } ) } ( Prism ) ;
Prism . languages [ "visual-basic" ] = { comment : { pattern : /(?:['‘ ’ ]|REM\b).*/i , inside : { keyword : /^REM/i } } , directive : { pattern : /#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i , alias : "comment" , greedy : ! 0 } , string : { pattern : /\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i , greedy : ! 0 } , date : { pattern : /#[^\S\r\n]*(?:\d+([/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))[^\S\r\n]*#/i , alias : "builtin" } , number : /(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i , boolean : /\b(?:True|False|Nothing)\b/i , keyword : /\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i , operator : [ /[+\-*/\\^<=>&#@$%!]/ , { pattern : /([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/ , lookbehind : ! 0 } ] , punctuation : /[{}().,:?]/ } , Prism . languages . vb = Prism . languages [ "visual-basic" ] ;
Prism . languages . t4 = Prism . languages [ "t4-cs" ] = Prism . languages [ "t4-templating" ] . createT4 ( "csharp" ) ;
! function ( n ) { var e = { pattern : /\\[\\(){}[\]^$+*?|.]/ , alias : "escape" } , a = /\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|c[a-zA-Z]|0[0-7]{0,2}|[123][0-7]{2}|.)/ , r = /\\[wsd]|\.|\\p{[^{}]+}/i , i = "(?:[^\\\\-]|" + a . source + ")" , s = RegExp ( i + "-" + i ) , t = { pattern : /(<|')[^<>']+(?=[>']$)/ , lookbehind : ! 0 , alias : "variable" } , c = [ /\\(?![123][0-7]{2})[1-9]/ , { pattern : /\\k<[^<>']+>/ , inside : { "group-name" : t } } ] ; n . languages . regex = { charset : { pattern : /((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/ , lookbehind : ! 0 , inside : { "charset-negation" : { pattern : /(^\[)\^/ , lookbehind : ! 0 } , "charset-punctuation" : /^\[|\]$/ , range : { pattern : s , inside : { escape : a , "range-punctuation" : /-/ } } , "special-escape" : e , charclass : r , backreference : c , escape : a } } , "special-escape" : e , charclass : r , backreference : c , anchor : /[$^]|\\[ABbGZz]/ , escape : a , group : [ { pattern : /\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/ , inside : { "group-name" : t } } , /\)/ ] , quantifier : /[+*?]|\{(?:\d+,?\d*)\}/ , alternation : /\|/ } , [ "actionscript" , "coffescript" , "flow" , "javascript" , "typescript" , "vala" ] . forEach ( function ( e ) { var a = n . languages [ e ] ; a && ( a . regex . inside = { "regex-flags" : /[a-z]+$/ , "regex-delimiter" : /^\/|\/$/ , "language-regex" : { pattern : /[\s\S]+/ , inside : n . languages . regex } } ) } ) } ( Prism ) ;
Prism . languages . vbnet = Prism . languages . extend ( "basic" , { keyword : /(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDEC|CDBL|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEFAULT|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LINE INPUT|LET|LIB|LIKE|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPERATOR|OPEN|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHORT|SINGLE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SYNCLOCK|SWAP|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i , comment : [ { pattern : /(?:!|REM\b).+/i , inside : { keyword : /^REM/i } } , { pattern : /(^|[^\\:])'.*/ , lookbehind : ! 0 } ] } ) ;
! function ( e ) { e . languages . velocity = e . languages . extend ( "markup" , { } ) ; var n = { variable : { pattern : /(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+])*|{[^}]+})/i , lookbehind : ! 0 , inside : { } } , string : { pattern : /"[^"]*"|'[^']*'/ , greedy : ! 0 } , number : /\b\d+\b/ , boolean : /\b(?:true|false)\b/ , operator : /[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/ , punctuation : /[(){}[\]:,.]/ } ; n . variable . inside = { string : n . string , function : { pattern : /([^\w-])[a-z][\w-]*(?=\()/ , lookbehind : ! 0 } , number : n . number , boolean : n . boolean , punctuation : n . punctuation } , e . languages . insertBefore ( "velocity" , "comment" , { unparsed : { pattern : /(^|[^\\])#\[\[[\s\S]*?]]#/ , lookbehind : ! 0 , greedy : ! 0 , inside : { punctuation : /^#\[\[|]]#$/ } } , "velocity-comment" : [ { pattern : /(^|[^\\])#\*[\s\S]*?\*#/ , lookbehind : ! 0 , greedy : ! 0 , alias : "comment" } , { pattern : /(^|[^\\])##.*/ , lookbehind : ! 0 , greedy : ! 0 , alias : "comment" } ] , directive : { pattern : /(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|{[a-z][\w-]*})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i , lookbehind : ! 0 , inside : { keyword : { pattern : /^#@?(?:[a-z][\w-]*|{[a-z][\w-]*})|\bin\b/ , inside : { punctuation : /[{}]/ } } , rest : n } } , variable : n . variable } ) , e . languages . velocity . tag . inside [ "attr-value" ] . inside . rest = e . languages . velocity } ( Prism ) ;
Prism . languages . verilog = { comment : /\/\/.*|\/\*[\s\S]*?\*\// , string : { pattern : /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/ , greedy : ! 0 } , property : /\B\$\w+\b/ , constant : /\B`\w+\b/ , function : /\w+(?=\()/ , keyword : /\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|class|case|casex|casez|cell|chandle|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endspecify|endsequence|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_onevent|pulsestyle_ondetect|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/ , important : /\b(?:always_latch|always_comb|always_ff|always)\b ?@?/ , number : /\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b\d*[._]?\d+(?:e[-+]?\d+)?/i , operator : /[-+{}^~%*\/?=!<>&|]+/ , punctuation : /[[\];(),.:]/ } ;
Prism . languages . vhdl = { comment : /--.+/ , "vhdl-vectors" : { pattern : /\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i , alias : "number" } , "quoted-function" : { pattern : /"\S+?"(?=\()/ , alias : "function" } , string : /"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/ , constant : /\b(?:use|library)\b/i , keyword : /\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i , boolean : /\b(?:true|false)\b/i , function : /\w+(?=\()/ , number : /'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i , operator : /[<>]=?|:=|[-+*/&=]|\b(?:abs|not|mod|rem|sll|srl|sla|sra|rol|ror|and|or|nand|xnor|xor|nor)\b/i , punctuation : /[{}[\];(),.:]/ } ;
Prism . languages . vim = { string : /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/ , comment : /".*/ , function : /\w+(?=\()/ , keyword : / \ b ( ? : a b | a b b r e v i a t e | a b c | a b c l e a r | a b o | a b o v e l e f t | a l | a l l | a r g a | a r g a d d | a r g d | a r g d e l e t e | a r g d o | a r g e | a r g e d i t | a r g g | a r g g l o b a l | a r g l | a r g l o c a l | a r | a r g s | a r g u | a r g u m e n t | a s | a s c i i | b a d | b a d d | b a | b a l l | b d | b d e l e t e | b e | b e l | b e l o w r i g h t | b f | b f i r s t | b l | b l a s t | b m | b m o d i f i e d | b n | b n e x t | b N | b N e x t | b o | b o t r i g h t | b p | b p r e v i o u s | b r e a | b r e a k | b r e a k a | b r e a k a d d | b r e a k d | b r e a k d e l | b r e a k l | b r e a k l i s t | b r | b r e w i n d | b r o | b r o w s e | b u f d o | b | b u f f e r | b u f f e r s | b u n | b u n l o a d | b w | b w i p e o u t | c a | c a b b r e v | c a b c | c a b c l e a r | c a d d b | c a d d b u f f e r | c a d | c a d d e x p r | c a d d f | c a d d f i l e | c a l | c a l l | c a t | c a t c h | c b | c b u f f e r | c c | c c l | c c l o s e | c d | c e | c e n t e r | c e x | c e x p r | c f | c f i l e | c f i r | c f i r s t | c g e t b | c g e t b u f f e r | c g e t e | c g e t e x p r | c g | c g e t f i l e | c | c h a n g e | c h a n g e s | c h d | c h d i r | c h e | c h e c k p a t h | c h e c k t | c h e c k t i m e | c l a | c l a s t | c l | c l i s t | c l o | c l o s e | c m a p c | c m a p c l e a r | c n e w | c n e w e r | c n | c n e x t | c N | c N e x t | c n f | c n f i l e | c N f c N f i l e | c n o r e a | c n o r e a b b r e v | c o l | c o l d e r | c o l o | c o l o r s c h e m e | c o m c | c o m c l e a r | c o m p | c o m p i l e r | c o n f | c o n f i r m | c o n | c o n t i n u e | c o p e | c o p e n | c o | c o p y | c p f | c p f i l e | c p | c p r e v i o u s | c q | c q u i t | c r | c r e w i n d | c u n a | c u n a b b r e v | c u | c u n m a p | c w | c w i n d o w | d e b u g g | d e b u g g r e e d y | d e l c | d e l c o m m a n d | d | d e l e t e | d e l f | d e l f u n c t i o n | d e l m | d e l m a r k s | d i f f g | d i f f g e t | d i f f o f f | d i f f p a t c h | d i f f p u | d i f f p u t | d i f f s p l i t | d i f f t h i s | d i f f u | d i f f u p d a t e | d i g | d i g r a p h s | d i | d i s p l a y | d j | d j u m p | d l | d l i s t | d r | d r o p | d s | d s e a r c h | d s p | d s p l i t | e a r l i e r | e c h o e | e c h o e r r | e c h o m | e c h o m s g | e c h o n | e | e d i t | e l | e l s e | e l s e i | e l s e i f | e m | e m e n u | e n d f o | e n d f o r | e n d f | e n d f u n c t i o n | e n d f u n | e n | e n d i f | e n d t | e n d t r y | e n d w | e n d w h i l e | e n e | e n e w | e x | e x i | e x i t | e x u | e x u s a g e | f | f i l e | f i l e s | f i l e t y p e | f i n a | f i n a l l y | f i n | f i n d | f i n i | f i n i s h | f i r | f i r s t | f i x | f i x d e l | f o | f o l d | f o l d c | f o l d c l o s e | f o l d d o c | f o l d d o c l o s e d | f o l d d | f o l d d o o p e n | f o l d o | f o l d o p e n | f o r | f u | f u n | f u n c t i o n | g o | g o t o | g r | g r e p | g r e p a | g r e p a d d | h a | h a r d c o p y | h | h e l p | h e l p f | h e l p f i n d | h e l p g | h e l p g r e p | h e l p t | h e l p t a g s | h i d | h i d e | h i s | h i s t o r y | i a | i a b b r e v | i a b c | i a b c l e a r | i f | i j | i j u m p | i l | i l i s t | i m a p c | i m a p c l e a r | i n | i n o r e a | i n o r e a b b r e v | i s e a r c h | i s p | i s p l i t | i u n a | i u n a b b r e v | i u | i u n m a p | j | j o i n | j u | j u m p s | k | k e e p a l t | k e e p j | k e e p j u m p s | k e e | k e e p m a r k s | l a d d b | l a d d b u f f e r | l a d | l a d d e x p r | l a d d f | l a d d f i l e | l a n | l a n g u a g e | l a | l a s t | l a t e r | l b | l b u f f e r | l c | l c d | l c h | l c h d i r | l c l | l c l o s e | l e t | l e f t | l e f t a | l e f t a b o v e | l e x | l e x p r | l f | l f i l e | l f i r | l f i r s t | l g e t b | l g e t b u f f e r | l g e t e | l g e t e x p r | l g | l g e t f i l e | l g r | l g r e p | l g r e p a | l g r e p a d d | l h | l h e l p g r e p | l | l i s t | l l | l l a | l l a s t | l l i | l l i s t | l m a k | l m a k e | l m | l m a p | l m a p c | l m a p c l e a r | l n e w | l n e w e r | l n e | l n e x t | l N | l N e x t | l n f | l n f i l e | l N f | l N f i l e | l n | l n o r e m a p | l o | l o a d v i e w | l o c | l o c k m a r k s | l o c k v | l o c k v a r | l o l | l o l d e r | l o p | l o p e n | l p f | l p f i l e | l p | l p r e v i o u s | l r | l r e w i n d | l s | l t | l t a g | l u | l u n m a p | l v | l v i m g r e p | l v i m g r e p a | l v i m g r e p a d d | l w | l w i n d o w | m a k | m a k e | m a | m a r k | m a r k s | m a t | m a t c h | m e n u t | m e n u t r a n s l a t e | m k | m k e x r c | m k s | m k s e s s i o n | m k s p | m k s p e l l | m k v i e | m k v i e w | m k v | m k v i m r c | m o d | m o d e | m | m o v e | m z f | m z f i l e | m z | m z s c h e m e | n b k e y | n e w | n | n e x t | N | N e x t | n m a p c | n m a p c l e a r | n o h | n o h l s e a r c h | n o r e a | n o r e a b b r e v | n u | n u m b e r | n u n | n u n m a p | o m a p c | o m a p c l e a r | o n | o n l y | o | o p e n | o p t | o p t i o n s | o u | o u n m a p | p c | p c l o s e | p e d | p e d i t | p e | p e r l | p e r l d | p e r l d o | p o | p o p | p o p u | p o p u p | p p | p p o p | p r e | p r e s e r v e | p r e v | p r e v i o u s | p | p r i n t | P | P r i n t | p r o f d | p r o f d e l | p r o f | p r o f i l e | p r o m p t f | p r o m p t f i n d | p r o m p t r | p r o m p t r e p l | p s | p s e a r c h | p t a | p t a g | p t f | p t f i r s t | p t j | p t j u m p | p t l | p t l a s t | p t n | p t n e x t | p t N | p t N e x t | p t p | p t p r e v i o u s | p t r | p t r e w i n d | p t s | p t s e l e c t | p u | p u t | p w | p w d | p y f | p y f i l e | p y | p y t h o n | q a | q a l l | q | q u i t | q u i t a | q u i t a l l | r | r e a d | r e c | r e c o v e r | r e d i | r e d i r | r e d | r e d o | r e d r | r e d r a w | r e d r a w s | r e d r a w s t a t u s | r e g | r e g i s t e r s | r e s | r e s i z e | r e t | r e t a b | r e t u | r e t u r n | r e w | r e w i n d | r i | r i g h t | r i g h t b | r i g h t b e l o w | r u b | r u b y | r u b y d | r u b y d o | r u b y f | r u b y f i l e | r u | r u n t i m e | r v | r v i m i n f o | s a l | s a l l | s a n | s a n d b o x | s a | s a r g u m e n t | s a v | s a v e a s | s b a | s b a l l | s b f | s b f i r s t | s b l | s b l a s t | s b m | s b m o d i f i e d | s b n | s b n e x t | s b N | s b N e x t | s b p | s b p r e v i o u s | s b r | s b r e w i n d | s b | s b u f f e r | s c r i p t e | s c r i p t e n c o d i n g | s c r i p | s c r i p t n a m e s | s e | s e t | s e t f | s e t f i l e t y p e | s e t g | s e t g l o b a l | s e t l | s e t l o c a l | s f | s f i n d | s f i r | s f i r s t | s h | s h e l l | s i g n | s i l | s i l e n t | s i m | s i m a l t | s l a | s l a s t | s l | s l e e p | s m | s m a g i c | s m | s m a p | s m a p c | s m a p c l e a r | s m e | s m e n u | s n | s n e x t | s N | s N e x t | s n i | s n i f f | s n o | s n o m a g i c | s n o r | s n o r e m a p | s n o r e m e | s n o r e m e n u | s o r | s o r t | s o | s o u r c e | s p e l l d | s p e l l d u m p | s p e | s p e l l g o o d | s p e l l i | s p e l l i n f o | s p e l l r | s p e l l r e p a l l | s p e l l u | s p e l l u n d o | s p e l l w | s p e l l w r o n g | s p | s p l i t | s p r | s p r e v i o u s | s r e | s r e w i n d | s t a | s t a g | s t a r t g | s t a r t g r e p l a c e | s t a r | s t a r t i n s e r t | s t a r t r | s t a r t r e p l a c e | s t j | s t j u m p | s t | s t o p | s t o p i | s t o p i n s e r t | s t s | s t s e l e c t |
Prism . languages [ "t4-vb" ] = Prism . languages [ "t4-templating" ] . createT4 ( "visual-basic" ) ;
Prism . languages . wasm = { comment : [ /\(;[\s\S]*?;\)/ , { pattern : /;;.*/ , greedy : ! 0 } ] , string : { pattern : /"(?:\\[\s\S]|[^"\\])*"/ , greedy : ! 0 } , keyword : [ { pattern : /\b(?:align|offset)=/ , inside : { operator : /=/ } } , { pattern : /\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/ , inside : { punctuation : /\./ } } , /\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/ ] , variable : /\$[\w!#$%&'*+\-./:<=>?@\\^_`|~]+/i , number : /[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/ , punctuation : /[()]/ } ;
Prism . languages . wiki = Prism . languages . extend ( "markup" , { "block-comment" : { pattern : /(^|[^\\])\/\*[\s\S]*?\*\// , lookbehind : ! 0 , alias : "comment" } , heading : { pattern : /^(=+).+?\1/m , inside : { punctuation : /^=+|=+$/ , important : /.+/ } } , emphasis : { pattern : /('{2,5}).+?\1/ , inside : { "bold-italic" : { pattern : /(''''').+?(?=\1)/ , lookbehind : ! 0 , alias : [ "bold" , "italic" ] } , bold : { pattern : /(''')[^'](?:.*?[^'])?(?=\1)/ , lookbehind : ! 0 } , italic : { pattern : /('')[^'](?:.*?[^'])?(?=\1)/ , lookbehind : ! 0 } , punctuation : /^''+|''+$/ } } , hr : { pattern : /^-{4,}/m , alias : "punctuation" } , url : [ /ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:RFC|PMID) +\d+/i , /\[\[.+?\]\]|\[.+?\]/ ] , variable : [ /__[A-Z]+__/ , /\{{3}.+?\}{3}/ , /\{\{.+?\}\}/ ] , symbol : [ /^#redirect/im , /~{3,5}/ ] , "table-tag" : { pattern : /((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m , lookbehind : ! 0 , inside : { "table-bar" : { pattern : /\|$/ , alias : "punctuation" } , rest : Prism . languages . markup . tag . inside } } , punctuation : /^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m } ) , Prism . languages . insertBefore ( "wiki" , "tag" , { nowiki : { pattern : /<(nowiki|pre|source)\b[\s\S]*?>[\s\S]*?<\/\1>/i , inside : { tag : { pattern : /<(?:nowiki|pre|source)\b[\s\S]*?>|<\/(?:nowiki|pre|source)>/i , inside : Prism . languages . markup . tag . inside } } } } ) ;
! function ( n ) { n . languages . xeora = n . languages . extend ( "markup" , { constant : { pattern : /\$(?:DomainContents|PageRenderDuration)\$/ , inside : { punctuation : { pattern : /\$/ } } } , variable : { pattern : /\$@?(?:#+|[-+*~=^])?[\w.]+\$/ , inside : { punctuation : { pattern : /[$.]/ } , operator : { pattern : /#+|[-+*~=^@]/ } } } , "function-inline" : { pattern : /\$F:[-\w.]+\?[-\w.]+(?:,(?:\|?(?:[-#.^+*~]*(?:[\w+][^$]*)|=(?:[\S+][^$]*)|@[-#]*(?:\w+.)[\w+.]+)?)*)?\$/ , inside : { variable : { pattern : /(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/ , inside : { punctuation : { pattern : /[,.|]/ } , operator : { pattern : /#+|[-+*~=^@]/ } } } , punctuation : { pattern : /\$\w:|[$:?.,|]/ } } , alias : "function" } , "function-block" : { pattern : /\$XF:{[-\w.]+\?[-\w.]+(?:,(?:\|?(?:[-#.^+*~]*(?:[\w+][^$]*)|=(?:[\S+][^$]*)|@[-#]*(?:\w+.)[\w+.]+)?)*)?}:XF\$/ , inside : { punctuation : { pattern : /[$:{}?.,|]/ } } , alias : "function" } , "directive-inline" : { pattern : /\$\w(?:#\d+\+?)?(?:\[[-\w.]+])?:[-\/\w.]+\$/ , inside : { punctuation : { pattern : /\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/ , inside : { tag : { pattern : /#\d/ } } } } , alias : "function" } , "directive-block-open" : { pattern : /\$\w+:{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+])?:[-\w.]+:{(![A-Z]+)?/ , inside : { punctuation : { pattern : /\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/ , inside : { tag : { pattern : /#\d/ } } } , attribute : { pattern : /![A-Z]+$/ , inside : { punctuation : { pattern : /!/ } } , alias : "keyword" } } , alias : "function" } , "directive-block-separator" : { pattern : /}:[-\w.]+:{/ , inside : { punctuation : { pattern : /[:{}]/ } } , alias : "function" } , "directive-block-close" : { pattern : /}:[-\w.]+\$/ , inside : { punctuation : { pattern : /[:{}$]/ } } , alias : "function" } } ) , n . languages . insertBefore ( "inside" , "punctuation" , { variable : n . languages . xeora [ "function-inline" ] . inside . variable } , n . languages . xeora [ "function-block" ] ) , n . languages . xeoracube = n . languages . xeora } ( Prism ) ;
Prism . languages . xojo = { comment : { pattern : /(?:'|\/\/|Rem\b).+/i , inside : { keyword : /^Rem/i } } , string : { pattern : /"(?:""|[^"])*"/ , greedy : ! 0 } , number : [ /(?:\b\d+\.?\d*|\B\.\d+)(?:E[+-]?\d+)?/i , /&[bchou][a-z\d]+/i ] , symbol : /#(?:If|Else|ElseIf|Endif|Pragma)\b/i , keyword : /\b(?:AddHandler|App|Array|As(?:signs)?|By(?:Ref|Val)|Break|Call|Case|Catch|Const|Continue|CurrentMethodName|Declare|Dim|Do(?:wnTo)?|Each|Else(?:If)?|End|Exit|Extends|False|Finally|For|Global|If|In|Lib|Loop|Me|Next|Nil|Optional|ParamArray|Raise(?:Event)?|ReDim|Rem|RemoveHandler|Return|Select|Self|Soft|Static|Step|Super|Then|To|True|Try|Ubound|Until|Using|Wend|While)\b/i , operator : /<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|Xor|WeakAddressOf)\b/i , punctuation : /[.,;:()]/ } ;
! function ( r ) { r . languages . xquery = r . languages . extend ( "markup" , { "xquery-comment" : { pattern : /\(:[\s\S]*?:\)/ , greedy : ! 0 , alias : "comment" } , string : { pattern : /(["'])(?:\1\1|(?!\1)[\s\S])*\1/ , greedy : ! 0 } , extension : { pattern : /\(#.+?#\)/ , alias : "symbol" } , variable : /\$[\w-:]+/ , axis : { pattern : /(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/ , lookbehind : ! 0 , alias : "operator" } , "keyword-operator" : { pattern : /(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/ , lookbehind : ! 0 , alias : "operator" } , keyword : { pattern : /(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/ , lookbehind : ! 0 } , function : /[\w-]+(?::[\w-]+)*(?=\s*\()/ , "xquery-element" : { pattern : /(element\s+)[\w-]+(?::[\w-]+)*/ , lookbehind : ! 0 , alias : "tag" } , "xquery-attribute" : { pattern : /(attribute\s+)[\w-]+(?::[\w-]+)*/ , lookbehind : ! 0 , alias : "attr-name" } , builtin : { pattern : /(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|ENTITIES|ENTITY|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|ID|IDREFS?|int|integer|language|long|Name|NCName|negativeInteger|NMTOKENS?|nonNegativeInteger|nonPositiveInteger|normalizedString|NOTATION|positiveInteger|QName|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/ , lookbehind : ! 0 } , number : /\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/ , operator : [ /[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/ , { pattern : /(\s)-(?=\s)/ , lookbehind : ! 0 } ] , punctuation : /[[\](){},;:/]/ } ) , r . languages . xquery . tag . pattern = /<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|{(?!{)(?:{(?:{[^}]*}|[^}])*}|[^}])+}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i , r . languages . xquery . tag . inside [ "attr-value" ] . pattern = /=(?:("|')(?:\\[\s\S]|{(?!{)(?:{(?:{[^}]*}|[^}])*}|[^}])+}|(?!\1)[^\\])*\1|[^\s'">=]+)/i , r . languages . xquery . tag . inside [ "attr-value" ] . inside . punctuation = /^="|"$/ , r . languages . xquery . tag . inside [ "attr-value" ] . inside . expression = { pattern : /{(?!{)(?:{(?:{[^}]*}|[^}])*}|[^}])+}/ , inside : { rest : r . languages . xquery } , alias : "language-xquery" } ; var s = function ( e ) { return "string" == typeof e ? e : "string" == typeof e . content ? e . content : e . content . map ( s ) . join ( "" ) } , l = function ( e ) { for ( var t = [ ] , n = 0 ; n < e . length ; n ++ ) { var a = e [ n ] , o = ! 1 ; if ( "string" != typeof a && ( "tag" === a . type && a . content [ 0 ] && "tag" === a . content [ 0 ] . type ? "</" === a . content [ 0 ] . content [ 0 ] . content ? 0 < t . length && t [ t . length - 1 ] . tagName === s ( a . content [ 0 ] . content [ 1 ] ) && t . pop ( ) : "/>" === a . content [ a . content . length - 1 ] . content || t . push ( { tagName : s ( a . content [ 0 ] . content [ 1 ] ) , openedBraces : 0 } ) : ! ( 0 < t . length && "punctuation" === a . type && "{" === a . content ) || e [ n + 1 ] && "punctuation" === e [ n + 1 ] . type && "{" === e [ n + 1 ] . content || e [ n - 1 ] && "plain-text" === e [ n - 1 ] . type && "{" === e [ n - 1 ] . content ? 0 < t . length && 0 < t [ t . length - 1 ] . openedBraces && "punctuation" === a . type && "}" === a . content ? t [ t . length - 1 ] . openedBraces -- : "comment" !== a . type && ( o = ! 0 ) : t [ t . length - 1 ] . openedBraces ++ ) , ( o || "string" == typeof a ) && 0 < t . length && 0 === t [ t . length - 1 ] . openedBraces ) { var i = s ( a ) ; n < e . length - 1 && ( "string" == typeof e [ n + 1 ] || "plain-text" === e [ n + 1 ] . type ) && ( i += s ( e [ n + 1 ] ) , e . splice ( n + 1 , 1 ) ) , 0 < n && ( "string" == typeof e [ n - 1 ] || "plain-text" === e [ n - 1 ] . type ) && ( i = s ( e [ n - 1 ] ) + i , e . splice ( n - 1 , 1 ) , n -- ) , /^\s+$/ . test ( i ) ? e [ n ] = i : e [ n ] = new r . Token ( "plain-text" , i , null , i ) } a . content && "string" != typeof a . content && l ( a . content ) } } ; r . hooks . add ( "after-tokenize" , function ( e ) { "xquery" === e . language && l ( e . tokens ) } ) } ( Prism ) ;
Prism . languages . tap = { fail : /not ok[^#{\n\r]*/ , pass : /ok[^#{\n\r]*/ , pragma : /pragma [+-][a-z]+/ , bailout : /bail out!.*/i , version : /TAP version \d+/i , plan : /\d+\.\.\d+(?: +#.*)?/ , subtest : { pattern : /# Subtest(?:: .*)?/ , greedy : ! 0 } , punctuation : /[{}]/ , directive : /#.*/ , yamlish : { pattern : /(^[^\S\r\n]*)---(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?[^\S\r\n]*\.\.\.$/m , lookbehind : ! 0 , inside : Prism . languages . yaml , alias : "language-yaml" } } ;
! function ( n ) { var e = /\b(?:align|allowzero|and|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/ , a = "\\b(?!" + e . source + ")(?!\\d)\\w+\\b" , r = "align\\s*\\((?:[^()]|\\([^()]*\\))*\\)" , s = "(?!\\s)(?:!?\\s*(?:" + "(?:\\?|\\bpromise->|(?:\\[[^[\\]]*\\]|\\*(?!\\*)|\\*\\*)(?:\\s*<ALIGN>|\\s*const\\b|\\s*volatile\\b|\\s*allowzero\\b)*)" . replace ( /<ALIGN>/g , r ) + "\\s*)*" + "(?:\\bpromise\\b|(?:\\berror\\.)?<ID>(?:\\.<ID>)*(?!\\s+<ID>))" . replace ( /<ID>/g , a ) + ")+" ; n . languages . zig = { comment : [ { pattern : /\/{3}.*/ , alias : "doc-comment" } , /\/{2}.*/ ] , string : [ { pattern : /(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/ , lookbehind : ! 0 , greedy : ! 0 } , { pattern : /([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/ , lookbehind : ! 0 , greedy : ! 0 } , { pattern : /(^|[^\\])'(?:[^'\\\r\n]|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/ , lookbehind : ! 0 , greedy : ! 0 } ] , builtin : /\B@(?!\d)\w+(?=\s*\()/ , label : { pattern : /(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/ , lookbehind : ! 0 } , "class-name" : [ /\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/ , { pattern : RegExp ( "(:\\s*)<TYPE>(?=\\s*(?:<ALIGN>\\s*)?[=;,)])|<TYPE>(?=\\s*(?:<ALIGN>\\s*)?\\{)" . replace ( /<TYPE>/g , s ) . replace ( /<ALIGN>/g , r ) ) , lookbehind : ! 0 , inside : null } , { pattern : RegExp ( "(\\)\\s*)<TYPE>(?=\\s*(?:<ALIGN>\\s*)?;)" . replace ( /<TYPE>/g , s ) . replace ( /<ALIGN>/g , r ) ) , lookbehind : ! 0 , inside : null } ] , "builtin-types" : { pattern : /\b(?:anyerror|bool|c_u?(?:short|int|long|longlong)|c_longdouble|c_void|comptime_(?:float|int)|[iu](?:8|16|32|64|128|size)|f(?:16|32|64|128)|noreturn|type|void)\b/ , alias : "keyword" } , keyword : e , function : /\b(?!\d)\w+(?=\s*\()/ , number : /\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+\.?[a-fA-F\d]*(?:[pP][+-]?[a-fA-F\d]+)?|\d+\.?\d*(?:[eE][+-]?\d+)?)\b/ , boolean : /\b(?:false|true)\b/ , operator : /\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/ , punctuation : /[.:,;(){}[\]]/ } , n . languages . zig [ "class-name" ] . forEach ( function ( e ) { null === e . inside && ( e . inside = n . languages . zig ) } ) } ( Prism ) ;
! function ( ) { if ( "undefined" != typeof self && self . Prism && self . document ) { var l = "line-numbers" , c = /\n(?!$)/g , m = function ( e ) { var t = a ( e ) [ "white-space" ] ; if ( "pre-wrap" === t || "pre-line" === t ) { var n = e . querySelector ( "code" ) , r = e . querySelector ( ".line-numbers-rows" ) , s = e . querySelector ( ".line-numbers-sizer" ) , i = n . textContent . split ( c ) ; s || ( ( s = document . createElement ( "span" ) ) . className = "line-numbers-sizer" , n . appendChild ( s ) ) , s . style . display = "block" , i . forEach ( function ( e , t ) { s . textContent = e || "\n" ; var n = s . getBoundingClientRect ( ) . height ; r . children [ t ] . style . height = n + "px" } ) , s . textContent = "" , s . style . display = "none" } } , a = function ( e ) { return e ? window . getComputedStyle ? getComputedStyle ( e ) : e . currentStyle || null : null } ; window . addEventListener ( "resize" , function ( ) { Array . prototype . forEach . call ( document . querySelectorAll ( "pre." + l ) , m ) } ) , Prism . hooks . add ( "complete" , function ( e ) { if ( e . code ) { var t = e . element , n = t . parentNode ; if ( n && /pre/i . test ( n . nodeName ) && ! t . querySelector ( ".line-numbers-rows" ) ) { for ( var r = ! 1 , s = /(?:^|\s)line-numbers(?:\s|$)/ , i = t ; i ; i = i . parentNode ) if ( s . test ( i . className ) ) { r = ! 0 ; break } if ( r ) { t . className = t . className . replace ( s , " " ) , s . test ( n . className ) || ( n . className += " line-numbers" ) ; var l , a = e . code . match ( c ) , o = a ? a . length + 1 : 1 , u = new Array ( o + 1 ) . join ( "<span></span>" ) ; ( l = document . createElement ( "span" ) ) . setAttribute ( "aria-hidden" , "true" ) , l . className = "line-numbers-rows" , l . innerHTML = u , n . hasAttribute ( "data-start" ) && ( n . style . counterReset = "linenumber " + ( parseInt ( n . getAttribute ( "data-start" ) , 10 ) - 1 ) ) , e . element . appendChild ( l ) , m ( n ) , Prism . hooks . run ( "line-numbers" , e ) } } } } ) , Prism . hooks . add ( "line-numbers" , function ( e ) { e . plugins = e . plugins || { } , e . plugins . lineNumbers = ! 0 } ) , Prism . plugins . lineNumbers = { getLine : function ( e , t ) { if ( "PRE" === e . tagName && e . classList . contains ( l ) ) { var n = e . querySelector ( ".line-numbers-rows" ) , r = parseInt ( e . getAttribute ( "data-start" ) , 10 ) || 1 , s = r + ( n . children . length - 1 ) ; t < r && ( t = r ) , s < t && ( t = s ) ; var i = t - r ; return n . children [ i ] } } } } } ( ) ;
! function ( ) { if ( "undefined" != typeof self && self . Prism && self . document ) { var r = [ ] , i = { } , a = function ( ) { } ; Prism . plugins . toolbar = { } ; var t = Prism . plugins . toolbar . registerButton = function ( t , a ) { var e ; e = "function" == typeof a ? a : function ( t ) { var e ; return "function" == typeof a . onClick ? ( ( e = document . createElement ( "button" ) ) . type = "button" , e . addEventListener ( "click" , function ( ) { a . onClick . call ( this , t ) } ) ) : "string" == typeof a . url ? ( e = document . createElement ( "a" ) ) . href = a . url : e = document . createElement ( "span" ) , a . className && e . classList . add ( a . className ) , e . textContent = a . text , e } , t in i ? console . warn ( 'There is a button with the key "' + t + '" registered already.' ) : r . push ( i [ t ] = e ) } , e = Prism . plugins . toolbar . hook = function ( n ) { var t = n . element . parentNode ; if ( t && /pre/i . test ( t . nodeName ) && ! t . parentNode . classList . contains ( "code-toolbar" ) ) { var e = document . createElement ( "div" ) ; e . classList . add ( "code-toolbar" ) , t . parentNode . insertBefore ( e , t ) , e . appendChild ( t ) ; var o = document . createElement ( "div" ) ; o . classList . add ( "toolbar" ) , document . body . hasAttribute ( "data-toolbar-order" ) && ( r = document . body . getAttribute ( "data-toolbar-order" ) . split ( "," ) . map ( function ( t ) { return i [ t ] || a } ) ) , r . forEach ( function ( t ) { var e = t ( n ) ; if ( e ) { var a = document . createElement ( "div" ) ; a . classList . add ( "toolbar-item" ) , a . appendChild ( e ) , o . appendChild ( a ) } } ) , e . appendChild ( o ) } } ; t ( "label" , function ( t ) { var e = t . element . parentNode ; if ( e && /pre/i . test ( e . nodeName ) && e . hasAttribute ( "data-label" ) ) { var a , n , o = e . getAttribute ( "data-label" ) ; try { n = document . querySelector ( "template#" + o ) } catch ( t ) { } return n ? a = n . content : ( e . hasAttribute ( "data-url" ) ? ( a = document . createElement ( "a" ) ) . href = e . getAttribute ( "data-url" ) : a = document . createElement ( "span" ) , a . textContent = o ) , a } } ) , Prism . hooks . add ( "complete" , e ) } } ( ) ;
! function ( ) { if ( "undefined" != typeof self && self . Prism && self . document ) if ( Prism . plugins . toolbar ) { var r = { html : "HTML" , xml : "XML" , svg : "SVG" , mathml : "MathML" , css : "CSS" , clike : "C-like" , js : "JavaScript" , abap : "ABAP" , abnf : "Augmented Backus– Naur form" , apacheconf : "Apache Configuration" , apl : "APL" , aql : "AQL" , arff : "ARFF" , asciidoc : "AsciiDoc" , adoc : "AsciiDoc" , asm6502 : "6502 Assembly" , aspnet : "ASP.NET (C#)" , autohotkey : "AutoHotkey" , autoit : "AutoIt" , shell : "Bash" , basic : "BASIC" , bnf : "Backus– Naur form" , rbnf : "Routing Backus– Naur form" , csharp : "C#" , cs : "C#" , dotnet : "C#" , cpp : "C++" , cil : "CIL" , coffee : "CoffeeScript" , cmake : "CMake" , csp : "Content-Security-Policy" , "css-extras" : "CSS Extras" , django : "Django/Jinja2" , jinja2 : "Django/Jinja2" , "dns-zone-file" : "DNS zone file" , "dns-zone" : "DNS zone file" , dockerfile : "Docker" , ebnf : "Extended Backus– Naur form" , ejs : "EJS" , erb : "ERB" , fsharp : "F#" , "firestore-security-rules" : "Firestore security rules" , gcode : "G-code" , gdscript : "GDScript" , gedcom : "GEDCOM" , glsl : "GLSL" , gml : "GameMaker Language" , gamemakerlanguage : "GameMaker Language" , graphql : "GraphQL" , hs : "Haskell" , hcl : "HCL" , http : "HTTP" , hpkp : "HTTP Public-Key-Pins" , hsts : "HTTP Strict-Transport-Security" , ichigojam : "IchigoJam" , inform7 : "Inform 7" , javadoc : "JavaDoc" , javadoclike : "JavaDoc-like" , javastacktrace : "Java stack trace" , jq : "JQ" , jsdoc : "JSDoc" , "js-extras" : "JS Extras" , "js-templates" : "JS Templates" , json : "JSON" , jsonp : "JSONP" , json5 : "JSON5" , latex : "LaTeX" , tex : "TeX" , context : "ConTeXt" , lilypond : "LilyPond" , ly : "LilyPond" , emacs : "Lisp" , elisp : "Lisp" , "emacs-lisp" : "Lisp" , lolcode : "LOLCODE" , md : "Markdown" , "markup-templating" : "Markup templating" , matlab : "MATLAB" , mel : "MEL" , n1ql : "N1QL" , n4js : "N4JS" , n4jsd : "N4JS" , "nand2tetris-hdl" : "Nand To Tetris HDL" , nasm : "NASM" , nginx : "nginx" , nsis : "NSIS" , objectivec : "Objective-C" , ocaml : "OCaml" , opencl : "OpenCL" , parigp : "PARI/GP" , objectpascal : "Object Pascal" , pcaxis : "PC-Axis" , px : "PC-Axis" , php : "PHP" , phpdoc : "PHPDoc" , "php-extras" : "PHP Extras" , plsql : "PL/SQL" , powershell : "PowerShell" , properties : ".properties" , protobuf : "Protocol Buffers" , py : "Python" , q : "Q (kdb+ database)" , jsx : "React JSX" , tsx : "React TSX" , renpy : "Ren'py" , rest : "reST (reStructuredText)" , "robot-framework" : "Robot Framework" , robot : "Robot Framework" , rb : "Ruby" , sas : "SAS" , sass : "Sass (Sass)" , scss : "Sass (Scss)" , "shell-session" : "Shell session" , solidity : "Solidity (Ethereum)" , soy : "Soy (Closure Template)" , sparql : "SPARQL" , rq : "SPARQL" , "splunk-spl" : "Splunk SPL" , sql : "SQL" , tap : "TAP" , toml : "TOML" , tt2 : "Template Toolkit 2" , trig : "TriG" , ts : "TypeScript" , "t4-cs" : "T4 Text Templates (C#)" , t4 : "T4 Text Templates (C#)" , "t4-vb" : "T4 Text Templates (VB)" , "t4-templating" : "T4 templating" , vbnet : "VB.Net" , vhdl : "VHDL" , vim : "vim" , "visual-basic" : "Visual Basic" , vb : "Visual Basic" , wasm : "WebAssembly" , wiki : "Wiki markup" , xeoracube : "XeoraCube" , xojo : "Xojo (REALbasic)" , xquery : "XQuery" , yaml : "YAML" , yml : "YAML" } ; Prism . plugins . toolbar . registerButton ( "show-language" , function ( e ) { var a = e . element . parentNode ; if ( a && /pre/i . test ( a . nodeName ) ) { var s , t = a . getAttribute ( "data-language" ) || r [ e . language ] || ( ( s = e . language ) ? ( s . substring ( 0 , 1 ) . toUpperCase ( ) + s . substring ( 1 ) ) . replace ( /s(?=cript)/ , "S" ) : s ) ; if ( t ) { var o = document . createElement ( "span" ) ; return o . textContent = t , o } } } ) } else console . warn ( "Show Languages plugin loaded before Toolbar plugin." ) } ( ) ;
! function ( ) { if ( "undefined" != typeof self && self . Prism && self . document ) if ( Prism . plugins . toolbar ) { var r = window . ClipboardJS || void 0 ; r || "function" != typeof require || ( r = require ( "clipboard" ) ) ; var i = [ ] ; if ( ! r ) { var o = document . createElement ( "script" ) , e = document . querySelector ( "head" ) ; o . onload = function ( ) { if ( r = window . ClipboardJS ) for ( ; i . length ; ) i . pop ( ) ( ) } , o . src = "https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js" , e . appendChild ( o ) } Prism . plugins . toolbar . registerButton ( "copy-to-clipboard" , function ( e ) { var t = document . createElement ( "button" ) ; return t . textContent = "Copy" , r ? o ( ) : i . push ( o ) , t ; function o ( ) { var o = new r ( t , { text : function ( ) { return e . code } } ) ; o . on ( "success" , function ( ) { t . textContent = "Copied!" , n ( ) } ) , o . on ( "error" , function ( ) { t . textContent = "Press Ctrl+C to copy" , n ( ) } ) } function n ( ) { setTimeout ( function ( ) { t . textContent = "Copy" } , 5e3 ) } } ) } else console . warn ( "Copy to Clipboard plugin loaded before Toolbar plugin." ) } ( ) ;
2019-10-14 09:49:59 +00:00
"undefined" != typeof self && self . Prism && self . document && document . querySelector && Prism . plugins . toolbar . registerButton ( "download-file" , function ( t ) { var e = t . element . parentNode ; if ( e && /pre/i . test ( e . nodeName ) && e . hasAttribute ( "data-src" ) && e . hasAttribute ( "data-download-link" ) ) { var a = e . getAttribute ( "data-src" ) , n = document . createElement ( "a" ) ; return n . textContent = e . getAttribute ( "data-download-link-label" ) || "Download" , n . setAttribute ( "download" , "" ) , n . href = a , n } } ) ;