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