1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/ebnf.js"],"names":["module","exports","hljs","commentMode","COMMENT","illegal","contains","className","begin","end","variants","APOS_STRING_MODE","QUOTE_STRING_MODE"],"mappings":"oFAAAA,EAAOC,QAAU,SAASC,GACtB,IAAIC,EAAcD,EAAKE,QAAQ,OAAQ,QA6BvC,MAAO,CACHC,QAAS,KACTC,SAAU,CACNH,EA9Bc,CAClBI,UAAW,YACXC,MAAO,uDAQQ,CACfA,MAAO,IAAKC,IAAK,OACjBH,SAAU,CACNH,EARkB,CACtBI,UAAW,OACXC,MAAO,UAQH,CAEED,UAAW,SACXG,SAAU,CACRR,EAAKS,iBACLT,EAAKU,kBACL,CAACJ,MAAO,IAAKC,IAAK","file":"highlight/ebnf.js?v=373038e21e8e879f4e42","sourcesContent":["module.exports = function(hljs) {\n var commentMode = hljs.COMMENT(/\\(\\*/, /\\*\\)/);\n\n var nonTerminalMode = {\n className: \"attribute\",\n begin: /^[ ]*[a-zA-Z][a-zA-Z-_]*([\\s-_]+[a-zA-Z][a-zA-Z]*)*/\n };\n\n var specialSequenceMode = {\n className: \"meta\",\n begin: /\\?.*\\?/\n };\n\n var ruleBodyMode = {\n begin: /=/, end: /[.;]/,\n contains: [\n commentMode,\n specialSequenceMode,\n {\n // terminals\n className: 'string',\n variants: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n {begin: '`', end: '`'},\n ]\n },\n ]\n };\n\n return {\n illegal: /\\S/,\n contains: [\n commentMode,\n nonTerminalMode,\n ruleBodyMode\n ]\n };\n};"],"sourceRoot":""}
|