dart-sdk/pkg/vm
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 [vm/kernel_service] Fix native_assets.yaml discovery 2023-02-27 16:49:25 +00:00
lib [kernel] Add VariableDeclaration.isSynthesized 2023-03-10 11:13:36 +00:00
test [tfa,dart2wasm] Create separate class for each record shape in TFA 2023-03-07 18:06:42 +00:00
testcases/transformations [kernel] Add VariableDeclaration.isSynthesized 2023-03-10 11:13:36 +00:00
tool Enable patterns in IL comparison tests on Windows 2023-03-10 01:14:18 +00:00
analysis_options.yaml [pkg/vm] analyze using package:lints 2022-07-07 23:22:49 +00:00
LICENSE
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
pubspec.yaml [pkg/vm] Initial work on constant operating system fields and getters. 2023-02-10 16:29:50 +00:00
README.md

This package hosts VM specific Dart code and helper scripts.