fn isValidIdentifier(id: []const u8) bool
fn isValidIdentifier(id: []const u8) bool { for (id, 0..) |byte, index| switch (byte) { '$', '-', '.', 'A'...'Z', '_', 'a'...'z' => {}, '0'...'9' => if (index == 0) return false, else => return false, }; return true; }