Debian Codegraph @

Utilities/cmcppdap/src/protocol_events.cpp

raw
1 // Copyright 2019 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // https://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Generated with protocol_gen.go -- do not edit this file.
16 // go run scripts/protocol_gen/protocol_gen.go
17 //
18 // DAP version 1.65.0
19
20 #include "dap/protocol.h"
21
22 namespace dap {
23
24 DAP_IMPLEMENT_STRUCT_TYPEINFO(BreakpointEvent,
25 "breakpoint",
26 DAP_FIELD(breakpoint, "breakpoint"),
27 DAP_FIELD(reason, "reason"));
28
29 DAP_IMPLEMENT_STRUCT_TYPEINFO(CapabilitiesEvent,
30 "capabilities",
31 DAP_FIELD(capabilities, "capabilities"));
32
33 DAP_IMPLEMENT_STRUCT_TYPEINFO(ContinuedEvent,
34 "continued",
35 DAP_FIELD(allThreadsContinued,
36 "allThreadsContinued"),
37 DAP_FIELD(threadId, "threadId"));
38
39 DAP_IMPLEMENT_STRUCT_TYPEINFO(ExitedEvent,
40 "exited",
41 DAP_FIELD(exitCode, "exitCode"));
42
43 DAP_IMPLEMENT_STRUCT_TYPEINFO(InitializedEvent, "initialized");
44
45 DAP_IMPLEMENT_STRUCT_TYPEINFO(InvalidatedEvent,
46 "invalidated",
47 DAP_FIELD(areas, "areas"),
48 DAP_FIELD(stackFrameId, "stackFrameId"),
49 DAP_FIELD(threadId, "threadId"));
50
51 DAP_IMPLEMENT_STRUCT_TYPEINFO(LoadedSourceEvent,
52 "loadedSource",
53 DAP_FIELD(reason, "reason"),
54 DAP_FIELD(source, "source"));
55
56 DAP_IMPLEMENT_STRUCT_TYPEINFO(MemoryEvent,
57 "memory",
58 DAP_FIELD(count, "count"),
59 DAP_FIELD(memoryReference, "memoryReference"),
60 DAP_FIELD(offset, "offset"));
61
62 DAP_IMPLEMENT_STRUCT_TYPEINFO(ModuleEvent,
63 "module",
64 DAP_FIELD(module, "module"),
65 DAP_FIELD(reason, "reason"));
66
67 DAP_IMPLEMENT_STRUCT_TYPEINFO(OutputEvent,
68 "output",
69 DAP_FIELD(category, "category"),
70 DAP_FIELD(column, "column"),
71 DAP_FIELD(data, "data"),
72 DAP_FIELD(group, "group"),
73 DAP_FIELD(line, "line"),
74 DAP_FIELD(output, "output"),
75 DAP_FIELD(source, "source"),
76 DAP_FIELD(variablesReference,
77 "variablesReference"));
78
79 DAP_IMPLEMENT_STRUCT_TYPEINFO(ProcessEvent,
80 "process",
81 DAP_FIELD(isLocalProcess, "isLocalProcess"),
82 DAP_FIELD(name, "name"),
83 DAP_FIELD(pointerSize, "pointerSize"),
84 DAP_FIELD(startMethod, "startMethod"),
85 DAP_FIELD(systemProcessId, "systemProcessId"));
86
87 DAP_IMPLEMENT_STRUCT_TYPEINFO(ProgressEndEvent,
88 "progressEnd",
89 DAP_FIELD(message, "message"),
90 DAP_FIELD(progressId, "progressId"));
91
92 DAP_IMPLEMENT_STRUCT_TYPEINFO(ProgressStartEvent,
93 "progressStart",
94 DAP_FIELD(cancellable, "cancellable"),
95 DAP_FIELD(message, "message"),
96 DAP_FIELD(percentage, "percentage"),
97 DAP_FIELD(progressId, "progressId"),
98 DAP_FIELD(requestId, "requestId"),
99 DAP_FIELD(title, "title"));
100
101 DAP_IMPLEMENT_STRUCT_TYPEINFO(ProgressUpdateEvent,
102 "progressUpdate",
103 DAP_FIELD(message, "message"),
104 DAP_FIELD(percentage, "percentage"),
105 DAP_FIELD(progressId, "progressId"));
106
107 DAP_IMPLEMENT_STRUCT_TYPEINFO(StoppedEvent,
108 "stopped",
109 DAP_FIELD(allThreadsStopped, "allThreadsStopped"),
110 DAP_FIELD(description, "description"),
111 DAP_FIELD(hitBreakpointIds, "hitBreakpointIds"),
112 DAP_FIELD(preserveFocusHint, "preserveFocusHint"),
113 DAP_FIELD(reason, "reason"),
114 DAP_FIELD(text, "text"),
115 DAP_FIELD(threadId, "threadId"));
116
117 DAP_IMPLEMENT_STRUCT_TYPEINFO(TerminatedEvent,
118 "terminated",
119 DAP_FIELD(restart, "restart"));
120
121 DAP_IMPLEMENT_STRUCT_TYPEINFO(ThreadEvent,
122 "thread",
123 DAP_FIELD(reason, "reason"),
124 DAP_FIELD(threadId, "threadId"));
125
126 } // namespace dap