aboutsummaryrefslogtreecommitdiff
path: root/src/js_ast.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-12-15 15:16:53 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-12-15 15:16:53 -0800
commit62fb5ea9e396c5296f845d32f1aae5629fbf5836 (patch)
treeb65c610b98ab6301a96b6180b064a89fcb49f4cc /src/js_ast.zig
parenta6ec858750a8a4c19b0bc94ecec00955f8b523c4 (diff)
downloadbun-jarred/live-bindings.tar.gz
bun-jarred/live-bindings.tar.zst
bun-jarred/live-bindings.zip
wip fix live bindingsjarred/live-bindings
Diffstat (limited to 'src/js_ast.zig')
-rw-r--r--src/js_ast.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/js_ast.zig b/src/js_ast.zig
index e926ae3b7..73ddac0f4 100644
--- a/src/js_ast.zig
+++ b/src/js_ast.zig
@@ -417,6 +417,7 @@ pub const G = struct {
pub const NamespaceAlias = struct {
namespace_ref: Ref,
alias: string,
+ import_record_index: u32 = std.math.maxInt(u32),
};
pub const ExportStarAlias = struct {
@@ -974,6 +975,8 @@ pub const E = struct {
// false, this could potentially have been a member access expression such
// as "ns.foo" off of an imported namespace object.
was_originally_identifier: bool = false,
+
+ was_from_macro: bool = false,
};
// This is similar to EIdentifier but it represents class-private fields and