Add a new method to the Script class, declareVersion(coder, name).
It should work like export, adding some code to an internal Map called versions.
The key of the versions Map will be a string corresponding to the name. The value will be another Map with a key of version (taken from the coder) and value of the code generated by the coder.
The contents() method will declare a type named Versions whose value is the map of maps of types.
Add a new method to the Script class, declareVersion(coder, name).
It should work like export, adding some code to an internal Map called versions.
The key of the versions Map will be a string corresponding to the name. The value will be another Map with a key of version (taken from the coder) and value of the code generated by the coder.
The contents() method will declare a type named Versions whose value is the map of maps of types.