Can we have two versions(deprecated old one and new) of the same node? #35545
Labels
Area/SyntaxAPI
Ballerina syntax API related issues #Compiler
IceBox
Older issues that are not being actively worked on but may be revisited in the future.
Team/CompilerFE
All issues related to Language implementation and Compiler, this exclude run times.
Type/Task
Description:
$subject.
We can have the two nodes with an is-a relationship.
e.g. Renaming
BracedExpressionNode
toParenthesisedExpressionNode
BracedExpressionNode extends ParenthesisedExpressionNode
BracedExpressionNode
methods to consumeParenthesisedExpressionNode
methods underneath. If the method names also have changed.Need to evaluate if this causes a lot of complications with treeModifiers, transformers, etc.
Also, we need to find a way to allow it via treegen.
The text was updated successfully, but these errors were encountered: