File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -231,8 +231,6 @@ export abstract class BasicSQL<
231
231
return null ;
232
232
}
233
233
const splitListener = this . splitListener ;
234
- // TODO: add splitListener to all sqlParser implements and remove following if
235
- if ( ! splitListener ) return null ;
236
234
237
235
this . listen ( splitListener , this . _parseTree ) ;
238
236
@@ -256,8 +254,6 @@ export abstract class BasicSQL<
256
254
caretPosition : CaretPosition
257
255
) : Suggestions | null {
258
256
const splitListener = this . splitListener ;
259
- // TODO: add splitListener to all sqlParser implements and remove following if
260
- if ( ! splitListener ) return null ;
261
257
262
258
this . parseWithCache ( input ) ;
263
259
if ( ! this . _parseTree ) return null ;
@@ -383,10 +379,6 @@ export abstract class BasicSQL<
383
379
: void 0 ;
384
380
385
381
const collectListener = this . createEntityCollector ( input , caretTokenIndex ) ;
386
- // TODO: add entityCollector to all sqlParser implements and remove following if
387
- if ( ! collectListener ) {
388
- return null ;
389
- }
390
382
// const parser = this.createParserWithCache(input);
391
383
392
384
// parser.entityCollecting = true;
You can’t perform that action at this time.
0 commit comments