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

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

Issue 1099743002: fix fields that override getters/setters (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged Created 5 years, 8 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
« no previous file with comments | « lib/runtime/dart/collection.js ('k') | lib/runtime/dart/core.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var convert; 1 var convert;
2 (function(exports) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 let ASCII = new AsciiCodec(); 4 let ASCII = new AsciiCodec();
5 let _ASCII_MASK = 127; 5 let _ASCII_MASK = 127;
6 let _allowInvalid = Symbol('_allowInvalid'); 6 let _allowInvalid = Symbol('_allowInvalid');
7 let _nameToEncoding = Symbol('_nameToEncoding'); 7 let _nameToEncoding = Symbol('_nameToEncoding');
8 let Codec$ = dart.generic(function(S, T) { 8 let Codec$ = dart.generic(function(S, T) {
9 class Codec extends core.Object { 9 class Codec extends core.Object {
10 Codec() { 10 Codec() {
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 this[_sink] = sink; 327 this[_sink] = sink;
328 super.ByteConversionSinkBase(); 328 super.ByteConversionSinkBase();
329 } 329 }
330 add(chunk) { 330 add(chunk) {
331 return this[_sink].add(chunk); 331 return this[_sink].add(chunk);
332 } 332 }
333 close() { 333 close() {
334 return this[_sink].close(); 334 return this[_sink].close();
335 } 335 }
336 } 336 }
337 let _INITIAL_BUFFER_SIZE = Symbol('_INITIAL_BUFFER_SIZE');
337 let _buffer = Symbol('_buffer'); 338 let _buffer = Symbol('_buffer');
338 let _INITIAL_BUFFER_SIZE = Symbol('_INITIAL_BUFFER_SIZE');
339 let _callback = Symbol('_callback'); 339 let _callback = Symbol('_callback');
340 let _bufferIndex = Symbol('_bufferIndex'); 340 let _bufferIndex = Symbol('_bufferIndex');
341 let _roundToPowerOf2 = Symbol('_roundToPowerOf2'); 341 let _roundToPowerOf2 = Symbol('_roundToPowerOf2');
342 class _ByteCallbackSink extends ByteConversionSinkBase { 342 class _ByteCallbackSink extends ByteConversionSinkBase {
343 _ByteCallbackSink(callback) { 343 _ByteCallbackSink(callback) {
344 this[_buffer] = new typed_data.Uint8List(_ByteCallbackSink[_INITIAL_BUFFER _SIZE]); 344 this[_buffer] = new typed_data.Uint8List(_ByteCallbackSink[_INITIAL_BUFFER _SIZE]);
345 this[_callback] = callback; 345 this[_callback] = callback;
346 this[_bufferIndex] = 0; 346 this[_bufferIndex] = 0;
347 super.ByteConversionSinkBase(); 347 super.ByteConversionSinkBase();
348 } 348 }
(...skipping 2088 matching lines...) Expand 10 before | Expand all | Expand 10 after
2437 exports.LineSplitter = LineSplitter; 2437 exports.LineSplitter = LineSplitter;
2438 exports.StringConversionSink = StringConversionSink; 2438 exports.StringConversionSink = StringConversionSink;
2439 exports.ClosableStringSink = ClosableStringSink; 2439 exports.ClosableStringSink = ClosableStringSink;
2440 exports.UNICODE_REPLACEMENT_CHARACTER_RUNE = UNICODE_REPLACEMENT_CHARACTER_RUN E; 2440 exports.UNICODE_REPLACEMENT_CHARACTER_RUNE = UNICODE_REPLACEMENT_CHARACTER_RUN E;
2441 exports.UNICODE_BOM_CHARACTER_RUNE = UNICODE_BOM_CHARACTER_RUNE; 2441 exports.UNICODE_BOM_CHARACTER_RUNE = UNICODE_BOM_CHARACTER_RUNE;
2442 exports.UTF8 = UTF8; 2442 exports.UTF8 = UTF8;
2443 exports.Utf8Codec = Utf8Codec; 2443 exports.Utf8Codec = Utf8Codec;
2444 exports.Utf8Encoder = Utf8Encoder; 2444 exports.Utf8Encoder = Utf8Encoder;
2445 exports.Utf8Decoder = Utf8Decoder; 2445 exports.Utf8Decoder = Utf8Decoder;
2446 })(convert || (convert = {})); 2446 })(convert || (convert = {}));
OLDNEW
« no previous file with comments | « lib/runtime/dart/collection.js ('k') | lib/runtime/dart/core.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698