1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/awk.js"],"names":["module","exports","hljs","name","keywords","keyword","contains","className","variants","begin","BACKSLASH_ESCAPE","end","relevance","APOS_STRING_MODE","QUOTE_STRING_MODE","REGEXP_MODE","HASH_COMMENT_MODE","NUMBER_MODE"],"mappings":"mGAwEAA,EAAOC,QAhEP,SAAaC,GAiDX,MAAO,CACLC,KAAM,MACNC,SAAU,CACRC,QAxCa,+FA0CfC,SAAU,CArDK,CACfC,UAAW,WACXC,SAAU,CACR,CACEC,MAAO,sBAET,CACEA,MAAO,iBAKE,CACbF,UAAW,SACXD,SAAU,CAACJ,EAAKQ,kBAChBF,SAAU,CACR,CACEC,MAAO,cACPE,IAAK,MACLC,UAAW,IAEb,CACEH,MAAO,cACPE,IAAK,MACLC,UAAW,IAEb,CACEH,MAAO,YACPE,IAAK,IACLC,UAAW,IAEb,CACEH,MAAO,YACPE,IAAK,IACLC,UAAW,IAEb,CACEH,MAAO,UACPE,IAAK,KAEP,CACEF,MAAO,UACPE,IAAK,KAEPT,EAAKW,iBACLX,EAAKY,oBAWLZ,EAAKa,YACLb,EAAKc,kBACLd,EAAKe","file":"highlight/awk.js?v=84486b66cff02e638d54","sourcesContent":["/*\nLanguage: Awk\nAuthor: Matthew Daly <matthewbdaly@gmail.com>\nWebsite: https://www.gnu.org/software/gawk/manual/gawk.html\nDescription: language definition for Awk scripts\n*/\n\n/** @type LanguageFn */\nfunction awk(hljs) {\n const VARIABLE = {\n className: 'variable',\n variants: [\n {\n begin: /\\$[\\w\\d#@][\\w\\d_]*/\n },\n {\n begin: /\\$\\{(.*?)\\}/\n }\n ]\n };\n const KEYWORDS = 'BEGIN END if else while do for in break continue delete next nextfile function func exit|10';\n const STRING = {\n className: 'string',\n contains: [hljs.BACKSLASH_ESCAPE],\n variants: [\n {\n begin: /(u|b)?r?'''/,\n end: /'''/,\n relevance: 10\n },\n {\n begin: /(u|b)?r?\"\"\"/,\n end: /\"\"\"/,\n relevance: 10\n },\n {\n begin: /(u|r|ur)'/,\n end: /'/,\n relevance: 10\n },\n {\n begin: /(u|r|ur)\"/,\n end: /\"/,\n relevance: 10\n },\n {\n begin: /(b|br)'/,\n end: /'/\n },\n {\n begin: /(b|br)\"/,\n end: /\"/\n },\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ]\n };\n return {\n name: 'Awk',\n keywords: {\n keyword: KEYWORDS\n },\n contains: [\n VARIABLE,\n STRING,\n hljs.REGEXP_MODE,\n hljs.HASH_COMMENT_MODE,\n hljs.NUMBER_MODE\n ]\n };\n}\n\nmodule.exports = awk;\n"],"sourceRoot":""}
|