Module ra_ap_hir_def::child_by_source

source ·
Expand description

When constructing hir, we start at some parent syntax node and recursively lower the children.

This module allows one to go in the opposite direction: start with a syntax node for a child, and get its hir.

Traits§