%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/ebnf-D-hWR1TI.chunk.mjs.map |
{"version":3,"file":"ebnf-D-hWR1TI.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/ebnf.js"],"sourcesContent":["/*\nLanguage: Extended Backus-Naur Form\nAuthor: Alex McKibben <alex@nullscope.net>\nWebsite: https://en.wikipedia.org/wiki/Extended_Backus–Naur_form\nCategory: syntax\n*/\n\n/** @type LanguageFn */\nfunction ebnf(hljs) {\n const commentMode = hljs.COMMENT(/\\(\\*/, /\\*\\)/);\n\n const nonTerminalMode = {\n className: \"attribute\",\n begin: /^[ ]*[a-zA-Z]+([\\s_-]+[a-zA-Z]+)*/\n };\n\n const specialSequenceMode = {\n className: \"meta\",\n begin: /\\?.*\\?/\n };\n\n const ruleBodyMode = {\n begin: /=/,\n 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 {\n begin: '`',\n end: '`'\n }\n ]\n }\n ]\n };\n\n return {\n name: 'Extended Backus-Naur Form',\n illegal: /\\S/,\n contains: [\n commentMode,\n nonTerminalMode,\n ruleBodyMode\n ]\n };\n}\n\nmodule.exports = ebnf;\n"],"names":["ebnf","hljs","commentMode","nonTerminalMode","ruleBodyMode","ebnf_1"],"mappings":";4YAQA,SAASA,EAAKC,EAAM,CAClB,MAAMC,EAAcD,EAAK,QAAQ,OAAQ,MAAM,EAEzCE,EAAkB,CACtB,UAAW,YACX,MAAO,mCACX,EAOQC,EAAe,CACnB,MAAO,IACP,IAAK,OACL,SAAU,CACRF,EATwB,CAC1B,UAAW,OACX,MAAO,QACX,EAQM,CAEE,UAAW,SACX,SAAU,CACRD,EAAK,iBACLA,EAAK,kBACL,CACE,MAAO,IACP,IAAK,GACN,CACF,CACF,CACF,CACL,EAEE,MAAO,CACL,KAAM,4BACN,QAAS,KACT,SAAU,CACRC,EACAC,EACAC,CACD,CACL,CACA,CAEA,IAAAC,EAAiBL","x_google_ignoreList":[0]}