diff options
Diffstat (limited to 'js/highlight/thrift.js.map')
-rw-r--r-- | js/highlight/thrift.js.map | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/highlight/thrift.js.map b/js/highlight/thrift.js.map index 87e579f80..51e7ed4c6 100644 --- a/js/highlight/thrift.js.map +++ b/js/highlight/thrift.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/thrift.js"],"names":["module","exports","hljs","name","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":"oGAkDAA,EAAOC,QA1CP,SAAgBC,GAEd,MAAO,CACLC,KAAM,SACNC,SAAU,CACRC,QACE,mGACFC,SANmB,6CAQnBC,QACE,cAEJC,SAAU,CACRN,EAAKO,kBACLP,EAAKQ,YACLR,EAAKS,oBACLT,EAAKU,qBACL,CACEC,UAAW,QACXC,cAAe,gCACfC,IAAK,KACLC,QAAS,KACTR,SAAU,CACRN,EAAKe,QAAQf,EAAKgB,WAAY,CAE5BC,OAAQ,CACNC,gBAAgB,EAChBC,YAAY,OAKpB,CACEC,MAAO,yBACPP,IAAK,IACLX,SAlCiB,6CAmCjBI,SAAU,CAAE","file":"highlight/thrift.js?v=830152ad6d362c3338e2","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 BUILT_IN_TYPES = 'bool byte i16 i32 i64 double string binary';\n return {\n name: 'Thrift',\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',\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 {\n begin: '\\\\b(set|list|map)\\\\s*<',\n end: '>',\n keywords: BUILT_IN_TYPES,\n contains: [ 'self' ]\n }\n ]\n };\n}\n\nmodule.exports = thrift;\n"],"sourceRoot":""}
\ No newline at end of file +{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/thrift.js"],"names":["module","exports","hljs","name","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":"oGAkDAA,EAAOC,QA1CP,SAAgBC,GAEd,MAAO,CACLC,KAAM,SACNC,SAAU,CACRC,QACE,mGACFC,SANmB,6CAQnBC,QACE,cAEJC,SAAU,CACRN,EAAKO,kBACLP,EAAKQ,YACLR,EAAKS,oBACLT,EAAKU,qBACL,CACEC,UAAW,QACXC,cAAe,gCACfC,IAAK,KACLC,QAAS,KACTR,SAAU,CACRN,EAAKe,QAAQf,EAAKgB,WAAY,CAE5BC,OAAQ,CACNC,gBAAgB,EAChBC,YAAY,OAKpB,CACEC,MAAO,yBACPP,IAAK,IACLX,SAlCiB,6CAmCjBI,SAAU,CAAE","file":"highlight/thrift.js?v=eba393f6228f66c8c369","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 BUILT_IN_TYPES = 'bool byte i16 i32 i64 double string binary';\n return {\n name: 'Thrift',\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',\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 {\n begin: '\\\\b(set|list|map)\\\\s*<',\n end: '>',\n keywords: BUILT_IN_TYPES,\n contains: [ 'self' ]\n }\n ]\n };\n}\n\nmodule.exports = thrift;\n"],"sourceRoot":""}
\ No newline at end of file |