Welcome to mirror list, hosted at ThFree Co, Russian Federation.

thrift.js.map « highlight « js - github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d6e38bd0df7c0129119aeb2e4cb7fbfaea881f96 (plain)
1
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/thrift.js"],"names":["module","exports","hljs","keywords","keyword","built_in","literal","contains","QUOTE_STRING_MODE","NUMBER_MODE","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","className","beginKeywords","end","illegal","inherit","TITLE_MODE","starts","endsWithParent","excludeEnd","begin"],"mappings":"qFAAAA,EAAOC,QAAU,SAASC,GAExB,MAAO,CACLC,SAAU,CACRC,QACE,mGACFC,SALiB,6CAOjBC,QACE,cAEJC,SAAU,CACRL,EAAKM,kBACLN,EAAKO,YACLP,EAAKQ,oBACLR,EAAKS,qBACL,CACEC,UAAW,QACXC,cAAe,gCAAiCC,IAAK,KACrDC,QAAS,KACTR,SAAU,CACRL,EAAKc,QAAQd,EAAKe,WAAY,CAC5BC,OAAQ,CAACC,gBAAgB,EAAMC,YAAY,OAIjD,CACEC,MAAO,yBAA0BP,IAAK,IACtCX,SA3Be,6CA4BfI,SAAU,CAAC","file":"highlight/thrift.js?v=e193a6bba65a07bce387","sourcesContent":["module.exports = function(hljs) {\n  var BUILT_IN_TYPES = 'bool byte i16 i32 i64 double string binary';\n  return {\n    keywords: {\n      keyword:\n        'namespace const typedef struct enum service exception void oneway set list map required optional',\n      built_in:\n        BUILT_IN_TYPES,\n      literal:\n        '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', end: /\\{/,\n        illegal: /\\n/,\n        contains: [\n          hljs.inherit(hljs.TITLE_MODE, {\n            starts: {endsWithParent: true, excludeEnd: true} // hack: eating everything after the first title\n          })\n        ]\n      },\n      {\n        begin: '\\\\b(set|list|map)\\\\s*<', end: '>',\n        keywords: BUILT_IN_TYPES,\n        contains: ['self']\n      }\n    ]\n  };\n};"],"sourceRoot":""}