dart-sdk/pkg/nnbd_migration/lib
Paul Berry 99919c69ba Flow analysis: Separate variable and type operations.
This change moves the `variableType` method from the class
`TypeOperations` to a new class, `VariableOperations`, which in turn
allows removing the type parameter `Variable` parameter from
`TypeOperations`.  A new class, `Operations`, is introduced to serve
the role served previously by `TypeOperations` for flow analysis
clients (i.e. it is the base class that clients should extend).

This paves the way for a future CL that will remove the type parameter
`Variable` from other classes inside flow analysis.

Bug: https://github.com/dart-lang/language/issues/2020
Change-Id: Ic45d07a0f873b692fda4b6f807c1130ac592b010
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250108
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2022-07-01 14:13:20 +00:00
..
src Flow analysis: Separate variable and type operations. 2022-07-01 14:13:20 +00:00
fix_reason_target.dart Remove extra hashCode in Object.hash(). 2021-10-14 15:20:12 +00:00
instrumentation.dart [analysis_server] Make CompilationUnitElement.lineInfo non-nullable 2022-03-10 00:19:15 +00:00
migration_cli.dart Apply file changes between (not during) other operations. 2022-03-09 18:16:45 +00:00
nnbd_migration.dart Remove "nnbd" nomenclature from the migration tool 2022-06-08 22:20:24 +00:00
nullability_state.dart Migration: remove postportem file capability 2021-06-16 16:34:37 +00:00