oxc/crates/oxc_semantic/tests/snapshots/cfg__cfg_files@conditional_expression.js-2.snap
Ali Rezvani 5e36e0d575
fix(semantic): add cfg nodes for ConditionalExpressions. (#3127)
It is done similarly to how `IfStatement`s are structured at the moment.
2024-05-10 22:16:55 +08:00

17 lines
363 B
Text

---
source: crates/oxc_semantic/tests/cfg.rs
expression: output.cfg_dot_diagram()
input_file: crates/oxc_semantic/tests/cfg_fixtures/conditional_expression.js
---
digraph {
0 [ label = ""]
1 [ label = ""]
2 [ label = ""]
3 [ label = ""]
4 [ label = "Unreachable()"]
3 -> 4 [ ]
1 -> 3 [ ]
0 -> 1 [ ]
0 -> 2 [ ]
2 -> 3 [ ]
}