The Bindings model is a model of Key to Producer mappings (bindings). The central concept is that a Bindings is a nested structure of bindings. A top level Bindings should be a NamedBindings (the name is used primarily in error messages). A Key is a Type/Name combination.
TODO: In this version, references to “any object” uses the class Object,
but this is only temporary. The intent is to use specific Puppet Objects that are typed using the Puppet Type System (to enable serialization).
@see Puppet::Pops::Binder::BindingsFactory The BindingsFactory for more details on how to create model instances. @api public
Mix in implementation into the generated code
This declaration is used to overcome bugs in RGen. What is really wanted is an Opaque Object type that does not serialize its values, but such an type does not work when recreating the meta model from a dump. Instead, after loading the model, the generated code for type validation must be patched