%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/thrift-DuRPNdpg.chunk.mjs.map |
{"version":3,"file":"thrift-DuRPNdpg.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/thrift.js"],"sourcesContent":["/*\nLanguage: Thrift\nAuthor: Oleg Efimov <efimovov@gmail.com>\nDescription: Thrift message definition format\nWebsite: https://thrift.apache.org\nCategory: protocols\n*/\n\nfunction thrift(hljs) {\n const TYPES = [\n \"bool\",\n \"byte\",\n \"i16\",\n \"i32\",\n \"i64\",\n \"double\",\n \"string\",\n \"binary\"\n ];\n const KEYWORDS = [\n \"namespace\",\n \"const\",\n \"typedef\",\n \"struct\",\n \"enum\",\n \"service\",\n \"exception\",\n \"void\",\n \"oneway\",\n \"set\",\n \"list\",\n \"map\",\n \"required\",\n \"optional\"\n ];\n return {\n name: 'Thrift',\n keywords: {\n keyword: KEYWORDS,\n type: TYPES,\n literal: 'true false'\n },\n contains: [\n hljs.QUOTE_STRING_MODE,\n hljs.NUMBER_MODE,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'class',\n beginKeywords: 'struct enum service exception',\n end: /\\{/,\n illegal: /\\n/,\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {\n // hack: eating everything after the first title\n starts: {\n endsWithParent: true,\n excludeEnd: true\n } })\n ]\n },\n {\n begin: '\\\\b(set|list|map)\\\\s*<',\n keywords: { type: [\n ...TYPES,\n \"set\",\n \"list\",\n \"map\"\n ] },\n end: '>',\n contains: [ 'self' ]\n }\n ]\n };\n}\n\nmodule.exports = thrift;\n"],"names":["thrift","hljs","TYPES","thrift_1"],"mappings":";4YAQA,SAASA,EAAOC,EAAM,CACpB,MAAMC,EAAQ,CACZ,OACA,OACA,MACA,MACA,MACA,SACA,SACA,QACJ,EAiBE,MAAO,CACL,KAAM,SACN,SAAU,CACR,QAnBa,CACf,YACA,QACA,UACA,SACA,OACA,UACA,YACA,OACA,SACA,MACA,OACA,MACA,WACA,UACJ,EAKM,KAAMA,EACN,QAAS,YACV,EACD,SAAU,CACRD,EAAK,kBACLA,EAAK,YACLA,EAAK,oBACLA,EAAK,qBACL,CACE,UAAW,QACX,cAAe,gCACf,IAAK,KACL,QAAS,KACT,SAAU,CACRA,EAAK,QAAQA,EAAK,WAAY,CAE5B,OAAQ,CACN,eAAgB,GAChB,WAAY,EAC1B,EAAe,CACN,CACF,EACD,CACE,MAAO,yBACP,SAAU,CAAE,KAAM,CAChB,GAAGC,EACH,MACA,OACA,KACV,CAAW,EACH,IAAK,IACL,SAAU,CAAE,MAAQ,CACrB,CACF,CACL,CACA,CAEA,IAAAC,EAAiBH","x_google_ignoreList":[0]}