%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/highlight/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/highlight/abnf-js-js.js.map |
{"version":3,"file":"highlight/abnf-js-js.js?v=0a560d0c3f6225367c4d","mappings":"mIAiFAA,EAAOC,QAzEP,SAAcC,GACZ,MAAMC,EAAQD,EAAKC,MAsBbC,EAAUF,EAAKE,QAAQ,IAAK,KAgClC,MAAO,CACLC,KAAM,6BACNC,QAAS,mBACTC,SAtDe,CACf,QACA,MACA,OACA,KACA,OACA,MACA,QACA,SACA,SACA,OACA,KACA,OACA,QACA,KACA,QACA,OAuCAC,SAAU,CATO,CACjBC,MAAO,WACPC,MAAO,QAPgB,CACvBD,MAAO,YACPC,MAAOP,EAAMQ,OA7CD,yBA6Ce,aAezBP,EArCoB,CACtBK,MAAO,SACPC,MAAO,kCAGgB,CACvBD,MAAO,SACPC,MAAO,kCAGoB,CAC3BD,MAAO,SACPC,MAAO,2CAGgB,CACvBD,MAAO,SACPC,MAAO,iBAyBLR,EAAKU,kBACLV,EAAKW,aAGX,C,kBC/EA,SAASC,IACAA,EAAYC,SACfD,EAAYC,QAAS,EACrBC,QAAQC,IACN,iKAGN,CACAH,GACEd,EAAOC,QAAU,EAAjB,M","sources":["webpack:///text/node_modules/highlight.js/lib/languages/abnf.js","webpack:///text/node_modules/highlight.js/lib/languages/abnf.js.js"],"sourcesContent":["/*\nLanguage: Augmented Backus-Naur Form\nAuthor: Alex McKibben <alex@nullscope.net>\nWebsite: https://tools.ietf.org/html/rfc5234\nAudit: 2020\n*/\n\n/** @type LanguageFn */\nfunction abnf(hljs) {\n const regex = hljs.regex;\n const IDENT = /^[a-zA-Z][a-zA-Z0-9-]*/;\n\n const KEYWORDS = [\n \"ALPHA\",\n \"BIT\",\n \"CHAR\",\n \"CR\",\n \"CRLF\",\n \"CTL\",\n \"DIGIT\",\n \"DQUOTE\",\n \"HEXDIG\",\n \"HTAB\",\n \"LF\",\n \"LWSP\",\n \"OCTET\",\n \"SP\",\n \"VCHAR\",\n \"WSP\"\n ];\n\n const COMMENT = hljs.COMMENT(/;/, /$/);\n\n const TERMINAL_BINARY = {\n scope: \"symbol\",\n match: /%b[0-1]+(-[0-1]+|(\\.[0-1]+)+)?/\n };\n\n const TERMINAL_DECIMAL = {\n scope: \"symbol\",\n match: /%d[0-9]+(-[0-9]+|(\\.[0-9]+)+)?/\n };\n\n const TERMINAL_HEXADECIMAL = {\n scope: \"symbol\",\n match: /%x[0-9A-F]+(-[0-9A-F]+|(\\.[0-9A-F]+)+)?/\n };\n\n const CASE_SENSITIVITY = {\n scope: \"symbol\",\n match: /%[si](?=\".*\")/\n };\n\n const RULE_DECLARATION = {\n scope: \"attribute\",\n match: regex.concat(IDENT, /(?=\\s*=)/)\n };\n\n const ASSIGNMENT = {\n scope: \"operator\",\n match: /=\\/?/\n };\n\n return {\n name: 'Augmented Backus-Naur Form',\n illegal: /[!@#$^&',?+~`|:]/,\n keywords: KEYWORDS,\n contains: [\n ASSIGNMENT,\n RULE_DECLARATION,\n COMMENT,\n TERMINAL_BINARY,\n TERMINAL_DECIMAL,\n TERMINAL_HEXADECIMAL,\n CASE_SENSITIVITY,\n hljs.QUOTE_STRING_MODE,\n hljs.NUMBER_MODE\n ]\n };\n}\n\nmodule.exports = abnf;\n","function emitWarning() {\n if (!emitWarning.warned) {\n emitWarning.warned = true;\n console.log(\n 'Deprecation (warning): Using file extension in specifier is deprecated, use \"highlight.js/lib/languages/abnf\" instead of \"highlight.js/lib/languages/abnf.js\"'\n );\n }\n }\n emitWarning();\n module.exports = require('./abnf.js');"],"names":["module","exports","hljs","regex","COMMENT","name","illegal","keywords","contains","scope","match","concat","QUOTE_STRING_MODE","NUMBER_MODE","emitWarning","warned","console","log"],"sourceRoot":""}