move InternPool and encoding into analyser folder

This commit is contained in:
Techatrix 2023-01-23 22:26:56 +01:00
parent 829f4aa9c4
commit 95139e09ec
7 changed files with 12 additions and 4 deletions

View File

@ -12,7 +12,7 @@ const analysis = @import("analysis.zig");
const offsets = @import("offsets.zig"); const offsets = @import("offsets.zig");
const DocumentStore = @import("DocumentStore.zig"); const DocumentStore = @import("DocumentStore.zig");
pub const InternPool = @import("InternPool.zig"); pub const InternPool = @import("analyser/InternPool.zig");
pub const Index = InternPool.Index; pub const Index = InternPool.Index;
pub const Key = InternPool.Key; pub const Key = InternPool.Key;
pub const ComptimeInterpreter = @This(); pub const ComptimeInterpreter = @This();

View File

@ -0,0 +1,8 @@
pub const completions = @import("completions.zig");
pub const InternPool = @import("InternPool.zig");
pub const encoding = @import("encoding.zig");
comptime {
const std = @import("std");
std.testing.refAllDecls(@This());
}

View File

@ -1,5 +1,5 @@
const std = @import("std"); const std = @import("std");
const InternPool = @import("../InternPool.zig"); const InternPool = @import("InternPool.zig");
const types = @import("../lsp.zig"); const types = @import("../lsp.zig");
const Ast = std.zig.Ast; const Ast = std.zig.Ast;

View File

@ -12,7 +12,7 @@ pub const types = @import("lsp.zig");
pub const URI = @import("uri.zig"); pub const URI = @import("uri.zig");
pub const DocumentStore = @import("DocumentStore.zig"); pub const DocumentStore = @import("DocumentStore.zig");
pub const ComptimeInterpreter = @import("ComptimeInterpreter.zig"); pub const ComptimeInterpreter = @import("ComptimeInterpreter.zig");
pub const InternPool = @import("InternPool.zig"); pub const analyser = @import("analyser/analyser.zig");
comptime { comptime {
const std = @import("std"); const std = @import("std");

View File

@ -5,7 +5,7 @@ const builtin = @import("builtin");
const Ast = std.zig.Ast; const Ast = std.zig.Ast;
const ComptimeInterpreter = zls.ComptimeInterpreter; const ComptimeInterpreter = zls.ComptimeInterpreter;
const InternPool = zls.InternPool; const InternPool = zls.analyser.InternPool;
const Index = InternPool.Index; const Index = InternPool.Index;
const Key = InternPool.Key; const Key = InternPool.Key;
const ast = zls.ast; const ast = zls.ast;