OLD | NEW |
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 22673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22684 Node iterateNext(); | 22684 Node iterateNext(); |
22685 | 22685 |
22686 Node snapshotItem(int index); | 22686 Node snapshotItem(int index); |
22687 } | 22687 } |
22688 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 22688 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
22689 // for details. All rights reserved. Use of this source code is governed by a | 22689 // for details. All rights reserved. Use of this source code is governed by a |
22690 // BSD-style license that can be found in the LICENSE file. | 22690 // BSD-style license that can be found in the LICENSE file. |
22691 | 22691 |
22692 // WARNING: Do not edit - generated code. | 22692 // WARNING: Do not edit - generated code. |
22693 | 22693 |
22694 interface XSLTProcessor { | 22694 interface XSLTProcessor default _XSLTProcessorFactoryProvider { |
| 22695 |
| 22696 XSLTProcessor(); |
22695 | 22697 |
22696 void clearParameters(); | 22698 void clearParameters(); |
22697 | 22699 |
22698 String getParameter(String namespaceURI, String localName); | 22700 String getParameter(String namespaceURI, String localName); |
22699 | 22701 |
22700 void importStylesheet(Node stylesheet); | 22702 void importStylesheet(Node stylesheet); |
22701 | 22703 |
22702 void removeParameter(String namespaceURI, String localName); | 22704 void removeParameter(String namespaceURI, String localName); |
22703 | 22705 |
22704 void reset(); | 22706 void reset(); |
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23444 | 23446 |
23445 class _WebSocketFactoryProvider { | 23447 class _WebSocketFactoryProvider { |
23446 | 23448 |
23447 factory WebSocket(String url) native '''return new WebSocket(url);'''; | 23449 factory WebSocket(String url) native '''return new WebSocket(url);'''; |
23448 } | 23450 } |
23449 | 23451 |
23450 class _XMLHttpRequestFactoryProvider { | 23452 class _XMLHttpRequestFactoryProvider { |
23451 | 23453 |
23452 factory XMLHttpRequest() native '''return new XMLHttpRequest();'''; | 23454 factory XMLHttpRequest() native '''return new XMLHttpRequest();'''; |
23453 } | 23455 } |
| 23456 |
| 23457 class _XSLTProcessorFactoryProvider { |
| 23458 |
| 23459 factory XSLTProcessor() native '''return new XSLTProcessor();'''; |
| 23460 } |
23454 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 23461 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
23455 // for details. All rights reserved. Use of this source code is governed by a | 23462 // for details. All rights reserved. Use of this source code is governed by a |
23456 // BSD-style license that can be found in the LICENSE file. | 23463 // BSD-style license that can be found in the LICENSE file. |
23457 | 23464 |
23458 // Iterator for arrays with fixed size. | 23465 // Iterator for arrays with fixed size. |
23459 class _FixedSizeListIterator<T> extends _VariableSizeListIterator<T> { | 23466 class _FixedSizeListIterator<T> extends _VariableSizeListIterator<T> { |
23460 _FixedSizeListIterator(List<T> array) | 23467 _FixedSizeListIterator(List<T> array) |
23461 : super(array), | 23468 : super(array), |
23462 _length = array.length; | 23469 _length = array.length; |
23463 | 23470 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23545 if (length < 0) throw new IllegalArgumentException('length'); | 23552 if (length < 0) throw new IllegalArgumentException('length'); |
23546 if (start < 0) throw new IndexOutOfRangeException(start); | 23553 if (start < 0) throw new IndexOutOfRangeException(start); |
23547 int end = start + length; | 23554 int end = start + length; |
23548 if (end > a.length) throw new IndexOutOfRangeException(end); | 23555 if (end > a.length) throw new IndexOutOfRangeException(end); |
23549 for (int i = start; i < end; i++) { | 23556 for (int i = start; i < end; i++) { |
23550 accumulator.add(a[i]); | 23557 accumulator.add(a[i]); |
23551 } | 23558 } |
23552 return accumulator; | 23559 return accumulator; |
23553 } | 23560 } |
23554 } | 23561 } |
OLD | NEW |