Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Unified Diff: test/dart_codegen/expect/convert/codec.dart

Issue 1148283010: Remove dart backend (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/dart_codegen/expect/convert/chunked_conversion.dart ('k') | test/dart_codegen/expect/convert/convert » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/convert/codec.dart
diff --git a/test/dart_codegen/expect/convert/codec.dart b/test/dart_codegen/expect/convert/codec.dart
deleted file mode 100644
index 62cebe0df484f0cae924d9e9d99fe683d86347a2..0000000000000000000000000000000000000000
--- a/test/dart_codegen/expect/convert/codec.dart
+++ /dev/null
@@ -1,31 +0,0 @@
-part of dart.convert;
- abstract class Codec<S, T> {const Codec();
- T encode(S input) => encoder.convert(input);
- S decode(T encoded) => decoder.convert(encoded);
- Converter<S, T> get encoder;
- Converter<T, S> get decoder;
- Codec<S, dynamic> fuse(Codec<T, dynamic> other) {
- return new _FusedCodec<S, T, dynamic>(this, other);
- }
- Codec<T, S> get inverted => new _InvertedCodec<T, S>(this);
-}
- class _FusedCodec<S, M, T> extends Codec<S, T> {final Codec<S, M> _first;
- final Codec<M, T> _second;
- Converter<S, T> get encoder => ((__x0) => DEVC$RT.cast(__x0, DEVC$RT.type((Converter<S, dynamic> _) {
-}
-), DEVC$RT.type((Converter<S, T> _) {
-}
-), "CompositeCast", """line 87, column 34 of dart:convert/codec.dart: """, __x0 is Converter<S, T>, false))(_first.encoder.fuse(_second.encoder));
- Converter<T, S> get decoder => ((__x1) => DEVC$RT.cast(__x1, DEVC$RT.type((Converter<T, dynamic> _) {
-}
-), DEVC$RT.type((Converter<T, S> _) {
-}
-), "CompositeCast", """line 88, column 34 of dart:convert/codec.dart: """, __x1 is Converter<T, S>, false))(_second.decoder.fuse(_first.decoder));
- _FusedCodec(this._first, this._second);
-}
- class _InvertedCodec<T, S> extends Codec<T, S> {final Codec<S, T> _codec;
- _InvertedCodec(Codec<S, T> codec) : _codec = codec;
- Converter<T, S> get encoder => _codec.decoder;
- Converter<S, T> get decoder => _codec.encoder;
- Codec<S, T> get inverted => _codec;
-}
« no previous file with comments | « test/dart_codegen/expect/convert/chunked_conversion.dart ('k') | test/dart_codegen/expect/convert/convert » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698