dart-sdk/pkg/_js_interop_checks
Srujan Gaddam 69221fe62a [pkg:js] Create mock in createStaticInteropMock
Bug: https://github.com/dart-lang/sdk/issues/49351

After static checks have passed, adds functionality for a JS
object literal to mock a @staticInterop class using a Dart
implementation. Fields, getters, setters, and methods' names are
added to the object literal, and their values are closures which
call the Dart mock's members.

Change-Id: Ie2ef27179eb79039d3aa28737b246c5091f4beb6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/257160
Reviewed-by: Riley Porter <rileyporter@google.com>
2022-09-16 20:13:30 +00:00
..
lib [pkg:js] Create mock in createStaticInteropMock 2022-09-16 20:13:30 +00:00
analysis_options.yaml [pkg] use package:lints for pkg/_js_interop_checks, pkg/js_runtime 2022-07-18 17:27:53 +00:00
LICENSE Update LICENSE 2021-04-07 10:28:38 +00:00
OWNERS Add OWNERS_WEB as owners of _js_interop_checks 2022-04-05 10:41:23 +00:00
pubspec.yaml [pkg:js] Add type/conformance checking for createStaticInteropMock 2022-09-16 20:13:30 +00:00
README.md

Shared kernel visitors checking for incorrect usage of @JS() style interop.