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

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 15697002: Regens after IDL roll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /// The Dart HTML library. 1 /// The Dart HTML library.
2 library dart.dom.html; 2 library dart.dom.html;
3 3
4 import 'dart:async'; 4 import 'dart:async';
5 import 'dart:collection'; 5 import 'dart:collection';
6 import 'dart:_collection-dev' hide Symbol; 6 import 'dart:_collection-dev' hide Symbol;
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:indexed_db'; 8 import 'dart:indexed_db';
9 import 'dart:isolate'; 9 import 'dart:isolate';
10 import 'dart:json' as json; 10 import 'dart:json' as json;
(...skipping 6934 matching lines...) Expand 10 before | Expand all | Expand 10 after
6945 class DomStringList extends Interceptor with ListMixin<String>, ImmutableListMix in<String> implements JavaScriptIndexingBehavior, List<String> native "DOMString List" { 6945 class DomStringList extends Interceptor with ListMixin<String>, ImmutableListMix in<String> implements JavaScriptIndexingBehavior, List<String> native "DOMString List" {
6946 6946
6947 @DomName('DOMStringList.length') 6947 @DomName('DOMStringList.length')
6948 @DocsEditable 6948 @DocsEditable
6949 int get length => JS("int", "#.length", this); 6949 int get length => JS("int", "#.length", this);
6950 6950
6951 String operator[](int index) { 6951 String operator[](int index) {
6952 if (JS("bool", "# >>> 0 !== # || # >= #", index, 6952 if (JS("bool", "# >>> 0 !== # || # >= #", index,
6953 index, index, length)) 6953 index, index, length))
6954 throw new RangeError.range(index, 0, length); 6954 throw new RangeError.range(index, 0, length);
6955 return JS("String", "#[#]", this, index); 6955 return this.item(index);
6956 } 6956 }
6957 void operator[]=(int index, String value) { 6957 void operator[]=(int index, String value) {
6958 throw new UnsupportedError("Cannot assign element of immutable List."); 6958 throw new UnsupportedError("Cannot assign element of immutable List.");
6959 } 6959 }
6960 // -- start List<String> mixins. 6960 // -- start List<String> mixins.
6961 // String is the element type. 6961 // String is the element type.
6962 6962
6963 6963
6964 void set length(int value) { 6964 void set length(int value) {
6965 throw new UnsupportedError("Cannot resize immutable List."); 6965 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 2723 matching lines...) Expand 10 before | Expand all | Expand 10 after
9689 class FileList extends Interceptor with ListMixin<File>, ImmutableListMixin<File > implements JavaScriptIndexingBehavior, List<File> native "FileList" { 9689 class FileList extends Interceptor with ListMixin<File>, ImmutableListMixin<File > implements JavaScriptIndexingBehavior, List<File> native "FileList" {
9690 9690
9691 @DomName('FileList.length') 9691 @DomName('FileList.length')
9692 @DocsEditable 9692 @DocsEditable
9693 int get length => JS("int", "#.length", this); 9693 int get length => JS("int", "#.length", this);
9694 9694
9695 File operator[](int index) { 9695 File operator[](int index) {
9696 if (JS("bool", "# >>> 0 !== # || # >= #", index, 9696 if (JS("bool", "# >>> 0 !== # || # >= #", index,
9697 index, index, length)) 9697 index, index, length))
9698 throw new RangeError.range(index, 0, length); 9698 throw new RangeError.range(index, 0, length);
9699 return JS("File", "#[#]", this, index); 9699 return this.item(index);
9700 } 9700 }
9701 void operator[]=(int index, File value) { 9701 void operator[]=(int index, File value) {
9702 throw new UnsupportedError("Cannot assign element of immutable List."); 9702 throw new UnsupportedError("Cannot assign element of immutable List.");
9703 } 9703 }
9704 // -- start List<File> mixins. 9704 // -- start List<File> mixins.
9705 // File is the element type. 9705 // File is the element type.
9706 9706
9707 9707
9708 void set length(int value) { 9708 void set length(int value) {
9709 throw new UnsupportedError("Cannot resize immutable List."); 9709 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
10567 class HtmlAllCollection extends Interceptor with ListMixin<Node>, ImmutableListM ixin<Node> implements JavaScriptIndexingBehavior, List<Node> native "HTMLAllColl ection" { 10567 class HtmlAllCollection extends Interceptor with ListMixin<Node>, ImmutableListM ixin<Node> implements JavaScriptIndexingBehavior, List<Node> native "HTMLAllColl ection" {
10568 10568
10569 @DomName('HTMLAllCollection.length') 10569 @DomName('HTMLAllCollection.length')
10570 @DocsEditable 10570 @DocsEditable
10571 int get length => JS("int", "#.length", this); 10571 int get length => JS("int", "#.length", this);
10572 10572
10573 Node operator[](int index) { 10573 Node operator[](int index) {
10574 if (JS("bool", "# >>> 0 !== # || # >= #", index, 10574 if (JS("bool", "# >>> 0 !== # || # >= #", index,
10575 index, index, length)) 10575 index, index, length))
10576 throw new RangeError.range(index, 0, length); 10576 throw new RangeError.range(index, 0, length);
10577 return JS("Node", "#[#]", this, index); 10577 return this.item(index);
10578 } 10578 }
10579 void operator[]=(int index, Node value) { 10579 void operator[]=(int index, Node value) {
10580 throw new UnsupportedError("Cannot assign element of immutable List."); 10580 throw new UnsupportedError("Cannot assign element of immutable List.");
10581 } 10581 }
10582 // -- start List<Node> mixins. 10582 // -- start List<Node> mixins.
10583 // Node is the element type. 10583 // Node is the element type.
10584 10584
10585 10585
10586 void set length(int value) { 10586 void set length(int value) {
10587 throw new UnsupportedError("Cannot resize immutable List."); 10587 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
10638 class HtmlCollection extends Interceptor with ListMixin<Node>, ImmutableListMixi n<Node> implements JavaScriptIndexingBehavior, List<Node> native "HTMLCollection " { 10638 class HtmlCollection extends Interceptor with ListMixin<Node>, ImmutableListMixi n<Node> implements JavaScriptIndexingBehavior, List<Node> native "HTMLCollection " {
10639 10639
10640 @DomName('HTMLCollection.length') 10640 @DomName('HTMLCollection.length')
10641 @DocsEditable 10641 @DocsEditable
10642 int get length => JS("int", "#.length", this); 10642 int get length => JS("int", "#.length", this);
10643 10643
10644 Node operator[](int index) { 10644 Node operator[](int index) {
10645 if (JS("bool", "# >>> 0 !== # || # >= #", index, 10645 if (JS("bool", "# >>> 0 !== # || # >= #", index,
10646 index, index, length)) 10646 index, index, length))
10647 throw new RangeError.range(index, 0, length); 10647 throw new RangeError.range(index, 0, length);
10648 return JS("Node", "#[#]", this, index); 10648 return this.item(index);
10649 } 10649 }
10650 void operator[]=(int index, Node value) { 10650 void operator[]=(int index, Node value) {
10651 throw new UnsupportedError("Cannot assign element of immutable List."); 10651 throw new UnsupportedError("Cannot assign element of immutable List.");
10652 } 10652 }
10653 // -- start List<Node> mixins. 10653 // -- start List<Node> mixins.
10654 // Node is the element type. 10654 // Node is the element type.
10655 10655
10656 10656
10657 void set length(int value) { 10657 void set length(int value) {
10658 throw new UnsupportedError("Cannot resize immutable List."); 10658 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
11413 @DocsEditable 11413 @DocsEditable
11414 Stream<ProgressEvent> get onReadyStateChange => readyStateChangeEvent.forTarge t(this); 11414 Stream<ProgressEvent> get onReadyStateChange => readyStateChangeEvent.forTarge t(this);
11415 11415
11416 } 11416 }
11417 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11417 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11418 // for details. All rights reserved. Use of this source code is governed by a 11418 // for details. All rights reserved. Use of this source code is governed by a
11419 // BSD-style license that can be found in the LICENSE file. 11419 // BSD-style license that can be found in the LICENSE file.
11420 11420
11421 11421
11422 @DocsEditable 11422 @DocsEditable
11423 @DomName('XMLHttpRequestException')
11424 class HttpRequestException native "XMLHttpRequestException" {
11425
11426 @DomName('XMLHttpRequestException.ABORT_ERR')
11427 @DocsEditable
11428 static const int ABORT_ERR = 102;
11429
11430 @DomName('XMLHttpRequestException.NETWORK_ERR')
11431 @DocsEditable
11432 static const int NETWORK_ERR = 101;
11433
11434 @DomName('XMLHttpRequestException.code')
11435 @DocsEditable
11436 final int code;
11437
11438 @DomName('XMLHttpRequestException.message')
11439 @DocsEditable
11440 final String message;
11441
11442 @DomName('XMLHttpRequestException.name')
11443 @DocsEditable
11444 final String name;
11445
11446 @DomName('XMLHttpRequestException.toString')
11447 @DocsEditable
11448 String toString() native;
11449 }
11450 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11451 // for details. All rights reserved. Use of this source code is governed by a
11452 // BSD-style license that can be found in the LICENSE file.
11453
11454
11455 @DocsEditable
11456 @DomName('XMLHttpRequestProgressEvent') 11423 @DomName('XMLHttpRequestProgressEvent')
11457 @SupportedBrowser(SupportedBrowser.CHROME) 11424 @SupportedBrowser(SupportedBrowser.CHROME)
11458 @SupportedBrowser(SupportedBrowser.SAFARI) 11425 @SupportedBrowser(SupportedBrowser.SAFARI)
11459 @Experimental 11426 @Experimental
11460 class HttpRequestProgressEvent extends ProgressEvent native "XMLHttpRequestProgr essEvent" { 11427 class HttpRequestProgressEvent extends ProgressEvent native "XMLHttpRequestProgr essEvent" {
11461 11428
11462 /// Checks if this type is supported on the current platform. 11429 /// Checks if this type is supported on the current platform.
11463 static bool get supported => Device.isEventTypeSupported('XMLHttpRequestProgre ssEvent'); 11430 static bool get supported => Device.isEventTypeSupported('XMLHttpRequestProgre ssEvent');
11464 11431
11465 @DomName('XMLHttpRequestProgressEvent.position') 11432 @DomName('XMLHttpRequestProgressEvent.position')
(...skipping 2828 matching lines...) Expand 10 before | Expand all | Expand 10 after
14294 @DomName('MIDIConnectionEvent.port') 14261 @DomName('MIDIConnectionEvent.port')
14295 @DocsEditable 14262 @DocsEditable
14296 final MidiPort port; 14263 final MidiPort port;
14297 } 14264 }
14298 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14265 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14299 // for details. All rights reserved. Use of this source code is governed by a 14266 // for details. All rights reserved. Use of this source code is governed by a
14300 // BSD-style license that can be found in the LICENSE file. 14267 // BSD-style license that can be found in the LICENSE file.
14301 14268
14302 14269
14303 @DocsEditable 14270 @DocsEditable
14271 @DomName('MIDIInput')
14272 class MidiInput extends MidiPort implements EventTarget native "MIDIInput" {
14273 }
14274 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14275 // for details. All rights reserved. Use of this source code is governed by a
14276 // BSD-style license that can be found in the LICENSE file.
14277
14278
14279 @DocsEditable
14304 @DomName('MIDIMessageEvent') 14280 @DomName('MIDIMessageEvent')
14305 class MidiMessageEvent extends Event native "MIDIMessageEvent" { 14281 class MidiMessageEvent extends Event native "MIDIMessageEvent" {
14306 14282
14307 @DomName('MIDIMessageEvent.data') 14283 @DomName('MIDIMessageEvent.data')
14308 @DocsEditable 14284 @DocsEditable
14309 final Uint8List data; 14285 final Uint8List data;
14310 14286
14311 @DomName('MIDIMessageEvent.receivedTime') 14287 @DomName('MIDIMessageEvent.receivedTime')
14312 @DocsEditable 14288 @DocsEditable
14313 final num receivedTime; 14289 final num receivedTime;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
14398 class MimeTypeArray extends Interceptor with ListMixin<MimeType>, ImmutableListM ixin<MimeType> implements JavaScriptIndexingBehavior, List<MimeType> native "Mim eTypeArray" { 14374 class MimeTypeArray extends Interceptor with ListMixin<MimeType>, ImmutableListM ixin<MimeType> implements JavaScriptIndexingBehavior, List<MimeType> native "Mim eTypeArray" {
14399 14375
14400 @DomName('MimeTypeArray.length') 14376 @DomName('MimeTypeArray.length')
14401 @DocsEditable 14377 @DocsEditable
14402 int get length => JS("int", "#.length", this); 14378 int get length => JS("int", "#.length", this);
14403 14379
14404 MimeType operator[](int index) { 14380 MimeType operator[](int index) {
14405 if (JS("bool", "# >>> 0 !== # || # >= #", index, 14381 if (JS("bool", "# >>> 0 !== # || # >= #", index,
14406 index, index, length)) 14382 index, index, length))
14407 throw new RangeError.range(index, 0, length); 14383 throw new RangeError.range(index, 0, length);
14408 return JS("MimeType", "#[#]", this, index); 14384 return this.item(index);
14409 } 14385 }
14410 void operator[]=(int index, MimeType value) { 14386 void operator[]=(int index, MimeType value) {
14411 throw new UnsupportedError("Cannot assign element of immutable List."); 14387 throw new UnsupportedError("Cannot assign element of immutable List.");
14412 } 14388 }
14413 // -- start List<MimeType> mixins. 14389 // -- start List<MimeType> mixins.
14414 // MimeType is the element type. 14390 // MimeType is the element type.
14415 14391
14416 14392
14417 void set length(int value) { 14393 void set length(int value) {
14418 throw new UnsupportedError("Cannot resize immutable List."); 14394 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after
15696 class NodeList extends Interceptor with ListMixin<Node>, ImmutableListMixin<Node > implements JavaScriptIndexingBehavior, List<Node> native "NodeList,RadioNodeLi st" { 15672 class NodeList extends Interceptor with ListMixin<Node>, ImmutableListMixin<Node > implements JavaScriptIndexingBehavior, List<Node> native "NodeList,RadioNodeLi st" {
15697 15673
15698 @DomName('NodeList.length') 15674 @DomName('NodeList.length')
15699 @DocsEditable 15675 @DocsEditable
15700 int get length => JS("int", "#.length", this); 15676 int get length => JS("int", "#.length", this);
15701 15677
15702 Node operator[](int index) { 15678 Node operator[](int index) {
15703 if (JS("bool", "# >>> 0 !== # || # >= #", index, 15679 if (JS("bool", "# >>> 0 !== # || # >= #", index,
15704 index, index, length)) 15680 index, index, length))
15705 throw new RangeError.range(index, 0, length); 15681 throw new RangeError.range(index, 0, length);
15706 return JS("Node", "#[#]", this, index); 15682 return this.item(index);
15707 } 15683 }
15708 void operator[]=(int index, Node value) { 15684 void operator[]=(int index, Node value) {
15709 throw new UnsupportedError("Cannot assign element of immutable List."); 15685 throw new UnsupportedError("Cannot assign element of immutable List.");
15710 } 15686 }
15711 // -- start List<Node> mixins. 15687 // -- start List<Node> mixins.
15712 // Node is the element type. 15688 // Node is the element type.
15713 15689
15714 15690
15715 void set length(int value) { 15691 void set length(int value) {
15716 throw new UnsupportedError("Cannot resize immutable List."); 15692 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
16686 class PluginArray extends Interceptor with ListMixin<Plugin>, ImmutableListMixin <Plugin> implements JavaScriptIndexingBehavior, List<Plugin> native "PluginArray " { 16662 class PluginArray extends Interceptor with ListMixin<Plugin>, ImmutableListMixin <Plugin> implements JavaScriptIndexingBehavior, List<Plugin> native "PluginArray " {
16687 16663
16688 @DomName('PluginArray.length') 16664 @DomName('PluginArray.length')
16689 @DocsEditable 16665 @DocsEditable
16690 int get length => JS("int", "#.length", this); 16666 int get length => JS("int", "#.length", this);
16691 16667
16692 Plugin operator[](int index) { 16668 Plugin operator[](int index) {
16693 if (JS("bool", "# >>> 0 !== # || # >= #", index, 16669 if (JS("bool", "# >>> 0 !== # || # >= #", index,
16694 index, index, length)) 16670 index, index, length))
16695 throw new RangeError.range(index, 0, length); 16671 throw new RangeError.range(index, 0, length);
16696 return JS("Plugin", "#[#]", this, index); 16672 return this.item(index);
16697 } 16673 }
16698 void operator[]=(int index, Plugin value) { 16674 void operator[]=(int index, Plugin value) {
16699 throw new UnsupportedError("Cannot assign element of immutable List."); 16675 throw new UnsupportedError("Cannot assign element of immutable List.");
16700 } 16676 }
16701 // -- start List<Plugin> mixins. 16677 // -- start List<Plugin> mixins.
16702 // Plugin is the element type. 16678 // Plugin is the element type.
16703 16679
16704 16680
16705 void set length(int value) { 16681 void set length(int value) {
16706 throw new UnsupportedError("Cannot resize immutable List."); 16682 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
17123 * 17099 *
17124 * * [createContextualFragment] 17100 * * [createContextualFragment]
17125 */ 17101 */
17126 static bool get supportsCreateContextualFragment => 17102 static bool get supportsCreateContextualFragment =>
17127 JS('bool', '("createContextualFragment" in window.Range.prototype)'); 17103 JS('bool', '("createContextualFragment" in window.Range.prototype)');
17128 } 17104 }
17129 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17105 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17130 // for details. All rights reserved. Use of this source code is governed by a 17106 // for details. All rights reserved. Use of this source code is governed by a
17131 // BSD-style license that can be found in the LICENSE file. 17107 // BSD-style license that can be found in the LICENSE file.
17132 17108
17133
17134 @DocsEditable
17135 @DomName('RangeException')
17136 class RangeException native "RangeException" {
17137
17138 @DomName('RangeException.BAD_BOUNDARYPOINTS_ERR')
17139 @DocsEditable
17140 static const int BAD_BOUNDARYPOINTS_ERR = 1;
17141
17142 @DomName('RangeException.INVALID_NODE_TYPE_ERR')
17143 @DocsEditable
17144 static const int INVALID_NODE_TYPE_ERR = 2;
17145
17146 @DomName('RangeException.code')
17147 @DocsEditable
17148 final int code;
17149
17150 @DomName('RangeException.message')
17151 @DocsEditable
17152 final String message;
17153
17154 @DomName('RangeException.name')
17155 @DocsEditable
17156 final String name;
17157
17158 @DomName('RangeException.toString')
17159 @DocsEditable
17160 String toString() native;
17161 }
17162 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17163 // for details. All rights reserved. Use of this source code is governed by a
17164 // BSD-style license that can be found in the LICENSE file.
17165
17166 // WARNING: Do not edit - generated code. 17109 // WARNING: Do not edit - generated code.
17167 17110
17168 17111
17169 typedef void RequestAnimationFrameCallback(num highResTime); 17112 typedef void RequestAnimationFrameCallback(num highResTime);
17170 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17113 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17171 // for details. All rights reserved. Use of this source code is governed by a 17114 // for details. All rights reserved. Use of this source code is governed by a
17172 // BSD-style license that can be found in the LICENSE file. 17115 // BSD-style license that can be found in the LICENSE file.
17173 17116
17174 17117
17175 @DocsEditable 17118 @DocsEditable
(...skipping 1224 matching lines...) Expand 10 before | Expand all | Expand 10 after
18400 class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab leListMixin<SourceBuffer> implements JavaScriptIndexingBehavior, List<SourceBuff er> native "SourceBufferList" { 18343 class SourceBufferList extends EventTarget with ListMixin<SourceBuffer>, Immutab leListMixin<SourceBuffer> implements JavaScriptIndexingBehavior, List<SourceBuff er> native "SourceBufferList" {
18401 18344
18402 @DomName('SourceBufferList.length') 18345 @DomName('SourceBufferList.length')
18403 @DocsEditable 18346 @DocsEditable
18404 int get length => JS("int", "#.length", this); 18347 int get length => JS("int", "#.length", this);
18405 18348
18406 SourceBuffer operator[](int index) { 18349 SourceBuffer operator[](int index) {
18407 if (JS("bool", "# >>> 0 !== # || # >= #", index, 18350 if (JS("bool", "# >>> 0 !== # || # >= #", index,
18408 index, index, length)) 18351 index, index, length))
18409 throw new RangeError.range(index, 0, length); 18352 throw new RangeError.range(index, 0, length);
18410 return JS("SourceBuffer", "#[#]", this, index); 18353 return this.item(index);
18411 } 18354 }
18412 void operator[]=(int index, SourceBuffer value) { 18355 void operator[]=(int index, SourceBuffer value) {
18413 throw new UnsupportedError("Cannot assign element of immutable List."); 18356 throw new UnsupportedError("Cannot assign element of immutable List.");
18414 } 18357 }
18415 // -- start List<SourceBuffer> mixins. 18358 // -- start List<SourceBuffer> mixins.
18416 // SourceBuffer is the element type. 18359 // SourceBuffer is the element type.
18417 18360
18418 18361
18419 void set length(int value) { 18362 void set length(int value) {
18420 throw new UnsupportedError("Cannot resize immutable List."); 18363 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
18544 static SpeechGrammarList _create_1() => JS('SpeechGrammarList', 'new SpeechGra mmarList()'); 18487 static SpeechGrammarList _create_1() => JS('SpeechGrammarList', 'new SpeechGra mmarList()');
18545 18488
18546 @DomName('SpeechGrammarList.length') 18489 @DomName('SpeechGrammarList.length')
18547 @DocsEditable 18490 @DocsEditable
18548 int get length => JS("int", "#.length", this); 18491 int get length => JS("int", "#.length", this);
18549 18492
18550 SpeechGrammar operator[](int index) { 18493 SpeechGrammar operator[](int index) {
18551 if (JS("bool", "# >>> 0 !== # || # >= #", index, 18494 if (JS("bool", "# >>> 0 !== # || # >= #", index,
18552 index, index, length)) 18495 index, index, length))
18553 throw new RangeError.range(index, 0, length); 18496 throw new RangeError.range(index, 0, length);
18554 return JS("SpeechGrammar", "#[#]", this, index); 18497 return this.item(index);
18555 } 18498 }
18556 void operator[]=(int index, SpeechGrammar value) { 18499 void operator[]=(int index, SpeechGrammar value) {
18557 throw new UnsupportedError("Cannot assign element of immutable List."); 18500 throw new UnsupportedError("Cannot assign element of immutable List.");
18558 } 18501 }
18559 // -- start List<SpeechGrammar> mixins. 18502 // -- start List<SpeechGrammar> mixins.
18560 // SpeechGrammar is the element type. 18503 // SpeechGrammar is the element type.
18561 18504
18562 18505
18563 void set length(int value) { 18506 void set length(int value) {
18564 throw new UnsupportedError("Cannot resize immutable List."); 18507 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 1659 matching lines...) Expand 10 before | Expand all | Expand 10 after
20224 class TextTrackCueList extends Interceptor with ListMixin<TextTrackCue>, Immutab leListMixin<TextTrackCue> implements List<TextTrackCue>, JavaScriptIndexingBehav ior native "TextTrackCueList" { 20167 class TextTrackCueList extends Interceptor with ListMixin<TextTrackCue>, Immutab leListMixin<TextTrackCue> implements List<TextTrackCue>, JavaScriptIndexingBehav ior native "TextTrackCueList" {
20225 20168
20226 @DomName('TextTrackCueList.length') 20169 @DomName('TextTrackCueList.length')
20227 @DocsEditable 20170 @DocsEditable
20228 int get length => JS("int", "#.length", this); 20171 int get length => JS("int", "#.length", this);
20229 20172
20230 TextTrackCue operator[](int index) { 20173 TextTrackCue operator[](int index) {
20231 if (JS("bool", "# >>> 0 !== # || # >= #", index, 20174 if (JS("bool", "# >>> 0 !== # || # >= #", index,
20232 index, index, length)) 20175 index, index, length))
20233 throw new RangeError.range(index, 0, length); 20176 throw new RangeError.range(index, 0, length);
20234 return JS("TextTrackCue", "#[#]", this, index); 20177 return this.item(index);
20235 } 20178 }
20236 void operator[]=(int index, TextTrackCue value) { 20179 void operator[]=(int index, TextTrackCue value) {
20237 throw new UnsupportedError("Cannot assign element of immutable List."); 20180 throw new UnsupportedError("Cannot assign element of immutable List.");
20238 } 20181 }
20239 // -- start List<TextTrackCue> mixins. 20182 // -- start List<TextTrackCue> mixins.
20240 // TextTrackCue is the element type. 20183 // TextTrackCue is the element type.
20241 20184
20242 20185
20243 void set length(int value) { 20186 void set length(int value) {
20244 throw new UnsupportedError("Cannot resize immutable List."); 20187 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
20293 static const EventStreamProvider<TrackEvent> addTrackEvent = const EventStream Provider<TrackEvent>('addtrack'); 20236 static const EventStreamProvider<TrackEvent> addTrackEvent = const EventStream Provider<TrackEvent>('addtrack');
20294 20237
20295 @DomName('TextTrackList.length') 20238 @DomName('TextTrackList.length')
20296 @DocsEditable 20239 @DocsEditable
20297 int get length => JS("int", "#.length", this); 20240 int get length => JS("int", "#.length", this);
20298 20241
20299 TextTrack operator[](int index) { 20242 TextTrack operator[](int index) {
20300 if (JS("bool", "# >>> 0 !== # || # >= #", index, 20243 if (JS("bool", "# >>> 0 !== # || # >= #", index,
20301 index, index, length)) 20244 index, index, length))
20302 throw new RangeError.range(index, 0, length); 20245 throw new RangeError.range(index, 0, length);
20303 return JS("TextTrack", "#[#]", this, index); 20246 return this.item(index);
20304 } 20247 }
20305 void operator[]=(int index, TextTrack value) { 20248 void operator[]=(int index, TextTrack value) {
20306 throw new UnsupportedError("Cannot assign element of immutable List."); 20249 throw new UnsupportedError("Cannot assign element of immutable List.");
20307 } 20250 }
20308 // -- start List<TextTrack> mixins. 20251 // -- start List<TextTrack> mixins.
20309 // TextTrack is the element type. 20252 // TextTrack is the element type.
20310 20253
20311 20254
20312 void set length(int value) { 20255 void set length(int value) {
20313 throw new UnsupportedError("Cannot resize immutable List."); 20256 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
20588 static bool get supported => JS('bool', '!!document.createTouchList'); 20531 static bool get supported => JS('bool', '!!document.createTouchList');
20589 20532
20590 @DomName('TouchList.length') 20533 @DomName('TouchList.length')
20591 @DocsEditable 20534 @DocsEditable
20592 int get length => JS("int", "#.length", this); 20535 int get length => JS("int", "#.length", this);
20593 20536
20594 Touch operator[](int index) { 20537 Touch operator[](int index) {
20595 if (JS("bool", "# >>> 0 !== # || # >= #", index, 20538 if (JS("bool", "# >>> 0 !== # || # >= #", index,
20596 index, index, length)) 20539 index, index, length))
20597 throw new RangeError.range(index, 0, length); 20540 throw new RangeError.range(index, 0, length);
20598 return JS("Touch", "#[#]", this, index); 20541 return this.item(index);
20599 } 20542 }
20600 void operator[]=(int index, Touch value) { 20543 void operator[]=(int index, Touch value) {
20601 throw new UnsupportedError("Cannot assign element of immutable List."); 20544 throw new UnsupportedError("Cannot assign element of immutable List.");
20602 } 20545 }
20603 // -- start List<Touch> mixins. 20546 // -- start List<Touch> mixins.
20604 // Touch is the element type. 20547 // Touch is the element type.
20605 20548
20606 20549
20607 void set length(int value) { 20550 void set length(int value) {
20608 throw new UnsupportedError("Cannot resize immutable List."); 20551 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 2355 matching lines...) Expand 10 before | Expand all | Expand 10 after
22964 class _ClientRectList extends Interceptor with ListMixin<Rect>, ImmutableListMix in<Rect> implements JavaScriptIndexingBehavior, List<Rect> native "ClientRectLis t" { 22907 class _ClientRectList extends Interceptor with ListMixin<Rect>, ImmutableListMix in<Rect> implements JavaScriptIndexingBehavior, List<Rect> native "ClientRectLis t" {
22965 22908
22966 @DomName('ClientRectList.length') 22909 @DomName('ClientRectList.length')
22967 @DocsEditable 22910 @DocsEditable
22968 int get length => JS("int", "#.length", this); 22911 int get length => JS("int", "#.length", this);
22969 22912
22970 Rect operator[](int index) { 22913 Rect operator[](int index) {
22971 if (JS("bool", "# >>> 0 !== # || # >= #", index, 22914 if (JS("bool", "# >>> 0 !== # || # >= #", index,
22972 index, index, length)) 22915 index, index, length))
22973 throw new RangeError.range(index, 0, length); 22916 throw new RangeError.range(index, 0, length);
22974 return JS("Rect", "#[#]", this, index); 22917 return this.item(index);
22975 } 22918 }
22976 void operator[]=(int index, Rect value) { 22919 void operator[]=(int index, Rect value) {
22977 throw new UnsupportedError("Cannot assign element of immutable List."); 22920 throw new UnsupportedError("Cannot assign element of immutable List.");
22978 } 22921 }
22979 // -- start List<Rect> mixins. 22922 // -- start List<Rect> mixins.
22980 // Rect is the element type. 22923 // Rect is the element type.
22981 22924
22982 22925
22983 void set length(int value) { 22926 void set length(int value) {
22984 throw new UnsupportedError("Cannot resize immutable List."); 22927 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
23034 class _CssRuleList extends Interceptor with ListMixin<CssRule>, ImmutableListMix in<CssRule> implements JavaScriptIndexingBehavior, List<CssRule> native "CSSRule List" { 22977 class _CssRuleList extends Interceptor with ListMixin<CssRule>, ImmutableListMix in<CssRule> implements JavaScriptIndexingBehavior, List<CssRule> native "CSSRule List" {
23035 22978
23036 @DomName('CSSRuleList.length') 22979 @DomName('CSSRuleList.length')
23037 @DocsEditable 22980 @DocsEditable
23038 int get length => JS("int", "#.length", this); 22981 int get length => JS("int", "#.length", this);
23039 22982
23040 CssRule operator[](int index) { 22983 CssRule operator[](int index) {
23041 if (JS("bool", "# >>> 0 !== # || # >= #", index, 22984 if (JS("bool", "# >>> 0 !== # || # >= #", index,
23042 index, index, length)) 22985 index, index, length))
23043 throw new RangeError.range(index, 0, length); 22986 throw new RangeError.range(index, 0, length);
23044 return JS("CssRule", "#[#]", this, index); 22987 return this.item(index);
23045 } 22988 }
23046 void operator[]=(int index, CssRule value) { 22989 void operator[]=(int index, CssRule value) {
23047 throw new UnsupportedError("Cannot assign element of immutable List."); 22990 throw new UnsupportedError("Cannot assign element of immutable List.");
23048 } 22991 }
23049 // -- start List<CssRule> mixins. 22992 // -- start List<CssRule> mixins.
23050 // CssRule is the element type. 22993 // CssRule is the element type.
23051 22994
23052 22995
23053 void set length(int value) { 22996 void set length(int value) {
23054 throw new UnsupportedError("Cannot resize immutable List."); 22997 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
23095 class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMi xin<_CSSValue> implements JavaScriptIndexingBehavior, List<_CSSValue> native "CS SValueList" { 23038 class _CssValueList extends _CSSValue with ListMixin<_CSSValue>, ImmutableListMi xin<_CSSValue> implements JavaScriptIndexingBehavior, List<_CSSValue> native "CS SValueList" {
23096 23039
23097 @DomName('CSSValueList.length') 23040 @DomName('CSSValueList.length')
23098 @DocsEditable 23041 @DocsEditable
23099 int get length => JS("int", "#.length", this); 23042 int get length => JS("int", "#.length", this);
23100 23043
23101 _CSSValue operator[](int index) { 23044 _CSSValue operator[](int index) {
23102 if (JS("bool", "# >>> 0 !== # || # >= #", index, 23045 if (JS("bool", "# >>> 0 !== # || # >= #", index,
23103 index, index, length)) 23046 index, index, length))
23104 throw new RangeError.range(index, 0, length); 23047 throw new RangeError.range(index, 0, length);
23105 return JS("_CSSValue", "#[#]", this, index); 23048 return this.item(index);
23106 } 23049 }
23107 void operator[]=(int index, _CSSValue value) { 23050 void operator[]=(int index, _CSSValue value) {
23108 throw new UnsupportedError("Cannot assign element of immutable List."); 23051 throw new UnsupportedError("Cannot assign element of immutable List.");
23109 } 23052 }
23110 // -- start List<_CSSValue> mixins. 23053 // -- start List<_CSSValue> mixins.
23111 // _CSSValue is the element type. 23054 // _CSSValue is the element type.
23112 23055
23113 23056
23114 void set length(int value) { 23057 void set length(int value) {
23115 throw new UnsupportedError("Cannot resize immutable List."); 23058 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
23245 class _EntryArray extends Interceptor with ListMixin<Entry>, ImmutableListMixin< Entry> implements JavaScriptIndexingBehavior, List<Entry> native "EntryArray" { 23188 class _EntryArray extends Interceptor with ListMixin<Entry>, ImmutableListMixin< Entry> implements JavaScriptIndexingBehavior, List<Entry> native "EntryArray" {
23246 23189
23247 @DomName('EntryArray.length') 23190 @DomName('EntryArray.length')
23248 @DocsEditable 23191 @DocsEditable
23249 int get length => JS("int", "#.length", this); 23192 int get length => JS("int", "#.length", this);
23250 23193
23251 Entry operator[](int index) { 23194 Entry operator[](int index) {
23252 if (JS("bool", "# >>> 0 !== # || # >= #", index, 23195 if (JS("bool", "# >>> 0 !== # || # >= #", index,
23253 index, index, length)) 23196 index, index, length))
23254 throw new RangeError.range(index, 0, length); 23197 throw new RangeError.range(index, 0, length);
23255 return JS("Entry", "#[#]", this, index); 23198 return this.item(index);
23256 } 23199 }
23257 void operator[]=(int index, Entry value) { 23200 void operator[]=(int index, Entry value) {
23258 throw new UnsupportedError("Cannot assign element of immutable List."); 23201 throw new UnsupportedError("Cannot assign element of immutable List.");
23259 } 23202 }
23260 // -- start List<Entry> mixins. 23203 // -- start List<Entry> mixins.
23261 // Entry is the element type. 23204 // Entry is the element type.
23262 23205
23263 23206
23264 void set length(int value) { 23207 void set length(int value) {
23265 throw new UnsupportedError("Cannot resize immutable List."); 23208 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
23306 class _EntryArraySync extends Interceptor with ListMixin<_EntrySync>, ImmutableL istMixin<_EntrySync> implements JavaScriptIndexingBehavior, List<_EntrySync> nat ive "EntryArraySync" { 23249 class _EntryArraySync extends Interceptor with ListMixin<_EntrySync>, ImmutableL istMixin<_EntrySync> implements JavaScriptIndexingBehavior, List<_EntrySync> nat ive "EntryArraySync" {
23307 23250
23308 @DomName('EntryArraySync.length') 23251 @DomName('EntryArraySync.length')
23309 @DocsEditable 23252 @DocsEditable
23310 int get length => JS("int", "#.length", this); 23253 int get length => JS("int", "#.length", this);
23311 23254
23312 _EntrySync operator[](int index) { 23255 _EntrySync operator[](int index) {
23313 if (JS("bool", "# >>> 0 !== # || # >= #", index, 23256 if (JS("bool", "# >>> 0 !== # || # >= #", index,
23314 index, index, length)) 23257 index, index, length))
23315 throw new RangeError.range(index, 0, length); 23258 throw new RangeError.range(index, 0, length);
23316 return JS("_EntrySync", "#[#]", this, index); 23259 return this.item(index);
23317 } 23260 }
23318 void operator[]=(int index, _EntrySync value) { 23261 void operator[]=(int index, _EntrySync value) {
23319 throw new UnsupportedError("Cannot assign element of immutable List."); 23262 throw new UnsupportedError("Cannot assign element of immutable List.");
23320 } 23263 }
23321 // -- start List<_EntrySync> mixins. 23264 // -- start List<_EntrySync> mixins.
23322 // _EntrySync is the element type. 23265 // _EntrySync is the element type.
23323 23266
23324 23267
23325 void set length(int value) { 23268 void set length(int value) {
23326 throw new UnsupportedError("Cannot resize immutable List."); 23269 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
23410 class _GamepadList extends Interceptor with ListMixin<Gamepad>, ImmutableListMix in<Gamepad> implements JavaScriptIndexingBehavior, List<Gamepad> native "Gamepad List" { 23353 class _GamepadList extends Interceptor with ListMixin<Gamepad>, ImmutableListMix in<Gamepad> implements JavaScriptIndexingBehavior, List<Gamepad> native "Gamepad List" {
23411 23354
23412 @DomName('GamepadList.length') 23355 @DomName('GamepadList.length')
23413 @DocsEditable 23356 @DocsEditable
23414 int get length => JS("int", "#.length", this); 23357 int get length => JS("int", "#.length", this);
23415 23358
23416 Gamepad operator[](int index) { 23359 Gamepad operator[](int index) {
23417 if (JS("bool", "# >>> 0 !== # || # >= #", index, 23360 if (JS("bool", "# >>> 0 !== # || # >= #", index,
23418 index, index, length)) 23361 index, index, length))
23419 throw new RangeError.range(index, 0, length); 23362 throw new RangeError.range(index, 0, length);
23420 return JS("Gamepad", "#[#]", this, index); 23363 return this.item(index);
23421 } 23364 }
23422 void operator[]=(int index, Gamepad value) { 23365 void operator[]=(int index, Gamepad value) {
23423 throw new UnsupportedError("Cannot assign element of immutable List."); 23366 throw new UnsupportedError("Cannot assign element of immutable List.");
23424 } 23367 }
23425 // -- start List<Gamepad> mixins. 23368 // -- start List<Gamepad> mixins.
23426 // Gamepad is the element type. 23369 // Gamepad is the element type.
23427 23370
23428 23371
23429 void set length(int value) { 23372 void set length(int value) {
23430 throw new UnsupportedError("Cannot resize immutable List."); 23373 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
23534 class _NamedNodeMap extends Interceptor with ListMixin<Node>, ImmutableListMixin <Node> implements JavaScriptIndexingBehavior, List<Node> native "NamedNodeMap" { 23477 class _NamedNodeMap extends Interceptor with ListMixin<Node>, ImmutableListMixin <Node> implements JavaScriptIndexingBehavior, List<Node> native "NamedNodeMap" {
23535 23478
23536 @DomName('NamedNodeMap.length') 23479 @DomName('NamedNodeMap.length')
23537 @DocsEditable 23480 @DocsEditable
23538 int get length => JS("int", "#.length", this); 23481 int get length => JS("int", "#.length", this);
23539 23482
23540 Node operator[](int index) { 23483 Node operator[](int index) {
23541 if (JS("bool", "# >>> 0 !== # || # >= #", index, 23484 if (JS("bool", "# >>> 0 !== # || # >= #", index,
23542 index, index, length)) 23485 index, index, length))
23543 throw new RangeError.range(index, 0, length); 23486 throw new RangeError.range(index, 0, length);
23544 return JS("Node", "#[#]", this, index); 23487 return this.item(index);
23545 } 23488 }
23546 void operator[]=(int index, Node value) { 23489 void operator[]=(int index, Node value) {
23547 throw new UnsupportedError("Cannot assign element of immutable List."); 23490 throw new UnsupportedError("Cannot assign element of immutable List.");
23548 } 23491 }
23549 // -- start List<Node> mixins. 23492 // -- start List<Node> mixins.
23550 // Node is the element type. 23493 // Node is the element type.
23551 23494
23552 23495
23553 void set length(int value) { 23496 void set length(int value) {
23554 throw new UnsupportedError("Cannot resize immutable List."); 23497 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
23684 class _SpeechInputResultList extends Interceptor with ListMixin<SpeechInputResul t>, ImmutableListMixin<SpeechInputResult> implements JavaScriptIndexingBehavior, List<SpeechInputResult> native "SpeechInputResultList" { 23627 class _SpeechInputResultList extends Interceptor with ListMixin<SpeechInputResul t>, ImmutableListMixin<SpeechInputResult> implements JavaScriptIndexingBehavior, List<SpeechInputResult> native "SpeechInputResultList" {
23685 23628
23686 @DomName('SpeechInputResultList.length') 23629 @DomName('SpeechInputResultList.length')
23687 @DocsEditable 23630 @DocsEditable
23688 int get length => JS("int", "#.length", this); 23631 int get length => JS("int", "#.length", this);
23689 23632
23690 SpeechInputResult operator[](int index) { 23633 SpeechInputResult operator[](int index) {
23691 if (JS("bool", "# >>> 0 !== # || # >= #", index, 23634 if (JS("bool", "# >>> 0 !== # || # >= #", index,
23692 index, index, length)) 23635 index, index, length))
23693 throw new RangeError.range(index, 0, length); 23636 throw new RangeError.range(index, 0, length);
23694 return JS("SpeechInputResult", "#[#]", this, index); 23637 return this.item(index);
23695 } 23638 }
23696 void operator[]=(int index, SpeechInputResult value) { 23639 void operator[]=(int index, SpeechInputResult value) {
23697 throw new UnsupportedError("Cannot assign element of immutable List."); 23640 throw new UnsupportedError("Cannot assign element of immutable List.");
23698 } 23641 }
23699 // -- start List<SpeechInputResult> mixins. 23642 // -- start List<SpeechInputResult> mixins.
23700 // SpeechInputResult is the element type. 23643 // SpeechInputResult is the element type.
23701 23644
23702 23645
23703 void set length(int value) { 23646 void set length(int value) {
23704 throw new UnsupportedError("Cannot resize immutable List."); 23647 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
23745 class _SpeechRecognitionResultList extends Interceptor with ListMixin<SpeechReco gnitionResult>, ImmutableListMixin<SpeechRecognitionResult> implements JavaScrip tIndexingBehavior, List<SpeechRecognitionResult> native "SpeechRecognitionResult List" { 23688 class _SpeechRecognitionResultList extends Interceptor with ListMixin<SpeechReco gnitionResult>, ImmutableListMixin<SpeechRecognitionResult> implements JavaScrip tIndexingBehavior, List<SpeechRecognitionResult> native "SpeechRecognitionResult List" {
23746 23689
23747 @DomName('SpeechRecognitionResultList.length') 23690 @DomName('SpeechRecognitionResultList.length')
23748 @DocsEditable 23691 @DocsEditable
23749 int get length => JS("int", "#.length", this); 23692 int get length => JS("int", "#.length", this);
23750 23693
23751 SpeechRecognitionResult operator[](int index) { 23694 SpeechRecognitionResult operator[](int index) {
23752 if (JS("bool", "# >>> 0 !== # || # >= #", index, 23695 if (JS("bool", "# >>> 0 !== # || # >= #", index,
23753 index, index, length)) 23696 index, index, length))
23754 throw new RangeError.range(index, 0, length); 23697 throw new RangeError.range(index, 0, length);
23755 return JS("SpeechRecognitionResult", "#[#]", this, index); 23698 return this.item(index);
23756 } 23699 }
23757 void operator[]=(int index, SpeechRecognitionResult value) { 23700 void operator[]=(int index, SpeechRecognitionResult value) {
23758 throw new UnsupportedError("Cannot assign element of immutable List."); 23701 throw new UnsupportedError("Cannot assign element of immutable List.");
23759 } 23702 }
23760 // -- start List<SpeechRecognitionResult> mixins. 23703 // -- start List<SpeechRecognitionResult> mixins.
23761 // SpeechRecognitionResult is the element type. 23704 // SpeechRecognitionResult is the element type.
23762 23705
23763 23706
23764 void set length(int value) { 23707 void set length(int value) {
23765 throw new UnsupportedError("Cannot resize immutable List."); 23708 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
23806 class _StyleSheetList extends Interceptor with ListMixin<StyleSheet>, ImmutableL istMixin<StyleSheet> implements JavaScriptIndexingBehavior, List<StyleSheet> nat ive "StyleSheetList" { 23749 class _StyleSheetList extends Interceptor with ListMixin<StyleSheet>, ImmutableL istMixin<StyleSheet> implements JavaScriptIndexingBehavior, List<StyleSheet> nat ive "StyleSheetList" {
23807 23750
23808 @DomName('StyleSheetList.length') 23751 @DomName('StyleSheetList.length')
23809 @DocsEditable 23752 @DocsEditable
23810 int get length => JS("int", "#.length", this); 23753 int get length => JS("int", "#.length", this);
23811 23754
23812 StyleSheet operator[](int index) { 23755 StyleSheet operator[](int index) {
23813 if (JS("bool", "# >>> 0 !== # || # >= #", index, 23756 if (JS("bool", "# >>> 0 !== # || # >= #", index,
23814 index, index, length)) 23757 index, index, length))
23815 throw new RangeError.range(index, 0, length); 23758 throw new RangeError.range(index, 0, length);
23816 return JS("StyleSheet", "#[#]", this, index); 23759 return this.item(index);
23817 } 23760 }
23818 void operator[]=(int index, StyleSheet value) { 23761 void operator[]=(int index, StyleSheet value) {
23819 throw new UnsupportedError("Cannot assign element of immutable List."); 23762 throw new UnsupportedError("Cannot assign element of immutable List.");
23820 } 23763 }
23821 // -- start List<StyleSheet> mixins. 23764 // -- start List<StyleSheet> mixins.
23822 // StyleSheet is the element type. 23765 // StyleSheet is the element type.
23823 23766
23824 23767
23825 void set length(int value) { 23768 void set length(int value) {
23826 throw new UnsupportedError("Cannot resize immutable List."); 23769 throw new UnsupportedError("Cannot resize immutable List.");
(...skipping 4582 matching lines...) Expand 10 before | Expand all | Expand 10 after
28409 _position = nextPosition; 28352 _position = nextPosition;
28410 return true; 28353 return true;
28411 } 28354 }
28412 _current = null; 28355 _current = null;
28413 _position = _array.length; 28356 _position = _array.length;
28414 return false; 28357 return false;
28415 } 28358 }
28416 28359
28417 T get current => _current; 28360 T get current => _current;
28418 } 28361 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698