File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -201,12 +201,17 @@ export class CompletionAdapter<T extends BaseSQLWorker>
201
201
} ) ;
202
202
}
203
203
}
204
-
204
+ /**
205
+ * The adapter is for the definition of the symbol at the given position and document.
206
+ **/
205
207
export class DefinitionAdapter < T extends BaseSQLWorker > implements languages . DefinitionProvider {
206
208
constructor (
207
209
private readonly _worker : WorkerAccessor < T > ,
208
210
private readonly _defaults : LanguageServiceDefaults
209
211
) { }
212
+ /**
213
+ * Provide the definition of the symbol at the given position and document.
214
+ **/
210
215
provideDefinition (
211
216
model : editor . IReadOnlyModel ,
212
217
position : Position ,
@@ -271,12 +276,17 @@ export class DefinitionAdapter<T extends BaseSQLWorker> implements languages.Def
271
276
} ) ;
272
277
}
273
278
}
274
-
279
+ /**
280
+ * The adapter is for the references of the symbol at the given position and document.
281
+ **/
275
282
export class ReferenceAdapter < T extends BaseSQLWorker > implements languages . ReferenceProvider {
276
283
constructor (
277
284
private readonly _worker : WorkerAccessor < T > ,
278
285
private readonly _defaults : LanguageServiceDefaults
279
286
) { }
287
+ /**
288
+ * Provide a set of project-wide references for the given position and document.
289
+ **/
280
290
provideReferences (
281
291
model : editor . IReadOnlyModel ,
282
292
position : Position ,
You can’t perform that action at this time.
0 commit comments