Re-factor: Change AstGen.ResultLoc to be a struct

This re-factor is intended to make it easier to track what kind of
operator/expression consumes a result location, without overloading the
ResultLoc union for this purpose.

This is used in the following commit to keep track of initializer
expressions of `const` variables to avoid popping error traces
pre-maturely. Hopefully this will also be useful for implementing
RLS temporaries in the future.
77720e30aaCody Tapscott committed on 10/21/2022, 6:22:46 PMparent724d753
2 files changedLine totals unavailable