UNPKG

vue-files-preview-inno

Version:

A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.

78 lines (77 loc) 1.51 kB
var t, i; function a() { if (i) return t; i = 1; function n(e) { const r = [ "bool", "byte", "i16", "i32", "i64", "double", "string", "binary" ]; return { name: "Thrift", keywords: { keyword: [ "namespace", "const", "typedef", "struct", "enum", "service", "exception", "void", "oneway", "set", "list", "map", "required", "optional" ], type: r, literal: "true false" }, contains: [ e.QUOTE_STRING_MODE, e.NUMBER_MODE, e.C_LINE_COMMENT_MODE, e.C_BLOCK_COMMENT_MODE, { className: "class", beginKeywords: "struct enum service exception", end: /\{/, illegal: /\n/, contains: [ e.inherit(e.TITLE_MODE, { // hack: eating everything after the first title starts: { endsWithParent: !0, excludeEnd: !0 } }) ] }, { begin: "\\b(set|list|map)\\s*<", keywords: { type: [ ...r, "set", "list", "map" ] }, end: ">", contains: ["self"] } ] }; } return t = n, t; } export { a as __require }; //# sourceMappingURL=thrift.mjs.map