move InternPool and encoding into analyser folder
This commit is contained in:
parent
829f4aa9c4
commit
95139e09ec
@ -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();
|
||||||
|
8
src/analyser/analyser.zig
Normal file
8
src/analyser/analyser.zig
Normal 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());
|
||||||
|
}
|
@ -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;
|
||||||
|
@ -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");
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user