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.46.0 |
19 | |
20 | #include "dap/protocol.h" |
21 | |
22 | namespace dap { |
23 | |
24 | DAP_IMPLEMENT_STRUCT_TYPEINFO(Checksum, |
25 | "" , |
26 | DAP_FIELD(algorithm, "algorithm" ), |
27 | DAP_FIELD(checksum, "checksum" )); |
28 | |
29 | DAP_IMPLEMENT_STRUCT_TYPEINFO(Source, |
30 | "" , |
31 | DAP_FIELD(adapterData, "adapterData" ), |
32 | DAP_FIELD(checksums, "checksums" ), |
33 | DAP_FIELD(name, "name" ), |
34 | DAP_FIELD(origin, "origin" ), |
35 | DAP_FIELD(path, "path" ), |
36 | DAP_FIELD(presentationHint, "presentationHint" ), |
37 | DAP_FIELD(sourceReference, "sourceReference" ), |
38 | DAP_FIELD(sources, "sources" )); |
39 | |
40 | DAP_IMPLEMENT_STRUCT_TYPEINFO(Breakpoint, |
41 | "" , |
42 | DAP_FIELD(column, "column" ), |
43 | DAP_FIELD(endColumn, "endColumn" ), |
44 | DAP_FIELD(endLine, "endLine" ), |
45 | DAP_FIELD(id, "id" ), |
46 | DAP_FIELD(instructionReference, |
47 | "instructionReference" ), |
48 | DAP_FIELD(line, "line" ), |
49 | DAP_FIELD(message, "message" ), |
50 | DAP_FIELD(offset, "offset" ), |
51 | DAP_FIELD(source, "source" ), |
52 | DAP_FIELD(verified, "verified" )); |
53 | |
54 | DAP_IMPLEMENT_STRUCT_TYPEINFO(BreakpointLocation, |
55 | "" , |
56 | DAP_FIELD(column, "column" ), |
57 | DAP_FIELD(endColumn, "endColumn" ), |
58 | DAP_FIELD(endLine, "endLine" ), |
59 | DAP_FIELD(line, "line" )); |
60 | |
61 | DAP_IMPLEMENT_STRUCT_TYPEINFO(ColumnDescriptor, |
62 | "" , |
63 | DAP_FIELD(attributeName, "attributeName" ), |
64 | DAP_FIELD(format, "format" ), |
65 | DAP_FIELD(label, "label" ), |
66 | DAP_FIELD(type, "type" ), |
67 | DAP_FIELD(width, "width" )); |
68 | |
69 | DAP_IMPLEMENT_STRUCT_TYPEINFO(ExceptionBreakpointsFilter, |
70 | "" , |
71 | DAP_FIELD(conditionDescription, |
72 | "conditionDescription" ), |
73 | DAP_FIELD(def, "default" ), |
74 | DAP_FIELD(description, "description" ), |
75 | DAP_FIELD(filter, "filter" ), |
76 | DAP_FIELD(label, "label" ), |
77 | DAP_FIELD(supportsCondition, |
78 | "supportsCondition" )); |
79 | |
80 | DAP_IMPLEMENT_STRUCT_TYPEINFO( |
81 | Capabilities, |
82 | "" , |
83 | DAP_FIELD(additionalModuleColumns, "additionalModuleColumns" ), |
84 | DAP_FIELD(completionTriggerCharacters, "completionTriggerCharacters" ), |
85 | DAP_FIELD(exceptionBreakpointFilters, "exceptionBreakpointFilters" ), |
86 | DAP_FIELD(supportTerminateDebuggee, "supportTerminateDebuggee" ), |
87 | DAP_FIELD(supportedChecksumAlgorithms, "supportedChecksumAlgorithms" ), |
88 | DAP_FIELD(supportsBreakpointLocationsRequest, |
89 | "supportsBreakpointLocationsRequest" ), |
90 | DAP_FIELD(supportsCancelRequest, "supportsCancelRequest" ), |
91 | DAP_FIELD(supportsClipboardContext, "supportsClipboardContext" ), |
92 | DAP_FIELD(supportsCompletionsRequest, "supportsCompletionsRequest" ), |
93 | DAP_FIELD(supportsConditionalBreakpoints, "supportsConditionalBreakpoints" ), |
94 | DAP_FIELD(supportsConfigurationDoneRequest, |
95 | "supportsConfigurationDoneRequest" ), |
96 | DAP_FIELD(supportsDataBreakpoints, "supportsDataBreakpoints" ), |
97 | DAP_FIELD(supportsDelayedStackTraceLoading, |
98 | "supportsDelayedStackTraceLoading" ), |
99 | DAP_FIELD(supportsDisassembleRequest, "supportsDisassembleRequest" ), |
100 | DAP_FIELD(supportsEvaluateForHovers, "supportsEvaluateForHovers" ), |
101 | DAP_FIELD(supportsExceptionFilterOptions, "supportsExceptionFilterOptions" ), |
102 | DAP_FIELD(supportsExceptionInfoRequest, "supportsExceptionInfoRequest" ), |
103 | DAP_FIELD(supportsExceptionOptions, "supportsExceptionOptions" ), |
104 | DAP_FIELD(supportsFunctionBreakpoints, "supportsFunctionBreakpoints" ), |
105 | DAP_FIELD(supportsGotoTargetsRequest, "supportsGotoTargetsRequest" ), |
106 | DAP_FIELD(supportsHitConditionalBreakpoints, |
107 | "supportsHitConditionalBreakpoints" ), |
108 | DAP_FIELD(supportsInstructionBreakpoints, "supportsInstructionBreakpoints" ), |
109 | DAP_FIELD(supportsLoadedSourcesRequest, "supportsLoadedSourcesRequest" ), |
110 | DAP_FIELD(supportsLogPoints, "supportsLogPoints" ), |
111 | DAP_FIELD(supportsModulesRequest, "supportsModulesRequest" ), |
112 | DAP_FIELD(supportsReadMemoryRequest, "supportsReadMemoryRequest" ), |
113 | DAP_FIELD(supportsRestartFrame, "supportsRestartFrame" ), |
114 | DAP_FIELD(supportsRestartRequest, "supportsRestartRequest" ), |
115 | DAP_FIELD(supportsSetExpression, "supportsSetExpression" ), |
116 | DAP_FIELD(supportsSetVariable, "supportsSetVariable" ), |
117 | DAP_FIELD(supportsStepBack, "supportsStepBack" ), |
118 | DAP_FIELD(supportsStepInTargetsRequest, "supportsStepInTargetsRequest" ), |
119 | DAP_FIELD(supportsSteppingGranularity, "supportsSteppingGranularity" ), |
120 | DAP_FIELD(supportsTerminateRequest, "supportsTerminateRequest" ), |
121 | DAP_FIELD(supportsTerminateThreadsRequest, |
122 | "supportsTerminateThreadsRequest" ), |
123 | DAP_FIELD(supportsValueFormattingOptions, |
124 | "supportsValueFormattingOptions" )); |
125 | |
126 | DAP_IMPLEMENT_STRUCT_TYPEINFO(CompletionItem, |
127 | "" , |
128 | DAP_FIELD(label, "label" ), |
129 | DAP_FIELD(length, "length" ), |
130 | DAP_FIELD(selectionLength, "selectionLength" ), |
131 | DAP_FIELD(selectionStart, "selectionStart" ), |
132 | DAP_FIELD(sortText, "sortText" ), |
133 | DAP_FIELD(start, "start" ), |
134 | DAP_FIELD(text, "text" ), |
135 | DAP_FIELD(type, "type" )); |
136 | |
137 | DAP_IMPLEMENT_STRUCT_TYPEINFO(DisassembledInstruction, |
138 | "" , |
139 | DAP_FIELD(address, "address" ), |
140 | DAP_FIELD(column, "column" ), |
141 | DAP_FIELD(endColumn, "endColumn" ), |
142 | DAP_FIELD(endLine, "endLine" ), |
143 | DAP_FIELD(instruction, "instruction" ), |
144 | DAP_FIELD(instructionBytes, "instructionBytes" ), |
145 | DAP_FIELD(line, "line" ), |
146 | DAP_FIELD(location, "location" ), |
147 | DAP_FIELD(symbol, "symbol" )); |
148 | |
149 | DAP_IMPLEMENT_STRUCT_TYPEINFO(Message, |
150 | "" , |
151 | DAP_FIELD(format, "format" ), |
152 | DAP_FIELD(id, "id" ), |
153 | DAP_FIELD(sendTelemetry, "sendTelemetry" ), |
154 | DAP_FIELD(showUser, "showUser" ), |
155 | DAP_FIELD(url, "url" ), |
156 | DAP_FIELD(urlLabel, "urlLabel" ), |
157 | DAP_FIELD(variables, "variables" )); |
158 | |
159 | DAP_IMPLEMENT_STRUCT_TYPEINFO(VariablePresentationHint, |
160 | "" , |
161 | DAP_FIELD(attributes, "attributes" ), |
162 | DAP_FIELD(kind, "kind" ), |
163 | DAP_FIELD(visibility, "visibility" )); |
164 | |
165 | DAP_IMPLEMENT_STRUCT_TYPEINFO(ValueFormat, "" , DAP_FIELD(hex, "hex" )); |
166 | |
167 | DAP_IMPLEMENT_STRUCT_TYPEINFO(ExceptionDetails, |
168 | "" , |
169 | DAP_FIELD(evaluateName, "evaluateName" ), |
170 | DAP_FIELD(fullTypeName, "fullTypeName" ), |
171 | DAP_FIELD(innerException, "innerException" ), |
172 | DAP_FIELD(message, "message" ), |
173 | DAP_FIELD(stackTrace, "stackTrace" ), |
174 | DAP_FIELD(typeName, "typeName" )); |
175 | |
176 | DAP_IMPLEMENT_STRUCT_TYPEINFO(GotoTarget, |
177 | "" , |
178 | DAP_FIELD(column, "column" ), |
179 | DAP_FIELD(endColumn, "endColumn" ), |
180 | DAP_FIELD(endLine, "endLine" ), |
181 | DAP_FIELD(id, "id" ), |
182 | DAP_FIELD(instructionPointerReference, |
183 | "instructionPointerReference" ), |
184 | DAP_FIELD(label, "label" ), |
185 | DAP_FIELD(line, "line" )); |
186 | |
187 | DAP_IMPLEMENT_STRUCT_TYPEINFO(Module, |
188 | "" , |
189 | DAP_FIELD(addressRange, "addressRange" ), |
190 | DAP_FIELD(dateTimeStamp, "dateTimeStamp" ), |
191 | DAP_FIELD(id, "id" ), |
192 | DAP_FIELD(isOptimized, "isOptimized" ), |
193 | DAP_FIELD(isUserCode, "isUserCode" ), |
194 | DAP_FIELD(name, "name" ), |
195 | DAP_FIELD(path, "path" ), |
196 | DAP_FIELD(symbolFilePath, "symbolFilePath" ), |
197 | DAP_FIELD(symbolStatus, "symbolStatus" ), |
198 | DAP_FIELD(version, "version" )); |
199 | |
200 | DAP_IMPLEMENT_STRUCT_TYPEINFO(Scope, |
201 | "" , |
202 | DAP_FIELD(column, "column" ), |
203 | DAP_FIELD(endColumn, "endColumn" ), |
204 | DAP_FIELD(endLine, "endLine" ), |
205 | DAP_FIELD(expensive, "expensive" ), |
206 | DAP_FIELD(indexedVariables, "indexedVariables" ), |
207 | DAP_FIELD(line, "line" ), |
208 | DAP_FIELD(name, "name" ), |
209 | DAP_FIELD(namedVariables, "namedVariables" ), |
210 | DAP_FIELD(presentationHint, "presentationHint" ), |
211 | DAP_FIELD(source, "source" ), |
212 | DAP_FIELD(variablesReference, |
213 | "variablesReference" )); |
214 | |
215 | DAP_IMPLEMENT_STRUCT_TYPEINFO(SourceBreakpoint, |
216 | "" , |
217 | DAP_FIELD(column, "column" ), |
218 | DAP_FIELD(condition, "condition" ), |
219 | DAP_FIELD(hitCondition, "hitCondition" ), |
220 | DAP_FIELD(line, "line" ), |
221 | DAP_FIELD(logMessage, "logMessage" )); |
222 | |
223 | DAP_IMPLEMENT_STRUCT_TYPEINFO(DataBreakpoint, |
224 | "" , |
225 | DAP_FIELD(accessType, "accessType" ), |
226 | DAP_FIELD(condition, "condition" ), |
227 | DAP_FIELD(dataId, "dataId" ), |
228 | DAP_FIELD(hitCondition, "hitCondition" )); |
229 | |
230 | DAP_IMPLEMENT_STRUCT_TYPEINFO(ExceptionPathSegment, |
231 | "" , |
232 | DAP_FIELD(names, "names" ), |
233 | DAP_FIELD(negate, "negate" )); |
234 | |
235 | DAP_IMPLEMENT_STRUCT_TYPEINFO(ExceptionOptions, |
236 | "" , |
237 | DAP_FIELD(breakMode, "breakMode" ), |
238 | DAP_FIELD(path, "path" )); |
239 | |
240 | DAP_IMPLEMENT_STRUCT_TYPEINFO(ExceptionFilterOptions, |
241 | "" , |
242 | DAP_FIELD(condition, "condition" ), |
243 | DAP_FIELD(filterId, "filterId" )); |
244 | |
245 | DAP_IMPLEMENT_STRUCT_TYPEINFO(FunctionBreakpoint, |
246 | "" , |
247 | DAP_FIELD(condition, "condition" ), |
248 | DAP_FIELD(hitCondition, "hitCondition" ), |
249 | DAP_FIELD(name, "name" )); |
250 | |
251 | DAP_IMPLEMENT_STRUCT_TYPEINFO(InstructionBreakpoint, |
252 | "" , |
253 | DAP_FIELD(condition, "condition" ), |
254 | DAP_FIELD(hitCondition, "hitCondition" ), |
255 | DAP_FIELD(instructionReference, |
256 | "instructionReference" ), |
257 | DAP_FIELD(offset, "offset" )); |
258 | |
259 | DAP_IMPLEMENT_STRUCT_TYPEINFO(StackFrame, |
260 | "" , |
261 | DAP_FIELD(canRestart, "canRestart" ), |
262 | DAP_FIELD(column, "column" ), |
263 | DAP_FIELD(endColumn, "endColumn" ), |
264 | DAP_FIELD(endLine, "endLine" ), |
265 | DAP_FIELD(id, "id" ), |
266 | DAP_FIELD(instructionPointerReference, |
267 | "instructionPointerReference" ), |
268 | DAP_FIELD(line, "line" ), |
269 | DAP_FIELD(moduleId, "moduleId" ), |
270 | DAP_FIELD(name, "name" ), |
271 | DAP_FIELD(presentationHint, "presentationHint" ), |
272 | DAP_FIELD(source, "source" )); |
273 | |
274 | DAP_IMPLEMENT_STRUCT_TYPEINFO(StackFrameFormat, |
275 | "" , |
276 | DAP_FIELD(includeAll, "includeAll" ), |
277 | DAP_FIELD(line, "line" ), |
278 | DAP_FIELD(module, "module" ), |
279 | DAP_FIELD(parameterNames, "parameterNames" ), |
280 | DAP_FIELD(parameterTypes, "parameterTypes" ), |
281 | DAP_FIELD(parameterValues, "parameterValues" ), |
282 | DAP_FIELD(parameters, "parameters" )); |
283 | |
284 | DAP_IMPLEMENT_STRUCT_TYPEINFO(StepInTarget, |
285 | "" , |
286 | DAP_FIELD(id, "id" ), |
287 | DAP_FIELD(label, "label" )); |
288 | |
289 | DAP_IMPLEMENT_STRUCT_TYPEINFO(Thread, |
290 | "" , |
291 | DAP_FIELD(id, "id" ), |
292 | DAP_FIELD(name, "name" )); |
293 | |
294 | DAP_IMPLEMENT_STRUCT_TYPEINFO(Variable, |
295 | "" , |
296 | DAP_FIELD(evaluateName, "evaluateName" ), |
297 | DAP_FIELD(indexedVariables, "indexedVariables" ), |
298 | DAP_FIELD(memoryReference, "memoryReference" ), |
299 | DAP_FIELD(name, "name" ), |
300 | DAP_FIELD(namedVariables, "namedVariables" ), |
301 | DAP_FIELD(presentationHint, "presentationHint" ), |
302 | DAP_FIELD(type, "type" ), |
303 | DAP_FIELD(value, "value" ), |
304 | DAP_FIELD(variablesReference, |
305 | "variablesReference" )); |
306 | |
307 | } // namespace dap |
308 | |