"Fossies" - the Fresh Open Source Software Archive

Member "nextcloud/apps/text/js/highlight/abnf.js.map" (15 Jul 2020, 2390 Bytes) of package /linux/www/nextcloud-19.0.1.tar.bz2:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "abnf.js.map": 19.0.0_vs_19.0.1.

    1 {"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/abnf.js"],"names":["module","exports","hljs","regexes","commentMode","COMMENT","ruleDeclarationMode","className","begin","illegal","keywords","join","contains","QUOTE_STRING_MODE","NUMBER_MODE"],"mappings":"mFAAAA,EAAOC,QAAU,SAASC,GACtB,IAAIC,EACiB,yBADjBA,EAEiB,mBAsBjBC,EAAcF,EAAKG,QAAQ,IAAK,KAsBhCC,EAAsB,CACtBC,UAAW,YACXC,MAAOL,EAA0B,aAGrC,MAAO,CACLM,QAASN,EACTO,SAhDa,CACX,QACA,MACA,OACA,KACA,OACA,MACA,QACA,SACA,SACA,OACA,KACA,OACA,QACA,KACA,QACA,OAgCiBC,KAAK,KACxBC,SAAU,CACNN,EACAF,EA9BmB,CACrBG,UAAW,SACXC,MAAO,sCAGe,CACtBD,UAAW,SACXC,MAAO,sCAGmB,CAC1BD,UAAW,SACXC,MAAO,+CAGwB,CAC/BD,UAAW,SACXC,MAAO,SAkBLN,EAAKW,kBACLX,EAAKY","file":"highlight/abnf.js?v=1f0978718d2dd7e3d498","sourcesContent":["module.exports = function(hljs) {\n    var regexes = {\n        ruleDeclaration: \"^[a-zA-Z][a-zA-Z0-9-]*\",\n        unexpectedChars: \"[!@#$^&',?+~`|:]\"\n    };\n\n    var 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    var commentMode = hljs.COMMENT(\";\", \"$\");\n\n    var terminalBinaryMode = {\n        className: \"symbol\",\n        begin: /%b[0-1]+(-[0-1]+|(\\.[0-1]+)+){0,1}/\n    };\n\n    var terminalDecimalMode = {\n        className: \"symbol\",\n        begin: /%d[0-9]+(-[0-9]+|(\\.[0-9]+)+){0,1}/\n    };\n\n    var terminalHexadecimalMode = {\n        className: \"symbol\",\n        begin: /%x[0-9A-F]+(-[0-9A-F]+|(\\.[0-9A-F]+)+){0,1}/,\n    };\n\n    var caseSensitivityIndicatorMode = {\n        className: \"symbol\",\n        begin: /%[si]/\n    };\n\n    var ruleDeclarationMode = {\n        className: \"attribute\",\n        begin: regexes.ruleDeclaration + '(?=\\\\s*=)',\n    };\n\n    return {\n      illegal: regexes.unexpectedChars,\n      keywords: keywords.join(\" \"),\n      contains: [\n          ruleDeclarationMode,\n          commentMode,\n          terminalBinaryMode,\n          terminalDecimalMode,\n          terminalHexadecimalMode,\n          caseSensitivityIndicatorMode,\n          hljs.QUOTE_STRING_MODE,\n          hljs.NUMBER_MODE\n      ]\n    };\n};"],"sourceRoot":""}