Introduce an explicit NodeConstraint type, for node type filtering
-
Rust: introduce an explicit NodeConstraint type, for node type filtering
-
Rust: port utils::parse_allowed_node_types() to constraint parsing
Note: we are not porting all downstream uses of this function to NodeConstraint, as it is quite far reaching in the code. But at least we are avoiding divergent parsing code in the future.