aboutsummaryrefslogtreecommitdiff
path: root/src/js_ast.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/js_ast.zig')
-rw-r--r--src/js_ast.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/js_ast.zig b/src/js_ast.zig
index 0cbdc0bda..9602f42ab 100644
--- a/src/js_ast.zig
+++ b/src/js_ast.zig
@@ -2779,6 +2779,11 @@ pub const Part = struct {
is_live: bool = false,
};
+pub const Result = struct {
+ ast: Ast,
+ ok: bool = false,
+};
+
pub const StmtOrExpr = union(enum) {
stmt: StmtNodeIndex,
expr: ExprNodeIndex,