IETS3 / iets3.opensource

Open Source Parts of IETS3
Apache License 2.0
44 stars 22 forks source link

Make it possible to customize where hex values are enabled #1121

Closed alexanderpann closed 6 days ago

alexanderpann commented 1 week ago

With PrimitiveTypeMapper#filterHexadecimalSupportingNodes you can now enable/disable them for specific nodes.

arimer commented 1 week ago

Are those changes really only relevant for master?

alexanderpann commented 1 week ago

A customer wants to active hex values but needs more customization options. The feature itself was introduced on maintenance/mps20223 in case we also need it there. They want to, for example, only enable the feature for number literals but not for ranges.