1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/oxygene.js"],"names":["module","exports","hljs","OXYGENE_KEYWORDS","$pattern","keyword","CURLY_COMMENT","COMMENT","relevance","PAREN_COMMENT","STRING","className","begin","end","contains","CHAR_STRING","FUNCTION","beginKeywords","keywords","TITLE_MODE","name","case_insensitive","illegal","C_LINE_COMMENT_MODE","NUMBER_MODE"],"mappings":"oGAoGAA,EAAOC,QA7FP,SAAiBC,GACf,IAAMC,EAAmB,CACvBC,SAAU,SACVC,QACE,+lCASEC,EAAgBJ,EAAKK,QACzB,KACA,KACA,CACEC,UAAW,IAGTC,EAAgBP,EAAKK,QACzB,SACA,SACA,CACEC,UAAW,KAGTE,EAAS,CACbC,UAAW,SACXC,MAAO,IACPC,IAAK,IACLC,SAAU,CACR,CACEF,MAAO,QAIPG,EAAc,CAClBJ,UAAW,SACXC,MAAO,YAEHI,EAAW,CACfL,UAAW,WACXM,cAAe,mDACfJ,IAAK,OACLK,SAAU,+DACVJ,SAAU,CACRZ,EAAKiB,WACL,CACER,UAAW,SACXC,MAAO,MACPC,IAAK,MACLK,SAAUf,EACVW,SAAU,CACRJ,EACAK,IAGJT,EACAG,IAGJ,MAAO,CACLW,KAAM,UACNC,kBAAkB,EAClBH,SAAUf,EACVmB,QAAS,kCACTR,SAAU,CACRR,EACAG,EACAP,EAAKqB,oBACLb,EACAK,EACAb,EAAKsB,YACLR,EACA,CACEL,UAAW,QACXC,MAAO,eACPC,IAAK,OACLK,SAAUf,EACVW,SAAU,CACRJ,EACAK,EACAT,EACAG,EACAP,EAAKqB,oBACLP","file":"highlight/oxygene.js?v=1a61416b7c1ad3d60ddd","sourcesContent":["/*\nLanguage: Oxygene\nAuthor: Carlo Kok <ck@remobjects.com>\nDescription: Oxygene is built on the foundation of Object Pascal, revamped and extended to be a modern language for the twenty-first century.\nWebsite: https://www.elementscompiler.com/elements/default.aspx\n*/\n\nfunction oxygene(hljs) {\n const OXYGENE_KEYWORDS = {\n $pattern: /\\.?\\w+/,\n keyword:\n 'abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue ' +\n 'create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false ' +\n 'final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited ' +\n 'inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of ' +\n 'old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly ' +\n 'record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple ' +\n 'type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal ' +\n 'register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained'\n };\n const CURLY_COMMENT = hljs.COMMENT(\n /\\{/,\n /\\}/,\n {\n relevance: 0\n }\n );\n const PAREN_COMMENT = hljs.COMMENT(\n '\\\\(\\\\*',\n '\\\\*\\\\)',\n {\n relevance: 10\n }\n );\n const STRING = {\n className: 'string',\n begin: '\\'',\n end: '\\'',\n contains: [\n {\n begin: '\\'\\''\n }\n ]\n };\n const CHAR_STRING = {\n className: 'string',\n begin: '(#\\\\d+)+'\n };\n const FUNCTION = {\n className: 'function',\n beginKeywords: 'function constructor destructor procedure method',\n end: '[:;]',\n keywords: 'function constructor|10 destructor|10 procedure|10 method|10',\n contains: [\n hljs.TITLE_MODE,\n {\n className: 'params',\n begin: '\\\\(',\n end: '\\\\)',\n keywords: OXYGENE_KEYWORDS,\n contains: [\n STRING,\n CHAR_STRING\n ]\n },\n CURLY_COMMENT,\n PAREN_COMMENT\n ]\n };\n return {\n name: 'Oxygene',\n case_insensitive: true,\n keywords: OXYGENE_KEYWORDS,\n illegal: '(\"|\\\\$[G-Zg-z]|\\\\/\\\\*|</|=>|->)',\n contains: [\n CURLY_COMMENT,\n PAREN_COMMENT,\n hljs.C_LINE_COMMENT_MODE,\n STRING,\n CHAR_STRING,\n hljs.NUMBER_MODE,\n FUNCTION,\n {\n className: 'class',\n begin: '=\\\\bclass\\\\b',\n end: 'end;',\n keywords: OXYGENE_KEYWORDS,\n contains: [\n STRING,\n CHAR_STRING,\n CURLY_COMMENT,\n PAREN_COMMENT,\n hljs.C_LINE_COMMENT_MODE,\n FUNCTION\n ]\n }\n ]\n };\n}\n\nmodule.exports = oxygene;\n"],"sourceRoot":""}
|