-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
496 changed files
with
46,763 additions
and
35,457 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/*! `abnf` grammar compiled for Highlight.js 11.8.0 */ | ||
(()=>{var e=(()=>{"use strict";return e=>{const a=e.regex,s=e.COMMENT(/;/,/$/) | ||
;return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/, | ||
keywords:["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"], | ||
contains:[{scope:"operator",match:/=\/?/},{scope:"attribute", | ||
match:a.concat(/^[a-zA-Z][a-zA-Z0-9-]*/,/(?=\s*=)/)},s,{scope:"symbol", | ||
match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},{scope:"symbol", | ||
match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},{scope:"symbol", | ||
match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},{scope:"symbol", | ||
match:/%[si](?=".*")/},e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}})() | ||
;hljs.registerLanguage("abnf",e)})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/*! `accesslog` grammar compiled for Highlight.js 11.8.0 */ | ||
(()=>{var e=(()=>{"use strict";return e=>{ | ||
const n=e.regex,a=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"] | ||
;return{name:"Apache Access Log",contains:[{className:"number", | ||
begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{ | ||
className:"number",begin:/\b\d+\b/,relevance:0},{className:"string", | ||
begin:n.concat(/"/,n.either(...a)),end:/"/,keywords:a,illegal:/\n/,relevance:5, | ||
contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string", | ||
begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string", | ||
begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string", | ||
begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{ | ||
className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}})() | ||
;hljs.registerLanguage("accesslog",e)})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/*! `actionscript` grammar compiled for Highlight.js 11.8.0 */ | ||
(()=>{var e=(()=>{"use strict";return e=>{ | ||
const a=e.regex,t=/[a-zA-Z_$][a-zA-Z0-9_$]*/,n=a.concat(t,a.concat("(\\.",t,")*")),s={ | ||
className:"rest_arg",begin:/[.]{3}/,end:t,relevance:10};return{ | ||
name:"ActionScript",aliases:["as"],keywords:{ | ||
keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"], | ||
literal:["true","false","null","undefined"]}, | ||
contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{ | ||
match:[/\bpackage/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{ | ||
match:[/\b(?:class|interface|extends|implements)/,/\s+/,t],className:{ | ||
1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include", | ||
end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function", | ||
end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{ | ||
className:"title.function"}),{className:"params",begin:/\(/,end:/\)/, | ||
contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s] | ||
},{begin:a.concat(/:\s*/,/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/)}]},e.METHOD_GUARD], | ||
illegal:/#/}}})();hljs.registerLanguage("actionscript",e)})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/*! `ada` grammar compiled for Highlight.js 11.8.0 */ | ||
(()=>{var e=(()=>{"use strict";return e=>{ | ||
const n="\\d(_|\\d)*",s="[eE][-+]?"+n,a="\\b("+n+"#\\w+(\\.\\w+)?#("+s+")?|"+n+"(\\."+n+")?("+s+")?)",r="[A-Za-z](_?[A-Za-z0-9.])*",i="[]\\{\\}%#'\"",t=e.COMMENT("--","$"),c={ | ||
begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:i,contains:[{ | ||
beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword", | ||
beginKeywords:"not null constant access function procedure in out aliased exception" | ||
},{className:"type",begin:r,endsParent:!0,relevance:0}]};return{name:"Ada", | ||
case_insensitive:!0,keywords:{ | ||
keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"], | ||
literal:["True","False"]},contains:[t,{className:"string",begin:/"/,end:/"/, | ||
contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{ | ||
className:"number",begin:a,relevance:0},{className:"symbol",begin:"'"+r},{ | ||
className:"title", | ||
begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?", | ||
end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:i},{ | ||
begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+", | ||
end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)", | ||
keywords:"overriding function procedure with is renames return",returnBegin:!0, | ||
contains:[t,{className:"title", | ||
begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)", | ||
excludeBegin:!0,excludeEnd:!0,illegal:i},c,{className:"type", | ||
begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0, | ||
excludeEnd:!0,endsParent:!0,illegal:i}]},{className:"type", | ||
begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:i | ||
},c]}}})();hljs.registerLanguage("ada",e)})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/*! `angelscript` grammar compiled for Highlight.js 11.8.0 */ | ||
(()=>{var e=(()=>{"use strict";return e=>{const n={className:"built_in", | ||
begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)" | ||
},a={className:"symbol",begin:"[a-zA-Z0-9_]+@"},i={className:"keyword", | ||
begin:"<",end:">",contains:[n,a]};return n.contains=[i],a.contains=[i],{ | ||
name:"AngelScript",aliases:["asc"], | ||
keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"], | ||
illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{ | ||
className:"string",begin:"'",end:"'",illegal:"\\n", | ||
contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""', | ||
end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n", | ||
contains:[e.BACKSLASH_ESCAPE],relevance:0 | ||
},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string", | ||
begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/, | ||
illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{ | ||
beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol", | ||
begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol", | ||
begin:"[a-zA-Z0-9_]+"}]}]}]},n,a,{className:"literal", | ||
begin:"\\b(null|true|false)"},{className:"number",relevance:0, | ||
begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)" | ||
}]}}})();hljs.registerLanguage("angelscript",e)})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/*! `apache` grammar compiled for Highlight.js 11.8.0 */ | ||
(()=>{var e=(()=>{"use strict";return e=>{const n={className:"number", | ||
begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/};return{ | ||
name:"Apache config",aliases:["apacheconf"],case_insensitive:!0, | ||
contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/, | ||
contains:[n,{className:"number",begin:/:\d{1,5}/ | ||
},e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute", | ||
begin:/\w+/,relevance:0,keywords:{ | ||
_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"] | ||
},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"}, | ||
contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable", | ||
begin:/[\$%]\{/,end:/\}/,contains:["self",{className:"number",begin:/[$%]\d+/}] | ||
},n,{className:"number",begin:/\b\d+/},e.QUOTE_STRING_MODE]}}],illegal:/\S/}} | ||
})();hljs.registerLanguage("apache",e)})(); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.