dart-sdk/pkg/dart_internal
Bob Nystrom 03c8767f73 Here's a start at exposing an API to address https://github.com/dart-lang/sdk/issues/31371.
There is no actual implementation here yet (that's your job :) ), but there is:

- An external method in dart:_internal, extractTypeArguments().
- Empty patch methods for that for the VM, dart2js, and DDC. These need to have implementations
  filled in.
- A "dart_internal" package to expose a subset of the API. It gives you:

    extractListTypeArgument()
    extractMapTypeArguments()

  We'll bring this into Google, but not publish it externally unless we find we really need to.
- A test for the behavior. It probably has bugs since I can't run it.

See: https://github.com/dart-lang/sdk/issues/31371
Change-Id: I7d9f9a3a36f8e8be106440375c80d584898c83cb
Reviewed-on: https://dart-review.googlesource.com/26467
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Régis Crelier <regis@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
Reviewed-by: Vijay Menon <vsm@google.com>
2017-12-08 21:57:00 +00:00
..
lib Here's a start at exposing an API to address https://github.com/dart-lang/sdk/issues/31371. 2017-12-08 21:57:00 +00:00
analysis_options.yaml Here's a start at exposing an API to address https://github.com/dart-lang/sdk/issues/31371. 2017-12-08 21:57:00 +00:00
LICENSE Here's a start at exposing an API to address https://github.com/dart-lang/sdk/issues/31371. 2017-12-08 21:57:00 +00:00
pubspec.yaml Here's a start at exposing an API to address https://github.com/dart-lang/sdk/issues/31371. 2017-12-08 21:57:00 +00:00