refactor: move findCaretTokenIndex file to parser/common/utils
This commit is contained in:
parent
96b0376510
commit
eb5b0a5550
@ -9,7 +9,7 @@ import {
|
||||
} from 'antlr4ts';
|
||||
import { ParseTreeWalker, ParseTreeListener } from 'antlr4ts/tree';
|
||||
import { CandidatesCollection, CodeCompletionCore } from 'antlr4-c3';
|
||||
import { findCaretTokenIndex } from '../../utils/findCaretTokenIndex';
|
||||
import { findCaretTokenIndex } from './utils/findCaretTokenIndex';
|
||||
import {
|
||||
CaretPosition,
|
||||
Suggestions,
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Token } from 'antlr4ts';
|
||||
import { CaretPosition } from '../parser/common/basic-parser-types';
|
||||
import { CaretPosition } from '../basic-parser-types';
|
||||
|
||||
/**
|
||||
* find token index via caret position (cursor position)
|
Loading…
Reference in New Issue
Block a user