diff options
author | 2021-04-27 12:00:10 -0700 | |
---|---|---|
committer | 2021-04-27 12:00:10 -0700 | |
commit | 02fbb8e82a7f41c466b5156821c68af029ce4448 (patch) | |
tree | c3b07a06aff4fbe7e1c9db94194d3a3685b2f6ca /src/js_ast.zig | |
parent | 90a76bda39e16c9641579e88995139ec81aa75d0 (diff) | |
download | bun-02fbb8e82a7f41c466b5156821c68af029ce4448.tar.gz bun-02fbb8e82a7f41c466b5156821c68af029ce4448.tar.zst bun-02fbb8e82a7f41c466b5156821c68af029ce4448.zip |
json works in CLI sort of
Diffstat (limited to 'src/js_ast.zig')
-rw-r--r-- | src/js_ast.zig | 5 |
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, |