resolveBody ?? getChildByField(node, 'body') — the body-walk resolution.
(node: Node)
| 897 | |
| 898 | /// resolveBody ?? getChildByField(node, 'body') — the body-walk resolution. |
| 899 | fn body_of(node: Node) -> Option<Node> { |
| 900 | resolve_field_body(node).or_else(|| node.child_by_field_name("body")) |
| 901 | } |
| 902 | |
| 903 | fn opt_str(arena: &mut Arena, s: Option<&str>) -> StrRef { |
| 904 | match s { |
no test coverage detected