diff options
Diffstat (limited to 'js/highlight/apache.js.map')
-rw-r--r-- | js/highlight/apache.js.map | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/highlight/apache.js.map b/js/highlight/apache.js.map index 6721ff856..10739ca28 100644 --- a/js/highlight/apache.js.map +++ b/js/highlight/apache.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///text/node_modules/highlight.js/lib/languages/apache.js"],"names":["module","exports","hljs","IP_ADDRESS","className","begin","name","aliases","case_insensitive","contains","HASH_COMMENT_MODE","end","inherit","QUOTE_STRING_MODE","relevance","keywords","nomarkup","starts","literal","illegal"],"mappings":"wFAwFAA,EAAOC,QA7EP,SAAgBC,GACd,MAQMC,EAAa,CACjBC,UAAW,SACXC,MAAO,iDAMT,MAAO,CACLC,KAAM,gBACNC,QAAS,CAAE,cACXC,kBAAkB,EAClBC,SAAU,CACRP,EAAKQ,kBACL,CACEN,UAAW,UACXC,MAAO,OACPM,IAAK,IACLF,SAAU,CACRN,EAfY,CAClBC,UAAW,SACXC,MAAO,YAiBDH,EAAKU,QAAQV,EAAKW,kBAAmB,CAAEC,UAAW,MAGtD,CACEV,UAAW,YACXC,MAAO,MACPS,UAAW,EAGXC,SAAU,CACRC,SACE,8JAIJC,OAAQ,CACNN,IAAK,IACLG,UAAW,EACXC,SAAU,CAAEG,QAAS,yBACrBT,SAAU,CACR,CACEL,UAAW,OACXC,MAAO,OACPM,IAAK,OAEP,CACEP,UAAW,WACXC,MAAO,UACPM,IAAK,KACLF,SAAU,CACR,OA7DK,CACjBL,UAAW,SACXC,MAAO,aA+DCF,EA7DK,CACbC,UAAW,SACXC,MAAO,OA6DCH,EAAKW,sBAKbM,QAAS","file":"highlight/apache.js?v=564ed7ae3263bc8c7539","sourcesContent":["/*\nLanguage: Apache config\nAuthor: Ruslan Keba <rukeba@gmail.com>\nContributors: Ivan Sagalaev <maniac@softwaremaniacs.org>\nWebsite: https://httpd.apache.org\nDescription: language definition for Apache configuration files (httpd.conf & .htaccess)\nCategory: common, config\nAudit: 2020\n*/\n\n/** @type LanguageFn */\nfunction apache(hljs) {\n const NUMBER_REF = {\n className: 'number',\n begin: /[$%]\\d+/\n };\n const NUMBER = {\n className: 'number',\n begin: /\\d+/\n };\n const IP_ADDRESS = {\n className: \"number\",\n begin: /\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?/\n };\n const PORT_NUMBER = {\n className: \"number\",\n begin: /:\\d{1,5}/\n };\n return {\n name: 'Apache config',\n aliases: [ 'apacheconf' ],\n case_insensitive: true,\n contains: [\n hljs.HASH_COMMENT_MODE,\n {\n className: 'section',\n begin: /<\\/?/,\n end: />/,\n contains: [\n IP_ADDRESS,\n PORT_NUMBER,\n // low relevance prevents us from claming XML/HTML where this rule would\n // match strings inside of XML tags\n hljs.inherit(hljs.QUOTE_STRING_MODE, { relevance: 0 })\n ]\n },\n {\n className: 'attribute',\n begin: /\\w+/,\n relevance: 0,\n // keywords aren’t needed for highlighting per se, they only boost relevance\n // for a very generally defined mode (starts with a word, ends with line-end\n keywords: {\n nomarkup:\n 'order deny allow setenv rewriterule rewriteengine rewritecond documentroot ' +\n 'sethandler errordocument loadmodule options header listen serverroot ' +\n 'servername'\n },\n starts: {\n end: /$/,\n relevance: 0,\n keywords: { literal: 'on off all deny allow' },\n contains: [\n {\n className: 'meta',\n begin: /\\s\\[/,\n end: /\\]$/\n },\n {\n className: 'variable',\n begin: /[\\$%]\\{/,\n end: /\\}/,\n contains: [\n 'self',\n NUMBER_REF\n ]\n },\n IP_ADDRESS,\n NUMBER,\n hljs.QUOTE_STRING_MODE\n ]\n }\n }\n ],\n illegal: /\\S/\n };\n}\n\nmodule.exports = apache;\n"],"sourceRoot":""}
\ No newline at end of file +{"version":3,"file":"highlight/apache.js?v=564ed7ae3263bc8c7539","mappings":"wFAwFAA,EAAOC,QA7EP,SAAgBC,GACd,MAQMC,EAAa,CACjBC,UAAW,SACXC,MAAO,iDAMT,MAAO,CACLC,KAAM,gBACNC,QAAS,CAAE,cACXC,kBAAkB,EAClBC,SAAU,CACRP,EAAKQ,kBACL,CACEN,UAAW,UACXC,MAAO,OACPM,IAAK,IACLF,SAAU,CACRN,EAfY,CAClBC,UAAW,SACXC,MAAO,YAiBDH,EAAKU,QAAQV,EAAKW,kBAAmB,CAAEC,UAAW,MAGtD,CACEV,UAAW,YACXC,MAAO,MACPS,UAAW,EAGXC,SAAU,CACRC,SACE,8JAIJC,OAAQ,CACNN,IAAK,IACLG,UAAW,EACXC,SAAU,CAAEG,QAAS,yBACrBT,SAAU,CACR,CACEL,UAAW,OACXC,MAAO,OACPM,IAAK,OAEP,CACEP,UAAW,WACXC,MAAO,UACPM,IAAK,KACLF,SAAU,CACR,OA7DK,CACjBL,UAAW,SACXC,MAAO,aA+DCF,EA7DK,CACbC,UAAW,SACXC,MAAO,OA6DCH,EAAKW,sBAKbM,QAAS","sources":["webpack:///text/node_modules/highlight.js/lib/languages/apache.js"],"sourcesContent":["/*\nLanguage: Apache config\nAuthor: Ruslan Keba <rukeba@gmail.com>\nContributors: Ivan Sagalaev <maniac@softwaremaniacs.org>\nWebsite: https://httpd.apache.org\nDescription: language definition for Apache configuration files (httpd.conf & .htaccess)\nCategory: common, config\nAudit: 2020\n*/\n\n/** @type LanguageFn */\nfunction apache(hljs) {\n const NUMBER_REF = {\n className: 'number',\n begin: /[$%]\\d+/\n };\n const NUMBER = {\n className: 'number',\n begin: /\\d+/\n };\n const IP_ADDRESS = {\n className: \"number\",\n begin: /\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?/\n };\n const PORT_NUMBER = {\n className: \"number\",\n begin: /:\\d{1,5}/\n };\n return {\n name: 'Apache config',\n aliases: [ 'apacheconf' ],\n case_insensitive: true,\n contains: [\n hljs.HASH_COMMENT_MODE,\n {\n className: 'section',\n begin: /<\\/?/,\n end: />/,\n contains: [\n IP_ADDRESS,\n PORT_NUMBER,\n // low relevance prevents us from claming XML/HTML where this rule would\n // match strings inside of XML tags\n hljs.inherit(hljs.QUOTE_STRING_MODE, { relevance: 0 })\n ]\n },\n {\n className: 'attribute',\n begin: /\\w+/,\n relevance: 0,\n // keywords aren’t needed for highlighting per se, they only boost relevance\n // for a very generally defined mode (starts with a word, ends with line-end\n keywords: {\n nomarkup:\n 'order deny allow setenv rewriterule rewriteengine rewritecond documentroot ' +\n 'sethandler errordocument loadmodule options header listen serverroot ' +\n 'servername'\n },\n starts: {\n end: /$/,\n relevance: 0,\n keywords: { literal: 'on off all deny allow' },\n contains: [\n {\n className: 'meta',\n begin: /\\s\\[/,\n end: /\\]$/\n },\n {\n className: 'variable',\n begin: /[\\$%]\\{/,\n end: /\\}/,\n contains: [\n 'self',\n NUMBER_REF\n ]\n },\n IP_ADDRESS,\n NUMBER,\n hljs.QUOTE_STRING_MODE\n ]\n }\n }\n ],\n illegal: /\\S/\n };\n}\n\nmodule.exports = apache;\n"],"names":["module","exports","hljs","IP_ADDRESS","className","begin","name","aliases","case_insensitive","contains","HASH_COMMENT_MODE","end","inherit","QUOTE_STRING_MODE","relevance","keywords","nomarkup","starts","literal","illegal"],"sourceRoot":""}
\ No newline at end of file |