mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-24 13:10:07 +00:00
refactor: prepare for linting on syntaxes (#1640)
* refactor: for query * refactor: for diag * feat: lazy hash expr info * feat: hash resolves * fix: update snapshot
This commit is contained in:
parent
01afa463f4
commit
054d3aecc0
18 changed files with 261 additions and 241 deletions
|
|
@ -309,7 +309,7 @@ pub(crate) struct Tokenizer {
|
|||
pos_offset: usize,
|
||||
output: Vec<SemanticToken>,
|
||||
source: Source,
|
||||
ei: Arc<ExprInfo>,
|
||||
ei: ExprInfo,
|
||||
encoding: PositionEncoding,
|
||||
|
||||
allow_multiline_token: bool,
|
||||
|
|
@ -320,7 +320,7 @@ pub(crate) struct Tokenizer {
|
|||
impl Tokenizer {
|
||||
pub fn new(
|
||||
source: Source,
|
||||
ei: Arc<ExprInfo>,
|
||||
ei: ExprInfo,
|
||||
allow_multiline_token: bool,
|
||||
encoding: PositionEncoding,
|
||||
) -> Self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue