diff --git a/src/parser/common/basicParser.ts b/src/parser/common/basicParser.ts index fdb69f6..be783a2 100644 --- a/src/parser/common/basicParser.ts +++ b/src/parser/common/basicParser.ts @@ -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, diff --git a/src/utils/findCaretTokenIndex.ts b/src/parser/common/utils/findCaretTokenIndex.ts similarity index 93% rename from src/utils/findCaretTokenIndex.ts rename to src/parser/common/utils/findCaretTokenIndex.ts index 74bbd3f..96dac29 100644 --- a/src/utils/findCaretTokenIndex.ts +++ b/src/parser/common/utils/findCaretTokenIndex.ts @@ -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)