refactor: move findCaretTokenIndex file to parser/common/utils
This commit is contained in:
		@ -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)
 | 
			
		||||
		Reference in New Issue
	
	Block a user