| OLD | NEW |
| 1 var _js_helper = dart.defineLibrary(_js_helper, {}); | 1 var _js_helper = dart.defineLibrary(_js_helper, {}); |
| 2 var core = dart.import(core); | 2 var core = dart.import(core); |
| 3 var collection = dart.import(collection); | 3 var collection = dart.import(collection); |
| 4 var _interceptors = dart.lazyImport(_interceptors); | 4 var _interceptors = dart.lazyImport(_interceptors); |
| 5 var _foreign_helper = dart.import(_foreign_helper); | 5 var _foreign_helper = dart.import(_foreign_helper); |
| 6 (function(exports, core, collection, _interceptors, _foreign_helper) { | 6 (function(exports, core, collection, _interceptors, _foreign_helper) { |
| 7 'use strict'; | 7 'use strict'; |
| 8 class NoThrows extends core.Object { | 8 class NoThrows extends core.Object { |
| 9 NoThrows() { | 9 NoThrows() { |
| 10 } | 10 } |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 return this[_execAnchored](string, start); | 180 return this[_execAnchored](string, start); |
| 181 } | 181 } |
| 182 get isMultiLine() { | 182 get isMultiLine() { |
| 183 return this[_isMultiLine]; | 183 return this[_isMultiLine]; |
| 184 } | 184 } |
| 185 get isCaseSensitive() { | 185 get isCaseSensitive() { |
| 186 return this[_isCaseSensitive]; | 186 return this[_isCaseSensitive]; |
| 187 } | 187 } |
| 188 } | 188 } |
| 189 JSSyntaxRegExp[dart.implements] = () => [core.RegExp]; | 189 JSSyntaxRegExp[dart.implements] = () => [core.RegExp]; |
| 190 dart.defineExtensionMembers(JSSyntaxRegExp, ['allMatches', 'matchAsPrefix']); | |
| 191 dart.setSignature(JSSyntaxRegExp, { | 190 dart.setSignature(JSSyntaxRegExp, { |
| 192 constructors: () => ({JSSyntaxRegExp: [JSSyntaxRegExp, [core.String], {multi
Line: core.bool, caseSensitive: core.bool}]}), | 191 constructors: () => ({JSSyntaxRegExp: [JSSyntaxRegExp, [core.String], {multi
Line: core.bool, caseSensitive: core.bool}]}), |
| 193 methods: () => ({ | 192 methods: () => ({ |
| 194 firstMatch: [core.Match, [core.String]], | 193 firstMatch: [core.Match, [core.String]], |
| 195 hasMatch: [core.bool, [core.String]], | 194 hasMatch: [core.bool, [core.String]], |
| 196 stringMatch: [core.String, [core.String]], | 195 stringMatch: [core.String, [core.String]], |
| 197 allMatches: [core.Iterable$(core.Match), [core.String], [core.int]], | 196 allMatches: [core.Iterable$(core.Match), [core.String], [core.int]], |
| 198 [_execGlobal]: [core.Match, [core.String, core.int]], | 197 [_execGlobal]: [core.Match, [core.String, core.int]], |
| 199 [_execAnchored]: [core.Match, [core.String, core.int]], | 198 [_execAnchored]: [core.Match, [core.String, core.int]], |
| 200 matchAsPrefix: [core.Match, [core.String], [core.int]] | 199 matchAsPrefix: [core.Match, [core.String], [core.int]] |
| 201 }), | 200 }), |
| 202 statics: () => ({makeNative: [core.Object, [core.String, core.bool, core.boo
l, core.bool]]}), | 201 statics: () => ({makeNative: [core.Object, [core.String, core.bool, core.boo
l, core.bool]]}), |
| 203 names: ['makeNative'] | 202 names: ['makeNative'] |
| 204 }); | 203 }); |
| 204 dart.defineExtensionMembers(JSSyntaxRegExp, ['allMatches', 'matchAsPrefix']); |
| 205 let _match = Symbol('_match'); | 205 let _match = Symbol('_match'); |
| 206 class _MatchImplementation extends core.Object { | 206 class _MatchImplementation extends core.Object { |
| 207 _MatchImplementation(pattern, match) { | 207 _MatchImplementation(pattern, match) { |
| 208 this.pattern = pattern; | 208 this.pattern = pattern; |
| 209 this[_match] = match; | 209 this[_match] = match; |
| 210 dart.assert(typeof this[_match].input == 'string'); | 210 dart.assert(typeof this[_match].input == 'string'); |
| 211 dart.assert(typeof this[_match].index == 'number'); | 211 dart.assert(typeof this[_match].index == 'number'); |
| 212 } | 212 } |
| 213 get input() { | 213 get input() { |
| 214 return this[_match].input; | 214 return this[_match].input; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 this[_start] = start; | 255 this[_start] = start; |
| 256 super.IterableBase(); | 256 super.IterableBase(); |
| 257 } | 257 } |
| 258 get iterator() { | 258 get iterator() { |
| 259 return new _AllMatchesIterator(this[_re], this[_string], this[_start]); | 259 return new _AllMatchesIterator(this[_re], this[_string], this[_start]); |
| 260 } | 260 } |
| 261 } | 261 } |
| 262 dart.setSignature(_AllMatchesIterable, { | 262 dart.setSignature(_AllMatchesIterable, { |
| 263 constructors: () => ({_AllMatchesIterable: [_AllMatchesIterable, [JSSyntaxRe
gExp, core.String, core.int]]}) | 263 constructors: () => ({_AllMatchesIterable: [_AllMatchesIterable, [JSSyntaxRe
gExp, core.String, core.int]]}) |
| 264 }); | 264 }); |
| 265 dart.defineExtensionMembers(_AllMatchesIterable, ['iterator']); |
| 265 let _regExp = Symbol('_regExp'); | 266 let _regExp = Symbol('_regExp'); |
| 266 let _nextIndex = Symbol('_nextIndex'); | 267 let _nextIndex = Symbol('_nextIndex'); |
| 267 let _current = Symbol('_current'); | 268 let _current = Symbol('_current'); |
| 268 class _AllMatchesIterator extends core.Object { | 269 class _AllMatchesIterator extends core.Object { |
| 269 _AllMatchesIterator(regExp, string, nextIndex) { | 270 _AllMatchesIterator(regExp, string, nextIndex) { |
| 270 this[_regExp] = regExp; | 271 this[_regExp] = regExp; |
| 271 this[_string] = string; | 272 this[_string] = string; |
| 272 this[_nextIndex] = nextIndex; | 273 this[_nextIndex] = nextIndex; |
| 273 this[_current] = null; | 274 this[_current] = null; |
| 274 } | 275 } |
| (...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1195 exports.Creates = Creates; | 1196 exports.Creates = Creates; |
| 1196 exports.Returns = Returns; | 1197 exports.Returns = Returns; |
| 1197 exports.JSName = JSName; | 1198 exports.JSName = JSName; |
| 1198 exports.TypeErrorImplementation = TypeErrorImplementation; | 1199 exports.TypeErrorImplementation = TypeErrorImplementation; |
| 1199 exports.CastErrorImplementation = CastErrorImplementation; | 1200 exports.CastErrorImplementation = CastErrorImplementation; |
| 1200 exports.FallThroughErrorImplementation = FallThroughErrorImplementation; | 1201 exports.FallThroughErrorImplementation = FallThroughErrorImplementation; |
| 1201 exports.RuntimeError = RuntimeError; | 1202 exports.RuntimeError = RuntimeError; |
| 1202 exports.random64 = random64; | 1203 exports.random64 = random64; |
| 1203 exports.jsonEncodeNative = jsonEncodeNative; | 1204 exports.jsonEncodeNative = jsonEncodeNative; |
| 1204 })(_js_helper, core, collection, _interceptors, _foreign_helper); | 1205 })(_js_helper, core, collection, _interceptors, _foreign_helper); |
| OLD | NEW |