pub fn build_node_with_remapped_ids<NMap, DMap>(
node_id: MastNodeId,
node: MastNode,
source_forest: &MastForest,
node_remapping: &NMap,
decorator_remapping: &DMap,
) -> Result<MastNodeBuilder, MastForestError>Expand description
Builds a node builder with remapped children and decorators using the provided mappings.
This is a generic helper used by both MastForestMerger and MastForestBuilder to avoid
code duplication when copying nodes between forests.