| OLD | NEW |
| 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 /// The dart:core library for embedded fletch. | 5 /// The dart:core library for embedded dartino. |
| 6 /// | 6 /// |
| 7 /// It is imported by default in all libraries. | 7 /// It is imported by default in all libraries. |
| 8 /// | 8 /// |
| 9 /// It is the same as the mobile fletch core library without the | 9 /// It is the same as the mobile dartino core library without the |
| 10 /// Regexp and Uri classes. | 10 /// Regexp and Uri classes. |
| 11 library dart.core; | 11 library dart.core; |
| 12 | 12 |
| 13 import "dart:collection" show | 13 import "dart:collection" show |
| 14 IterableBase, | 14 IterableBase, |
| 15 LinkedHashMap, | 15 LinkedHashMap, |
| 16 LinkedHashSet, | 16 LinkedHashSet, |
| 17 UnmodifiableListView; | 17 UnmodifiableListView; |
| 18 | 18 |
| 19 import "dart:_internal" show | 19 import "dart:_internal" show |
| 20 CodeUnits, | 20 CodeUnits, |
| 21 EfficientLength, | 21 EfficientLength, |
| 22 EmptyIterable, | 22 EmptyIterable, |
| 23 ExpandIterable, | 23 ExpandIterable, |
| 24 IterableElementError, | 24 IterableElementError, |
| 25 MappedIterable, | 25 MappedIterable, |
| 26 SkipIterable, | 26 SkipIterable, |
| 27 SkipWhileIterable, | 27 SkipWhileIterable, |
| 28 TakeIterable, | 28 TakeIterable, |
| 29 TakeWhileIterable, | 29 TakeWhileIterable, |
| 30 WhereIterable, | 30 WhereIterable, |
| 31 printToConsole, | 31 printToConsole, |
| 32 printToZone; | 32 printToZone; |
| 33 | 33 |
| 34 import "dart:math" show Random; // Used by List.shuffle | 34 import "dart:math" show Random; // Used by List.shuffle |
| 35 | 35 |
| 36 import "dart:_internal" as internal show Symbol; | 36 import "dart:_internal" as internal show Symbol; |
| 37 | 37 |
| 38 // TODO(sigurdm): Make fletchc not depend on seeing this library. It is | 38 // TODO(sigurdm): Make dartino_compiler not depend on seeing this library. It is |
| 39 // currently hard-coded to look for [ForeignMemory]. | 39 // currently hard-coded to look for [ForeignMemory]. |
| 40 import 'dart:fletch.ffi' as not_needed; // Needed by fletchc. | 40 import 'dart:dartino.ffi' as not_needed; // Needed by dartino_compiler. |
| 41 | 41 |
| 42 part "dart:_core_annotations"; | 42 part "dart:_core_annotations"; |
| 43 part "dart:_core_bool"; | 43 part "dart:_core_bool"; |
| 44 part "dart:_core_comparable"; | 44 part "dart:_core_comparable"; |
| 45 part "dart:_core_date_time"; | 45 part "dart:_core_date_time"; |
| 46 part "dart:_core_double"; | 46 part "dart:_core_double"; |
| 47 part "dart:_core_duration"; | 47 part "dart:_core_duration"; |
| 48 part "dart:_core_errors"; | 48 part "dart:_core_errors"; |
| 49 part "dart:_core_exceptions"; | 49 part "dart:_core_exceptions"; |
| 50 part "dart:_core_expando"; | 50 part "dart:_core_expando"; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 /// compute the full match. This is the number of captured groups, | 113 /// compute the full match. This is the number of captured groups, |
| 114 /// which is also the maximal allowed argument to the [group] method. | 114 /// which is also the maximal allowed argument to the [group] method. |
| 115 int get groupCount; | 115 int get groupCount; |
| 116 | 116 |
| 117 /// The string on which this match was computed. | 117 /// The string on which this match was computed. |
| 118 String get input; | 118 String get input; |
| 119 | 119 |
| 120 /// The pattern used to search in [input]. | 120 /// The pattern used to search in [input]. |
| 121 Pattern get pattern; | 121 Pattern get pattern; |
| 122 } | 122 } |
| OLD | NEW |