Refactor Zig imports and file structure (part 1) (#21270)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
taylor.fish
2025-07-22 17:51:38 -07:00
committed by GitHub
parent 73d92c7518
commit 07cd45deae
564 changed files with 9917 additions and 9697 deletions

View File

@@ -345,7 +345,7 @@ pub const BufferedWriter = struct {
return pending.len;
}
const E = bun.JSAst.E;
const E = bun.ast.E;
/// Write a E.String to the buffer.
/// This automatically encodes UTF-16 into UTF-8 using
@@ -455,10 +455,11 @@ pub fn writeAll(self: *MutableString, bytes: string) Allocator.Error!usize {
return bytes.len;
}
const string = []const u8;
const std = @import("std");
const Allocator = std.mem.Allocator;
const bun = @import("bun");
const js_lexer = bun.js_lexer;
const string = bun.string;
const strings = bun.strings;