dart-sdk/runtime
Johnni Winther 04e6f4c282 [kernel] Add VariableDeclaration.isSynthesized
This adds an [isSynthesized] flag to the [VariableDeclaration] the
signal when the variable doesn't correspond to a variable in the
source code.

The name of a variable can only be `null` if it is synthesized.

Partially in response to
https://github.com/dart-lang/sdk/issues/51554

TEST=existing

Change-Id: I94591971f11da09d210c8b25a2d05e22ca05dc62
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/286961
Reviewed-by: Joshua Litt <joshualitt@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2023-03-10 11:13:36 +00:00
..
bin
docs
include
lib [vm/regexp] Name generated Regexp function with actual expression. 2023-03-09 03:49:58 +00:00
observatory
observatory_2
platform
tests [vm/compiler] Keep and propagate static types during local type propagation 2023-03-09 21:18:49 +00:00
third_party
tools Update SDK constraints for SDK packages. 2023-03-09 19:52:47 +00:00
vm [kernel] Add VariableDeclaration.isSynthesized 2023-03-10 11:13:36 +00:00
.clang-tidy
.gitignore
BUILD.gn
codereview.settings
configs.gni
CPPLINT.cfg
OWNERS
PRESUBMIT.py
runtime_args.gni