pub fn write_metrics(node: &mut Node, m: &FileMetrics)Expand description
Write the metric attributes for one file node from a computed FileMetrics.
Each value is dropped at its omit_at ([metric_omit_at]); the LOC block is
gated on sloc > 0 and the Halstead block on volume > 0. The same omit
values are published on the specs (metric_specs), so emission and the
declared spec never drift. Called by each language plugin after its engine
produces the values.