OLD | NEW |
1 dart_library.library('extensions', null, /* Imports */[ | 1 dart_library.library('extensions', null, /* Imports */[ |
2 "dart/_runtime", | 2 'dart/_runtime', |
3 'dart/collection', | 3 'dart/collection', |
4 'dart/core' | 4 'dart/core' |
5 ], /* Lazy imports */[ | 5 ], /* Lazy imports */[ |
6 ], function(exports, dart, collection, core) { | 6 ], function(exports, dart, collection, core) { |
7 'use strict'; | 7 'use strict'; |
8 let dartx = dart.dartx; | 8 let dartx = dart.dartx; |
9 class StringIterable extends collection.IterableBase$(core.String) { | 9 class StringIterable extends collection.IterableBase$(core.String) { |
10 StringIterable() { | 10 StringIterable() { |
11 this.iterator = null; | 11 this.iterator = null; |
12 super.IterableBase(); | 12 super.IterableBase(); |
13 } | 13 } |
14 } | 14 } |
15 dart.virtualField(StringIterable, 'iterator'); | 15 dart.virtualField(StringIterable, 'iterator'); |
16 dart.setSignature(StringIterable, {}); | 16 dart.setSignature(StringIterable, {}); |
17 dart.defineExtensionMembers(StringIterable, ['iterator']); | 17 dart.defineExtensionMembers(StringIterable, ['iterator']); |
18 function main() { | 18 function main() { |
19 return new StringIterable(); | 19 return new StringIterable(); |
20 } | 20 } |
21 dart.fn(main); | 21 dart.fn(main); |
22 // Exports: | 22 // Exports: |
23 exports.StringIterable = StringIterable; | 23 exports.StringIterable = StringIterable; |
24 exports.main = main; | 24 exports.main = main; |
25 }); | 25 }); |
OLD | NEW |