I have a tree representing a nested (Java)-switch-statement, so there are these nodes:
(:Switch {var_ref: <some_id>})
(:Case {test: <value>})
(:Value {value: <value>)
a switch may have many case-children. A case may have either a switch or a value c...