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

Side by Side Diff: lib/runtime/dart/convert.js

Issue 1182653002: Refactor runtime into libraries, better type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Eliminate top level libraries from loader Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 dart.library('dart/convert', null, /* Imports */[ 1 loader.library('dart/convert', null, /* Imports */[
2 "dart/dart_runtime",
3 "dart/dartx",
2 'dart/core', 4 'dart/core',
3 'dart/async', 5 'dart/async',
4 'dart/typed_data', 6 'dart/typed_data',
5 'dart/_internal', 7 'dart/_internal',
6 'dart/collection' 8 'dart/collection'
7 ], /* Lazy imports */[ 9 ], /* Lazy imports */[
8 ], function(exports, core, async, typed_data, _internal, collection) { 10 ], function(exports, dart, dartx, core, async, typed_data, _internal, collection ) {
9 'use strict'; 11 'use strict';
10 let Codec$ = dart.generic(function(S, T) { 12 let Codec$ = dart.generic(function(S, T) {
11 class Codec extends core.Object { 13 class Codec extends core.Object {
12 Codec() { 14 Codec() {
13 } 15 }
14 encode(input) { 16 encode(input) {
15 dart.as(input, S); 17 dart.as(input, S);
16 return this.encoder.convert(input); 18 return this.encoder.convert(input);
17 } 19 }
18 decode(encoded) { 20 decode(encoded) {
(...skipping 2873 matching lines...) Expand 10 before | Expand all | Expand 10 after
2892 exports.LineSplitter = LineSplitter; 2894 exports.LineSplitter = LineSplitter;
2893 exports.StringConversionSink = StringConversionSink; 2895 exports.StringConversionSink = StringConversionSink;
2894 exports.ClosableStringSink = ClosableStringSink; 2896 exports.ClosableStringSink = ClosableStringSink;
2895 exports.UNICODE_REPLACEMENT_CHARACTER_RUNE = UNICODE_REPLACEMENT_CHARACTER_RUN E; 2897 exports.UNICODE_REPLACEMENT_CHARACTER_RUNE = UNICODE_REPLACEMENT_CHARACTER_RUN E;
2896 exports.UNICODE_BOM_CHARACTER_RUNE = UNICODE_BOM_CHARACTER_RUNE; 2898 exports.UNICODE_BOM_CHARACTER_RUNE = UNICODE_BOM_CHARACTER_RUNE;
2897 exports.Utf8Codec = Utf8Codec; 2899 exports.Utf8Codec = Utf8Codec;
2898 exports.UTF8 = UTF8; 2900 exports.UTF8 = UTF8;
2899 exports.Utf8Encoder = Utf8Encoder; 2901 exports.Utf8Encoder = Utf8Encoder;
2900 exports.Utf8Decoder = Utf8Decoder; 2902 exports.Utf8Decoder = Utf8Decoder;
2901 }); 2903 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698