That is, it generates a string concatenation (BinaryConcatExpression) from strings that contain dynamic expressions. This destroys the information if the original input was a string containing expressions, or if the original input was already a concatenation expression using ~. However, this information can be useful for pretty printers.
This PR adds the boolean isMelodyGenerated to those string concatenations that were generated by this Parser.
What changed in this PR:
The Parser turns
into
That is, it generates a string concatenation (BinaryConcatExpression) from strings that contain dynamic expressions. This destroys the information if the original input was a string containing expressions, or if the original input was already a concatenation expression using
~
. However, this information can be useful for pretty printers.This PR adds the boolean
isMelodyGenerated
to those string concatenations that were generated by this Parser.