SERVER-138331In Code Review
Codegen to create metrics structs (<file>_metrics_gen.h/cpp and metrics_sections.idl)
h2. Overview The IDL-compiler slice of the unified metrics framework (epic SPM-4962): a milestone-1 grammar subset with codegen for metrics structs, the section catalog, and serverStatus rendering. Constructs from later milestones are hard parse errors, so nothing is silently ignored. h3. Grammar * Three top-level blocks: {{metrics_section}}, {{metrics_structs}}, and {{metrics}} (a fragment attached to a section root). * Node forms: leaf ({{kind}} + {{cpp_type}}), group ({{fields}}), and moun