Sha256: a4ff57f5e055b4f9394f45f58e3c8338db798158b4432c9383646410851d8c2d
Contents?: true
Size: 858 Bytes
Versions: 5
Compression:
Stored size: 858 Bytes
Contents
/*! `capnproto` grammar compiled for Highlight.js 11.6.0 */ var hljsGrammar=(()=>{"use strict";return t=>{const n={variants:[{ match:[/(struct|enum|interface)/,/\s+/,t.IDENT_RE]},{ match:[/extends/,/\s*\(/,t.IDENT_RE,/\s*\)/]}],scope:{1:"keyword", 3:"title.class"}};return{name:"Cap\u2019n Proto",aliases:["capnp"],keywords:{ keyword:["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"], type:["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"], literal:["true","false"]}, contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.HASH_COMMENT_MODE,{ className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol", begin:/@\d+\b/},n]}}})();export default hljsGrammar;
Version data entries
5 entries across 5 versions & 1 rubygems