Skip to content

Commit f6e1d8d

Browse files
committed
Add Method subprogram.
1 parent db6d049 commit f6e1d8d

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

liblsp_3_17/source/lsp-server_requests.ads

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,30 @@ with LSP.Server_Messages;
99
with LSP.Server_Request_Receivers;
1010
with LSP.Structures;
1111

12+
with VSS.Strings;
13+
1214
package LSP.Server_Requests is
1315
pragma Preelaborate;
1416

1517
type Server_Request is
1618
abstract limited new LSP.Server_Messages.Server_Message with
1719
record
18-
Id : LSP.Structures.Integer_Or_Virtual_String;
20+
Id : LSP.Structures.Integer_Or_Virtual_String;
1921

2022
Canceled : Boolean := False
2123
with Atomic;
2224
-- The cancelation flag set by the input task and read by processing
2325
-- task
2426
end record;
2527

28+
function Method
29+
(Self : Server_Request) return VSS.Strings.Virtual_String is abstract;
30+
-- Returns name of the method.
31+
2632
procedure Visit_Server_Receiver
2733
(Self : Server_Request;
28-
Value : in out LSP.Server_Request_Receivers
29-
.Server_Request_Receiver'Class)
30-
is abstract;
34+
Value : in out
35+
LSP.Server_Request_Receivers.Server_Request_Receiver'Class) is abstract;
3136

3237
overriding procedure Visit_Server_Message_Visitor
3338
(Self : Server_Request;

0 commit comments

Comments
 (0)