|
4 | 4 | // |
5 | 5 | //===----------------------------------------------------------------------===// |
6 | 6 |
|
7 | | -type FrameId = number; |
8 | | -type RequestId = number; |
9 | | -type SessionId = string; |
| 7 | +export type FrameId = number; |
| 8 | +export type RequestId = number; |
| 9 | +export type SessionId = string; |
10 | 10 | /** |
11 | 11 | * This is a display name generated by LLDB that attempts to be unique. |
12 | 12 | */ |
13 | | -type VariableDisplayName = string; |
| 13 | +export type VariableDisplayName = string; |
14 | 14 | /** |
15 | 15 | * This name is an LLDB variable path that could collide in case of shadowing. |
16 | 16 | */ |
17 | | -type VariableEvaluateName = string; |
| 17 | +export type VariableEvaluateName = string; |
18 | 18 |
|
19 | | -type Variable = { |
| 19 | +export type Variable = { |
20 | 20 | name: VariableDisplayName; |
21 | 21 | evaluateName: VariableEvaluateName; |
22 | 22 | value: string; |
@@ -44,19 +44,19 @@ type Variable = { |
44 | 44 | }; |
45 | 45 | }; |
46 | 46 |
|
47 | | -type DAPScopesRequest = { |
| 47 | +export type DAPScopesRequest = { |
48 | 48 | command: 'scopes'; |
49 | 49 | seq: RequestId; |
50 | 50 | arguments: { frameId: FrameId }; |
51 | 51 | }; |
52 | 52 |
|
53 | | -type DAPVariablesRequest = { |
| 53 | +export type DAPVariablesRequest = { |
54 | 54 | command: 'variables'; |
55 | 55 | seq: RequestId; |
56 | 56 | arguments: { variablesReference: number }; |
57 | 57 | }; |
58 | 58 |
|
59 | | -type DAPVariablesResponse = { |
| 59 | +export type DAPVariablesResponse = { |
60 | 60 | command: 'variables'; |
61 | 61 | request_seq: RequestId; |
62 | 62 | body: { variables: Variable[] }; |
|
0 commit comments