(node: VisitNode)
| 16 | impl NodeData { |
| 17 | #[inline] |
| 18 | pub(crate) fn from_query(node: VisitNode) -> Self { |
| 19 | let node_id = node.node_id.expect("NodeData only stores queryable nodes"); |
| 20 | Self { node_id, span: node.span, metadata: node.self_metadata(), properties: PropertyValues::from_query(&node) } |
| 21 | } |
| 22 | } |
nothing calls this directly
no test coverage detected