1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/delphi.js"],"names":["module","exports","hljs","KEYWORDS","COMMENT_MODES","C_LINE_COMMENT_MODE","COMMENT","relevance","DIRECTIVE","className","variants","begin","end","STRING","contains","CHAR_STRING","CLASS","IDENT_RE","returnBegin","TITLE_MODE","FUNCTION","beginKeywords","keywords","concat","aliases","case_insensitive","illegal","NUMBER_MODE"],"mappings":"oFAAAA,EAAOC,QAAU,SAASC,GACxB,IAAIC,EACF,26BAWEC,EAAgB,CAClBF,EAAKG,oBACLH,EAAKI,QAAQ,KAAM,KAAM,CAACC,UAAW,IACrCL,EAAKI,QAAQ,OAAQ,OAAQ,CAACC,UAAW,MAEvCC,EAAY,CACdC,UAAW,OACXC,SAAU,CACR,CAACC,MAAO,OAAQC,IAAK,MACrB,CAACD,MAAO,SAAUC,IAAK,UAGvBC,EAAS,CACXJ,UAAW,SACXE,MAAO,IAAKC,IAAK,IACjBE,SAAU,CAAC,CAACH,MAAO,QAEjBI,EAAc,CAChBN,UAAW,SAAUE,MAAO,WAE1BK,EAAQ,CACVL,MAAOT,EAAKe,SAAW,wBAAyBC,aAAa,EAC7DJ,SAAU,CACRZ,EAAKiB,aAGLC,EAAW,CACbX,UAAW,WACXY,cAAe,4CAA6CT,IAAK,OACjEU,SAAU,qDACVR,SAAU,CACRZ,EAAKiB,WACL,CACEV,UAAW,SACXE,MAAO,KAAMC,IAAK,KAClBU,SAAUnB,EACVW,SAAU,CAACD,EAAQE,EAAaP,GAAWe,OAAOnB,IAEpDI,GACAe,OAAOnB,IAEX,MAAO,CACLoB,QAAS,CAAC,MAAO,MAAO,MAAO,SAAU,aAAc,UAAW,MAAO,OACzEC,kBAAkB,EAClBH,SAAUnB,EACVuB,QAAS,2BACTZ,SAAU,CACRD,EAAQE,EACRb,EAAKyB,YACLX,EACAI,EACAZ,GACAe,OAAOnB","file":"highlight/delphi.js?v=77a08eb960c2bad29199","sourcesContent":["module.exports = function(hljs) {\n var KEYWORDS =\n 'exports register file shl array record property for mod while set ally label uses raise not ' +\n 'stored class safecall var interface or private static exit index inherited to else stdcall ' +\n 'override shr asm far resourcestring finalization packed virtual out and protected library do ' +\n 'xorwrite goto near function end div overload object unit begin string on inline repeat until ' +\n 'destructor write message program with read initialization except default nil if case cdecl in ' +\n 'downto threadvar of try pascal const external constructor type public then implementation ' +\n 'finally published procedure absolute reintroduce operator as is abstract alias assembler ' +\n 'bitpacked break continue cppdecl cvar enumerator experimental platform deprecated ' +\n 'unimplemented dynamic export far16 forward generic helper implements interrupt iochecks ' +\n 'local name nodefault noreturn nostackframe oldfpccall otherwise saveregisters softfloat ' +\n 'specialize strict unaligned varargs ';\n var COMMENT_MODES = [\n hljs.C_LINE_COMMENT_MODE,\n hljs.COMMENT(/\\{/, /\\}/, {relevance: 0}),\n hljs.COMMENT(/\\(\\*/, /\\*\\)/, {relevance: 10})\n ];\n var DIRECTIVE = {\n className: 'meta',\n variants: [\n {begin: /\\{\\$/, end: /\\}/},\n {begin: /\\(\\*\\$/, end: /\\*\\)/}\n ]\n };\n var STRING = {\n className: 'string',\n begin: /'/, end: /'/,\n contains: [{begin: /''/}]\n };\n var CHAR_STRING = {\n className: 'string', begin: /(#\\d+)+/\n };\n var CLASS = {\n begin: hljs.IDENT_RE + '\\\\s*=\\\\s*class\\\\s*\\\\(', returnBegin: true,\n contains: [\n hljs.TITLE_MODE\n ]\n };\n var FUNCTION = {\n className: 'function',\n beginKeywords: 'function constructor destructor procedure', end: /[:;]/,\n keywords: 'function constructor|10 destructor|10 procedure|10',\n contains: [\n hljs.TITLE_MODE,\n {\n className: 'params',\n begin: /\\(/, end: /\\)/,\n keywords: KEYWORDS,\n contains: [STRING, CHAR_STRING, DIRECTIVE].concat(COMMENT_MODES)\n },\n DIRECTIVE\n ].concat(COMMENT_MODES)\n };\n return {\n aliases: ['dpr', 'dfm', 'pas', 'pascal', 'freepascal', 'lazarus', 'lpr', 'lfm'],\n case_insensitive: true,\n keywords: KEYWORDS,\n illegal: /\"|\\$[G-Zg-z]|\\/\\*|<\\/|\\|/,\n contains: [\n STRING, CHAR_STRING,\n hljs.NUMBER_MODE,\n CLASS,\n FUNCTION,\n DIRECTIVE\n ].concat(COMMENT_MODES)\n };\n};"],"sourceRoot":""}
|