%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/capnproto-DTxN4_QJ.chunk.mjs.map |
{"version":3,"file":"capnproto-DTxN4_QJ.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/capnproto.js"],"sourcesContent":["/*\nLanguage: Cap’n Proto\nAuthor: Oleg Efimov <efimovov@gmail.com>\nDescription: Cap’n Proto message definition format\nWebsite: https://capnproto.org/capnp-tool.html\nCategory: protocols\n*/\n\n/** @type LanguageFn */\nfunction capnproto(hljs) {\n const KEYWORDS = [\n \"struct\",\n \"enum\",\n \"interface\",\n \"union\",\n \"group\",\n \"import\",\n \"using\",\n \"const\",\n \"annotation\",\n \"extends\",\n \"in\",\n \"of\",\n \"on\",\n \"as\",\n \"with\",\n \"from\",\n \"fixed\"\n ];\n const TYPES = [\n \"Void\",\n \"Bool\",\n \"Int8\",\n \"Int16\",\n \"Int32\",\n \"Int64\",\n \"UInt8\",\n \"UInt16\",\n \"UInt32\",\n \"UInt64\",\n \"Float32\",\n \"Float64\",\n \"Text\",\n \"Data\",\n \"AnyPointer\",\n \"AnyStruct\",\n \"Capability\",\n \"List\"\n ];\n const LITERALS = [\n \"true\",\n \"false\"\n ];\n const CLASS_DEFINITION = {\n variants: [\n { match: [\n /(struct|enum|interface)/,\n /\\s+/,\n hljs.IDENT_RE\n ] },\n { match: [\n /extends/,\n /\\s*\\(/,\n hljs.IDENT_RE,\n /\\s*\\)/\n ] }\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\"\n }\n };\n return {\n name: 'Cap’n Proto',\n aliases: [ 'capnp' ],\n keywords: {\n keyword: KEYWORDS,\n type: TYPES,\n literal: LITERALS\n },\n contains: [\n hljs.QUOTE_STRING_MODE,\n hljs.NUMBER_MODE,\n hljs.HASH_COMMENT_MODE,\n {\n className: 'meta',\n begin: /@0x[\\w\\d]{16};/,\n illegal: /\\n/\n },\n {\n className: 'symbol',\n begin: /@\\d+\\b/\n },\n CLASS_DEFINITION\n ]\n };\n}\n\nmodule.exports = capnproto;\n"],"names":["capnproto","hljs","KEYWORDS","TYPES","LITERALS","CLASS_DEFINITION","capnproto_1"],"mappings":";4YASA,SAASA,EAAUC,EAAM,CACvB,MAAMC,EAAW,CACf,SACA,OACA,YACA,QACA,QACA,SACA,QACA,QACA,aACA,UACA,KACA,KACA,KACA,KACA,OACA,OACA,OACJ,EACQC,EAAQ,CACZ,OACA,OACA,OACA,QACA,QACA,QACA,QACA,SACA,SACA,SACA,UACA,UACA,OACA,OACA,aACA,YACA,aACA,MACJ,EACQC,EAAW,CACf,OACA,OACJ,EACQC,EAAmB,CACvB,SAAU,CACR,CAAE,MAAO,CACP,0BACA,MACAJ,EAAK,QACb,CAAS,EACH,CAAE,MAAO,CACP,UACA,QACAA,EAAK,SACL,OACR,CAAS,CACJ,EACD,MAAO,CACL,EAAG,UACH,EAAG,aACJ,CACL,EACE,MAAO,CACL,KAAM,cACN,QAAS,CAAE,OAAS,EACpB,SAAU,CACR,QAASC,EACT,KAAMC,EACN,QAASC,CACV,EACD,SAAU,CACRH,EAAK,kBACLA,EAAK,YACLA,EAAK,kBACL,CACE,UAAW,OACX,MAAO,iBACP,QAAS,IACV,EACD,CACE,UAAW,SACX,MAAO,QACR,EACDI,CACD,CACL,CACA,CAEA,IAAAC,EAAiBN","x_google_ignoreList":[0]}