Debian Codegraph @

llvm-project/clang-tools-extra/clangd/index/remote/Service.proto

raw
1 //===--- Service.proto - Remote index service definition ------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8
9 syntax = "proto2";
10
11 package clang.clangd.remote.v1;
12
13 import "Index.proto";
14
15 // Semantics of SymbolIndex match clangd::SymbolIndex with all required
16 // structures corresponding to their clangd::* counterparts.
17 service SymbolIndex {
18 rpc Lookup(LookupRequest) returns (stream LookupReply) {}
19
20 rpc FuzzyFind(FuzzyFindRequest) returns (stream FuzzyFindReply) {}
21
22 rpc Refs(RefsRequest) returns (stream RefsReply) {}
23
24 rpc Relations(RelationsRequest) returns (stream RelationsReply) {}
25 }