%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/highlight/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/highlight/protobuf.js.map |
{"version":3,"file":"highlight/protobuf.js?v=9779eec65cfbaa78ab2f","mappings":"gHA8EAA,EAAOC,QAtEP,SAAkBC,GAChB,MA2BMC,EAAmB,CACvBC,MAAO,CACL,4BACAF,EAAKG,UAEPC,MAAO,CACL,EAAG,UACH,EAAG,gBAIP,MAAO,CACLC,KAAM,mBACNC,QAAS,CAAC,SACVC,SAAU,CACRC,QA1Ca,CACf,UACA,SACA,SACA,WACA,WACA,WACA,QACA,SAmCEC,KAjCU,CACZ,SACA,QACA,QACA,QACA,SACA,SACA,SACA,SACA,UACA,UACA,WACA,WACA,OACA,SACA,SAmBEC,QAAS,CACP,OACA,UAGJC,SAAU,CACRX,EAAKY,kBACLZ,EAAKa,YACLb,EAAKc,oBACLd,EAAKe,qBACLd,EACA,CACEe,UAAW,WACXC,cAAe,MACfC,IAAK,OACLC,YAAY,EACZZ,SAAU,eAEZ,CAEEa,MAAO,gCAGf,C","sources":["webpack:///text/node_modules/highlight.js/lib/languages/protobuf.js"],"sourcesContent":["/*\nLanguage: Protocol Buffers\nAuthor: Dan Tao <daniel.tao@gmail.com>\nDescription: Protocol buffer message definition format\nWebsite: https://developers.google.com/protocol-buffers/docs/proto3\nCategory: protocols\n*/\n\nfunction protobuf(hljs) {\n const KEYWORDS = [\n \"package\",\n \"import\",\n \"option\",\n \"optional\",\n \"required\",\n \"repeated\",\n \"group\",\n \"oneof\"\n ];\n const TYPES = [\n \"double\",\n \"float\",\n \"int32\",\n \"int64\",\n \"uint32\",\n \"uint64\",\n \"sint32\",\n \"sint64\",\n \"fixed32\",\n \"fixed64\",\n \"sfixed32\",\n \"sfixed64\",\n \"bool\",\n \"string\",\n \"bytes\"\n ];\n const CLASS_DEFINITION = {\n match: [\n /(message|enum|service)\\s+/,\n hljs.IDENT_RE\n ],\n scope: {\n 1: \"keyword\",\n 2: \"title.class\"\n }\n };\n\n return {\n name: 'Protocol Buffers',\n aliases: ['proto'],\n keywords: {\n keyword: KEYWORDS,\n type: TYPES,\n literal: [\n 'true',\n 'false'\n ]\n },\n contains: [\n hljs.QUOTE_STRING_MODE,\n hljs.NUMBER_MODE,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n CLASS_DEFINITION,\n {\n className: 'function',\n beginKeywords: 'rpc',\n end: /[{;]/,\n excludeEnd: true,\n keywords: 'rpc returns'\n },\n { // match enum items (relevance)\n // BLAH = ...;\n begin: /^\\s*[A-Z_]+(?=\\s*=[^\\n]+;$)/ }\n ]\n };\n}\n\nmodule.exports = protobuf;\n"],"names":["module","exports","hljs","CLASS_DEFINITION","match","IDENT_RE","scope","name","aliases","keywords","keyword","type","literal","contains","QUOTE_STRING_MODE","NUMBER_MODE","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","className","beginKeywords","end","excludeEnd","begin"],"sourceRoot":""}