mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-15 18:57:12 +01:00
1 line
1.7 KiB
Plaintext
1 line
1.7 KiB
Plaintext
|
{"version":3,"file":"9783.6fb3455cb9b01926cb10.js","mappings":"sFAoDAA,EAAOC,QA7CP,SAAcC,GACZ,MAAMC,EAAcD,EAAKE,QAAQ,OAAQ,QAiCzC,MAAO,CACLC,KAAM,4BACNC,QAAS,KACTC,SAAU,CACRJ,EAnCoB,CACtBK,UAAW,YACXC,MAAO,qCAQY,CACnBA,MAAO,IACPC,IAAK,OACLH,SAAU,CACRJ,EATwB,CAC1BK,UAAW,OACXC,MAAO,UASL,CAEED,UAAW,SACXG,SAAU,CACRT,EAAKU,iBACLV,EAAKW,kBACL,CACEJ,MAAO,IACPC,IAAK","sources":["webpack://telegram-t/./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\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":["module","exports","hljs","commentMode","COMMENT","name","illegal","contains","className","begin","end","variants","APOS_STRING_MODE","QUOTE_STRING_MODE"],"sourceRoot":""}
|