All syntax nodes should have a .text
property exposing the corresponding program text (sans trivia)
#2448
Labels
enhancement
New feature or request
Description
Apparently you can use
.description
to the the program text, but in general, one is not supposed to rely on the string representations of things being meaningful. There should be a dedicated API for getting the program text that is documented as such.The text was updated successfully, but these errors were encountered: