File tree 1 file changed +0
-8
lines changed
1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -239,8 +239,6 @@ export abstract class BasicSQL<
239
239
return null ;
240
240
}
241
241
const splitListener = this . splitListener ;
242
- // TODO: add splitListener to all sqlParser implements and remove following if
243
- if ( ! splitListener ) return null ;
244
242
245
243
this . listen ( splitListener , this . _parseTree ) ;
246
244
@@ -264,8 +262,6 @@ export abstract class BasicSQL<
264
262
caretPosition : CaretPosition
265
263
) : Suggestions | null {
266
264
const splitListener = this . splitListener ;
267
- // TODO: add splitListener to all sqlParser implements and remove following if
268
- if ( ! splitListener ) return null ;
269
265
270
266
this . parseWithCache ( input ) ;
271
267
if ( ! this . _parseTree ) return null ;
@@ -391,10 +387,6 @@ export abstract class BasicSQL<
391
387
: void 0 ;
392
388
393
389
const collectListener = this . createEntityCollector ( input , caretTokenIndex ) ;
394
- // TODO: add entityCollector to all sqlParser implements and remove following if
395
- if ( ! collectListener ) {
396
- return null ;
397
- }
398
390
// const parser = this.createParserWithCache(input);
399
391
400
392
// parser.entityCollecting = true;
You can’t perform that action at this time.
0 commit comments