]>
luflow.net public git repositories - flow-web.git/blob - static/highlight/es/languages/thrift.js
1 /*! `thrift` grammar compiled for Highlight.js 11.11.1 */
2 var hljsGrammar
= (function () {
7 Author: Oleg Efimov <efimovov@gmail.com>
8 Description: Thrift message definition format
9 Website: https://thrift.apache.org
13 function thrift(hljs
) {
48 hljs
.QUOTE_STRING_MODE
,
50 hljs
.C_LINE_COMMENT_MODE
,
51 hljs
.C_BLOCK_COMMENT_MODE
,
54 beginKeywords: 'struct enum service exception',
58 hljs
.inherit(hljs
.TITLE_MODE
, {
59 // hack: eating everything after the first title
67 begin: '\\b(set|list|map)\\s*<',
85 export default hljsGrammar
;