1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/autohotkey.js"],"names":["module","exports","hljs","BACKTICK_ESCAPE","begin","case_insensitive","aliases","keywords","keyword","literal","built_in","contains","inherit","QUOTE_STRING_MODE","COMMENT","relevance","C_BLOCK_COMMENT_MODE","className","NUMBER_RE","variants","end"],"mappings":"2EAAAA,EAAOC,QAAU,SAASC,GACxB,IAAIC,EAAkB,CACpBC,MAAO,aAGT,MAAO,CACLC,kBAAkB,EAClBC,QAAS,CAAE,OACXC,SAAU,CACRC,QAAS,uKACTC,QAAS,wBACTC,SAAU,6CAEZC,SAAU,CACRR,EACAD,EAAKU,QAAQV,EAAKW,kBAAmB,CAACF,SAAU,CAACR,KACjDD,EAAKY,QAAQ,IAAK,IAAK,CAACC,UAAW,IACnCb,EAAKc,qBACL,CACEC,UAAW,SACXb,MAAOF,EAAKgB,UACZH,UAAW,GAEb,CACEE,UAAW,WACXb,MAAO,sBAET,CACEa,UAAW,WACXb,MAAO,sBAGT,CACEa,UAAW,QAEXE,SAAU,CACR,CAACf,MAAO,qBACR,CAACA,MAAO,mBAAoBW,UAAW,KAI3C,CACEE,UAAW,OACXb,MAAO,aAAcgB,IAAI,IACzBL,UAAW,GAEd,CACGE,UAAW,WACXb,MAAO,kBAET,CAEEA,MAAO","file":"highlight/autohotkey.js?v=aa65ab56b3fb3c0a78f7","sourcesContent":["module.exports = function(hljs) {\n var BACKTICK_ESCAPE = {\n begin: '`[\\\\s\\\\S]'\n };\n\n return {\n case_insensitive: true,\n aliases: [ 'ahk' ],\n keywords: {\n keyword: 'Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group',\n literal: 'true false NOT AND OR',\n built_in: 'ComSpec Clipboard ClipboardAll ErrorLevel',\n },\n contains: [\n BACKTICK_ESCAPE,\n hljs.inherit(hljs.QUOTE_STRING_MODE, {contains: [BACKTICK_ESCAPE]}),\n hljs.COMMENT(';', '$', {relevance: 0}),\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'number',\n begin: hljs.NUMBER_RE,\n relevance: 0\n },\n {\n className: 'variable', //subst would be the most accurate however fails the point of highlighting. variable is comparably the most accurate that actually has some effect\n begin: '%[a-zA-Z0-9#_$@]+%'\n },\n {\n className: 'built_in',\n begin: '^\\\\s*\\\\w+\\\\s*(,|%)'\n //I don't really know if this is totally relevant\n },\n {\n className: 'title', //symbol would be most accurate however is higlighted just like built_in and that makes up a lot of AutoHotkey code\n\t\t //meaning that it would fail to highlight anything\n variants: [\n {begin: '^[^\\\\n\";]+::(?!=)'},\n {begin: '^[^\\\\n\";]+:(?!=)', relevance: 0} // zero relevance as it catches a lot of things\n // followed by a single ':' in many languages\n ]\n },\n {\n className: 'meta', \n begin: '^\\\\s*#\\\\w+', end:'$',\n relevance: 0\n },\n\t {\n className: 'built_in',\n begin: 'A_[a-zA-Z0-9]+'\n },\n {\n // consecutive commas, not for highlighting but just for relevance\n begin: ',\\\\s*,'\n }\n ]\n }\n};"],"sourceRoot":""}
|