@@ -18,7 +18,9 @@ public struct sourcekitd_keys {
18
18
public let annotated_decl : sourcekitd_uid_t
19
19
public let annotations : sourcekitd_uid_t
20
20
public let argindex : sourcekitd_uid_t
21
+ public let argNames : sourcekitd_uid_t
21
22
public let associated_usrs : sourcekitd_uid_t
23
+ public let baseName : sourcekitd_uid_t
22
24
public let bodylength : sourcekitd_uid_t
23
25
public let bodyoffset : sourcekitd_uid_t
24
26
public let cancelOnSubsequentRequest : sourcekitd_uid_t
@@ -50,12 +52,14 @@ public struct sourcekitd_keys {
50
52
public let includeNonEditableBaseNames : sourcekitd_uid_t
51
53
public let is_system : sourcekitd_uid_t
52
54
public let isDynamic : sourcekitd_uid_t
55
+ public let isZeroArgSelector : sourcekitd_uid_t
53
56
public let kind : sourcekitd_uid_t
54
57
public let length : sourcekitd_uid_t
55
58
public let line : sourcekitd_uid_t
56
59
public let locations : sourcekitd_uid_t
57
60
public let modulename : sourcekitd_uid_t
58
61
public let name : sourcekitd_uid_t
62
+ public let namekind : sourcekitd_uid_t
59
63
public let namelength : sourcekitd_uid_t
60
64
public let nameoffset : sourcekitd_uid_t
61
65
public let nameType : sourcekitd_uid_t
@@ -80,6 +84,7 @@ public struct sourcekitd_keys {
80
84
public let results : sourcekitd_uid_t
81
85
public let retrieve_refactor_actions : sourcekitd_uid_t
82
86
public let secondarySymbols : sourcekitd_uid_t
87
+ public let selectorPieces : sourcekitd_uid_t
83
88
public let semantic_tokens : sourcekitd_uid_t
84
89
public let severity : sourcekitd_uid_t
85
90
public let sourceEditKindActive : sourcekitd_uid_t
@@ -126,14 +131,16 @@ public struct sourcekitd_keys {
126
131
annotated_decl = api. uid_get_from_cstr ( " key.annotated_decl " ) !
127
132
annotations = api. uid_get_from_cstr ( " key.annotations " ) !
128
133
argindex = api. uid_get_from_cstr ( " key.argindex " ) !
134
+ argNames = api. uid_get_from_cstr ( " key.argnames " ) !
129
135
associated_usrs = api. uid_get_from_cstr ( " key.associated_usrs " ) !
136
+ baseName = api. uid_get_from_cstr ( " key.basename " ) !
130
137
bodylength = api. uid_get_from_cstr ( " key.bodylength " ) !
131
138
bodyoffset = api. uid_get_from_cstr ( " key.bodyoffset " ) !
132
139
cancelOnSubsequentRequest = api. uid_get_from_cstr ( " key.cancel_on_subsequent_request " ) !
133
140
categories = api. uid_get_from_cstr ( " key.categories " ) !
134
- category = api. uid_get_from_cstr ( " key.category " ) !
135
141
categorizededits = api. uid_get_from_cstr ( " key.categorizededits " ) !
136
142
categorizedranges = api. uid_get_from_cstr ( " key.categorizedranges " ) !
143
+ category = api. uid_get_from_cstr ( " key.category " ) !
137
144
column = api. uid_get_from_cstr ( " key.column " ) !
138
145
compilerargs = api. uid_get_from_cstr ( " key.compilerargs " ) !
139
146
context = api. uid_get_from_cstr ( " key.context " ) !
@@ -158,12 +165,14 @@ public struct sourcekitd_keys {
158
165
includeNonEditableBaseNames = api. uid_get_from_cstr ( " key.include_non_editable_base_names " ) !
159
166
is_system = api. uid_get_from_cstr ( " key.is_system " ) !
160
167
isDynamic = api. uid_get_from_cstr ( " key.is_dynamic " ) !
168
+ isZeroArgSelector = api. uid_get_from_cstr ( " key.is_zero_arg_selector " ) !
161
169
kind = api. uid_get_from_cstr ( " key.kind " ) !
162
170
length = api. uid_get_from_cstr ( " key.length " ) !
163
171
line = api. uid_get_from_cstr ( " key.line " ) !
164
172
locations = api. uid_get_from_cstr ( " key.locations " ) !
165
173
modulename = api. uid_get_from_cstr ( " key.modulename " ) !
166
174
name = api. uid_get_from_cstr ( " key.name " ) !
175
+ namekind = api. uid_get_from_cstr ( " key.namekind " ) !
167
176
namelength = api. uid_get_from_cstr ( " key.namelength " ) !
168
177
nameoffset = api. uid_get_from_cstr ( " key.nameoffset " ) !
169
178
nameType = api. uid_get_from_cstr ( " key.nametype " ) !
@@ -188,6 +197,7 @@ public struct sourcekitd_keys {
188
197
results = api. uid_get_from_cstr ( " key.results " ) !
189
198
retrieve_refactor_actions = api. uid_get_from_cstr ( " key.retrieve_refactor_actions " ) !
190
199
secondarySymbols = api. uid_get_from_cstr ( " key.secondary_symbols " ) !
200
+ selectorPieces = api. uid_get_from_cstr ( " key.selectorpieces " ) !
191
201
semantic_tokens = api. uid_get_from_cstr ( " key.semantic_tokens " ) !
192
202
severity = api. uid_get_from_cstr ( " key.severity " ) !
193
203
sourceEditKindActive = api. uid_get_from_cstr ( " source.edit.kind.active " ) !
@@ -231,44 +241,46 @@ public struct sourcekitd_keys {
231
241
}
232
242
233
243
public struct sourcekitd_requests {
234
- public let crash_exit : sourcekitd_uid_t
235
- public let editor_open : sourcekitd_uid_t
236
- public let editor_open_interface : sourcekitd_uid_t
237
- public let editor_close : sourcekitd_uid_t
238
- public let editor_replacetext : sourcekitd_uid_t
239
- public let codecomplete : sourcekitd_uid_t
244
+ public let codecomplete_close : sourcekitd_uid_t
240
245
public let codecomplete_open : sourcekitd_uid_t
241
246
public let codecomplete_update : sourcekitd_uid_t
242
- public let codecomplete_close : sourcekitd_uid_t
247
+ public let codecomplete : sourcekitd_uid_t
248
+ public let crash_exit : sourcekitd_uid_t
243
249
public let cursorinfo : sourcekitd_uid_t
244
250
public let diagnostics : sourcekitd_uid_t
245
- public let semantic_tokens : sourcekitd_uid_t
251
+ public let editor_close : sourcekitd_uid_t
252
+ public let editor_open_interface : sourcekitd_uid_t
253
+ public let editor_open : sourcekitd_uid_t
254
+ public let editor_replacetext : sourcekitd_uid_t
246
255
public let expression_type : sourcekitd_uid_t
256
+ public let find_syntactic_rename_ranges : sourcekitd_uid_t
247
257
public let find_usr : sourcekitd_uid_t
248
- public let variable_type : sourcekitd_uid_t
258
+ public let nameTranslation : sourcekitd_uid_t
249
259
public let relatedidents : sourcekitd_uid_t
250
260
public let semantic_refactoring : sourcekitd_uid_t
251
- public let find_syntactic_rename_ranges : sourcekitd_uid_t
261
+ public let semantic_tokens : sourcekitd_uid_t
262
+ public let variable_type : sourcekitd_uid_t
252
263
253
264
public init ( api: sourcekitd_functions_t ) {
254
- crash_exit = api. uid_get_from_cstr ( " source.request.crash_exit " ) !
255
- editor_open = api. uid_get_from_cstr ( " source.request.editor.open " ) !
256
- editor_open_interface = api. uid_get_from_cstr ( " source.request.editor.open.interface " ) !
257
- editor_close = api. uid_get_from_cstr ( " source.request.editor.close " ) !
258
- editor_replacetext = api. uid_get_from_cstr ( " source.request.editor.replacetext " ) !
259
265
codecomplete = api. uid_get_from_cstr ( " source.request.codecomplete " ) !
266
+ codecomplete_close = api. uid_get_from_cstr ( " source.request.codecomplete.close " ) !
260
267
codecomplete_open = api. uid_get_from_cstr ( " source.request.codecomplete.open " ) !
261
268
codecomplete_update = api. uid_get_from_cstr ( " source.request.codecomplete.update " ) !
262
- codecomplete_close = api. uid_get_from_cstr ( " source.request.codecomplete.close " ) !
269
+ crash_exit = api. uid_get_from_cstr ( " source.request.crash_exit " ) !
263
270
cursorinfo = api. uid_get_from_cstr ( " source.request.cursorinfo " ) !
264
271
diagnostics = api. uid_get_from_cstr ( " source.request.diagnostics " ) !
265
- semantic_tokens = api. uid_get_from_cstr ( " source.request.semantic_tokens " ) !
272
+ editor_close = api. uid_get_from_cstr ( " source.request.editor.close " ) !
273
+ editor_open = api. uid_get_from_cstr ( " source.request.editor.open " ) !
274
+ editor_open_interface = api. uid_get_from_cstr ( " source.request.editor.open.interface " ) !
275
+ editor_replacetext = api. uid_get_from_cstr ( " source.request.editor.replacetext " ) !
266
276
expression_type = api. uid_get_from_cstr ( " source.request.expression.type " ) !
277
+ find_syntactic_rename_ranges = api. uid_get_from_cstr ( " source.request.find-syntactic-rename-ranges " ) !
267
278
find_usr = api. uid_get_from_cstr ( " source.request.editor.find_usr " ) !
268
- variable_type = api. uid_get_from_cstr ( " source.request.variable.type " ) !
279
+ nameTranslation = api. uid_get_from_cstr ( " source.request.name.translation " ) !
269
280
relatedidents = api. uid_get_from_cstr ( " source.request.relatedidents " ) !
270
281
semantic_refactoring = api. uid_get_from_cstr ( " source.request.semantic.refactoring " ) !
271
- find_syntactic_rename_ranges = api. uid_get_from_cstr ( " source.request.find-syntactic-rename-ranges " ) !
282
+ semantic_tokens = api. uid_get_from_cstr ( " source.request.semantic_tokens " ) !
283
+ variable_type = api. uid_get_from_cstr ( " source.request.variable.type " ) !
272
284
}
273
285
}
274
286
@@ -375,6 +387,8 @@ public struct sourcekitd_values {
375
387
public let syntaxtype_identifier : sourcekitd_uid_t
376
388
public let expr_object_literal : sourcekitd_uid_t
377
389
public let expr_call : sourcekitd_uid_t
390
+ public let namekindSwift : sourcekitd_uid_t
391
+ public let namekindObjC : sourcekitd_uid_t
378
392
379
393
public let kind_keyword : sourcekitd_uid_t
380
394
@@ -487,6 +501,8 @@ public struct sourcekitd_values {
487
501
syntaxtype_identifier = api. uid_get_from_cstr ( " source.lang.swift.syntaxtype.identifier " ) !
488
502
expr_object_literal = api. uid_get_from_cstr ( " source.lang.swift.expr.object_literal " ) !
489
503
expr_call = api. uid_get_from_cstr ( " source.lang.swift.expr.call " ) !
504
+ namekindSwift = api. uid_get_from_cstr ( " source.lang.name.kind.swift " ) !
505
+ namekindObjC = api. uid_get_from_cstr ( " source.lang.name.kind.objc " ) !
490
506
491
507
kind_keyword = api. uid_get_from_cstr ( " source.lang.swift.keyword " ) !
492
508
}
0 commit comments