jdeans289 / icg2

Interface Code Generator 2: Electric Boogaloo
Other
0 stars 2 forks source link

Break value dependency #15

Closed jdeans289 closed 1 year ago

jdeans289 commented 1 year ago

Refactor the DataTypes to prevent the classes from bulking up. Move all the methods that do things with a particular instance of the type into visitor algorithms.

jdeans289 commented 1 year ago

Decided not to completely break all the interaction between DataType and Value, but may still do it in the future. Definitely moved printValue into visitors.