(entry)
| 582 | // A vendor entry carries its namespace so the schema projector can file it under |
| 583 | // `vendor.<namespace>`; spec entries carry none, so a vendor-free AST yields the same model. |
| 584 | const provenance = (entry) => (entry.vendor ? { vendor: entry.vendor } : {}) |
| 585 | |
| 586 | for (const c of extractCommands(ast)) { |
| 587 | const result = c.cddlName + 'Result' |