react-code-dataset
/
next.js
/turbopack
/crates
/turbopack-ecmascript
/tests
/analyzer
/graph
/path-join
/graph.snapshot
| [ | |
| ( | |
| "a", | |
| Call( | |
| 3, | |
| FreeVar( | |
| "require", | |
| ), | |
| [ | |
| Constant( | |
| Str( | |
| Atom( | |
| "foo", | |
| ), | |
| ), | |
| ), | |
| ], | |
| ), | |
| ), | |
| ( | |
| "p1", | |
| Call( | |
| 3, | |
| FreeVar( | |
| "require", | |
| ), | |
| [ | |
| Constant( | |
| Str( | |
| Atom( | |
| "path", | |
| ), | |
| ), | |
| ), | |
| ], | |
| ), | |
| ), | |
| ( | |
| "path", | |
| Call( | |
| 3, | |
| FreeVar( | |
| "require", | |
| ), | |
| [ | |
| Constant( | |
| Str( | |
| Atom( | |
| "path", | |
| ), | |
| ), | |
| ), | |
| ], | |
| ), | |
| ), | |
| ( | |
| "path_join1", | |
| Member( | |
| 3, | |
| Variable( | |
| ( | |
| "p1", | |
| #2, | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "join", | |
| ), | |
| ), | |
| ), | |
| ), | |
| ), | |
| ( | |
| "path_join2", | |
| Member( | |
| 5, | |
| Member( | |
| 3, | |
| Module( | |
| ModuleValue { | |
| module: "path", | |
| annotations: ImportAnnotations { | |
| map: {}, | |
| }, | |
| }, | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "default", | |
| ), | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "join", | |
| ), | |
| ), | |
| ), | |
| ), | |
| ), | |
| ( | |
| "path_join3", | |
| Member( | |
| 3, | |
| Module( | |
| ModuleValue { | |
| module: "path", | |
| annotations: ImportAnnotations { | |
| map: {}, | |
| }, | |
| }, | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "join", | |
| ), | |
| ), | |
| ), | |
| ), | |
| ), | |
| ( | |
| "path_join4", | |
| Member( | |
| 6, | |
| Awaited( | |
| 4, | |
| Call( | |
| 3, | |
| FreeVar( | |
| "import", | |
| ), | |
| [ | |
| Constant( | |
| Str( | |
| Atom( | |
| "path", | |
| ), | |
| ), | |
| ), | |
| ], | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "join", | |
| ), | |
| ), | |
| ), | |
| ), | |
| ), | |
| ( | |
| "z1_joined", | |
| MemberCall( | |
| 5, | |
| Variable( | |
| ( | |
| "path", | |
| #2, | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "join", | |
| ), | |
| ), | |
| ), | |
| [ | |
| Constant( | |
| Str( | |
| Atom( | |
| "foo", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "bar", | |
| ), | |
| ), | |
| ), | |
| ], | |
| ), | |
| ), | |
| ( | |
| "z2_joined", | |
| MemberCall( | |
| 5, | |
| Variable( | |
| ( | |
| "path", | |
| #2, | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "join", | |
| ), | |
| ), | |
| ), | |
| [ | |
| Constant( | |
| Str( | |
| Atom( | |
| "foo/", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "bar", | |
| ), | |
| ), | |
| ), | |
| ], | |
| ), | |
| ), | |
| ( | |
| "z3_joined", | |
| MemberCall( | |
| 5, | |
| Variable( | |
| ( | |
| "path", | |
| #2, | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "join", | |
| ), | |
| ), | |
| ), | |
| [ | |
| Constant( | |
| Str( | |
| Atom( | |
| "foo", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "/bar", | |
| ), | |
| ), | |
| ), | |
| ], | |
| ), | |
| ), | |
| ( | |
| "z4_joined", | |
| MemberCall( | |
| 5, | |
| Variable( | |
| ( | |
| "path", | |
| #2, | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "join", | |
| ), | |
| ), | |
| ), | |
| [ | |
| Constant( | |
| Str( | |
| Atom( | |
| "foo/", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "/bar", | |
| ), | |
| ), | |
| ), | |
| ], | |
| ), | |
| ), | |
| ( | |
| "z5_joined", | |
| MemberCall( | |
| 10, | |
| Variable( | |
| ( | |
| "path", | |
| #2, | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "join", | |
| ), | |
| ), | |
| ), | |
| [ | |
| Constant( | |
| Str( | |
| Atom( | |
| "foo", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "bar", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "..", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "baz", | |
| ), | |
| ), | |
| ), | |
| FreeVar( | |
| "global", | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "..", | |
| ), | |
| ), | |
| ), | |
| Constant( | |
| Str( | |
| Atom( | |
| "foo", | |
| ), | |
| ), | |
| ), | |
| ], | |
| ), | |
| ), | |
| ] | |