react-code-dataset / next.js /turbopack /crates /turbopack-ecmascript /tests /analyzer /graph /esbuild-reduced /graph-effects.snapshot
| [ | |
| Call { | |
| func: Variable( | |
| ( | |
| "generateBinPath", | |
| #2, | |
| ), | |
| ), | |
| args: [], | |
| ast_path: [ | |
| Program( | |
| Script, | |
| ), | |
| Script( | |
| Body( | |
| 5, | |
| ), | |
| ), | |
| Stmt( | |
| Decl, | |
| ), | |
| Decl( | |
| Var, | |
| ), | |
| VarDecl( | |
| Decls( | |
| 0, | |
| ), | |
| ), | |
| VarDeclarator( | |
| Init, | |
| ), | |
| Expr( | |
| Call, | |
| ), | |
| ], | |
| span: 598..615, | |
| in_try: false, | |
| new: false, | |
| }, | |
| FreeVar { | |
| var: FreeVar( | |
| "require", | |
| ), | |
| ast_path: [ | |
| Program( | |
| Script, | |
| ), | |
| Script( | |
| Body( | |
| 0, | |
| ), | |
| ), | |
| Stmt( | |
| Decl, | |
| ), | |
| Decl( | |
| Var, | |
| ), | |
| VarDecl( | |
| Decls( | |
| 0, | |
| ), | |
| ), | |
| VarDeclarator( | |
| Init, | |
| ), | |
| Expr( | |
| Call, | |
| ), | |
| CallExpr( | |
| Callee, | |
| ), | |
| Callee( | |
| Expr, | |
| ), | |
| Expr( | |
| Ident, | |
| ), | |
| ], | |
| span: 12..19, | |
| in_try: false, | |
| }, | |
| Call { | |
| func: FreeVar( | |
| "require", | |
| ), | |
| args: [ | |
| Value( | |
| Constant( | |
| Str( | |
| Atom( | |
| "path", | |
| ), | |
| ), | |
| ), | |
| ), | |
| ], | |
| ast_path: [ | |
| Program( | |
| Script, | |
| ), | |
| Script( | |
| Body( | |
| 0, | |
| ), | |
| ), | |
| Stmt( | |
| Decl, | |
| ), | |
| Decl( | |
| Var, | |
| ), | |
| VarDecl( | |
| Decls( | |
| 0, | |
| ), | |
| ), | |
| VarDeclarator( | |
| Init, | |
| ), | |
| Expr( | |
| Call, | |
| ), | |
| ], | |
| span: 12..27, | |
| in_try: false, | |
| new: false, | |
| }, | |
| FreeVar { | |
| var: FreeVar( | |
| "require", | |
| ), | |
| ast_path: [ | |
| Program( | |
| Script, | |
| ), | |
| Script( | |
| Body( | |
| 1, | |
| ), | |
| ), | |
| Stmt( | |
| Decl, | |
| ), | |
| Decl( | |
| Var, | |
| ), | |
| VarDecl( | |
| Decls( | |
| 0, | |
| ), | |
| ), | |
| VarDeclarator( | |
| Init, | |
| ), | |
| Expr( | |
| Call, | |
| ), | |
| CallExpr( | |
| Callee, | |
| ), | |
| Callee( | |
| Expr, | |
| ), | |
| Expr( | |
| Ident, | |
| ), | |
| ], | |
| span: 41..48, | |
| in_try: false, | |
| }, | |
| Call { | |
| func: FreeVar( | |
| "require", | |
| ), | |
| args: [ | |
| Value( | |
| Constant( | |
| Str( | |
| Atom( | |
| "path", | |
| ), | |
| ), | |
| ), | |
| ), | |
| ], | |
| ast_path: [ | |
| Program( | |
| Script, | |
| ), | |
| Script( | |
| Body( | |
| 1, | |
| ), | |
| ), | |
| Stmt( | |
| Decl, | |
| ), | |
| Decl( | |
| Var, | |
| ), | |
| VarDecl( | |
| Decls( | |
| 0, | |
| ), | |
| ), | |
| VarDeclarator( | |
| Init, | |
| ), | |
| Expr( | |
| Call, | |
| ), | |
| ], | |
| span: 41..56, | |
| in_try: false, | |
| new: false, | |
| }, | |
| Member { | |
| obj: Variable( | |
| ( | |
| "knownWindowsPackages", | |
| #2, | |
| ), | |
| ), | |
| prop: FreeVar( | |
| "platformKey", | |
| ), | |
| ast_path: [ | |
| Program( | |
| Script, | |
| ), | |
| Script( | |
| Body( | |
| 3, | |
| ), | |
| ), | |
| Stmt( | |
| Decl, | |
| ), | |
| Decl( | |
| Fn, | |
| ), | |
| FnDecl( | |
| Function, | |
| ), | |
| Function( | |
| Body, | |
| ), | |
| BlockStmt( | |
| Stmts( | |
| 2, | |
| ), | |
| ), | |
| Stmt( | |
| Expr, | |
| ), | |
| ExprStmt( | |
| Expr, | |
| ), | |
| Expr( | |
| Assign, | |
| ), | |
| AssignExpr( | |
| Right, | |
| ), | |
| Expr( | |
| Member, | |
| ), | |
| ], | |
| span: 296..329, | |
| in_try: false, | |
| }, | |
| FreeVar { | |
| var: FreeVar( | |
| "platformKey", | |
| ), | |
| ast_path: [ | |
| Program( | |
| Script, | |
| ), | |
| Script( | |
| Body( | |
| 3, | |
| ), | |
| ), | |
| Stmt( | |
| Decl, | |
| ), | |
| Decl( | |
| Fn, | |
| ), | |
| FnDecl( | |
| Function, | |
| ), | |
| Function( | |
| Body, | |
| ), | |
| BlockStmt( | |
| Stmts( | |
| 2, | |
| ), | |
| ), | |
| Stmt( | |
| Expr, | |
| ), | |
| ExprStmt( | |
| Expr, | |
| ), | |
| Expr( | |
| Assign, | |
| ), | |
| AssignExpr( | |
| Right, | |
| ), | |
| Expr( | |
| Member, | |
| ), | |
| MemberExpr( | |
| Prop, | |
| ), | |
| MemberProp( | |
| Computed, | |
| ), | |
| ComputedPropName( | |
| Expr, | |
| ), | |
| Expr( | |
| Ident, | |
| ), | |
| ], | |
| span: 317..328, | |
| in_try: false, | |
| }, | |
| Unreachable { | |
| start_ast_path: [ | |
| Program( | |
| Script, | |
| ), | |
| Script( | |
| Body( | |
| 3, | |
| ), | |
| ), | |
| Stmt( | |
| Decl, | |
| ), | |
| Decl( | |
| Fn, | |
| ), | |
| FnDecl( | |
| Function, | |
| ), | |
| Function( | |
| Body, | |
| ), | |
| BlockStmt( | |
| Stmts( | |
| 4, | |
| ), | |
| ), | |
| Stmt( | |
| Return, | |
| ), | |
| ], | |
| }, | |
| Call { | |
| func: Variable( | |
| ( | |
| "pkgAndSubpathForCurrentPlatform", | |
| #2, | |
| ), | |
| ), | |
| args: [], | |
| ast_path: [ | |
| Program( | |
| Script, | |
| ), | |
| Script( | |
| Body( | |
| 4, | |
| ), | |
| ), | |
| Stmt( | |
| Decl, | |
| ), | |
| Decl( | |
| Fn, | |
| ), | |
| FnDecl( | |
| Function, | |
| ), | |
| Function( | |
| Body, | |
| ), | |
| BlockStmt( | |
| Stmts( | |
| 0, | |
| ), | |
| ), | |
| Stmt( | |
| Decl, | |
| ), | |
| Decl( | |
| Var, | |
| ), | |
| VarDecl( | |
| Decls( | |
| 0, | |
| ), | |
| ), | |
| VarDeclarator( | |
| Init, | |
| ), | |
| Expr( | |
| Call, | |
| ), | |
| ], | |
| span: 443..476, | |
| in_try: false, | |
| new: false, | |
| }, | |
| Member { | |
| obj: FreeVar( | |
| "require", | |
| ), | |
| prop: Constant( | |
| Str( | |
| Atom( | |
| "resolve", | |
| ), | |
| ), | |
| ), | |
| ast_path: [ | |
| Program( | |
| Script, | |
| ), | |
| Script( | |
| Body( | |
| 4, | |
| ), | |
| ), | |
| Stmt( | |
| Decl, | |
| ), | |
| Decl( | |
| Fn, | |
| ), | |
| FnDecl( | |
| Function, | |
| ), | |
| Function( | |
| Body, | |
| ), | |
| BlockStmt( | |
| Stmts( | |
| 2, | |
| ), | |
| ), | |
| Stmt( | |
| Try, | |
| ), | |
| TryStmt( | |
| Block, | |
| ), | |
| BlockStmt( | |
| Stmts( | |
| 0, | |
| ), | |
| ), | |
| Stmt( | |
| Expr, | |
| ), | |
| ExprStmt( | |
| Expr, | |
| ), | |
| Expr( | |
| Assign, | |
| ), | |
| AssignExpr( | |
| Right, | |
| ), | |
| Expr( | |
| Call, | |
| ), | |
| CallExpr( | |
| Callee, | |
| ), | |
| Callee( | |
| Expr, | |
| ), | |
| Expr( | |
| Member, | |
| ), | |
| ], | |
| span: 515..530, | |
| in_try: true, | |
| }, | |
| FreeVar { | |
| var: FreeVar( | |
| "require", | |
| ), | |
| ast_path: [ | |
| Program( | |
| Script, | |
| ), | |
| Script( | |
| Body( | |
| 4, | |
| ), | |
| ), | |
| Stmt( | |
| Decl, | |
| ), | |
| Decl( | |
| Fn, | |
| ), | |
| FnDecl( | |
| Function, | |
| ), | |
| Function( | |
| Body, | |
| ), | |
| BlockStmt( | |
| Stmts( | |
| 2, | |
| ), | |
| ), | |
| Stmt( | |
| Try, | |
| ), | |
| TryStmt( | |
| Block, | |
| ), | |
| BlockStmt( | |
| Stmts( | |
| 0, | |
| ), | |
| ), | |
| Stmt( | |
| Expr, | |
| ), | |
| ExprStmt( | |
| Expr, | |
| ), | |
| Expr( | |
| Assign, | |
| ), | |
| AssignExpr( | |
| Right, | |
| ), | |
| Expr( | |
| Call, | |
| ), | |
| CallExpr( | |
| Callee, | |
| ), | |
| Callee( | |
| Expr, | |
| ), | |
| Expr( | |
| Member, | |
| ), | |
| MemberExpr( | |
| Obj, | |
| ), | |
| Expr( | |
| Ident, | |
| ), | |
| ], | |
| span: 515..522, | |
| in_try: true, | |
| }, | |
| MemberCall { | |
| obj: FreeVar( | |
| "require", | |
| ), | |
| prop: Constant( | |
| Str( | |
| Atom( | |
| "resolve", | |
| ), | |
| ), | |
| ), | |
| args: [ | |
| Value( | |
| Concat( | |
| 4, | |
| [ | |
| Variable( | |
| ( | |
| "pkg", | |
| #4, | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "/", | |
| ), | |
| ), | |
| ), | |
| Variable( | |
| ( | |
| "subpath", | |
| #4, | |
| ), | |
| ), | |
| ], | |
| ), | |
| ), | |
| ], | |
| ast_path: [ | |
| Program( | |
| Script, | |
| ), | |
| Script( | |
| Body( | |
| 4, | |
| ), | |
| ), | |
| Stmt( | |
| Decl, | |
| ), | |
| Decl( | |
| Fn, | |
| ), | |
| FnDecl( | |
| Function, | |
| ), | |
| Function( | |
| Body, | |
| ), | |
| BlockStmt( | |
| Stmts( | |
| 2, | |
| ), | |
| ), | |
| Stmt( | |
| Try, | |
| ), | |
| TryStmt( | |
| Block, | |
| ), | |
| BlockStmt( | |
| Stmts( | |
| 0, | |
| ), | |
| ), | |
| Stmt( | |
| Expr, | |
| ), | |
| ExprStmt( | |
| Expr, | |
| ), | |
| Expr( | |
| Assign, | |
| ), | |
| AssignExpr( | |
| Right, | |
| ), | |
| Expr( | |
| Call, | |
| ), | |
| ], | |
| span: 515..551, | |
| in_try: true, | |
| new: false, | |
| }, | |
| Unreachable { | |
| start_ast_path: [ | |
| Program( | |
| Script, | |
| ), | |
| Script( | |
| Body( | |
| 4, | |
| ), | |
| ), | |
| Stmt( | |
| Decl, | |
| ), | |
| Decl( | |
| Fn, | |
| ), | |
| FnDecl( | |
| Function, | |
| ), | |
| Function( | |
| Body, | |
| ), | |
| BlockStmt( | |
| Stmts( | |
| 3, | |
| ), | |
| ), | |
| Stmt( | |
| Return, | |
| ), | |
| ], | |
| }, | |
| ] | |