]>
luflow.net public git repositories - flow-web.git/blob - static/highlight/es/languages/capnproto.js
1 /*! `capnproto` grammar compiled for Highlight.js 11.11.1 */
2 var hljsGrammar
= (function () {
7 Author: Oleg Efimov <efimovov@gmail.com>
8 Description: Cap’n Proto message definition format
9 Website: https://capnproto.org/capnp-tool.html
13 /** @type LanguageFn */
14 function capnproto(hljs
) {
58 const CLASS_DEFINITION
= {
61 /(struct|enum|interface)/,
86 hljs
.QUOTE_STRING_MODE
,
88 hljs
.HASH_COMMENT_MODE
,
91 begin: /@0x[\w\d]{16};/,
107 export default hljsGrammar
;