f17cf33c6d
These AST nodes were so far internal to the CFE, but since we need to move the pattern lowering to the constant evaluator we need to support them in the AST defined in package:kernel. TEST=existing Change-Id: Ie6c5f0f8ad75a866c5d965fdf506bc869ffaf654 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/288241 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com> Reviewed-by: Joshua Litt <joshualitt@google.com>
Conversion to a textual format.
The text format is currently very ad-hoc and there is no conversion back, but it's a pleasant way to view the IR.