Is your feature request related to a problem? Please describe.
The name "data" is too generic, and "variable" expresses more closely what the datastructure resembles (information about a value declaration and/or assignment to a name). We already have a semantic hint that could express if the variable is actually a constant.
Describe the solution you'd like
N/A
Describe alternatives you've considered
"value", but it does not convey that information about the name of the value is available as well. Also a pure variable declaration with a type hint does not even have a value so in that case the name would make no sense at all.
Is your feature request related to a problem? Please describe.
The name "data" is too generic, and "variable" expresses more closely what the datastructure resembles (information about a value declaration and/or assignment to a name). We already have a semantic hint that could express if the variable is actually a constant.
Describe the solution you'd like
N/A
Describe alternatives you've considered