Hello community,
a stupid question besides:
Safe to say:The EVar Expression
EVars(vars:Array<Var>)
can be seen as the
"moment" of declaring a variable. And each
Var
object holds the type (if explicitely set), the identifier and the expression assign to it (if given).
Why does
EVars
then hold an
array of
Var
objects?
Why doesn't it simply hold a
single Var
object?
All use-cases I have tested on my own only return one item of that array (as assumed).
I want to be safe not to oversee important use-cases (or maybe even the obvious ;-) ...)
I want to build a code-inspector/ debugger that can show you all important informations available (and also filters them out, if they are not needed).
So, the coverage of possibly occuring cases is supposed not to become incomplete or to be programmed carelessly.
I would be glad, if someone could tell me the purpose/ advantage of that array holding
Var
objects.
In the worst case, I could blindly programm the inspector with my own assumptions, trusting that no unexpected behaviour would occur. But that would not be the ideal case.
I am looking forward to your answers.
Kind regards
Arnim