Skip to content

script.declareVersion() #1931

@pmcelhaney

Description

@pmcelhaney

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions