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

Side by Side Diff: lib/dom/frog/dom_frog.dart

Issue 10443122: Revert "Revert "Rework Element constructors"" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/dom/scripts/dartgenerator.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('dom'); 1 #library('dom');
2 2
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library. 8 // Auto-generated Dart DOM library.
9 9
10 10
(...skipping 1932 matching lines...) Expand 10 before | Expand all | Expand 10 after
1943 1943
1944 _AttrJs setAttributeNodeNS(_AttrJs newAttr) native; 1944 _AttrJs setAttributeNodeNS(_AttrJs newAttr) native;
1945 1945
1946 bool webkitMatchesSelector(String selectors) native; 1946 bool webkitMatchesSelector(String selectors) native;
1947 1947
1948 void webkitRequestFullScreen(int flags) native; 1948 void webkitRequestFullScreen(int flags) native;
1949 1949
1950 void webkitRequestFullscreen() native; 1950 void webkitRequestFullscreen() native;
1951 } 1951 }
1952 1952
1953 class _ElementTimeControlJs extends _DOMTypeJs implements ElementTimeControl nat ive "*ElementTimeControl" {
1954
1955 void beginElement() native;
1956
1957 void beginElementAt(num offset) native;
1958
1959 void endElement() native;
1960
1961 void endElementAt(num offset) native;
1962 }
1963
1964 class _ElementTraversalJs extends _DOMTypeJs implements ElementTraversal native "*ElementTraversal" {
1965
1966 final int childElementCount;
1967
1968 final _ElementJs firstElementChild;
1969
1970 final _ElementJs lastElementChild;
1971
1972 final _ElementJs nextElementSibling;
1973
1974 final _ElementJs previousElementSibling;
1975 }
1976
1977 class _EntityJs extends _NodeJs implements Entity native "*Entity" { 1953 class _EntityJs extends _NodeJs implements Entity native "*Entity" {
1978 1954
1979 final String notationName; 1955 final String notationName;
1980 1956
1981 final String publicId; 1957 final String publicId;
1982 1958
1983 final String systemId; 1959 final String systemId;
1984 } 1960 }
1985 1961
1986 class _EntityReferenceJs extends _NodeJs implements EntityReference native "*Ent ityReference" { 1962 class _EntityReferenceJs extends _NodeJs implements EntityReference native "*Ent ityReference" {
(...skipping 3050 matching lines...) Expand 10 before | Expand all | Expand 10 after
5037 5013
5038 String item(int index) native; 5014 String item(int index) native;
5039 } 5015 }
5040 5016
5041 class _MediaQueryListJs extends _DOMTypeJs implements MediaQueryList native "*Me diaQueryList" { 5017 class _MediaQueryListJs extends _DOMTypeJs implements MediaQueryList native "*Me diaQueryList" {
5042 5018
5043 final bool matches; 5019 final bool matches;
5044 5020
5045 final String media; 5021 final String media;
5046 5022
5047 void addListener(_MediaQueryListListenerJs listener) native; 5023 void addListener(MediaQueryListListener listener) native;
5048 5024
5049 void removeListener(_MediaQueryListListenerJs listener) native; 5025 void removeListener(MediaQueryListListener listener) native;
5050 }
5051
5052 class _MediaQueryListListenerJs extends _DOMTypeJs implements MediaQueryListList ener native "*MediaQueryListListener" {
5053
5054 void queryChanged(_MediaQueryListJs list) native;
5055 } 5026 }
5056 5027
5057 class _MediaStreamJs extends _EventTargetJs implements MediaStream native "*Medi aStream" { 5028 class _MediaStreamJs extends _EventTargetJs implements MediaStream native "*Medi aStream" {
5058 5029
5059 static final int ENDED = 2; 5030 static final int ENDED = 2;
5060 5031
5061 static final int LIVE = 1; 5032 static final int LIVE = 1;
5062 5033
5063 final _MediaStreamTrackListJs audioTracks; 5034 final _MediaStreamTrackListJs audioTracks;
5064 5035
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
5652 } 5623 }
5653 5624
5654 List<Node> getRange(int start, int rangeLength) => 5625 List<Node> getRange(int start, int rangeLength) =>
5655 _Lists.getRange(this, start, rangeLength, <Node>[]); 5626 _Lists.getRange(this, start, rangeLength, <Node>[]);
5656 5627
5657 // -- end List<Node> mixins. 5628 // -- end List<Node> mixins.
5658 5629
5659 _NodeJs item(int index) native; 5630 _NodeJs item(int index) native;
5660 } 5631 }
5661 5632
5662 class _NodeSelectorJs extends _DOMTypeJs implements NodeSelector native "*NodeSe lector" {
5663
5664 _ElementJs querySelector(String selectors) native;
5665
5666 _NodeListJs querySelectorAll(String selectors) native;
5667 }
5668
5669 class _NotationJs extends _NodeJs implements Notation native "*Notation" { 5633 class _NotationJs extends _NodeJs implements Notation native "*Notation" {
5670 5634
5671 final String publicId; 5635 final String publicId;
5672 5636
5673 final String systemId; 5637 final String systemId;
5674 } 5638 }
5675 5639
5676 class _NotificationJs extends _EventTargetJs implements Notification native "*No tification" { 5640 class _NotificationJs extends _EventTargetJs implements Notification native "*No tification" {
5677 5641
5678 String dir; 5642 String dir;
(...skipping 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after
6788 6752
6789 final int code; 6753 final int code;
6790 6754
6791 final String message; 6755 final String message;
6792 6756
6793 final String name; 6757 final String name;
6794 6758
6795 String toString() native; 6759 String toString() native;
6796 } 6760 }
6797 6761
6798 class _SVGExternalResourcesRequiredJs extends _DOMTypeJs implements SVGExternalR esourcesRequired native "*SVGExternalResourcesRequired" {
6799
6800 final _SVGAnimatedBooleanJs externalResourcesRequired;
6801 }
6802
6803 class _SVGFEBlendElementJs extends _SVGElementJs implements SVGFEBlendElement na tive "*SVGFEBlendElement" { 6762 class _SVGFEBlendElementJs extends _SVGElementJs implements SVGFEBlendElement na tive "*SVGFEBlendElement" {
6804 6763
6805 static final int SVG_FEBLEND_MODE_DARKEN = 4; 6764 static final int SVG_FEBLEND_MODE_DARKEN = 4;
6806 6765
6807 static final int SVG_FEBLEND_MODE_LIGHTEN = 5; 6766 static final int SVG_FEBLEND_MODE_LIGHTEN = 5;
6808 6767
6809 static final int SVG_FEBLEND_MODE_MULTIPLY = 2; 6768 static final int SVG_FEBLEND_MODE_MULTIPLY = 2;
6810 6769
6811 static final int SVG_FEBLEND_MODE_NORMAL = 1; 6770 static final int SVG_FEBLEND_MODE_NORMAL = 1;
6812 6771
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
7515 // From SVGStylable 7474 // From SVGStylable
7516 7475
7517 final _SVGAnimatedStringJs className; 7476 final _SVGAnimatedStringJs className;
7518 7477
7519 // Use implementation from Element. 7478 // Use implementation from Element.
7520 // final _CSSStyleDeclarationJs style; 7479 // final _CSSStyleDeclarationJs style;
7521 7480
7522 _CSSValueJs getPresentationAttribute(String name) native; 7481 _CSSValueJs getPresentationAttribute(String name) native;
7523 } 7482 }
7524 7483
7525 class _SVGFilterPrimitiveStandardAttributesJs extends _SVGStylableJs implements SVGFilterPrimitiveStandardAttributes native "*SVGFilterPrimitiveStandardAttribut es" {
7526
7527 final _SVGAnimatedLengthJs height;
7528
7529 final _SVGAnimatedStringJs result;
7530
7531 final _SVGAnimatedLengthJs width;
7532
7533 final _SVGAnimatedLengthJs x;
7534
7535 final _SVGAnimatedLengthJs y;
7536 }
7537
7538 class _SVGFitToViewBoxJs extends _DOMTypeJs implements SVGFitToViewBox native "* SVGFitToViewBox" {
7539
7540 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio;
7541
7542 final _SVGAnimatedRectJs viewBox;
7543 }
7544
7545 class _SVGFontElementJs extends _SVGElementJs implements SVGFontElement native " *SVGFontElement" { 7484 class _SVGFontElementJs extends _SVGElementJs implements SVGFontElement native " *SVGFontElement" {
7546 } 7485 }
7547 7486
7548 class _SVGFontFaceElementJs extends _SVGElementJs implements SVGFontFaceElement native "*SVGFontFaceElement" { 7487 class _SVGFontFaceElementJs extends _SVGElementJs implements SVGFontFaceElement native "*SVGFontFaceElement" {
7549 } 7488 }
7550 7489
7551 class _SVGFontFaceFormatElementJs extends _SVGElementJs implements SVGFontFaceFo rmatElement native "*SVGFontFaceFormatElement" { 7490 class _SVGFontFaceFormatElementJs extends _SVGElementJs implements SVGFontFaceFo rmatElement native "*SVGFontFaceFormatElement" {
7552 } 7491 }
7553 7492
7554 class _SVGFontFaceNameElementJs extends _SVGElementJs implements SVGFontFaceName Element native "*SVGFontFaceNameElement" { 7493 class _SVGFontFaceNameElementJs extends _SVGElementJs implements SVGFontFaceName Element native "*SVGFontFaceNameElement" {
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
7793 7732
7794 _SVGRectJs getBBox() native; 7733 _SVGRectJs getBBox() native;
7795 7734
7796 _SVGMatrixJs getCTM() native; 7735 _SVGMatrixJs getCTM() native;
7797 7736
7798 _SVGMatrixJs getScreenCTM() native; 7737 _SVGMatrixJs getScreenCTM() native;
7799 7738
7800 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; 7739 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
7801 } 7740 }
7802 7741
7803 class _SVGLangSpaceJs extends _DOMTypeJs implements SVGLangSpace native "*SVGLan gSpace" {
7804
7805 String xmllang;
7806
7807 String xmlspace;
7808 }
7809
7810 class _SVGLengthJs extends _DOMTypeJs implements SVGLength native "*SVGLength" { 7742 class _SVGLengthJs extends _DOMTypeJs implements SVGLength native "*SVGLength" {
7811 7743
7812 static final int SVG_LENGTHTYPE_CM = 6; 7744 static final int SVG_LENGTHTYPE_CM = 6;
7813 7745
7814 static final int SVG_LENGTHTYPE_EMS = 3; 7746 static final int SVG_LENGTHTYPE_EMS = 3;
7815 7747
7816 static final int SVG_LENGTHTYPE_EXS = 4; 7748 static final int SVG_LENGTHTYPE_EXS = 4;
7817 7749
7818 static final int SVG_LENGTHTYPE_IN = 8; 7750 static final int SVG_LENGTHTYPE_IN = 8;
7819 7751
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
7925 7857
7926 final _SVGAnimatedLengthJs x1; 7858 final _SVGAnimatedLengthJs x1;
7927 7859
7928 final _SVGAnimatedLengthJs x2; 7860 final _SVGAnimatedLengthJs x2;
7929 7861
7930 final _SVGAnimatedLengthJs y1; 7862 final _SVGAnimatedLengthJs y1;
7931 7863
7932 final _SVGAnimatedLengthJs y2; 7864 final _SVGAnimatedLengthJs y2;
7933 } 7865 }
7934 7866
7935 class _SVGLocatableJs extends _DOMTypeJs implements SVGLocatable native "*SVGLoc atable" {
7936
7937 final _SVGElementJs farthestViewportElement;
7938
7939 final _SVGElementJs nearestViewportElement;
7940
7941 _SVGRectJs getBBox() native;
7942
7943 _SVGMatrixJs getCTM() native;
7944
7945 _SVGMatrixJs getScreenCTM() native;
7946
7947 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
7948 }
7949
7950 class _SVGMPathElementJs extends _SVGElementJs implements SVGMPathElement native "*SVGMPathElement" { 7867 class _SVGMPathElementJs extends _SVGElementJs implements SVGMPathElement native "*SVGMPathElement" {
7951 7868
7952 // From SVGURIReference 7869 // From SVGURIReference
7953 7870
7954 final _SVGAnimatedStringJs href; 7871 final _SVGAnimatedStringJs href;
7955 7872
7956 // From SVGExternalResourcesRequired 7873 // From SVGExternalResourcesRequired
7957 7874
7958 final _SVGAnimatedBooleanJs externalResourcesRequired; 7875 final _SVGAnimatedBooleanJs externalResourcesRequired;
7959 } 7876 }
(...skipping 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after
9001 8918
9002 String initialize(String item) native; 8919 String initialize(String item) native;
9003 8920
9004 String insertItemBefore(String item, int index) native; 8921 String insertItemBefore(String item, int index) native;
9005 8922
9006 String removeItem(int index) native; 8923 String removeItem(int index) native;
9007 8924
9008 String replaceItem(String item, int index) native; 8925 String replaceItem(String item, int index) native;
9009 } 8926 }
9010 8927
9011 class _SVGStylableJs extends _DOMTypeJs implements SVGStylable native "*SVGStyla ble" {
9012
9013 final _SVGAnimatedStringJs className;
9014
9015 final _CSSStyleDeclarationJs style;
9016
9017 _CSSValueJs getPresentationAttribute(String name) native;
9018 }
9019
9020 class _SVGStyleElementJs extends _SVGElementJs implements SVGStyleElement native "*SVGStyleElement" { 8928 class _SVGStyleElementJs extends _SVGElementJs implements SVGStyleElement native "*SVGStyleElement" {
9021 8929
9022 bool disabled; 8930 bool disabled;
9023 8931
9024 String media; 8932 String media;
9025 8933
9026 String title; 8934 String title;
9027 8935
9028 String type; 8936 String type;
9029 8937
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
9115 class _SVGTRefElementJs extends _SVGTextPositioningElementJs implements SVGTRefE lement native "*SVGTRefElement" { 9023 class _SVGTRefElementJs extends _SVGTextPositioningElementJs implements SVGTRefE lement native "*SVGTRefElement" {
9116 9024
9117 // From SVGURIReference 9025 // From SVGURIReference
9118 9026
9119 final _SVGAnimatedStringJs href; 9027 final _SVGAnimatedStringJs href;
9120 } 9028 }
9121 9029
9122 class _SVGTSpanElementJs extends _SVGTextPositioningElementJs implements SVGTSpa nElement native "*SVGTSpanElement" { 9030 class _SVGTSpanElementJs extends _SVGTextPositioningElementJs implements SVGTSpa nElement native "*SVGTSpanElement" {
9123 } 9031 }
9124 9032
9125 class _SVGTestsJs extends _DOMTypeJs implements SVGTests native "*SVGTests" {
9126
9127 final _SVGStringListJs requiredExtensions;
9128
9129 final _SVGStringListJs requiredFeatures;
9130
9131 final _SVGStringListJs systemLanguage;
9132
9133 bool hasExtension(String extension) native;
9134 }
9135
9136 class _SVGTextContentElementJs extends _SVGElementJs implements SVGTextContentEl ement native "*SVGTextContentElement" { 9033 class _SVGTextContentElementJs extends _SVGElementJs implements SVGTextContentEl ement native "*SVGTextContentElement" {
9137 9034
9138 static final int LENGTHADJUST_SPACING = 1; 9035 static final int LENGTHADJUST_SPACING = 1;
9139 9036
9140 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2; 9037 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2;
9141 9038
9142 static final int LENGTHADJUST_UNKNOWN = 0; 9039 static final int LENGTHADJUST_UNKNOWN = 0;
9143 9040
9144 final _SVGAnimatedEnumerationJs lengthAdjust; 9041 final _SVGAnimatedEnumerationJs lengthAdjust;
9145 9042
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
9321 9218
9322 _SVGTransformJs initialize(_SVGTransformJs item) native; 9219 _SVGTransformJs initialize(_SVGTransformJs item) native;
9323 9220
9324 _SVGTransformJs insertItemBefore(_SVGTransformJs item, int index) native; 9221 _SVGTransformJs insertItemBefore(_SVGTransformJs item, int index) native;
9325 9222
9326 _SVGTransformJs removeItem(int index) native; 9223 _SVGTransformJs removeItem(int index) native;
9327 9224
9328 _SVGTransformJs replaceItem(_SVGTransformJs item, int index) native; 9225 _SVGTransformJs replaceItem(_SVGTransformJs item, int index) native;
9329 } 9226 }
9330 9227
9331 class _SVGTransformableJs extends _SVGLocatableJs implements SVGTransformable na tive "*SVGTransformable" {
9332
9333 final _SVGAnimatedTransformListJs transform;
9334 }
9335
9336 class _SVGURIReferenceJs extends _DOMTypeJs implements SVGURIReference native "* SVGURIReference" {
9337
9338 final _SVGAnimatedStringJs href;
9339 }
9340
9341 class _SVGUnitTypesJs extends _DOMTypeJs implements SVGUnitTypes native "*SVGUni tTypes" { 9228 class _SVGUnitTypesJs extends _DOMTypeJs implements SVGUnitTypes native "*SVGUni tTypes" {
9342 9229
9343 static final int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; 9230 static final int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
9344 9231
9345 static final int SVG_UNIT_TYPE_UNKNOWN = 0; 9232 static final int SVG_UNIT_TYPE_UNKNOWN = 0;
9346 9233
9347 static final int SVG_UNIT_TYPE_USERSPACEONUSE = 1; 9234 static final int SVG_UNIT_TYPE_USERSPACEONUSE = 1;
9348 } 9235 }
9349 9236
9350 class _SVGUseElementJs extends _SVGElementJs implements SVGUseElement native "*S VGUseElement" { 9237 class _SVGUseElementJs extends _SVGElementJs implements SVGUseElement native "*S VGUseElement" {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
9428 9315
9429 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; 9316 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio;
9430 9317
9431 final _SVGAnimatedRectJs viewBox; 9318 final _SVGAnimatedRectJs viewBox;
9432 9319
9433 // From SVGZoomAndPan 9320 // From SVGZoomAndPan
9434 9321
9435 int zoomAndPan; 9322 int zoomAndPan;
9436 } 9323 }
9437 9324
9438 class _SVGViewSpecJs extends _SVGZoomAndPanJs implements SVGViewSpec native "*SV GViewSpec" { 9325 class _SVGViewSpecJs extends _DOMTypeJs implements SVGViewSpec native "*SVGViewS pec" {
9439 9326
9440 final String preserveAspectRatioString; 9327 final String preserveAspectRatioString;
9441 9328
9442 final _SVGTransformListJs transform; 9329 final _SVGTransformListJs transform;
9443 9330
9444 final String transformString; 9331 final String transformString;
9445 9332
9446 final String viewBoxString; 9333 final String viewBoxString;
9447 9334
9448 final _SVGElementJs viewTarget; 9335 final _SVGElementJs viewTarget;
9449 9336
9450 final String viewTargetString; 9337 final String viewTargetString;
9451 9338
9339 // From SVGZoomAndPan
9340
9341 int zoomAndPan;
9342
9452 // From SVGFitToViewBox 9343 // From SVGFitToViewBox
9453 9344
9454 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; 9345 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio;
9455 9346
9456 final _SVGAnimatedRectJs viewBox; 9347 final _SVGAnimatedRectJs viewBox;
9457 } 9348 }
9458 9349
9459 class _SVGZoomAndPanJs extends _DOMTypeJs implements SVGZoomAndPan native "*SVGZ oomAndPan" {
9460
9461 static final int SVG_ZOOMANDPAN_DISABLE = 1;
9462
9463 static final int SVG_ZOOMANDPAN_MAGNIFY = 2;
9464
9465 static final int SVG_ZOOMANDPAN_UNKNOWN = 0;
9466
9467 int zoomAndPan;
9468 }
9469
9470 class _SVGZoomEventJs extends _UIEventJs implements SVGZoomEvent native "*SVGZoo mEvent" { 9350 class _SVGZoomEventJs extends _UIEventJs implements SVGZoomEvent native "*SVGZoo mEvent" {
9471 9351
9472 final num newScale; 9352 final num newScale;
9473 9353
9474 final _SVGPointJs newTranslate; 9354 final _SVGPointJs newTranslate;
9475 9355
9476 final num previousScale; 9356 final num previousScale;
9477 9357
9478 final _SVGPointJs previousTranslate; 9358 final _SVGPointJs previousTranslate;
9479 9359
(...skipping 4270 matching lines...) Expand 10 before | Expand all | Expand 10 after
13750 bool contains(String string); 13630 bool contains(String string);
13751 13631
13752 String item(int index); 13632 String item(int index);
13753 } 13633 }
13754 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13634 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13755 // for details. All rights reserved. Use of this source code is governed by a 13635 // for details. All rights reserved. Use of this source code is governed by a
13756 // BSD-style license that can be found in the LICENSE file. 13636 // BSD-style license that can be found in the LICENSE file.
13757 13637
13758 // WARNING: Do not edit - generated code. 13638 // WARNING: Do not edit - generated code.
13759 13639
13640 interface DOMStringMap {
13641 }
13642 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13643 // for details. All rights reserved. Use of this source code is governed by a
13644 // BSD-style license that can be found in the LICENSE file.
13645
13646 // WARNING: Do not edit - generated code.
13647
13760 interface DOMTokenList { 13648 interface DOMTokenList {
13761 13649
13762 final int length; 13650 final int length;
13763 13651
13764 void add(String token); 13652 void add(String token);
13765 13653
13766 bool contains(String token); 13654 bool contains(String token);
13767 13655
13768 String item(int index); 13656 String item(int index);
13769 13657
(...skipping 11584 matching lines...) Expand 10 before | Expand all | Expand 10 after
25354 if (length < 0) throw new IllegalArgumentException('length'); 25242 if (length < 0) throw new IllegalArgumentException('length');
25355 if (start < 0) throw new IndexOutOfRangeException(start); 25243 if (start < 0) throw new IndexOutOfRangeException(start);
25356 int end = start + length; 25244 int end = start + length;
25357 if (end > a.length) throw new IndexOutOfRangeException(end); 25245 if (end > a.length) throw new IndexOutOfRangeException(end);
25358 for (int i = start; i < end; i++) { 25246 for (int i = start; i < end; i++) {
25359 accumulator.add(a[i]); 25247 accumulator.add(a[i]);
25360 } 25248 }
25361 return accumulator; 25249 return accumulator;
25362 } 25250 }
25363 } 25251 }
OLDNEW
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/dom/scripts/dartgenerator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698