tealish icon indicating copy to clipboard operation
tealish copied to clipboard

Refactor Statement and Expression node parent classes

Open barnjamin opened this issue 3 years ago • 0 comments

Since Statements and Expressions both inherit from BaseNode some issues arise in accessing attributes that are not defined in one or the other. We can change the inheritance structure to split the different Node types for better type information and prevent issues with inferring attribute availability.

See this comment for more: https://github.com/tinymanorg/tealish/pull/27#pullrequestreview-1206813701

barnjamin avatar Dec 06 '22 17:12 barnjamin