| OLD | NEW |
| 1 #library('dart:dom_deprecated'); | 1 #library('dart:dom_deprecated'); |
| 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 6206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6217 | 6217 |
| 6218 final _SQLResultSetRowListJs rows; | 6218 final _SQLResultSetRowListJs rows; |
| 6219 | 6219 |
| 6220 final int rowsAffected; | 6220 final int rowsAffected; |
| 6221 } | 6221 } |
| 6222 | 6222 |
| 6223 class _SQLResultSetRowListJs extends _DOMTypeJs implements SQLResultSetRowList n
ative "*SQLResultSetRowList" { | 6223 class _SQLResultSetRowListJs extends _DOMTypeJs implements SQLResultSetRowList n
ative "*SQLResultSetRowList" { |
| 6224 | 6224 |
| 6225 final int length; | 6225 final int length; |
| 6226 | 6226 |
| 6227 Object item(int index) native; | 6227 Map item(int index) native; |
| 6228 } | 6228 } |
| 6229 | 6229 |
| 6230 class _SQLTransactionJs extends _DOMTypeJs implements SQLTransaction native "*SQ
LTransaction" { | 6230 class _SQLTransactionJs extends _DOMTypeJs implements SQLTransaction native "*SQ
LTransaction" { |
| 6231 | 6231 |
| 6232 void executeSql(String sqlStatement, List arguments, [SQLStatementCallback cal
lback, SQLStatementErrorCallback errorCallback]) native; | 6232 void executeSql(String sqlStatement, List arguments, [SQLStatementCallback cal
lback, SQLStatementErrorCallback errorCallback]) native; |
| 6233 } | 6233 } |
| 6234 | 6234 |
| 6235 class _SQLTransactionSyncJs extends _DOMTypeJs implements SQLTransactionSync nat
ive "*SQLTransactionSync" { | 6235 class _SQLTransactionSyncJs extends _DOMTypeJs implements SQLTransactionSync nat
ive "*SQLTransactionSync" { |
| 6236 | 6236 |
| 6237 _SQLResultSetJs executeSql(String sqlStatement, List arguments) native; | 6237 _SQLResultSetJs executeSql(String sqlStatement, List arguments) native; |
| (...skipping 12988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19226 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19226 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19227 // for details. All rights reserved. Use of this source code is governed by a | 19227 // for details. All rights reserved. Use of this source code is governed by a |
| 19228 // BSD-style license that can be found in the LICENSE file. | 19228 // BSD-style license that can be found in the LICENSE file. |
| 19229 | 19229 |
| 19230 // WARNING: Do not edit - generated code. | 19230 // WARNING: Do not edit - generated code. |
| 19231 | 19231 |
| 19232 interface SQLResultSetRowList { | 19232 interface SQLResultSetRowList { |
| 19233 | 19233 |
| 19234 final int length; | 19234 final int length; |
| 19235 | 19235 |
| 19236 Object item(int index); | 19236 Map item(int index); |
| 19237 } | 19237 } |
| 19238 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19238 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19239 // for details. All rights reserved. Use of this source code is governed by a | 19239 // for details. All rights reserved. Use of this source code is governed by a |
| 19240 // BSD-style license that can be found in the LICENSE file. | 19240 // BSD-style license that can be found in the LICENSE file. |
| 19241 | 19241 |
| 19242 // WARNING: Do not edit - generated code. | 19242 // WARNING: Do not edit - generated code. |
| 19243 | 19243 |
| 19244 typedef bool SQLStatementCallback(SQLTransaction transaction, SQLResultSet resul
tSet); | 19244 typedef bool SQLStatementCallback(SQLTransaction transaction, SQLResultSet resul
tSet); |
| 19245 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19245 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19246 // for details. All rights reserved. Use of this source code is governed by a | 19246 // for details. All rights reserved. Use of this source code is governed by a |
| (...skipping 6279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25526 if (length < 0) throw new IllegalArgumentException('length'); | 25526 if (length < 0) throw new IllegalArgumentException('length'); |
| 25527 if (start < 0) throw new IndexOutOfRangeException(start); | 25527 if (start < 0) throw new IndexOutOfRangeException(start); |
| 25528 int end = start + length; | 25528 int end = start + length; |
| 25529 if (end > a.length) throw new IndexOutOfRangeException(end); | 25529 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 25530 for (int i = start; i < end; i++) { | 25530 for (int i = start; i < end; i++) { |
| 25531 accumulator.add(a[i]); | 25531 accumulator.add(a[i]); |
| 25532 } | 25532 } |
| 25533 return accumulator; | 25533 return accumulator; |
| 25534 } | 25534 } |
| 25535 } | 25535 } |
| OLD | NEW |