pub fn prepare_tree_node<'a>(
node: &'a TreeNode,
name: &str,
path: &str,
pattern_lookup: &HashMap<Vec<PatternField>, String>,
metadata: &ClientMetadata,
generated: &mut HashSet<String>,
) -> Option<TreeNodeContext<'a>>Expand description
Prepare a tree node for generation. Returns None if the node should be skipped (not a branch, already generated, or matches a parameterizable pattern).
The path parameter is the tree path to this node (e.g., “distribution/utxoCohorts”).
It’s used to look up pre-computed PatternBaseResult from the analysis phase.