blob: 79fd55e7db42f2f6dbddcee15ecfc43922ef05ee [file] [log] [blame]
{"version":3,"sources":["webpack:///./node_modules/react-syntax-highlighter/node_modules/highlight.js/lib/languages/protobuf.js"],"names":["module","exports","hljs","name","keywords","keyword","built_in","literal","contains","QUOTE_STRING_MODE","NUMBER_MODE","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","className","beginKeywords","end","illegal","inherit","TITLE_MODE","starts","endsWithParent","excludeEnd","begin"],"mappings":"8EAyCAA,EAAOC,QAlCP,SAAkBC,GAChB,MAAO,CACLC,KAAM,mBACNC,SAAU,CACRC,QAAS,+DACTC,SAAU,2GACVC,QAAS,cAEXC,SAAU,CAACN,EAAKO,kBAAmBP,EAAKQ,YAAaR,EAAKS,oBAAqBT,EAAKU,qBAAsB,CACxGC,UAAW,QACXC,cAAe,uBACfC,IAAK,KACLC,QAAS,KACTR,SAAU,CAACN,EAAKe,QAAQf,EAAKgB,WAAY,CACvCC,OAAQ,CACNC,gBAAgB,EAChBC,YAAY,OAIf,CACDR,UAAW,WACXC,cAAe,MACfC,IAAK,OACLM,YAAY,EACZjB,SAAU,eACT,CACDkB,MAAO,cACPP,IAAK,OACLM,YAAY","file":"react-syntax-highlighter_languages_highlight_protobuf-63cdfe822884176cc7bd.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*/\nfunction protobuf(hljs) {\n return {\n name: 'Protocol Buffers',\n keywords: {\n keyword: 'package import option optional required repeated group oneof',\n built_in: 'double float int32 int64 uint32 uint64 sint32 sint64 ' + 'fixed32 fixed64 sfixed32 sfixed64 bool string bytes',\n literal: 'true false'\n },\n contains: [hljs.QUOTE_STRING_MODE, hljs.NUMBER_MODE, hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, {\n className: 'class',\n beginKeywords: 'message enum service',\n end: /\\{/,\n illegal: /\\n/,\n contains: [hljs.inherit(hljs.TITLE_MODE, {\n starts: {\n endsWithParent: true,\n excludeEnd: true\n } // hack: eating everything after the first title\n\n })]\n }, {\n className: 'function',\n beginKeywords: 'rpc',\n end: /[{;]/,\n excludeEnd: true,\n keywords: 'rpc returns'\n }, {\n begin: /^\\s*[A-Z_]+/,\n end: /\\s*=/,\n excludeEnd: true\n }]\n };\n}\n\nmodule.exports = protobuf;"],"sourceRoot":""}