1
|
{"version":3,"file":"highlight/makefile.js?v=3d6dcc38cffd46f68786","mappings":"0FA2FAA,EAAOC,QAnFP,SAAkBC,GAEhB,MAAMC,EAAW,CACfC,UAAW,WACXC,SAAU,CACR,CACEC,MAAO,SAAWJ,EAAKK,oBAAsB,MAC7CC,SAAU,CAAEN,EAAKO,mBAEnB,CACEH,MAAO,oBAKPI,EAAe,CACnBN,UAAW,SACXE,MAAO,IACPK,IAAK,IACLH,SAAU,CACRN,EAAKO,iBACLN,IAIES,EAAO,CACXR,UAAW,WACXE,MAAO,eACPK,IAAK,KACLE,SAAU,CACRC,SACE,kPAKJN,SAAU,CAAEL,IAGRY,EAAa,CACjBT,MAAO,IAAMJ,EAAKK,oBAAsB,mBAapCS,EAAS,CACbZ,UAAW,UACXE,MAAO,WACPK,IAAK,IACLH,SAAU,CAAEL,IAEd,MAAO,CACLc,KAAM,WACNC,QAAS,CACP,KACA,MACA,QAEFL,SAAU,CACRM,SAAU,SACVC,QAAS,6HAGXZ,SAAU,CACRN,EAAKmB,kBACLlB,EACAO,EACAE,EACAG,EAjCS,CACXX,UAAW,OACXE,MAAO,YACPK,IAAK,IACLE,SAAU,CACRM,SAAU,UACV,eAAgB,WA6BhBH","sources":["webpack:///text/node_modules/highlight.js/lib/languages/makefile.js"],"sourcesContent":["/*\nLanguage: Makefile\nAuthor: Ivan Sagalaev <maniac@softwaremaniacs.org>\nContributors: Joël Porquet <joel@porquet.org>\nWebsite: https://www.gnu.org/software/make/manual/html_node/Introduction.html\nCategory: common\n*/\n\nfunction makefile(hljs) {\n /* Variables: simple (eg $(var)) and special (eg $@) */\n const VARIABLE = {\n className: 'variable',\n variants: [\n {\n begin: '\\\\$\\\\(' + hljs.UNDERSCORE_IDENT_RE + '\\\\)',\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: /\\$[@%<?\\^\\+\\*]/\n }\n ]\n };\n /* Quoted string with variables inside */\n const QUOTE_STRING = {\n className: 'string',\n begin: /\"/,\n end: /\"/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n VARIABLE\n ]\n };\n /* Function: $(func arg,...) */\n const FUNC = {\n className: 'variable',\n begin: /\\$\\([\\w-]+\\s/,\n end: /\\)/,\n keywords: {\n built_in:\n 'subst patsubst strip findstring filter filter-out sort ' +\n 'word wordlist firstword lastword dir notdir suffix basename ' +\n 'addsuffix addprefix join wildcard realpath abspath error warning ' +\n 'shell origin flavor foreach if or and call eval file value'\n },\n contains: [ VARIABLE ]\n };\n /* Variable assignment */\n const ASSIGNMENT = {\n begin: '^' + hljs.UNDERSCORE_IDENT_RE + '\\\\s*(?=[:+?]?=)'\n };\n /* Meta targets (.PHONY) */\n const META = {\n className: 'meta',\n begin: /^\\.PHONY:/,\n end: /$/,\n keywords: {\n $pattern: /[\\.\\w]+/,\n 'meta-keyword': '.PHONY'\n }\n };\n /* Targets */\n const TARGET = {\n className: 'section',\n begin: /^[^\\s]+:/,\n end: /$/,\n contains: [ VARIABLE ]\n };\n return {\n name: 'Makefile',\n aliases: [\n 'mk',\n 'mak',\n 'make',\n ],\n keywords: {\n $pattern: /[\\w-]+/,\n keyword: 'define endef undefine ifdef ifndef ifeq ifneq else endif ' +\n 'include -include sinclude override export unexport private vpath'\n },\n contains: [\n hljs.HASH_COMMENT_MODE,\n VARIABLE,\n QUOTE_STRING,\n FUNC,\n ASSIGNMENT,\n META,\n TARGET\n ]\n };\n}\n\nmodule.exports = makefile;\n"],"names":["module","exports","hljs","VARIABLE","className","variants","begin","UNDERSCORE_IDENT_RE","contains","BACKSLASH_ESCAPE","QUOTE_STRING","end","FUNC","keywords","built_in","ASSIGNMENT","TARGET","name","aliases","$pattern","keyword","HASH_COMMENT_MODE"],"sourceRoot":""}
|