File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 1
1
-- ----------------------------------------------------------------------------
2
2
-- Language Server Protocol --
3
3
-- --
4
- -- Copyright (C) 2022-2023 , AdaCore --
4
+ -- Copyright (C) 2022-2024 , AdaCore --
5
5
-- --
6
6
-- This is free software; you can redistribute it and/or modify it under --
7
7
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -196,9 +196,9 @@ package body LSP_Gen.Requests is
196
196
197
197
end Write_Loggers ;
198
198
199
- -- ----------------------------
199
+ -- -----------------------
200
200
-- Write_Request_Types --
201
- -- ----------------------------
201
+ -- -----------------------
202
202
203
203
procedure Write_Request_Types
204
204
(Model : LSP_Gen.Meta_Models.Meta_Model;
@@ -253,6 +253,16 @@ package body LSP_Gen.Requests is
253
253
Put_Line (" _Receiver'Class);" );
254
254
New_Line;
255
255
256
+ if From = From_Client then
257
+ Put_Line (" private" );
258
+ New_Line;
259
+
260
+ Put_Line (" overriding function Method (Self : Request)" );
261
+ Put_Line (" return VSS.Strings.Virtual_String is" );
262
+ Put_Line (" ("" " & J & " "" );" );
263
+ New_Line;
264
+ end if ;
265
+
256
266
Put_Line (" end;" );
257
267
New_Line;
258
268
You can’t perform that action at this time.
0 commit comments