const std = @import("std"); const Self = @This(); content: []const u8, id: u32, await: bool, pub fn from(content: []const u8) Self { return .{ .content = content, .id = std.hash.XxHash32.hash(4654, content), .await = std.mem.startsWith(u8, content, "async ") or std.mem.startsWith(u8, content, "async("), }; }