@@ -59,7 +59,6 @@ int CsharpServiceHandler::getThriftServerPort()
5959 acceptor.bind (endPoint, ec);
6060
6161 if (!ec) {
62- // LOG(info) << "[C# Plugin] Thrift server bound to port: " << port << std::endl;
6362 acceptor.close (ec);
6463 return port;
6564 }
@@ -78,7 +77,6 @@ std::string CsharpServiceHandler::getDbString()
7877
7978void CsharpServiceHandler::getFileTypes (std::vector<std::string>& return_)
8079{
81- // LOG(info) << "CsharpServiceHandler getFileTypes";
8280 return_.push_back (" CS" );
8381 return_.push_back (" Dir" );
8482}
@@ -95,7 +93,6 @@ void CsharpServiceHandler::getAstNodeInfo(
9593 std::stringstream ss;
9694 ss << file;
9795 return_.range .file = ss.str ();
98- // LOG(info) << "csharpQuery.getAstNodeInfo: file = " << return_.range.file;
9996}
10097
10198void CsharpServiceHandler::getAstNodeInfoByPosition (
@@ -113,7 +110,6 @@ void CsharpServiceHandler::getSourceText(
113110 std::string& return_,
114111 const core::AstNodeId& astNodeId_)
115112{
116- LOG (info) << " getSourceText" ;
117113 core::FileRange fileRange;
118114
119115 _csharpQueryHandler.getFileRange (fileRange, astNodeId_);
@@ -139,23 +135,21 @@ void CsharpServiceHandler::getProperties(
139135 std::map<std::string, std::string>& return_,
140136 const core::AstNodeId& astNodeId_)
141137{
142- // LOG(info) << "getProperties";
143138 _csharpQueryHandler.getProperties (return_, astNodeId_);
144139}
145140
146141void CsharpServiceHandler::getDocumentation (
147142 std::string& return_,
148143 const core::AstNodeId& astNodeId_)
149144{
150- LOG (info) << " getDocumentation" ;
151145 _csharpQueryHandler.getDocumentation (return_, astNodeId_);
152146}
153147
154148void CsharpServiceHandler::getDiagramTypes (
155149 std::map<std::string, std::int32_t >& return_,
156150 const core::AstNodeId& astNodeId_)
157151{
158- LOG (info) << " getDiagramTypes " ;
152+ // TODO
159153 // csharpQueryHandler.getDiagramTypes(return_, astNodeId_);
160154}
161155
@@ -164,52 +158,50 @@ void CsharpServiceHandler::getDiagram(
164158 const core::AstNodeId& astNodeId_,
165159 const std::int32_t diagramId_)
166160{
167- LOG (info) << " getDiagram " ;
161+ // TODO
168162 // csharpQueryHandler.getDiagram(return_, astNodeId_, diagramId_);
169163}
170164
171165void CsharpServiceHandler::getDiagramLegend (
172166 std::string& return_,
173167 const std::int32_t diagramId_)
174168{
175- LOG (info) << " getDiagramLegend " ;
169+ // TODO
176170}
177171
178172void CsharpServiceHandler::getFileDiagramTypes (
179173 std::map<std::string, std::int32_t >& return_,
180174 const core::FileId& fileId_)
181175{
182- LOG (info) << " getFileDiagramTypes " ;
176+ // TODO
183177}
184178
185179void CsharpServiceHandler::getFileDiagram (
186180 std::string& return_,
187181 const core::FileId& fileId_,
188182 const int32_t diagramId_)
189183{
190- LOG (info) << " getFileDiagram " ;
184+ // TODO
191185}
192186
193187void CsharpServiceHandler::getFileDiagramLegend (
194188 std::string& return_,
195189 const std::int32_t diagramId_)
196190{
197- LOG (info) << " getFileDiagramLegend " ;
191+ // TODO
198192}
199193
200194void CsharpServiceHandler::getReferenceTypes (
201195 std::map<std::string, std::int32_t >& return_,
202196 const core::AstNodeId& astNodeId_)
203197{
204- // LOG(info) << "getReferenceTypes";
205198 _csharpQueryHandler.getReferenceTypes (return_, astNodeId_);
206199}
207200
208201std::int32_t CsharpServiceHandler::getReferenceCount (
209202 const core::AstNodeId& astNodeId_,
210203 const std::int32_t referenceId_)
211204{
212- // LOG(info) << "getReferenceCount";
213205 return _csharpQueryHandler.getReferenceCount (astNodeId_, referenceId_);
214206}
215207
@@ -219,7 +211,6 @@ void CsharpServiceHandler::getReferences(
219211 const std::int32_t referenceId_,
220212 const std::vector<std::string>& tags_)
221213{
222- // LOG(info) << "getReferences";
223214 _csharpQueryHandler.getReferences (return_, astNodeId_, referenceId_, tags_);
224215 std::vector<AstNodeInfo> ret;
225216 for (AstNodeInfo nodeinfo : return_)
@@ -244,7 +235,6 @@ void CsharpServiceHandler::getReferencesInFile(
244235 const core::FileId& /* fileId_ */ ,
245236 const std::vector<std::string>& /* tags_ */ )
246237{
247- // LOG(info) << "getReferencesInFile";
248238 // TODO
249239}
250240
@@ -255,23 +245,20 @@ void CsharpServiceHandler::getReferencesPage(
255245 const std::int32_t /* pageSize_ */ ,
256246 const std::int32_t /* pageNo_ */ )
257247{
258- // LOG(info) << "getReferencesPage";
259248 // TODO
260249}
261250
262251void CsharpServiceHandler::getFileReferenceTypes (
263252 std::map<std::string, std::int32_t >& return_,
264253 const core::FileId& /* fileId_*/ )
265254{
266- // LOG(info) << "getFileReferenceTypes";
267255 _csharpQueryHandler.getFileReferenceTypes (return_);
268256}
269257
270258std::int32_t CsharpServiceHandler::getFileReferenceCount (
271259 const core::FileId& fileId_,
272260 const std::int32_t referenceId_)
273261{
274- // LOG(info) << "getFileReferenceCount";
275262 model::FilePtr file = _transaction ([&, this ](){
276263 return _db->query_one <model::File>(
277264 FileQuery::id == std::stoull (fileId_));
@@ -284,7 +271,6 @@ void CsharpServiceHandler::getFileReferences(
284271 const core::FileId& fileId_,
285272 const std::int32_t referenceId_)
286273{
287- // LOG(info) << "getFileReferences";
288274 model::FilePtr file = _transaction ([&, this ](){
289275 return _db->query_one <model::File>(
290276 FileQuery::id == std::stoull (fileId_));
@@ -296,7 +282,7 @@ void CsharpServiceHandler::getSyntaxHighlight(
296282 std::vector<SyntaxHighlight>& return_,
297283 const core::FileRange& range_)
298284{
299- LOG (info) << " getSyntaxHighlight " ;
285+ // TODO
300286 /*
301287 std::vector<std::string> content;
302288 _transaction([&, this]() {
0 commit comments