OLD | NEW |
1 // Generated by dart2js, the Dart to JavaScript compiler version: 1.9.0-edge.440
28. | 1 // Generated by dart2js, the Dart to JavaScript compiler version: 1.10.0-edge.44
826. |
2 // The code supports the following hooks: | 2 // The code supports the following hooks: |
3 // dartPrint(message): | 3 // dartPrint(message): |
4 // if this function is defined it is called instead of the Dart [print] | 4 // if this function is defined it is called instead of the Dart [print] |
5 // method. | 5 // method. |
6 // | 6 // |
7 // dartMainRunner(main, args): | 7 // dartMainRunner(main, args): |
8 // if this function is defined, the Dart [main] method will not be invoked | 8 // if this function is defined, the Dart [main] method will not be invoked |
9 // directly. Instead, a closure that will invoke [main], and its arguments | 9 // directly. Instead, a closure that will invoke [main], and its arguments |
10 // [args] is passed to [dartMainRunner]. | 10 // [args] is passed to [dartMainRunner]. |
| 11 // |
| 12 // dartDeferredLibraryLoader(uri, successCallback, errorCallback): |
| 13 // if this function is defined, it will be called when a deferered library |
| 14 // is loaded. It should load and eval the javascript of `uri`, and call |
| 15 // successCallback. If it fails to do so, it should call errorCallback with |
| 16 // an error. |
11 (function($) { | 17 (function($) { |
| 18 var supportsDirectProtoAccess = function() { |
| 19 var cls = function() { |
| 20 }; |
| 21 cls.prototype = {p: {}}; |
| 22 var object = new cls(); |
| 23 return object.__proto__ && object.__proto__.p === cls.prototype.p; |
| 24 }(); |
| 25 ; |
12 function map(x) { | 26 function map(x) { |
13 x = Object.create(null); | 27 x = Object.create(null); |
14 x.x = 0; | 28 x.x = 0; |
15 delete x.x; | 29 delete x.x; |
16 return x; | 30 return x; |
17 } | 31 } |
18 var A = map(); | 32 var A = map(); |
19 var B = map(); | 33 var B = map(); |
20 var C = map(); | 34 var C = map(); |
21 var D = map(); | 35 var D = map(); |
(...skipping 18 matching lines...) Expand all Loading... |
40 var X = map(); | 54 var X = map(); |
41 var Y = map(); | 55 var Y = map(); |
42 var Z = map(); | 56 var Z = map(); |
43 function Isolate() {} | 57 function Isolate() {} |
44 init(); | 58 init(); |
45 | 59 |
46 $ = Isolate.$isolateProperties; | 60 $ = Isolate.$isolateProperties; |
47 $.functionThatReturnsNull = function() { | 61 $.functionThatReturnsNull = function() { |
48 }; | 62 }; |
49 ; | 63 ; |
50 function parseReflectionData(reflectionData) { | 64 function setupProgram(programData) { |
51 "use strict"; | 65 "use strict"; |
52 function generateAccessor(fieldDescriptor, accessors, cls) { | 66 function generateAccessor(fieldDescriptor, accessors, cls) { |
53 var fieldInformation = fieldDescriptor.split("-"); | 67 var fieldInformation = fieldDescriptor.split("-"); |
54 var field = fieldInformation[0]; | 68 var field = fieldInformation[0]; |
55 var len = field.length; | 69 var len = field.length; |
56 var code = field.charCodeAt(len - 1); | 70 var code = field.charCodeAt(len - 1); |
57 var reflectable; | 71 var reflectable; |
58 if (fieldInformation.length > 1) | 72 if (fieldInformation.length > 1) |
59 reflectable = true; | 73 reflectable = true; |
60 else | 74 else |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 function defineClass(name, fields) { | 111 function defineClass(name, fields) { |
98 var accessors = []; | 112 var accessors = []; |
99 var str = "function " + name + "("; | 113 var str = "function " + name + "("; |
100 var body = ""; | 114 var body = ""; |
101 var fieldNames = ""; | 115 var fieldNames = ""; |
102 for (var i = 0; i < fields.length; i++) { | 116 for (var i = 0; i < fields.length; i++) { |
103 if (i != 0) | 117 if (i != 0) |
104 str += ", "; | 118 str += ", "; |
105 var field = generateAccessor(fields[i], accessors, name); | 119 var field = generateAccessor(fields[i], accessors, name); |
106 fieldNames += "'" + field + "',"; | 120 fieldNames += "'" + field + "',"; |
107 var parameter = "parameter_" + field; | 121 var parameter = "p_" + field; |
108 str += parameter; | 122 str += parameter; |
109 body += "this." + field + " = " + parameter + ";\n"; | 123 body += "this." + field + " = " + parameter + ";\n"; |
110 } | 124 } |
| 125 if (supportsDirectProtoAccess) |
| 126 body += "this." + "$deferredAction" + "();"; |
111 str += ") {\n" + body + "}\n"; | 127 str += ") {\n" + body + "}\n"; |
112 str += name + ".builtin$cls=\"" + name + "\";\n"; | 128 str += name + ".builtin$cls=\"" + name + "\";\n"; |
113 str += "$desc=$collectedClasses." + name + ";\n"; | 129 str += "$desc=$collectedClasses." + name + "[1];\n"; |
114 str += "if($desc instanceof Array) $desc = \$desc[1];\n"; | |
115 str += name + ".prototype = $desc;\n"; | 130 str += name + ".prototype = $desc;\n"; |
116 if (typeof defineClass.name != "string") | 131 if (typeof defineClass.name != "string") |
117 str += name + ".name=\"" + name + "\";\n"; | 132 str += name + ".name=\"" + name + "\";\n"; |
118 str += name + "." + "$__fields__" + "=[" + fieldNames + "];\n"; | 133 str += name + "." + "$__fields__" + "=[" + fieldNames + "];\n"; |
119 str += accessors.join(""); | 134 str += accessors.join(""); |
120 return str; | 135 return str; |
121 } | 136 } |
122 init.createNewIsolate = function() { | 137 init.createNewIsolate = function() { |
123 return new Isolate(); | 138 return new Isolate(); |
124 }; | 139 }; |
(...skipping 10 matching lines...) Expand all Loading... |
135 result[i] = o[fieldNames[i]]; | 150 result[i] = o[fieldNames[i]]; |
136 return result; | 151 return result; |
137 }; | 152 }; |
138 init.instanceFromClassId = function(name) { | 153 init.instanceFromClassId = function(name) { |
139 return new init.allClasses[name](); | 154 return new init.allClasses[name](); |
140 }; | 155 }; |
141 init.initializeEmptyInstance = function(name, o, fields) { | 156 init.initializeEmptyInstance = function(name, o, fields) { |
142 init.allClasses[name].apply(o, fields); | 157 init.allClasses[name].apply(o, fields); |
143 return o; | 158 return o; |
144 }; | 159 }; |
145 var inheritFrom = function() { | 160 var inheritFrom = supportsDirectProtoAccess ? function(constructor, superConst
ructor) { |
| 161 var prototype = constructor.prototype; |
| 162 prototype.__proto__ = superConstructor.prototype; |
| 163 prototype.constructor = constructor; |
| 164 prototype["$is" + constructor.name] = constructor; |
| 165 return convertToFastObject(prototype); |
| 166 } : function() { |
146 function tmp() { | 167 function tmp() { |
147 } | 168 } |
148 return function(constructor, superConstructor) { | 169 return function(constructor, superConstructor) { |
149 if (superConstructor == null) { | |
150 var prototype = constructor.prototype; | |
151 prototype.constructor = constructor; | |
152 prototype.$isObject = constructor; | |
153 return prototype; | |
154 } | |
155 tmp.prototype = superConstructor.prototype; | 170 tmp.prototype = superConstructor.prototype; |
156 var object = new tmp(); | 171 var object = new tmp(); |
| 172 convertToSlowObject(object); |
157 var properties = constructor.prototype; | 173 var properties = constructor.prototype; |
158 var members = Object.keys(properties); | 174 var members = Object.keys(properties); |
159 for (var i = 0; i < members.length; i++) { | 175 for (var i = 0; i < members.length; i++) { |
160 var member = members[i]; | 176 var member = members[i]; |
161 object[member] = properties[member]; | 177 object[member] = properties[member]; |
162 } | 178 } |
163 object["$is" + constructor.name] = constructor; | 179 object["$is" + constructor.name] = constructor; |
164 object.constructor = constructor; | 180 object.constructor = constructor; |
165 constructor.prototype = object; | 181 constructor.prototype = object; |
166 return object; | 182 return object; |
167 }; | 183 }; |
168 }(); | 184 }(); |
169 function finishClasses(processedClasses) { | 185 function finishClasses(processedClasses) { |
170 var allClasses = init.allClasses; | 186 var allClasses = init.allClasses; |
171 processedClasses.combinedConstructorFunction += "return [\n" + processedClas
ses.constructorsList.join(",\n ") + "\n]"; | 187 processedClasses.combinedConstructorFunction += "return [\n" + processedClas
ses.constructorsList.join(",\n ") + "\n]"; |
172 var constructors = new Function("$collectedClasses", processedClasses.combin
edConstructorFunction)(processedClasses.collected); | 188 var constructors = new Function("$collectedClasses", processedClasses.combin
edConstructorFunction)(processedClasses.collected); |
173 processedClasses.combinedConstructorFunction = null; | 189 processedClasses.combinedConstructorFunction = null; |
174 for (var i = 0; i < constructors.length; i++) { | 190 for (var i = 0; i < constructors.length; i++) { |
175 var constructor = constructors[i]; | 191 var constructor = constructors[i]; |
176 var cls = constructor.name; | 192 var cls = constructor.name; |
177 var desc = processedClasses.collected[cls]; | 193 var desc = processedClasses.collected[cls]; |
178 var globalObject = $; | 194 var globalObject = desc[0]; |
179 if (desc instanceof Array) { | 195 desc = desc[1]; |
180 globalObject = desc[0] || $; | |
181 desc = desc[1]; | |
182 } | |
183 allClasses[cls] = constructor; | 196 allClasses[cls] = constructor; |
184 globalObject[cls] = constructor; | 197 globalObject[cls] = constructor; |
185 } | 198 } |
186 constructors = null; | 199 constructors = null; |
187 var finishedClasses = init.finishedClasses; | 200 var finishedClasses = init.finishedClasses; |
188 function finishClass(cls) { | 201 function finishClass(cls) { |
189 if (finishedClasses[cls]) | 202 if (finishedClasses[cls]) |
190 return; | 203 return; |
191 finishedClasses[cls] = true; | 204 finishedClasses[cls] = true; |
192 var superclass = processedClasses.pending[cls]; | 205 var superclass = processedClasses.pending[cls]; |
193 if (superclass && superclass.indexOf("+") > 0) { | 206 if (superclass && superclass.indexOf("+") > 0) { |
194 var s = superclass.split("+"); | 207 var s = superclass.split("+"); |
195 superclass = s[0]; | 208 superclass = s[0]; |
196 var mixinClass = s[1]; | 209 var mixinClass = s[1]; |
197 finishClass(mixinClass); | 210 finishClass(mixinClass); |
198 var mixin = allClasses[mixinClass]; | 211 var mixin = allClasses[mixinClass]; |
199 var mixinPrototype = mixin.prototype; | 212 var mixinPrototype = mixin.prototype; |
200 var clsPrototype = allClasses[cls].prototype; | 213 var clsPrototype = allClasses[cls].prototype; |
201 var properties = Object.keys(mixinPrototype); | 214 var properties = Object.keys(mixinPrototype); |
202 for (var i = 0; i < properties.length; i++) { | 215 for (var i = 0; i < properties.length; i++) { |
203 var d = properties[i]; | 216 var d = properties[i]; |
204 if (!hasOwnProperty.call(clsPrototype, d)) | 217 if (!hasOwnProperty.call(clsPrototype, d)) |
205 clsPrototype[d] = mixinPrototype[d]; | 218 clsPrototype[d] = mixinPrototype[d]; |
206 } | 219 } |
207 } | 220 } |
208 if (!superclass || typeof superclass != "string") { | 221 if (!superclass || typeof superclass != "string") { |
209 inheritFrom(allClasses[cls], null); | 222 var constructor = allClasses[cls]; |
| 223 var prototype = constructor.prototype; |
| 224 prototype.constructor = constructor; |
| 225 prototype.$isObject = constructor; |
| 226 prototype.$deferredAction = markerFun; |
210 return; | 227 return; |
211 } | 228 } |
212 finishClass(superclass); | 229 finishClass(superclass); |
213 var superConstructor = allClasses[superclass]; | 230 var superConstructor = allClasses[superclass]; |
214 if (!superConstructor) | 231 if (!superConstructor) |
215 superConstructor = existingIsolateProperties[superclass]; | 232 superConstructor = existingIsolateProperties[superclass]; |
216 var constructor = allClasses[cls]; | 233 var constructor = allClasses[cls]; |
217 var prototype = inheritFrom(constructor, superConstructor); | 234 var prototype = inheritFrom(constructor, superConstructor); |
218 if (Object.prototype.hasOwnProperty.call(prototype, "%")) { | 235 if (Object.prototype.hasOwnProperty.call(prototype, "%")) { |
219 var nativeSpec = prototype["%"].split(";"); | 236 var nativeSpec = prototype["%"].split(";"); |
(...skipping 11 matching lines...) Expand all Loading... |
231 for (var i = 0; i < subclasses.length; i++) { | 248 for (var i = 0; i < subclasses.length; i++) { |
232 var subclass = allClasses[subclasses[i]]; | 249 var subclass = allClasses[subclasses[i]]; |
233 subclass.$nativeSuperclassTag = tags[0]; | 250 subclass.$nativeSuperclassTag = tags[0]; |
234 } | 251 } |
235 } | 252 } |
236 for (i = 0; i < tags.length; i++) { | 253 for (i = 0; i < tags.length; i++) { |
237 init.interceptorsByTag[tags[i]] = constructor; | 254 init.interceptorsByTag[tags[i]] = constructor; |
238 init.leafTags[tags[i]] = false; | 255 init.leafTags[tags[i]] = false; |
239 } | 256 } |
240 } | 257 } |
| 258 if (constructor.prototype.$deferredAction) |
| 259 finishAddStubsHelper(constructor.prototype); |
241 } | 260 } |
| 261 if (prototype.$isInterceptor && constructor.prototype.$deferredAction) |
| 262 finishAddStubsHelper(constructor.prototype); |
242 } | 263 } |
243 var properties = Object.keys(processedClasses.pending); | 264 var properties = Object.keys(processedClasses.pending); |
244 for (var i = 0; i < properties.length; i++) | 265 for (var i = 0; i < properties.length; i++) |
245 finishClass(properties[i]); | 266 finishClass(properties[i]); |
246 } | 267 } |
| 268 function finishAddStubsHelper(prototype) { |
| 269 var prototype = prototype || this; |
| 270 var object; |
| 271 while (prototype.$deferredAction != markerFun) { |
| 272 if (prototype.hasOwnProperty("$deferredAction")) { |
| 273 delete prototype.$deferredAction; |
| 274 var properties = Object.keys(prototype); |
| 275 for (var index = 0; index < properties.length; index++) { |
| 276 var property = properties[index]; |
| 277 var firstChar = property.charCodeAt(0); |
| 278 var elem; |
| 279 if (property !== "^" && property !== "$reflectable" && firstChar !== 4
3 && firstChar !== 42 && (elem = prototype[property]) != null && elem.constructo
r === Array && property !== "<>") |
| 280 addStubs(prototype, elem, property, false, []); |
| 281 } |
| 282 convertToFastObject(prototype); |
| 283 } |
| 284 prototype = prototype.__proto__; |
| 285 } |
| 286 } |
247 function processClassData(cls, descriptor, processedClasses) { | 287 function processClassData(cls, descriptor, processedClasses) { |
248 var newDesc = {}; | 288 descriptor = convertToSlowObject(descriptor); |
249 var previousProperty; | 289 var previousProperty; |
250 var properties = Object.keys(descriptor); | 290 var properties = Object.keys(descriptor); |
| 291 var hasDeferredWork = false; |
| 292 var shouldDeferWork = supportsDirectProtoAccess && cls != "Object"; |
251 for (var i = 0; i < properties.length; i++) { | 293 for (var i = 0; i < properties.length; i++) { |
252 var property = properties[i]; | 294 var property = properties[i]; |
253 var firstChar = property.substring(0, 1); | 295 var firstChar = property.charCodeAt(0); |
254 if (property === "static") | 296 if (property === "static") { |
255 processStatics(init.statics[cls] = descriptor[property], processedClasse
s); | 297 processStatics(init.statics[cls] = descriptor.static, processedClasses); |
256 else if (firstChar === "+") { | 298 delete descriptor.static; |
| 299 } else if (firstChar === 43) { |
257 mangledNames[previousProperty] = property.substring(1); | 300 mangledNames[previousProperty] = property.substring(1); |
258 var flag = descriptor[property]; | 301 var flag = descriptor[property]; |
259 if (flag > 0) | 302 if (flag > 0) |
260 descriptor[previousProperty].$reflectable = flag; | 303 descriptor[previousProperty].$reflectable = flag; |
261 } else if (firstChar === "*") { | 304 } else if (firstChar === 42) { |
262 newDesc[previousProperty].$defaultValues = descriptor[property]; | 305 descriptor[previousProperty].$defaultValues = descriptor[property]; |
263 var optionalMethods = newDesc.$methodsWithOptionalArguments; | 306 var optionalMethods = descriptor.$methodsWithOptionalArguments; |
264 if (!optionalMethods) | 307 if (!optionalMethods) |
265 newDesc.$methodsWithOptionalArguments = optionalMethods = {}; | 308 descriptor.$methodsWithOptionalArguments = optionalMethods = {}; |
266 optionalMethods[property] = previousProperty; | 309 optionalMethods[property] = previousProperty; |
267 } else { | 310 } else { |
268 var elem = descriptor[property]; | 311 var elem = descriptor[property]; |
269 if (property !== "^" && elem != null && elem.constructor === Array && pr
operty !== "<>") | 312 if (property !== "^" && elem != null && elem.constructor === Array && pr
operty !== "<>") |
270 addStubs(newDesc, elem, property, false, descriptor, []); | 313 if (shouldDeferWork) |
| 314 hasDeferredWork = true; |
| 315 else |
| 316 addStubs(descriptor, elem, property, false, []); |
271 else | 317 else |
272 newDesc[previousProperty = property] = elem; | 318 previousProperty = property; |
273 } | 319 } |
274 } | 320 } |
275 var classData = newDesc["^"], split, supr, fields = classData; | 321 if (hasDeferredWork) |
| 322 descriptor.$deferredAction = finishAddStubsHelper; |
| 323 var classData = descriptor["^"], split, supr, fields = classData; |
276 var s = fields.split(";"); | 324 var s = fields.split(";"); |
277 fields = s[1] == "" ? [] : s[1].split(","); | 325 fields = s[1] == "" ? [] : s[1].split(","); |
278 supr = s[0]; | 326 supr = s[0]; |
279 split = supr.split(":"); | 327 split = supr.split(":"); |
280 if (split.length == 2) { | 328 if (split.length == 2) { |
281 supr = split[0]; | 329 supr = split[0]; |
282 var functionSignature = split[1]; | 330 var functionSignature = split[1]; |
283 if (functionSignature) | 331 if (functionSignature) |
284 newDesc.$signature = function(s) { | 332 descriptor.$signature = function(s) { |
285 return function() { | 333 return function() { |
286 return init.metadata[s]; | 334 return init.types[s]; |
287 }; | 335 }; |
288 }(functionSignature); | 336 }(functionSignature); |
289 } | 337 } |
290 if (supr) | 338 if (supr) |
291 processedClasses.pending[cls] = supr; | 339 processedClasses.pending[cls] = supr; |
292 processedClasses.combinedConstructorFunction += defineClass(cls, fields); | 340 processedClasses.combinedConstructorFunction += defineClass(cls, fields); |
293 processedClasses.constructorsList.push(cls); | 341 processedClasses.constructorsList.push(cls); |
294 processedClasses.collected[cls] = [globalObject, newDesc]; | 342 processedClasses.collected[cls] = [globalObject, descriptor]; |
295 classes.push(cls); | 343 classes.push(cls); |
296 } | 344 } |
297 function processStatics(descriptor, processedClasses) { | 345 function processStatics(descriptor, processedClasses) { |
298 var properties = Object.keys(descriptor); | 346 var properties = Object.keys(descriptor); |
299 for (var i = 0; i < properties.length; i++) { | 347 for (var i = 0; i < properties.length; i++) { |
300 var property = properties[i]; | 348 var property = properties[i]; |
301 if (property === "^") | 349 if (property === "^") |
302 continue; | 350 continue; |
303 var element = descriptor[property]; | 351 var element = descriptor[property]; |
304 var firstChar = property.substring(0, 1); | 352 var firstChar = property.charCodeAt(0); |
305 var previousProperty; | 353 var previousProperty; |
306 if (firstChar === "+") { | 354 if (firstChar === 43) { |
307 mangledGlobalNames[previousProperty] = property.substring(1); | 355 mangledGlobalNames[previousProperty] = property.substring(1); |
308 var flag = descriptor[property]; | 356 var flag = descriptor[property]; |
309 if (flag > 0) | 357 if (flag > 0) |
310 descriptor[previousProperty].$reflectable = flag; | 358 descriptor[previousProperty].$reflectable = flag; |
311 if (element && element.length) | 359 if (element && element.length) |
312 init.typeInformation[previousProperty] = element; | 360 init.typeInformation[previousProperty] = element; |
313 } else if (firstChar === "*") { | 361 } else if (firstChar === 42) { |
314 globalObject[previousProperty].$defaultValues = element; | 362 globalObject[previousProperty].$defaultValues = element; |
315 var optionalMethods = descriptor.$methodsWithOptionalArguments; | 363 var optionalMethods = descriptor.$methodsWithOptionalArguments; |
316 if (!optionalMethods) | 364 if (!optionalMethods) |
317 descriptor.$methodsWithOptionalArguments = optionalMethods = {}; | 365 descriptor.$methodsWithOptionalArguments = optionalMethods = {}; |
318 optionalMethods[property] = previousProperty; | 366 optionalMethods[property] = previousProperty; |
319 } else if (typeof element === "function") { | 367 } else if (typeof element === "function") { |
320 globalObject[previousProperty = property] = element; | 368 globalObject[previousProperty = property] = element; |
321 functions.push(property); | 369 functions.push(property); |
322 init.globalFunctions[property] = element; | 370 init.globalFunctions[property] = element; |
323 } else if (element.constructor === Array) | 371 } else if (element.constructor === Array) |
324 addStubs(globalObject, element, property, true, descriptor, functions); | 372 addStubs(globalObject, element, property, true, functions); |
325 else { | 373 else { |
326 previousProperty = property; | 374 previousProperty = property; |
327 processClassData(property, element, processedClasses); | 375 processClassData(property, element, processedClasses); |
328 } | 376 } |
329 } | 377 } |
330 } | 378 } |
331 function addStubs(descriptor, array, name, isStatic, originalDescriptor, funct
ions) { | 379 function addStubs(prototype, array, name, isStatic, functions) { |
332 var index = 0, alias = array[index], f; | 380 var index = 0, alias = array[index], f; |
333 if (typeof alias == "string") | 381 if (typeof alias == "string") |
334 f = array[++index]; | 382 f = array[++index]; |
335 else { | 383 else { |
336 f = alias; | 384 f = alias; |
337 alias = name; | 385 alias = name; |
338 } | 386 } |
339 var funcs = [originalDescriptor[name] = descriptor[name] = descriptor[alias]
= f]; | 387 var funcs = [prototype[name] = prototype[alias] = f]; |
340 f.$stubName = name; | 388 f.$stubName = name; |
341 functions.push(name); | 389 functions.push(name); |
342 for (; index < array.length; index += 2) { | 390 for (; index < array.length; index += 2) { |
343 f = array[index + 1]; | 391 f = array[index + 1]; |
344 if (typeof f != "function") | 392 if (typeof f != "function") |
345 break; | 393 break; |
346 f.$stubName = array[index + 2]; | 394 f.$stubName = array[index + 2]; |
347 funcs.push(f); | 395 funcs.push(f); |
348 if (f.$stubName) { | 396 if (f.$stubName) { |
349 originalDescriptor[f.$stubName] = descriptor[f.$stubName] = f; | 397 prototype[f.$stubName] = f; |
350 functions.push(f.$stubName); | 398 functions.push(f.$stubName); |
351 } | 399 } |
352 } | 400 } |
| 401 index++; |
353 for (var i = 0; i < funcs.length; index++, i++) | 402 for (var i = 0; i < funcs.length; index++, i++) |
354 funcs[i].$callName = array[index + 1]; | 403 funcs[i].$callName = array[index]; |
355 var getterStubName = array[++index]; | 404 var getterStubName = array[index]; |
356 array = array.slice(++index); | 405 array = array.slice(++index); |
357 var requiredParameterInfo = array[0]; | 406 var requiredParameterInfo = array[0]; |
358 var requiredParameterCount = requiredParameterInfo >> 1; | 407 var requiredParameterCount = requiredParameterInfo >> 1; |
359 var isAccessor = (requiredParameterInfo & 1) === 1; | 408 var isAccessor = (requiredParameterInfo & 1) === 1; |
360 var isSetter = requiredParameterInfo === 3; | 409 var isSetter = requiredParameterInfo === 3; |
361 var isGetter = requiredParameterInfo === 1; | 410 var isGetter = requiredParameterInfo === 1; |
362 var optionalParameterInfo = array[1]; | 411 var optionalParameterInfo = array[1]; |
363 var optionalParameterCount = optionalParameterInfo >> 1; | 412 var optionalParameterCount = optionalParameterInfo >> 1; |
364 var optionalParametersAreNamed = (optionalParameterInfo & 1) === 1; | 413 var optionalParametersAreNamed = (optionalParameterInfo & 1) === 1; |
365 var isIntercepted = requiredParameterCount + optionalParameterCount != funcs
[0].length; | 414 var isIntercepted = requiredParameterCount + optionalParameterCount != funcs
[0].length; |
366 var functionTypeIndex = array[2]; | 415 var functionTypeIndex = array[2]; |
367 var unmangledNameIndex = 2 * optionalParameterCount + requiredParameterCount
+ 3; | 416 var unmangledNameIndex = 2 * optionalParameterCount + requiredParameterCount
+ 3; |
368 if (getterStubName) { | 417 if (getterStubName) { |
369 f = tearOff(funcs, array, isStatic, name, isIntercepted); | 418 f = tearOff(funcs, array, isStatic, name, isIntercepted); |
370 descriptor[name].$getter = f; | 419 prototype[name].$getter = f; |
371 f.$getterStub = true; | 420 f.$getterStub = true; |
372 if (isStatic) | 421 if (isStatic) { |
373 init.globalFunctions[name] = f; | 422 init.globalFunctions[name] = f; |
374 originalDescriptor[getterStubName] = descriptor[getterStubName] = f; | 423 functions.push(getterStubName); |
| 424 } |
| 425 prototype[getterStubName] = f; |
375 funcs.push(f); | 426 funcs.push(f); |
376 if (getterStubName) | |
377 functions.push(getterStubName); | |
378 f.$stubName = getterStubName; | 427 f.$stubName = getterStubName; |
379 f.$callName = null; | 428 f.$callName = null; |
380 } | 429 } |
381 } | 430 } |
382 function tearOffGetter(funcs, reflectionInfo, name, isIntercepted) { | 431 function tearOffGetter(funcs, reflectionInfo, name, isIntercepted) { |
383 return isIntercepted ? new Function("funcs", "reflectionInfo", "name", "H",
"c", "return function tearOff_" + name + functionCounter++ + "(x) {" + "if (c ==
= null) c = H.closureFromTearOff(" + "this, funcs, reflectionInfo, false, [x], n
ame);" + "return new c(this, funcs[0], x, name);" + "}")(funcs, reflectionInfo,
name, H, null) : new Function("funcs", "reflectionInfo", "name", "H", "c", "retu
rn function tearOff_" + name + functionCounter++ + "() {" + "if (c === null) c =
H.closureFromTearOff(" + "this, funcs, reflectionInfo, false, [], name);" + "re
turn new c(this, funcs[0], null, name);" + "}")(funcs, reflectionInfo, name, H,
null); | 432 return isIntercepted ? new Function("funcs", "reflectionInfo", "name", "H",
"c", "return function tearOff_" + name + functionCounter++ + "(x) {" + "if (c ==
= null) c = H.closureFromTearOff(" + "this, funcs, reflectionInfo, false, [x], n
ame);" + "return new c(this, funcs[0], x, name);" + "}")(funcs, reflectionInfo,
name, H, null) : new Function("funcs", "reflectionInfo", "name", "H", "c", "retu
rn function tearOff_" + name + functionCounter++ + "() {" + "if (c === null) c =
H.closureFromTearOff(" + "this, funcs, reflectionInfo, false, [], name);" + "re
turn new c(this, funcs[0], null, name);" + "}")(funcs, reflectionInfo, name, H,
null); |
384 } | 433 } |
385 function tearOff(funcs, reflectionInfo, isStatic, name, isIntercepted) { | 434 function tearOff(funcs, reflectionInfo, isStatic, name, isIntercepted) { |
386 var cache; | 435 var cache; |
387 return isStatic ? function() { | 436 return isStatic ? function() { |
(...skipping 12 matching lines...) Expand all Loading... |
400 if (!init.statics) | 449 if (!init.statics) |
401 init.statics = map(); | 450 init.statics = map(); |
402 if (!init.typeInformation) | 451 if (!init.typeInformation) |
403 init.typeInformation = map(); | 452 init.typeInformation = map(); |
404 if (!init.globalFunctions) | 453 if (!init.globalFunctions) |
405 init.globalFunctions = map(); | 454 init.globalFunctions = map(); |
406 var libraries = init.libraries; | 455 var libraries = init.libraries; |
407 var mangledNames = init.mangledNames; | 456 var mangledNames = init.mangledNames; |
408 var mangledGlobalNames = init.mangledGlobalNames; | 457 var mangledGlobalNames = init.mangledGlobalNames; |
409 var hasOwnProperty = Object.prototype.hasOwnProperty; | 458 var hasOwnProperty = Object.prototype.hasOwnProperty; |
410 var length = reflectionData.length; | 459 var length = programData.length; |
411 var processedClasses = Object.create(null); | 460 var processedClasses = map(); |
412 processedClasses.collected = Object.create(null); | 461 processedClasses.collected = map(); |
413 processedClasses.pending = Object.create(null); | 462 processedClasses.pending = map(); |
414 processedClasses.constructorsList = []; | 463 processedClasses.constructorsList = []; |
415 processedClasses.combinedConstructorFunction = "function $reflectable(fn){fn.$
reflectable=1;return fn};\n" + "var $desc;\n"; | 464 processedClasses.combinedConstructorFunction = "function $reflectable(fn){fn.$
reflectable=1;return fn};\n" + "var $desc;\n"; |
416 for (var i = 0; i < length; i++) { | 465 for (var i = 0; i < length; i++) { |
417 var data = reflectionData[i]; | 466 var data = programData[i]; |
418 var name = data[0]; | 467 var name = data[0]; |
419 var uri = data[1]; | 468 var uri = data[1]; |
420 var metadata = data[2]; | 469 var metadata = data[2]; |
421 var globalObject = data[3]; | 470 var globalObject = data[3]; |
422 var descriptor = data[4]; | 471 var descriptor = data[4]; |
423 var isRoot = !!data[5]; | 472 var isRoot = !!data[5]; |
424 var fields = descriptor && descriptor["^"]; | 473 var fields = descriptor && descriptor["^"]; |
425 if (fields instanceof Array) | 474 if (fields instanceof Array) |
426 fields = fields[0]; | 475 fields = fields[0]; |
427 var classes = []; | 476 var classes = []; |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 this.checkGrowable$1(receiver, "remove"); | 624 this.checkGrowable$1(receiver, "remove"); |
576 for (i = 0; i < receiver.length; ++i) | 625 for (i = 0; i < receiver.length; ++i) |
577 if (J.$eq(receiver[i], element)) { | 626 if (J.$eq(receiver[i], element)) { |
578 receiver.splice(i, 1); | 627 receiver.splice(i, 1); |
579 return true; | 628 return true; |
580 } | 629 } |
581 return false; | 630 return false; |
582 }, | 631 }, |
583 addAll$1: function(receiver, collection) { | 632 addAll$1: function(receiver, collection) { |
584 var t1; | 633 var t1; |
585 for (t1 = new H.ListIterator(collection, 2, 0, null); t1.moveNext$0();) | 634 for (t1 = new J.ArrayIterator(collection, 2, 0, null); t1.moveNext$0();) |
586 this.add$1(receiver, t1._current); | 635 this.add$1(receiver, t1.__interceptors$_current); |
587 }, | 636 }, |
588 forEach$1: function(receiver, f) { | 637 forEach$1: function(receiver, f) { |
589 var end, i; | 638 var end, i; |
590 end = receiver.length; | 639 end = receiver.length; |
591 for (i = 0; i < end; ++i) { | 640 for (i = 0; i < end; ++i) { |
592 f.call$1(receiver[i]); | 641 f.call$1(receiver[i]); |
593 if (receiver.length !== end) | 642 if (receiver.length !== end) |
594 throw H.wrapException(P.ConcurrentModificationError$(receiver)); | 643 throw H.wrapException(P.ConcurrentModificationError$(receiver)); |
595 } | 644 } |
596 }, | 645 }, |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 else { | 769 else { |
721 t1 = H.setRuntimeTypeInfo(receiver.slice(), [H.getTypeArgumentByIndex(re
ceiver, 0)]); | 770 t1 = H.setRuntimeTypeInfo(receiver.slice(), [H.getTypeArgumentByIndex(re
ceiver, 0)]); |
722 t1.fixed$length = Array; | 771 t1.fixed$length = Array; |
723 return t1; | 772 return t1; |
724 } | 773 } |
725 }, | 774 }, |
726 toList$0: function($receiver) { | 775 toList$0: function($receiver) { |
727 return this.toList$1$growable($receiver, true); | 776 return this.toList$1$growable($receiver, true); |
728 }, | 777 }, |
729 get$iterator: function(receiver) { | 778 get$iterator: function(receiver) { |
730 return new H.ListIterator(receiver, receiver.length, 0, null); | 779 return new J.ArrayIterator(receiver, receiver.length, 0, null); |
731 }, | 780 }, |
732 get$hashCode: function(receiver) { | 781 get$hashCode: function(receiver) { |
733 return H.Primitives_objectHashCode(receiver); | 782 return H.Primitives_objectHashCode(receiver); |
734 }, | 783 }, |
735 get$length: function(receiver) { | 784 get$length: function(receiver) { |
736 return receiver.length; | 785 return receiver.length; |
737 }, | 786 }, |
738 set$length: function(receiver, newLength) { | 787 set$length: function(receiver, newLength) { |
739 if (newLength < 0) | 788 if (newLength < 0) |
740 throw H.wrapException(P.RangeError$value(newLength, null, null)); | 789 throw H.wrapException(P.RangeError$value(newLength, null, null)); |
(...skipping 22 matching lines...) Expand all Loading... |
763 $isEfficientLength: 1, | 812 $isEfficientLength: 1, |
764 static: {JSArray_JSArray$fixed: function($length, $E) { | 813 static: {JSArray_JSArray$fixed: function($length, $E) { |
765 var t1; | 814 var t1; |
766 if (typeof $length !== "number" || Math.floor($length) !== $length || $l
ength < 0) | 815 if (typeof $length !== "number" || Math.floor($length) !== $length || $l
ength < 0) |
767 throw H.wrapException(P.ArgumentError$("Length must be a non-negative
integer: " + H.S($length))); | 816 throw H.wrapException(P.ArgumentError$("Length must be a non-negative
integer: " + H.S($length))); |
768 t1 = H.setRuntimeTypeInfo(new Array($length), [$E]); | 817 t1 = H.setRuntimeTypeInfo(new Array($length), [$E]); |
769 t1.fixed$length = Array; | 818 t1.fixed$length = Array; |
770 return t1; | 819 return t1; |
771 }} | 820 }} |
772 }, | 821 }, |
| 822 ArrayIterator: { |
| 823 "^": "Object;_iterable,__interceptors$_length,_index,__interceptors$_current
", |
| 824 get$current: function() { |
| 825 return this.__interceptors$_current; |
| 826 }, |
| 827 moveNext$0: function() { |
| 828 var t1, $length, t2; |
| 829 t1 = this._iterable; |
| 830 $length = t1.length; |
| 831 if (this.__interceptors$_length !== $length) |
| 832 throw H.wrapException(P.ConcurrentModificationError$(t1)); |
| 833 t2 = this._index; |
| 834 if (t2 >= $length) { |
| 835 this.__interceptors$_current = null; |
| 836 return false; |
| 837 } |
| 838 this.__interceptors$_current = t1[t2]; |
| 839 this._index = t2 + 1; |
| 840 return true; |
| 841 } |
| 842 }, |
773 JSNumber: { | 843 JSNumber: { |
774 "^": "Interceptor;", | 844 "^": "Interceptor;", |
775 get$isNaN: function(receiver) { | 845 get$isNaN: function(receiver) { |
776 return isNaN(receiver); | 846 return isNaN(receiver); |
777 }, | 847 }, |
778 get$isFinite: function(receiver) { | 848 get$isFinite: function(receiver) { |
779 return isFinite(receiver); | 849 return isFinite(receiver); |
780 }, | 850 }, |
781 remainder$1: function(receiver, b) { | 851 remainder$1: function(receiver, b) { |
782 return receiver % b; | 852 return receiver % b; |
(...skipping 13 matching lines...) Expand all Loading... |
796 if (receiver !== 1 / 0) | 866 if (receiver !== 1 / 0) |
797 return Math.round(receiver); | 867 return Math.round(receiver); |
798 } else if (receiver > -1 / 0) | 868 } else if (receiver > -1 / 0) |
799 return 0 - Math.round(0 - receiver); | 869 return 0 - Math.round(0 - receiver); |
800 throw H.wrapException(P.UnsupportedError$("" + receiver)); | 870 throw H.wrapException(P.UnsupportedError$("" + receiver)); |
801 }, | 871 }, |
802 toRadixString$1: function(receiver, radix) { | 872 toRadixString$1: function(receiver, radix) { |
803 var result, match, t1, exponent; | 873 var result, match, t1, exponent; |
804 H.checkInt(radix); | 874 H.checkInt(radix); |
805 if (radix < 2 || radix > 36) | 875 if (radix < 2 || radix > 36) |
806 throw H.wrapException(P.RangeError$(radix)); | 876 throw H.wrapException(P.RangeError$range(radix, 2, 36, "radix", null)); |
807 result = receiver.toString(radix); | 877 result = receiver.toString(radix); |
808 if (C.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41) | 878 if (C.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41) |
809 return result; | 879 return result; |
810 match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result); | 880 match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result); |
811 if (match == null) | 881 if (match == null) |
812 H.throwExpression(P.UnsupportedError$("Unexpected toString result: " + r
esult)); | 882 H.throwExpression(P.UnsupportedError$("Unexpected toString result: " + r
esult)); |
813 t1 = J.getInterceptor$asx(match); | 883 t1 = J.getInterceptor$asx(match); |
814 result = t1.$index(match, 1); | 884 result = t1.$index(match, 1); |
815 exponent = +t1.$index(match, 3); | 885 exponent = +t1.$index(match, 3); |
816 if (t1.$index(match, 2) != null) { | 886 if (t1.$index(match, 2) != null) { |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
964 replaceRange$3: function(receiver, start, end, replacement) { | 1034 replaceRange$3: function(receiver, start, end, replacement) { |
965 H.checkString(replacement); | 1035 H.checkString(replacement); |
966 H.checkInt(start); | 1036 H.checkInt(start); |
967 end = P.RangeError_checkValidRange(start, end, receiver.length, null, null
, null); | 1037 end = P.RangeError_checkValidRange(start, end, receiver.length, null, null
, null); |
968 H.checkInt(end); | 1038 H.checkInt(end); |
969 return H.stringReplaceRangeUnchecked(receiver, start, end, replacement); | 1039 return H.stringReplaceRangeUnchecked(receiver, start, end, replacement); |
970 }, | 1040 }, |
971 startsWith$2: function(receiver, pattern, index) { | 1041 startsWith$2: function(receiver, pattern, index) { |
972 var endIndex; | 1042 var endIndex; |
973 H.checkInt(index); | 1043 H.checkInt(index); |
974 if (index > receiver.length) | 1044 if (index < 0 || index > receiver.length) |
975 throw H.wrapException(P.RangeError$range(index, 0, receiver.length, null
, null)); | 1045 throw H.wrapException(P.RangeError$range(index, 0, receiver.length, null
, null)); |
976 if (typeof pattern === "string") { | 1046 if (typeof pattern === "string") { |
977 endIndex = index + pattern.length; | 1047 endIndex = index + pattern.length; |
978 if (endIndex > receiver.length) | 1048 if (endIndex > receiver.length) |
979 return false; | 1049 return false; |
980 return pattern === receiver.substring(index, endIndex); | 1050 return pattern === receiver.substring(index, endIndex); |
981 } | 1051 } |
982 return J.matchAsPrefix$2$s(pattern, receiver, index) != null; | 1052 return J.matchAsPrefix$2$s(pattern, receiver, index) != null; |
983 }, | 1053 }, |
984 startsWith$1: function($receiver, pattern) { | 1054 startsWith$1: function($receiver, pattern) { |
(...skipping 12 matching lines...) Expand all Loading... |
997 throw H.wrapException(P.RangeError$value(startIndex, null, null)); | 1067 throw H.wrapException(P.RangeError$value(startIndex, null, null)); |
998 if (t1.$gt(startIndex, endIndex)) | 1068 if (t1.$gt(startIndex, endIndex)) |
999 throw H.wrapException(P.RangeError$value(startIndex, null, null)); | 1069 throw H.wrapException(P.RangeError$value(startIndex, null, null)); |
1000 if (J.$gt$n(endIndex, receiver.length)) | 1070 if (J.$gt$n(endIndex, receiver.length)) |
1001 throw H.wrapException(P.RangeError$value(endIndex, null, null)); | 1071 throw H.wrapException(P.RangeError$value(endIndex, null, null)); |
1002 return receiver.substring(startIndex, endIndex); | 1072 return receiver.substring(startIndex, endIndex); |
1003 }, | 1073 }, |
1004 substring$1: function($receiver, startIndex) { | 1074 substring$1: function($receiver, startIndex) { |
1005 return this.substring$2($receiver, startIndex, null); | 1075 return this.substring$2($receiver, startIndex, null); |
1006 }, | 1076 }, |
| 1077 toLowerCase$0: function(receiver) { |
| 1078 return receiver.toLowerCase(); |
| 1079 }, |
1007 trim$0: function(receiver) { | 1080 trim$0: function(receiver) { |
1008 var result, endIndex, startIndex, t1, endIndex0; | 1081 var result, endIndex, startIndex, t1, endIndex0; |
1009 result = receiver.trim(); | 1082 result = receiver.trim(); |
1010 endIndex = result.length; | 1083 endIndex = result.length; |
1011 if (endIndex === 0) | 1084 if (endIndex === 0) |
1012 return result; | 1085 return result; |
1013 if (this.codeUnitAt$1(result, 0) === 133) { | 1086 if (this.codeUnitAt$1(result, 0) === 133) { |
1014 startIndex = J.JSString__skipLeadingWhitespace(result, 1); | 1087 startIndex = J.JSString__skipLeadingWhitespace(result, 1); |
1015 if (startIndex === endIndex) | 1088 if (startIndex === endIndex) |
1016 return ""; | 1089 return ""; |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1169 break; | 1242 break; |
1170 } | 1243 } |
1171 return index; | 1244 return index; |
1172 }} | 1245 }} |
1173 } | 1246 } |
1174 }], | 1247 }], |
1175 ["_isolate_helper", "dart:_isolate_helper", , H, { | 1248 ["_isolate_helper", "dart:_isolate_helper", , H, { |
1176 "^": "", | 1249 "^": "", |
1177 _callInIsolate: function(isolate, $function) { | 1250 _callInIsolate: function(isolate, $function) { |
1178 var result = isolate.eval$1($function); | 1251 var result = isolate.eval$1($function); |
1179 init.globalState.topEventLoop.run$0(); | 1252 if (!init.globalState.currentContext._isExecutingEvent) |
| 1253 init.globalState.topEventLoop.run$0(); |
1180 return result; | 1254 return result; |
1181 }, | 1255 }, |
1182 leaveJsAsync: function() { | 1256 leaveJsAsync: function() { |
1183 --init.globalState.topEventLoop._activeJsAsyncCount; | 1257 --init.globalState.topEventLoop._activeJsAsyncCount; |
1184 }, | 1258 }, |
1185 startRootIsolate: function(entry, args) { | 1259 startRootIsolate: function(entry, args) { |
1186 var t1, t2, t3, t4, t5, rootContext; | 1260 var t1, t2, t3, t4, t5, rootContext; |
1187 t1 = {}; | 1261 t1 = {}; |
1188 t1.args_0 = args; | 1262 t1._captured_args_0 = args; |
1189 args = args; | 1263 args = args; |
1190 t1.args_0 = args; | 1264 t1._captured_args_0 = args; |
1191 if (args == null) { | 1265 if (args == null) { |
1192 args = []; | 1266 args = []; |
1193 t1.args_0 = args; | 1267 t1._captured_args_0 = args; |
1194 t2 = args; | 1268 t2 = args; |
1195 } else | 1269 } else |
1196 t2 = args; | 1270 t2 = args; |
1197 if (!J.getInterceptor(t2).$isList) | 1271 if (!J.getInterceptor(t2).$isList) |
1198 throw H.wrapException(P.ArgumentError$("Arguments to main must be a List:
" + H.S(t2))); | 1272 throw H.wrapException(P.ArgumentError$("Arguments to main must be a List:
" + H.S(t2))); |
1199 t2 = new H._Manager(0, 0, 1, null, null, null, null, null, null, null, null,
null, entry); | 1273 t2 = new H._Manager(0, 0, 1, null, null, null, null, null, null, null, null,
null, entry); |
1200 t2._Manager$1(entry); | 1274 t2._nativeDetectEnvironment$0(); |
| 1275 t2.topEventLoop = new H._EventLoop(P.ListQueue$(null, H._IsolateEvent), 0); |
| 1276 t2.isolates = P.LinkedHashMap_LinkedHashMap(null, null, null, P.$int, H._Iso
lateContext); |
| 1277 t2.managers = P.LinkedHashMap_LinkedHashMap(null, null, null, P.$int, null); |
| 1278 if (t2.isWorker === true) { |
| 1279 t2.mainManager = new H._MainManagerStub(); |
| 1280 t2._nativeInitWorkerMessageHandler$0(); |
| 1281 } |
1201 init.globalState = t2; | 1282 init.globalState = t2; |
1202 if (init.globalState.isWorker === true) | 1283 if (init.globalState.isWorker === true) |
1203 return; | 1284 return; |
1204 t2 = init.globalState.nextIsolateId++; | 1285 t2 = init.globalState.nextIsolateId++; |
1205 t3 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.$int, H.RawReceivePor
tImpl); | 1286 t3 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.$int, H.RawReceivePor
tImpl); |
1206 t4 = P.LinkedHashSet_LinkedHashSet(null, null, null, P.$int); | 1287 t4 = P.LinkedHashSet_LinkedHashSet(null, null, null, P.$int); |
1207 t5 = new H.RawReceivePortImpl(0, null, false); | 1288 t5 = new H.RawReceivePortImpl(0, null, false); |
1208 rootContext = new H._IsolateContext(t2, t3, t4, init.createNewIsolate(), t5,
new H.CapabilityImpl(H.random64()), new H.CapabilityImpl(H.random64()), false,
false, [], P.LinkedHashSet_LinkedHashSet(null, null, null, null), null, null, fa
lse, true, P.LinkedHashSet_LinkedHashSet(null, null, null, null)); | 1289 rootContext = new H._IsolateContext(t2, t3, t4, init.createNewIsolate(), t5,
new H.CapabilityImpl(H.random64()), new H.CapabilityImpl(H.random64()), false,
false, [], P.LinkedHashSet_LinkedHashSet(null, null, null, null), null, null, fa
lse, true, P.LinkedHashSet_LinkedHashSet(null, null, null, null)); |
1209 t4.add$1(0, 0); | 1290 t4.add$1(0, 0); |
1210 rootContext._addRegistration$2(0, t5); | 1291 rootContext._addRegistration$2(0, t5); |
1211 init.globalState.rootContext = rootContext; | 1292 init.globalState.rootContext = rootContext; |
1212 init.globalState.currentContext = rootContext; | 1293 init.globalState.currentContext = rootContext; |
1213 t2 = H.getDynamicRuntimeType(); | 1294 t2 = H.getDynamicRuntimeType(); |
1214 t3 = H.buildFunctionType(t2, [t2])._isTest$1(entry); | 1295 t3 = H.buildFunctionType(t2, [t2])._isTest$1(entry); |
1215 if (t3) | 1296 if (t3) |
1216 rootContext.eval$1(new H.startRootIsolate_closure(t1, entry)); | 1297 rootContext.eval$1(new H.startRootIsolate_closure(t1, entry)); |
1217 else { | 1298 else { |
1218 t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(entry); | 1299 t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(entry); |
1219 if (t2) | 1300 if (t2) |
1220 rootContext.eval$1(new H.startRootIsolate_closure0(t1, entry)); | 1301 rootContext.eval$1(new H.startRootIsolate_closure0(t1, entry)); |
1221 else | 1302 else |
1222 rootContext.eval$1(entry); | 1303 rootContext.eval$1(entry); |
1223 } | 1304 } |
1224 init.globalState.topEventLoop.run$0(); | 1305 init.globalState.topEventLoop.run$0(); |
1225 }, | 1306 }, |
1226 IsolateNatives_computeThisScript: function() { | 1307 IsolateNatives_computeThisScript: function() { |
1227 var currentScript = init.currentScript; | 1308 var currentScript = init.currentScript; |
1228 if (currentScript != null) | 1309 if (currentScript != null) |
1229 return String(currentScript.src); | 1310 return String(currentScript.src); |
1230 if (typeof version == "function" && typeof os == "object" && "system" in os) | 1311 if (typeof version == "function" && typeof os == "object" && "setenv" in os) |
1231 return H.IsolateNatives_computeThisScriptFromTrace(); | 1312 return H.IsolateNatives_computeThisScriptFromTrace(); |
1232 if (typeof version == "function" && typeof system == "function") | 1313 if (typeof version == "function" && typeof os == "object" && "getenv" in os) |
1233 return thisFilename(); | 1314 return thisFilename(); |
1234 if (init.globalState.isWorker === true) | 1315 if (init.globalState.isWorker === true) |
1235 return H.IsolateNatives_computeThisScriptFromTrace(); | 1316 return H.IsolateNatives_computeThisScriptFromTrace(); |
1236 return; | 1317 return; |
1237 }, | 1318 }, |
1238 IsolateNatives_computeThisScriptFromTrace: function() { | 1319 IsolateNatives_computeThisScriptFromTrace: function() { |
1239 var stack, matches; | 1320 var stack, matches; |
1240 stack = new Error().stack; | 1321 stack = new Error().stack; |
1241 if (stack == null) { | 1322 if (stack == null) { |
1242 stack = function() { | 1323 stack = function() { |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1345 if (startPaused === true) { | 1426 if (startPaused === true) { |
1346 context.addPause$2(t3, t3); | 1427 context.addPause$2(t3, t3); |
1347 init.globalState.topEventLoop.events._add$1(new H._IsolateEvent(context, t
2, "start isolate")); | 1428 init.globalState.topEventLoop.events._add$1(new H._IsolateEvent(context, t
2, "start isolate")); |
1348 } else | 1429 } else |
1349 t2.call$0(); | 1430 t2.call$0(); |
1350 }, | 1431 }, |
1351 _clone: function(message) { | 1432 _clone: function(message) { |
1352 return new H._Deserializer(true, []).deserialize$1(new H._Serializer(false,
P.LinkedHashMap_LinkedHashMap$identity(null, P.$int)).serialize$1(message)); | 1433 return new H._Deserializer(true, []).deserialize$1(new H._Serializer(false,
P.LinkedHashMap_LinkedHashMap$identity(null, P.$int)).serialize$1(message)); |
1353 }, | 1434 }, |
1354 startRootIsolate_closure: { | 1435 startRootIsolate_closure: { |
1355 "^": "Closure:0;box_0,entry_1", | 1436 "^": "Closure:0;__isolate_helper$_box_0,_captured_entry_1", |
1356 call$0: function() { | 1437 call$0: function() { |
1357 this.entry_1.call$1(this.box_0.args_0); | 1438 this._captured_entry_1.call$1(this.__isolate_helper$_box_0._captured_args_
0); |
1358 } | 1439 } |
1359 }, | 1440 }, |
1360 startRootIsolate_closure0: { | 1441 startRootIsolate_closure0: { |
1361 "^": "Closure:0;box_0,entry_2", | 1442 "^": "Closure:0;__isolate_helper$_box_0,_captured_entry_2", |
1362 call$0: function() { | 1443 call$0: function() { |
1363 this.entry_2.call$2(this.box_0.args_0, null); | 1444 this._captured_entry_2.call$2(this.__isolate_helper$_box_0._captured_args_
0, null); |
1364 } | 1445 } |
1365 }, | 1446 }, |
1366 _Manager: { | 1447 _Manager: { |
1367 "^": "Object;nextIsolateId,currentManagerId,nextManagerId,currentContext,roo
tContext,topEventLoop,fromCommandLine,isWorker,supportsWorkers,isolates,mainMana
ger,managers,entry", | 1448 "^": "Object;nextIsolateId,currentManagerId,nextManagerId,currentContext,roo
tContext,topEventLoop,fromCommandLine,isWorker,supportsWorkers,isolates,mainMana
ger,managers,entry", |
1368 _Manager$1: function(entry) { | 1449 _nativeDetectEnvironment$0: function() { |
1369 var t1, t2, t3; | 1450 var t1, t2, t3; |
1370 t1 = self.window == null; | 1451 t1 = self.window == null; |
1371 t2 = self.Worker; | 1452 t2 = self.Worker; |
1372 t3 = t1 && !!self.postMessage; | 1453 t3 = t1 && !!self.postMessage; |
1373 this.isWorker = t3; | 1454 this.isWorker = t3; |
1374 if (!t3) | 1455 if (!t3) |
1375 t2 = t2 != null && $.get$IsolateNatives_thisScript() != null; | 1456 t2 = t2 != null && $.get$IsolateNatives_thisScript() != null; |
1376 else | 1457 else |
1377 t2 = true; | 1458 t2 = true; |
1378 this.supportsWorkers = t2; | 1459 this.supportsWorkers = t2; |
1379 this.fromCommandLine = t1 && !t3; | 1460 this.fromCommandLine = t1 && !t3; |
1380 this.topEventLoop = new H._EventLoop(P.ListQueue$(null, H._IsolateEvent),
0); | 1461 }, |
1381 this.isolates = P.LinkedHashMap_LinkedHashMap(null, null, null, P.$int, H.
_IsolateContext); | 1462 _nativeInitWorkerMessageHandler$0: function() { |
1382 this.managers = P.LinkedHashMap_LinkedHashMap(null, null, null, P.$int, nu
ll); | 1463 self.onmessage = function(f, a) { |
1383 if (this.isWorker === true) { | 1464 return function(e) { |
1384 t1 = new H._MainManagerStub(); | 1465 f(a, e); |
1385 this.mainManager = t1; | 1466 }; |
1386 self.onmessage = function(f, a) { | 1467 }(H.IsolateNatives__processWorkerMessage, this.mainManager); |
1387 return function(e) { | 1468 self.dartPrint = self.dartPrint || function(serialize) { |
1388 f(a, e); | 1469 return function(object) { |
1389 }; | 1470 if (self.console && self.console.log) |
1390 }(H.IsolateNatives__processWorkerMessage, t1); | 1471 self.console.log(object); |
1391 self.dartPrint = self.dartPrint || function(serialize) { | 1472 else |
1392 return function(object) { | 1473 self.postMessage(serialize(object)); |
1393 if (self.console && self.console.log) | 1474 }; |
1394 self.console.log(object); | 1475 }(H._Manager__serializePrintMessage); |
1395 else | |
1396 self.postMessage(serialize(object)); | |
1397 }; | |
1398 }(H._Manager__serializePrintMessage); | |
1399 } | |
1400 }, | 1476 }, |
1401 static: {_Manager__serializePrintMessage: function(object) { | 1477 static: {_Manager__serializePrintMessage: function(object) { |
1402 var t1 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "print", "ms
g", object], null, null); | 1478 var t1 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "print", "ms
g", object], null, null); |
1403 return new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(nu
ll, P.$int)).serialize$1(t1); | 1479 return new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(nu
ll, P.$int)).serialize$1(t1); |
1404 }} | 1480 }} |
1405 }, | 1481 }, |
1406 _IsolateContext: { | 1482 _IsolateContext: { |
1407 "^": "Object;id,ports,weakPorts,isolateStatics<,controlPort<,pauseCapability
,terminateCapability,initialized,isPaused,delayedEvents,pauseTokens,doneHandlers
,_scheduledControlEvents,_isExecutingEvent,errorsAreFatal,errorPorts", | 1483 "^": "Object;id,ports,weakPorts,isolateStatics<,controlPort<,pauseCapability
,terminateCapability,initialized,isPaused,delayedEvents,pauseTokens,doneHandlers
,_scheduledControlEvents,_isExecutingEvent,errorsAreFatal,errorPorts", |
1408 addPause$2: function(authentification, resume) { | 1484 addPause$2: function(authentification, resume) { |
1409 if (!this.pauseCapability.$eq(0, authentification)) | 1485 if (!this.pauseCapability.$eq(0, authentification)) |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1526 return; | 1602 return; |
1527 } | 1603 } |
1528 message = Array(2); | 1604 message = Array(2); |
1529 message.fixed$length = Array; | 1605 message.fixed$length = Array; |
1530 message[0] = J.toString$0(error); | 1606 message[0] = J.toString$0(error); |
1531 message[1] = stackTrace == null ? null : J.toString$0(stackTrace); | 1607 message[1] = stackTrace == null ? null : J.toString$0(stackTrace); |
1532 for (t2 = new P.LinkedHashSetIterator(t1, t1._collection$_modifications, n
ull, null), t2._collection$_cell = t1._collection$_first; t2.moveNext$0();) | 1608 for (t2 = new P.LinkedHashSetIterator(t1, t1._collection$_modifications, n
ull, null), t2._collection$_cell = t1._collection$_first; t2.moveNext$0();) |
1533 J.send$1$x(t2._collection$_current, message); | 1609 J.send$1$x(t2._collection$_current, message); |
1534 }, | 1610 }, |
1535 eval$1: function(code) { | 1611 eval$1: function(code) { |
1536 var old, result, e, s, exception, t1; | 1612 var old, result, oldIsExecutingEvent, e, s, exception, t1; |
1537 old = init.globalState.currentContext; | 1613 old = init.globalState.currentContext; |
1538 init.globalState.currentContext = this; | 1614 init.globalState.currentContext = this; |
1539 $ = this.isolateStatics; | 1615 $ = this.isolateStatics; |
1540 result = null; | 1616 result = null; |
| 1617 oldIsExecutingEvent = this._isExecutingEvent; |
1541 this._isExecutingEvent = true; | 1618 this._isExecutingEvent = true; |
1542 try { | 1619 try { |
1543 result = code.call$0(); | 1620 result = code.call$0(); |
1544 } catch (exception) { | 1621 } catch (exception) { |
1545 t1 = H.unwrapException(exception); | 1622 t1 = H.unwrapException(exception); |
1546 e = t1; | 1623 e = t1; |
1547 s = H.getTraceFromException(exception); | 1624 s = H.getTraceFromException(exception); |
1548 this.handleUncaughtError$2(e, s); | 1625 this.handleUncaughtError$2(e, s); |
1549 if (this.errorsAreFatal === true) { | 1626 if (this.errorsAreFatal === true) { |
1550 this.kill$0(); | 1627 this.kill$0(); |
1551 if (this === init.globalState.rootContext) | 1628 if (this === init.globalState.rootContext) |
1552 throw exception; | 1629 throw exception; |
1553 } | 1630 } |
1554 } finally { | 1631 } finally { |
1555 this._isExecutingEvent = false; | 1632 this._isExecutingEvent = oldIsExecutingEvent; |
1556 init.globalState.currentContext = old; | 1633 init.globalState.currentContext = old; |
1557 if (old != null) | 1634 if (old != null) |
1558 $ = old.get$isolateStatics(); | 1635 $ = old.get$isolateStatics(); |
1559 if (this._scheduledControlEvents != null) | 1636 if (this._scheduledControlEvents != null) |
1560 for (; t1 = this._scheduledControlEvents, !t1.get$isEmpty(t1);) | 1637 for (; t1 = this._scheduledControlEvents, !t1.get$isEmpty(t1);) |
1561 this._scheduledControlEvents.removeFirst$0().call$0(); | 1638 this._scheduledControlEvents.removeFirst$0().call$0(); |
1562 } | 1639 } |
1563 return result; | 1640 return result; |
1564 }, | 1641 }, |
1565 lookup$1: function(portId) { | 1642 lookup$1: function(portId) { |
1566 return this.ports.$index(0, portId); | 1643 return this.ports.$index(0, portId); |
1567 }, | 1644 }, |
1568 _addRegistration$2: function(portId, port) { | 1645 _addRegistration$2: function(portId, port) { |
1569 var t1 = this.ports; | 1646 var t1 = this.ports; |
1570 if (t1.containsKey$1(portId)) | 1647 if (t1.containsKey$1(portId)) |
1571 throw H.wrapException(P.Exception_Exception("Registry: ports must be reg
istered only once.")); | 1648 throw H.wrapException(P.Exception_Exception("Registry: ports must be reg
istered only once.")); |
1572 t1.$indexSet(0, portId, port); | 1649 t1.$indexSet(0, portId, port); |
1573 }, | 1650 }, |
1574 _updateGlobalState$0: function() { | 1651 _updateGlobalState$0: function() { |
1575 if (this.ports.__js_helper$_length - this.weakPorts._collection$_length >
0 || this.isPaused || !this.initialized) | 1652 if (this.ports.__js_helper$_length - this.weakPorts._collection$_length >
0 || this.isPaused || !this.initialized) |
1576 init.globalState.isolates.$indexSet(0, this.id, this); | 1653 init.globalState.isolates.$indexSet(0, this.id, this); |
1577 else | 1654 else |
1578 this.kill$0(); | 1655 this.kill$0(); |
1579 }, | 1656 }, |
1580 kill$0: [function() { | 1657 kill$0: [function() { |
1581 var t1, t2; | 1658 var t1, t2; |
1582 t1 = this._scheduledControlEvents; | 1659 t1 = this._scheduledControlEvents; |
1583 if (t1 != null) | 1660 if (t1 != null) |
1584 t1.clear$0(0); | 1661 t1.clear$0(0); |
1585 for (t1 = this.ports, t2 = t1.get$values(t1), t2 = H.setRuntimeTypeInfo(ne
w H.MappedIterator(null, J.get$iterator$ax(t2._iterable), t2._f), [H.getTypeArgu
mentByIndex(t2, 0), H.getTypeArgumentByIndex(t2, 1)]); t2.moveNext$0();) | 1662 for (t1 = this.ports, t2 = t1.get$values(t1), t2 = H.setRuntimeTypeInfo(ne
w H.MappedIterator(null, J.get$iterator$ax(t2.__internal$_iterable), t2._f), [H.
getTypeArgumentByIndex(t2, 0), H.getTypeArgumentByIndex(t2, 1)]); t2.moveNext$0(
);) |
1586 t2._current.__isolate_helper$_close$0(); | 1663 t2._current.__isolate_helper$_close$0(); |
1587 t1.clear$0(0); | 1664 t1.clear$0(0); |
1588 this.weakPorts.clear$0(0); | 1665 this.weakPorts.clear$0(0); |
1589 init.globalState.isolates.remove$1(0, this.id); | 1666 init.globalState.isolates.remove$1(0, this.id); |
1590 this.errorPorts.clear$0(0); | 1667 this.errorPorts.clear$0(0); |
1591 t1 = this.doneHandlers; | 1668 t1 = this.doneHandlers; |
1592 if (t1 != null) { | 1669 if (t1 != null) { |
1593 for (t1 = new H.ListIterator(t1, t1.length, 0, null); t1.moveNext$0();) | 1670 for (t1 = new J.ArrayIterator(t1, t1.length, 0, null); t1.moveNext$0();) |
1594 J.send$1$x(t1._current, null); | 1671 J.send$1$x(t1.__interceptors$_current, null); |
1595 this.doneHandlers = null; | 1672 this.doneHandlers = null; |
1596 } | 1673 } |
1597 }, "call$0", "get$kill", 0, 0, 1] | 1674 }, "call$0", "get$kill", 0, 0, 1] |
1598 }, | 1675 }, |
1599 _IsolateContext_handlePing_respond: { | 1676 _IsolateContext_handlePing_respond: { |
1600 "^": "Closure:1;responsePort_0", | 1677 "^": "Closure:1;_captured_responsePort_0", |
1601 call$0: function() { | 1678 call$0: function() { |
1602 J.send$1$x(this.responsePort_0, null); | 1679 J.send$1$x(this._captured_responsePort_0, null); |
1603 } | 1680 } |
1604 }, | 1681 }, |
1605 _EventLoop: { | 1682 _EventLoop: { |
1606 "^": "Object;events,_activeJsAsyncCount", | 1683 "^": "Object;events,_activeJsAsyncCount", |
1607 dequeue$0: function() { | 1684 dequeue$0: function() { |
1608 var t1 = this.events; | 1685 var t1 = this.events; |
1609 if (t1._head === t1._tail) | 1686 if (t1._head === t1._tail) |
1610 return; | 1687 return; |
1611 return t1.removeFirst$0(); | 1688 return t1.removeFirst$0(); |
1612 }, | 1689 }, |
(...skipping 16 matching lines...) Expand all Loading... |
1629 $event.process$0(); | 1706 $event.process$0(); |
1630 return true; | 1707 return true; |
1631 }, | 1708 }, |
1632 _runHelper$0: function() { | 1709 _runHelper$0: function() { |
1633 if (self.window != null) | 1710 if (self.window != null) |
1634 new H._EventLoop__runHelper_next(this).call$0(); | 1711 new H._EventLoop__runHelper_next(this).call$0(); |
1635 else | 1712 else |
1636 for (; this.runIteration$0();) | 1713 for (; this.runIteration$0();) |
1637 ; | 1714 ; |
1638 }, | 1715 }, |
1639 run$0: function() { | 1716 run$0: [function() { |
1640 var e, trace, exception, t1, t2; | 1717 var e, trace, exception, t1, t2; |
1641 if (init.globalState.isWorker !== true) | 1718 if (init.globalState.isWorker !== true) |
1642 this._runHelper$0(); | 1719 this._runHelper$0(); |
1643 else | 1720 else |
1644 try { | 1721 try { |
1645 this._runHelper$0(); | 1722 this._runHelper$0(); |
1646 } catch (exception) { | 1723 } catch (exception) { |
1647 t1 = H.unwrapException(exception); | 1724 t1 = H.unwrapException(exception); |
1648 e = t1; | 1725 e = t1; |
1649 trace = H.getTraceFromException(exception); | 1726 trace = H.getTraceFromException(exception); |
1650 t1 = init.globalState.mainManager; | 1727 t1 = init.globalState.mainManager; |
1651 t2 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "error", "msg"
, H.S(e) + "\n" + H.S(trace)], null, null); | 1728 t2 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "error", "msg"
, H.S(e) + "\n" + H.S(trace)], null, null); |
1652 t2 = new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(nu
ll, P.$int)).serialize$1(t2); | 1729 t2 = new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(nu
ll, P.$int)).serialize$1(t2); |
1653 t1.toString; | 1730 t1.toString; |
1654 self.postMessage(t2); | 1731 self.postMessage(t2); |
1655 } | 1732 } |
1656 } | 1733 }, "call$0", "get$run", 0, 0, 1] |
1657 }, | 1734 }, |
1658 _EventLoop__runHelper_next: { | 1735 _EventLoop__runHelper_next: { |
1659 "^": "Closure:1;this_0", | 1736 "^": "Closure:1;__isolate_helper$_captured_this_0", |
1660 call$0: function() { | 1737 call$0: function() { |
1661 if (!this.this_0.runIteration$0()) | 1738 if (!this.__isolate_helper$_captured_this_0.runIteration$0()) |
1662 return; | 1739 return; |
1663 P.Timer_Timer(C.Duration_0, this); | 1740 P.Timer_Timer(C.Duration_0, this); |
1664 } | 1741 } |
1665 }, | 1742 }, |
1666 _IsolateEvent: { | 1743 _IsolateEvent: { |
1667 "^": "Object;isolate,fn,message>", | 1744 "^": "Object;isolate,fn,message>", |
1668 process$0: function() { | 1745 process$0: function() { |
1669 var t1 = this.isolate; | 1746 var t1 = this.isolate; |
1670 if (t1.isPaused) { | 1747 if (t1.isPaused) { |
1671 t1.delayedEvents.push(this); | 1748 t1.delayedEvents.push(this); |
1672 return; | 1749 return; |
1673 } | 1750 } |
1674 t1.eval$1(this.fn); | 1751 t1.eval$1(this.fn); |
1675 } | 1752 } |
1676 }, | 1753 }, |
1677 _MainManagerStub: { | 1754 _MainManagerStub: { |
1678 "^": "Object;" | 1755 "^": "Object;" |
1679 }, | 1756 }, |
1680 IsolateNatives__processWorkerMessage_closure: { | 1757 IsolateNatives__processWorkerMessage_closure: { |
1681 "^": "Closure:0;entryPoint_0,args_1,message_2,isSpawnUri_3,startPaused_4,rep
lyTo_5", | 1758 "^": "Closure:0;_captured_entryPoint_0,_captured_args_1,_captured_message_2,
_captured_isSpawnUri_3,_captured_startPaused_4,_captured_replyTo_5", |
1682 call$0: function() { | 1759 call$0: function() { |
1683 H.IsolateNatives__startIsolate(this.entryPoint_0, this.args_1, this.messag
e_2, this.isSpawnUri_3, this.startPaused_4, this.replyTo_5); | 1760 H.IsolateNatives__startIsolate(this._captured_entryPoint_0, this._captured
_args_1, this._captured_message_2, this._captured_isSpawnUri_3, this._captured_s
tartPaused_4, this._captured_replyTo_5); |
1684 } | 1761 } |
1685 }, | 1762 }, |
1686 IsolateNatives__startIsolate_runStartFunction: { | 1763 IsolateNatives__startIsolate_runStartFunction: { |
1687 "^": "Closure:1;topLevel_0,args_1,message_2,isSpawnUri_3,context_4", | 1764 "^": "Closure:1;_captured_topLevel_0,_captured_args_1,_captured_message_2,_c
aptured_isSpawnUri_3,_captured_context_4", |
1688 call$0: function() { | 1765 call$0: function() { |
1689 var t1, t2, t3; | 1766 var t1, t2, t3; |
1690 this.context_4.initialized = true; | 1767 this._captured_context_4.initialized = true; |
1691 if (this.isSpawnUri_3 !== true) | 1768 if (this._captured_isSpawnUri_3 !== true) |
1692 this.topLevel_0.call$1(this.message_2); | 1769 this._captured_topLevel_0.call$1(this._captured_message_2); |
1693 else { | 1770 else { |
1694 t1 = this.topLevel_0; | 1771 t1 = this._captured_topLevel_0; |
1695 t2 = H.getDynamicRuntimeType(); | 1772 t2 = H.getDynamicRuntimeType(); |
1696 t3 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1); | 1773 t3 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1); |
1697 if (t3) | 1774 if (t3) |
1698 t1.call$2(this.args_1, this.message_2); | 1775 t1.call$2(this._captured_args_1, this._captured_message_2); |
1699 else { | 1776 else { |
1700 t2 = H.buildFunctionType(t2, [t2])._isTest$1(t1); | 1777 t2 = H.buildFunctionType(t2, [t2])._isTest$1(t1); |
1701 if (t2) | 1778 if (t2) |
1702 t1.call$1(this.args_1); | 1779 t1.call$1(this._captured_args_1); |
1703 else | 1780 else |
1704 t1.call$0(); | 1781 t1.call$0(); |
1705 } | 1782 } |
1706 } | 1783 } |
1707 } | 1784 } |
1708 }, | 1785 }, |
1709 _BaseSendPort: { | 1786 _BaseSendPort: { |
1710 "^": "Object;" | 1787 "^": "Object;" |
1711 }, | 1788 }, |
1712 _NativeJsSendPort: { | 1789 _NativeJsSendPort: { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1762 $eq: function(_, other) { | 1839 $eq: function(_, other) { |
1763 if (other == null) | 1840 if (other == null) |
1764 return false; | 1841 return false; |
1765 return other instanceof H._NativeJsSendPort && J.$eq(this._receivePort, ot
her._receivePort); | 1842 return other instanceof H._NativeJsSendPort && J.$eq(this._receivePort, ot
her._receivePort); |
1766 }, | 1843 }, |
1767 get$hashCode: function(_) { | 1844 get$hashCode: function(_) { |
1768 return this._receivePort.get$_id(); | 1845 return this._receivePort.get$_id(); |
1769 } | 1846 } |
1770 }, | 1847 }, |
1771 _NativeJsSendPort_send_closure: { | 1848 _NativeJsSendPort_send_closure: { |
1772 "^": "Closure:0;this_0,msg_1", | 1849 "^": "Closure:0;__isolate_helper$_captured_this_0,_captured_msg_1", |
1773 call$0: function() { | 1850 call$0: function() { |
1774 var t1 = this.this_0._receivePort; | 1851 var t1 = this.__isolate_helper$_captured_this_0._receivePort; |
1775 if (!t1.get$_isClosed()) | 1852 if (!t1.get$_isClosed()) |
1776 t1.__isolate_helper$_add$1(this.msg_1); | 1853 t1.__isolate_helper$_add$1(this._captured_msg_1); |
1777 } | 1854 } |
1778 }, | 1855 }, |
1779 _WorkerSendPort: { | 1856 _WorkerSendPort: { |
1780 "^": "_BaseSendPort;_workerId,_receivePortId,_isolateId", | 1857 "^": "_BaseSendPort;_workerId,_receivePortId,_isolateId", |
1781 send$1: function(_, message) { | 1858 send$1: function(_, message) { |
1782 var t1, workerMessage, manager; | 1859 var t1, workerMessage, manager; |
1783 t1 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "message", "port",
this, "msg", message], null, null); | 1860 t1 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "message", "port",
this, "msg", message], null, null); |
1784 workerMessage = new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$iden
tity(null, P.$int)).serialize$1(t1); | 1861 workerMessage = new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$iden
tity(null, P.$int)).serialize$1(t1); |
1785 if (init.globalState.isWorker === true) { | 1862 if (init.globalState.isWorker === true) { |
1786 init.globalState.mainManager.toString; | 1863 init.globalState.mainManager.toString; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1869 var t1 = new H.TimerImpl(true, false, null); | 1946 var t1 = new H.TimerImpl(true, false, null); |
1870 t1.TimerImpl$2(milliseconds, callback); | 1947 t1.TimerImpl$2(milliseconds, callback); |
1871 return t1; | 1948 return t1; |
1872 }, TimerImpl$periodic: function(milliseconds, callback) { | 1949 }, TimerImpl$periodic: function(milliseconds, callback) { |
1873 var t1 = new H.TimerImpl(false, false, null); | 1950 var t1 = new H.TimerImpl(false, false, null); |
1874 t1.TimerImpl$periodic$2(milliseconds, callback); | 1951 t1.TimerImpl$periodic$2(milliseconds, callback); |
1875 return t1; | 1952 return t1; |
1876 }} | 1953 }} |
1877 }, | 1954 }, |
1878 TimerImpl_internalCallback: { | 1955 TimerImpl_internalCallback: { |
1879 "^": "Closure:1;this_0,callback_1", | 1956 "^": "Closure:1;__isolate_helper$_captured_this_0,_captured_callback_1", |
1880 call$0: function() { | 1957 call$0: function() { |
1881 this.this_0._handle = null; | 1958 this.__isolate_helper$_captured_this_0._handle = null; |
1882 this.callback_1.call$0(); | 1959 this._captured_callback_1.call$0(); |
1883 } | 1960 } |
1884 }, | 1961 }, |
1885 TimerImpl_internalCallback0: { | 1962 TimerImpl_internalCallback0: { |
1886 "^": "Closure:1;this_2,callback_3", | 1963 "^": "Closure:1;_captured_this_2,_captured_callback_3", |
1887 call$0: function() { | 1964 call$0: function() { |
1888 this.this_2._handle = null; | 1965 this._captured_this_2._handle = null; |
1889 H.leaveJsAsync(); | 1966 H.leaveJsAsync(); |
1890 this.callback_3.call$0(); | 1967 this._captured_callback_3.call$0(); |
1891 } | 1968 } |
1892 }, | 1969 }, |
1893 TimerImpl$periodic_closure: { | 1970 TimerImpl$periodic_closure: { |
1894 "^": "Closure:0;this_0,callback_1", | 1971 "^": "Closure:0;__isolate_helper$_captured_this_0,_captured_callback_1", |
1895 call$0: function() { | 1972 call$0: function() { |
1896 this.callback_1.call$1(this.this_0); | 1973 this._captured_callback_1.call$1(this.__isolate_helper$_captured_this_0); |
1897 } | 1974 } |
1898 }, | 1975 }, |
1899 CapabilityImpl: { | 1976 CapabilityImpl: { |
1900 "^": "Object;_id<", | 1977 "^": "Object;_id<", |
1901 get$hashCode: function(_) { | 1978 get$hashCode: function(_) { |
1902 var hash = this._id; | 1979 var hash = this._id; |
1903 hash = C.JSInt_methods._shrOtherPositive$1(hash, 0) ^ C.JSInt_methods._tdi
vFast$1(hash, 4294967296); | 1980 hash = C.JSInt_methods._shrOtherPositive$1(hash, 0) ^ C.JSInt_methods._tdi
vFast$1(hash, 4294967296); |
1904 hash = (~hash >>> 0) + (hash << 15 >>> 0) & 4294967295; | 1981 hash = (~hash >>> 0) + (hash << 15 >>> 0) & 4294967295; |
1905 hash = ((hash ^ hash >>> 12) >>> 0) * 5 & 4294967295; | 1982 hash = ((hash ^ hash >>> 12) >>> 0) * 5 & 4294967295; |
1906 hash = ((hash ^ hash >>> 4) >>> 0) * 2057 & 4294967295; | 1983 hash = ((hash ^ hash >>> 4) >>> 0) * 2057 & 4294967295; |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2234 return res; | 2311 return res; |
2235 }, | 2312 }, |
2236 Primitives_objectHashCode: function(object) { | 2313 Primitives_objectHashCode: function(object) { |
2237 var hash = object.$identityHash; | 2314 var hash = object.$identityHash; |
2238 if (hash == null) { | 2315 if (hash == null) { |
2239 hash = Math.random() * 0x3fffffff | 0; | 2316 hash = Math.random() * 0x3fffffff | 0; |
2240 object.$identityHash = hash; | 2317 object.$identityHash = hash; |
2241 } | 2318 } |
2242 return hash; | 2319 return hash; |
2243 }, | 2320 }, |
2244 Primitives__throwFormatException: [function(string) { | 2321 Primitives__parseIntError: function(source, handleError) { |
2245 throw H.wrapException(P.FormatException$(string, null, null)); | 2322 throw H.wrapException(P.FormatException$(source, null, null)); |
2246 }, "call$1", "Primitives__throwFormatException$closure", 2, 0, 4], | 2323 }, |
2247 Primitives_parseInt: function(source, radix, handleError) { | 2324 Primitives_parseInt: function(source, radix, handleError) { |
2248 var match, t1, maxCharCode, digitsPart, i, t2; | 2325 var match, decimalMatch, maxCharCode, digitsPart, t1, i; |
2249 handleError = H.Primitives__throwFormatException$closure(); | |
2250 H.checkString(source); | 2326 H.checkString(source); |
2251 match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source); | 2327 match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source); |
| 2328 if (match == null) |
| 2329 return H.Primitives__parseIntError(source, handleError); |
| 2330 if (3 >= match.length) |
| 2331 return H.ioore(match, 3); |
| 2332 decimalMatch = match[3]; |
2252 if (radix == null) { | 2333 if (radix == null) { |
2253 if (match != null) { | 2334 if (decimalMatch != null) |
2254 t1 = match.length; | 2335 return parseInt(source, 10); |
2255 if (2 >= t1) | 2336 if (match[2] != null) |
2256 return H.ioore(match, 2); | 2337 return parseInt(source, 16); |
2257 if (match[2] != null) | 2338 return H.Primitives__parseIntError(source, handleError); |
2258 return parseInt(source, 16); | |
2259 if (3 >= t1) | |
2260 return H.ioore(match, 3); | |
2261 if (match[3] != null) | |
2262 return parseInt(source, 10); | |
2263 return handleError.call$1(source); | |
2264 } | |
2265 radix = 10; | |
2266 } else { | |
2267 if (radix < 2 || radix > 36) | |
2268 throw H.wrapException(P.RangeError$("Radix " + H.S(radix) + " not in ran
ge 2..36")); | |
2269 if (match != null) { | |
2270 if (radix === 10) { | |
2271 if (3 >= match.length) | |
2272 return H.ioore(match, 3); | |
2273 t1 = match[3] != null; | |
2274 } else | |
2275 t1 = false; | |
2276 if (t1) | |
2277 return parseInt(source, 10); | |
2278 if (!(radix < 10)) { | |
2279 if (3 >= match.length) | |
2280 return H.ioore(match, 3); | |
2281 t1 = match[3] == null; | |
2282 } else | |
2283 t1 = true; | |
2284 if (t1) { | |
2285 maxCharCode = radix <= 10 ? 48 + radix - 1 : 97 + radix - 10 - 1; | |
2286 if (1 >= match.length) | |
2287 return H.ioore(match, 1); | |
2288 digitsPart = match[1]; | |
2289 t1 = J.getInterceptor$asx(digitsPart); | |
2290 i = 0; | |
2291 while (true) { | |
2292 t2 = t1.get$length(digitsPart); | |
2293 if (typeof t2 !== "number") | |
2294 return H.iae(t2); | |
2295 if (!(i < t2)) | |
2296 break; | |
2297 t1.codeUnitAt$1(digitsPart, 0); | |
2298 if (C.JSString_methods.codeUnitAt$1(digitsPart, i) > maxCharCode) | |
2299 return handleError.call$1(source); | |
2300 ++i; | |
2301 } | |
2302 } | |
2303 } | |
2304 } | 2339 } |
2305 if (match == null) | 2340 if (radix < 2 || radix > 36) |
2306 return handleError.call$1(source); | 2341 throw H.wrapException(P.RangeError$range(radix, 2, 36, "radix", null)); |
| 2342 if (radix === 10 && decimalMatch != null) |
| 2343 return parseInt(source, 10); |
| 2344 if (radix < 10 || decimalMatch == null) { |
| 2345 maxCharCode = radix <= 10 ? 47 + radix : 86 + radix; |
| 2346 digitsPart = match[1]; |
| 2347 for (t1 = digitsPart.length, i = 0; i < t1; ++i) |
| 2348 if ((C.JSString_methods.codeUnitAt$1(digitsPart, i) | 32) > maxCharCode) |
| 2349 return H.Primitives__parseIntError(source, handleError); |
| 2350 } |
2307 return parseInt(source, radix); | 2351 return parseInt(source, radix); |
2308 }, | 2352 }, |
2309 Primitives_objectTypeName: function(object) { | 2353 Primitives_objectTypeName: function(object) { |
2310 var $name, decompiled; | 2354 var $name, decompiled; |
2311 $name = C.JS_CONST_8ZY(J.getInterceptor(object)); | 2355 $name = C.JS_CONST_8ZY(J.getInterceptor(object)); |
2312 if ($name === "Object") { | 2356 if ($name === "Object") { |
2313 decompiled = String(object.constructor).match(/^\s*function\s*(\S*)\s*\(/)
[1]; | 2357 decompiled = String(object.constructor).match(/^\s*function\s*(\S*)\s*\(/)
[1]; |
2314 if (typeof decompiled === "string") | 2358 if (typeof decompiled === "string") |
2315 $name = /^\w+$/.test(decompiled) ? decompiled : $name; | 2359 $name = /^\w+$/.test(decompiled) ? decompiled : $name; |
2316 } | 2360 } |
(...skipping 20 matching lines...) Expand all Loading... |
2337 i0 = i + 500; | 2381 i0 = i + 500; |
2338 chunkEnd = i0 < end ? i0 : end; | 2382 chunkEnd = i0 < end ? i0 : end; |
2339 result += String.fromCharCode.apply(null, array.slice(i, chunkEnd)); | 2383 result += String.fromCharCode.apply(null, array.slice(i, chunkEnd)); |
2340 } | 2384 } |
2341 return result; | 2385 return result; |
2342 }, | 2386 }, |
2343 Primitives_stringFromCodePoints: function(codePoints) { | 2387 Primitives_stringFromCodePoints: function(codePoints) { |
2344 var a, t1, i; | 2388 var a, t1, i; |
2345 a = []; | 2389 a = []; |
2346 a.$builtinTypeInfo = [P.$int]; | 2390 a.$builtinTypeInfo = [P.$int]; |
2347 for (t1 = new H.ListIterator(codePoints, codePoints.length, 0, null); t1.mov
eNext$0();) { | 2391 for (t1 = new J.ArrayIterator(codePoints, codePoints.length, 0, null); t1.mo
veNext$0();) { |
2348 i = t1._current; | 2392 i = t1.__interceptors$_current; |
2349 if (typeof i !== "number" || Math.floor(i) !== i) | 2393 if (typeof i !== "number" || Math.floor(i) !== i) |
2350 throw H.wrapException(P.ArgumentError$(i)); | 2394 throw H.wrapException(P.ArgumentError$(i)); |
2351 if (i <= 65535) | 2395 if (i <= 65535) |
2352 a.push(i); | 2396 a.push(i); |
2353 else if (i <= 1114111) { | 2397 else if (i <= 1114111) { |
2354 a.push(55296 + (C.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 102
3)); | 2398 a.push(55296 + (C.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 102
3)); |
2355 a.push(56320 + (i & 1023)); | 2399 a.push(56320 + (i & 1023)); |
2356 } else | 2400 } else |
2357 throw H.wrapException(P.ArgumentError$(i)); | 2401 throw H.wrapException(P.ArgumentError$(i)); |
2358 } | 2402 } |
2359 return H.Primitives__fromCharCodeApply(a); | 2403 return H.Primitives__fromCharCodeApply(a); |
2360 }, | 2404 }, |
2361 Primitives_stringFromCharCodes: function(charCodes) { | 2405 Primitives_stringFromCharCodes: function(charCodes) { |
2362 var t1, i; | 2406 var t1, i; |
2363 for (t1 = new H.ListIterator(charCodes, charCodes.length, 0, null); t1.moveN
ext$0();) { | 2407 for (t1 = new J.ArrayIterator(charCodes, charCodes.length, 0, null); t1.move
Next$0();) { |
2364 i = t1._current; | 2408 i = t1.__interceptors$_current; |
2365 if (typeof i !== "number" || Math.floor(i) !== i) | 2409 if (typeof i !== "number" || Math.floor(i) !== i) |
2366 throw H.wrapException(P.ArgumentError$(i)); | 2410 throw H.wrapException(P.ArgumentError$(i)); |
2367 if (i < 0) | 2411 if (i < 0) |
2368 throw H.wrapException(P.ArgumentError$(i)); | 2412 throw H.wrapException(P.ArgumentError$(i)); |
2369 if (i > 65535) | 2413 if (i > 65535) |
2370 return H.Primitives_stringFromCodePoints(charCodes); | 2414 return H.Primitives_stringFromCodePoints(charCodes); |
2371 } | 2415 } |
2372 return H.Primitives__fromCharCodeApply(charCodes); | 2416 return H.Primitives__fromCharCodeApply(charCodes); |
2373 }, | 2417 }, |
2374 Primitives_stringFromCharCode: function(charCode) { | 2418 Primitives_stringFromCharCode: function(charCode) { |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2505 } else | 2549 } else |
2506 t2 = true; | 2550 t2 = true; |
2507 } else | 2551 } else |
2508 t2 = true; | 2552 t2 = true; |
2509 } else | 2553 } else |
2510 t2 = true; | 2554 t2 = true; |
2511 } else | 2555 } else |
2512 t2 = true; | 2556 t2 = true; |
2513 } else | 2557 } else |
2514 t2 = true; | 2558 t2 = true; |
2515 if (t2) { | 2559 if (t2) |
2516 t2 = match == null ? null : match.method; | 2560 return t1.call$1(new H.NullError(message, match == null ? null : mat
ch.method)); |
2517 return t1.call$1(new H.NullError(message, t2)); | |
2518 } | |
2519 } | 2561 } |
2520 } | 2562 } |
2521 t2 = typeof message === "string" ? message : ""; | 2563 return t1.call$1(new H.UnknownJsTypeError(typeof message === "string" ? me
ssage : "")); |
2522 return t1.call$1(new H.UnknownJsTypeError(t2)); | |
2523 } | 2564 } |
2524 if (ex instanceof RangeError) { | 2565 if (ex instanceof RangeError) { |
2525 if (typeof message === "string" && message.indexOf("call stack") !== -1) | 2566 if (typeof message === "string" && message.indexOf("call stack") !== -1) |
2526 return new P.StackOverflowError(); | 2567 return new P.StackOverflowError(); |
2527 return t1.call$1(new P.ArgumentError(false, null, null, null)); | 2568 return t1.call$1(new P.ArgumentError(false, null, null, null)); |
2528 } | 2569 } |
2529 if (typeof InternalError == "function" && ex instanceof InternalError) | 2570 if (typeof InternalError == "function" && ex instanceof InternalError) |
2530 if (typeof message === "string" && message === "too much recursion") | 2571 if (typeof message === "string" && message === "too much recursion") |
2531 return new P.StackOverflowError(); | 2572 return new P.StackOverflowError(); |
2532 return ex; | 2573 return ex; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2589 $function.$reflectionInfo = reflectionInfo; | 2630 $function.$reflectionInfo = reflectionInfo; |
2590 functionType = H.ReflectionInfo_ReflectionInfo($function).functionType; | 2631 functionType = H.ReflectionInfo_ReflectionInfo($function).functionType; |
2591 } else | 2632 } else |
2592 functionType = reflectionInfo; | 2633 functionType = reflectionInfo; |
2593 $prototype = isStatic ? Object.create(new H.TearOffClosure().constructor.pro
totype) : Object.create(new H.BoundClosure(null, null, null, null).constructor.p
rototype); | 2634 $prototype = isStatic ? Object.create(new H.TearOffClosure().constructor.pro
totype) : Object.create(new H.BoundClosure(null, null, null, null).constructor.p
rototype); |
2594 $prototype.$initialize = $prototype.constructor; | 2635 $prototype.$initialize = $prototype.constructor; |
2595 if (isStatic) | 2636 if (isStatic) |
2596 $constructor = function() { | 2637 $constructor = function() { |
2597 this.$initialize(); | 2638 this.$initialize(); |
2598 }; | 2639 }; |
2599 else if (typeof dart_precompiled == "function") { | 2640 else { |
2600 t1 = function(a, b, c, d) { | |
2601 this.$initialize(a, b, c, d); | |
2602 }; | |
2603 $constructor = t1; | |
2604 } else { | |
2605 t1 = $.Closure_functionCounter; | 2641 t1 = $.Closure_functionCounter; |
2606 $.Closure_functionCounter = J.$add$ns(t1, 1); | 2642 $.Closure_functionCounter = J.$add$ns(t1, 1); |
2607 t1 = new Function("a", "b", "c", "d", "this.$initialize(a,b,c,d);" + t1); | 2643 t1 = new Function("a", "b", "c", "d", "this.$initialize(a,b,c,d);" + t1); |
2608 $constructor = t1; | 2644 $constructor = t1; |
2609 } | 2645 } |
2610 $prototype.constructor = $constructor; | 2646 $prototype.constructor = $constructor; |
2611 $constructor.prototype = $prototype; | 2647 $constructor.prototype = $prototype; |
2612 t1 = !isStatic; | 2648 t1 = !isStatic; |
2613 if (t1) { | 2649 if (t1) { |
2614 isIntercepted = jsArguments.length == 1 && true; | 2650 isIntercepted = jsArguments.length == 1 && true; |
2615 trampoline = H.Closure_forwardCallTo(receiver, $function, isIntercepted); | 2651 trampoline = H.Closure_forwardCallTo(receiver, $function, isIntercepted); |
2616 trampoline.$reflectionInfo = reflectionInfo; | 2652 trampoline.$reflectionInfo = reflectionInfo; |
2617 } else { | 2653 } else { |
2618 $prototype.$name = propertyName; | 2654 $prototype.$name = propertyName; |
2619 trampoline = $function; | 2655 trampoline = $function; |
2620 isIntercepted = false; | 2656 isIntercepted = false; |
2621 } | 2657 } |
2622 if (typeof functionType == "number") | 2658 if (typeof functionType == "number") |
2623 signatureFunction = function(s) { | 2659 signatureFunction = function(s) { |
2624 return function() { | 2660 return function() { |
2625 return init.metadata[s]; | 2661 return init.types[s]; |
2626 }; | 2662 }; |
2627 }(functionType); | 2663 }(functionType); |
2628 else if (t1 && typeof functionType == "function") { | 2664 else if (t1 && typeof functionType == "function") { |
2629 getReceiver = isIntercepted ? H.BoundClosure_receiverOf : H.BoundClosure_s
elfOf; | 2665 getReceiver = isIntercepted ? H.BoundClosure_receiverOf : H.BoundClosure_s
elfOf; |
2630 signatureFunction = function(f, r) { | 2666 signatureFunction = function(f, r) { |
2631 return function() { | 2667 return function() { |
2632 return f.apply({$receiver: r(this)}, arguments); | 2668 return f.apply({$receiver: r(this)}, arguments); |
2633 }; | 2669 }; |
2634 }(functionType, getReceiver); | 2670 }(functionType, getReceiver); |
2635 } else | 2671 } else |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2697 } | 2733 } |
2698 }, | 2734 }, |
2699 Closure_forwardCallTo: function(receiver, $function, isIntercepted) { | 2735 Closure_forwardCallTo: function(receiver, $function, isIntercepted) { |
2700 var stubName, arity, lookedUpFunction, t1, t2, $arguments; | 2736 var stubName, arity, lookedUpFunction, t1, t2, $arguments; |
2701 if (isIntercepted) | 2737 if (isIntercepted) |
2702 return H.Closure_forwardInterceptedCallTo(receiver, $function); | 2738 return H.Closure_forwardInterceptedCallTo(receiver, $function); |
2703 stubName = $function.$stubName; | 2739 stubName = $function.$stubName; |
2704 arity = $function.length; | 2740 arity = $function.length; |
2705 lookedUpFunction = receiver[stubName]; | 2741 lookedUpFunction = receiver[stubName]; |
2706 t1 = $function == null ? lookedUpFunction == null : $function === lookedUpFu
nction; | 2742 t1 = $function == null ? lookedUpFunction == null : $function === lookedUpFu
nction; |
2707 if (typeof dart_precompiled == "function" || !t1 || arity >= 27) | 2743 t2 = !t1 || arity >= 27; |
| 2744 if (t2) |
2708 return H.Closure_cspForwardCall(arity, !t1, stubName, $function); | 2745 return H.Closure_cspForwardCall(arity, !t1, stubName, $function); |
2709 if (arity === 0) { | 2746 if (arity === 0) { |
2710 t1 = $.BoundClosure_selfFieldNameCache; | 2747 t1 = $.BoundClosure_selfFieldNameCache; |
2711 if (t1 == null) { | 2748 if (t1 == null) { |
2712 t1 = H.BoundClosure_computeFieldNamed("self"); | 2749 t1 = H.BoundClosure_computeFieldNamed("self"); |
2713 $.BoundClosure_selfFieldNameCache = t1; | 2750 $.BoundClosure_selfFieldNameCache = t1; |
2714 } | 2751 } |
2715 t1 = "return function(){return this." + H.S(t1) + "." + H.S(stubName) + "(
);"; | 2752 t1 = "return function(){return this." + H.S(t1) + "." + H.S(stubName) + "(
);"; |
2716 t2 = $.Closure_functionCounter; | 2753 t2 = $.Closure_functionCounter; |
2717 $.Closure_functionCounter = J.$add$ns(t2, 1); | 2754 $.Closure_functionCounter = J.$add$ns(t2, 1); |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2776 return function(f, s, r, a) { | 2813 return function(f, s, r, a) { |
2777 return function() { | 2814 return function() { |
2778 a = [r(this)]; | 2815 a = [r(this)]; |
2779 Array.prototype.push.apply(a, arguments); | 2816 Array.prototype.push.apply(a, arguments); |
2780 return f.apply(s(this), a); | 2817 return f.apply(s(this), a); |
2781 }; | 2818 }; |
2782 }($function, getSelf, getReceiver); | 2819 }($function, getSelf, getReceiver); |
2783 } | 2820 } |
2784 }, | 2821 }, |
2785 Closure_forwardInterceptedCallTo: function(receiver, $function) { | 2822 Closure_forwardInterceptedCallTo: function(receiver, $function) { |
2786 var selfField, t1, stubName, arity, isCsp, lookedUpFunction, t2, $arguments; | 2823 var selfField, t1, stubName, arity, lookedUpFunction, t2, t3, $arguments; |
2787 selfField = H.BoundClosure_selfFieldName(); | 2824 selfField = H.BoundClosure_selfFieldName(); |
2788 t1 = $.BoundClosure_receiverFieldNameCache; | 2825 t1 = $.BoundClosure_receiverFieldNameCache; |
2789 if (t1 == null) { | 2826 if (t1 == null) { |
2790 t1 = H.BoundClosure_computeFieldNamed("receiver"); | 2827 t1 = H.BoundClosure_computeFieldNamed("receiver"); |
2791 $.BoundClosure_receiverFieldNameCache = t1; | 2828 $.BoundClosure_receiverFieldNameCache = t1; |
2792 } | 2829 } |
2793 stubName = $function.$stubName; | 2830 stubName = $function.$stubName; |
2794 arity = $function.length; | 2831 arity = $function.length; |
2795 isCsp = typeof dart_precompiled == "function"; | |
2796 lookedUpFunction = receiver[stubName]; | 2832 lookedUpFunction = receiver[stubName]; |
2797 t2 = $function == null ? lookedUpFunction == null : $function === lookedUpFu
nction; | 2833 t2 = $function == null ? lookedUpFunction == null : $function === lookedUpFu
nction; |
2798 if (isCsp || !t2 || arity >= 28) | 2834 t3 = !t2 || arity >= 28; |
| 2835 if (t3) |
2799 return H.Closure_cspForwardInterceptedCall(arity, !t2, stubName, $function
); | 2836 return H.Closure_cspForwardInterceptedCall(arity, !t2, stubName, $function
); |
2800 if (arity === 1) { | 2837 if (arity === 1) { |
2801 t1 = "return function(){return this." + H.S(selfField) + "." + H.S(stubNam
e) + "(this." + H.S(t1) + ");"; | 2838 t1 = "return function(){return this." + H.S(selfField) + "." + H.S(stubNam
e) + "(this." + H.S(t1) + ");"; |
2802 t2 = $.Closure_functionCounter; | 2839 t2 = $.Closure_functionCounter; |
2803 $.Closure_functionCounter = J.$add$ns(t2, 1); | 2840 $.Closure_functionCounter = J.$add$ns(t2, 1); |
2804 return new Function(t1 + H.S(t2) + "}")(); | 2841 return new Function(t1 + H.S(t2) + "}")(); |
2805 } | 2842 } |
2806 $arguments = "abcdefghijklmnopqrstuvwxyz".split("").splice(0, arity - 1).joi
n(","); | 2843 $arguments = "abcdefghijklmnopqrstuvwxyz".split("").splice(0, arity - 1).joi
n(","); |
2807 t1 = "return function(" + $arguments + "){return this." + H.S(selfField) + "
." + H.S(stubName) + "(this." + H.S(t1) + ", " + $arguments + ");"; | 2844 t1 = "return function(" + $arguments + "){return this." + H.S(selfField) + "
." + H.S(stubName) + "(this." + H.S(t1) + ", " + $arguments + ");"; |
2808 t2 = $.Closure_functionCounter; | 2845 t2 = $.Closure_functionCounter; |
2809 $.Closure_functionCounter = J.$add$ns(t2, 1); | 2846 $.Closure_functionCounter = J.$add$ns(t2, 1); |
2810 return new Function(t1 + H.S(t2) + "}")(); | 2847 return new Function(t1 + H.S(t2) + "}")(); |
2811 }, | 2848 }, |
2812 closureFromTearOff: function(receiver, functions, reflectionInfo, isStatic, js
Arguments, $name) { | 2849 closureFromTearOff: function(receiver, functions, reflectionInfo, isStatic, js
Arguments, $name) { |
2813 var t1; | 2850 var t1; |
2814 functions.fixed$length = Array; | 2851 functions.fixed$length = Array; |
2815 if (!!J.getInterceptor(reflectionInfo).$isList) { | 2852 if (!!J.getInterceptor(reflectionInfo).$isList) { |
2816 reflectionInfo.fixed$length = Array; | 2853 reflectionInfo.fixed$length = Array; |
2817 t1 = reflectionInfo; | 2854 t1 = reflectionInfo; |
2818 } else | 2855 } else |
2819 t1 = reflectionInfo; | 2856 t1 = reflectionInfo; |
2820 return H.Closure_fromTearOff(receiver, functions, t1, !!isStatic, jsArgument
s, $name); | 2857 return H.Closure_fromTearOff(receiver, functions, t1, !!isStatic, jsArgument
s, $name); |
2821 }, | 2858 }, |
2822 intTypeCast: function(value) { | 2859 intTypeCast: function(value) { |
2823 if (typeof value === "number" && Math.floor(value) === value || value == nul
l) | 2860 if (typeof value === "number" && Math.floor(value) === value || value == nul
l) |
2824 return value; | 2861 return value; |
2825 throw H.wrapException(H.CastErrorImplementation$(H.Primitives_objectTypeName
(value), "int")); | 2862 throw H.wrapException(H.CastErrorImplementation$(H.Primitives_objectTypeName
(value), "int")); |
2826 }, | 2863 }, |
| 2864 propertyTypeCastError: function(value, property) { |
| 2865 var t1 = J.getInterceptor$asx(property); |
| 2866 throw H.wrapException(H.CastErrorImplementation$(H.Primitives_objectTypeName
(value), t1.substring$2(property, 3, t1.get$length(property)))); |
| 2867 }, |
| 2868 interceptedTypeCast: function(value, property) { |
| 2869 var t1; |
| 2870 if (value != null) |
| 2871 t1 = typeof value === "object" && J.getInterceptor(value)[property]; |
| 2872 else |
| 2873 t1 = true; |
| 2874 if (t1) |
| 2875 return value; |
| 2876 H.propertyTypeCastError(value, property); |
| 2877 }, |
2827 throwCyclicInit: function(staticName) { | 2878 throwCyclicInit: function(staticName) { |
2828 throw H.wrapException(new P.CyclicInitializationError("Cyclic initialization
for static " + H.S(staticName))); | 2879 throw H.wrapException(new P.CyclicInitializationError("Cyclic initialization
for static " + H.S(staticName))); |
2829 }, | 2880 }, |
2830 buildFunctionType: function(returnType, parameterTypes, optionalParameterTypes
) { | 2881 buildFunctionType: function(returnType, parameterTypes, optionalParameterTypes
) { |
2831 return new H.RuntimeFunctionType(returnType, parameterTypes, optionalParamet
erTypes, null); | 2882 return new H.RuntimeFunctionType(returnType, parameterTypes, optionalParamet
erTypes, null); |
2832 }, | 2883 }, |
2833 getDynamicRuntimeType: function() { | 2884 getDynamicRuntimeType: function() { |
2834 return C.C_DynamicRuntimeType; | 2885 return C.C_DynamicRuntimeType; |
2835 }, | 2886 }, |
2836 random64: function() { | 2887 random64: function() { |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3187 getTag = hooks.getTag; | 3238 getTag = hooks.getTag; |
3188 getUnknownTag = hooks.getUnknownTag; | 3239 getUnknownTag = hooks.getUnknownTag; |
3189 prototypeForTag = hooks.prototypeForTag; | 3240 prototypeForTag = hooks.prototypeForTag; |
3190 $.getTagFunction = new H.initHooks_closure(getTag); | 3241 $.getTagFunction = new H.initHooks_closure(getTag); |
3191 $.alternateTagFunction = new H.initHooks_closure0(getUnknownTag); | 3242 $.alternateTagFunction = new H.initHooks_closure0(getUnknownTag); |
3192 $.prototypeForTagFunction = new H.initHooks_closure1(prototypeForTag); | 3243 $.prototypeForTagFunction = new H.initHooks_closure1(prototypeForTag); |
3193 }, | 3244 }, |
3194 applyHooksTransformer: function(transformer, hooks) { | 3245 applyHooksTransformer: function(transformer, hooks) { |
3195 return transformer(hooks) || hooks; | 3246 return transformer(hooks) || hooks; |
3196 }, | 3247 }, |
3197 allMatchesInStringUnchecked: function(needle, haystack, startIndex) { | 3248 allMatchesInStringUnchecked: function(pattern, string, startIndex) { |
3198 var result, t1, $length, patternLength, position, endIndex; | 3249 var result, $length, patternLength, position, endIndex; |
3199 result = H.setRuntimeTypeInfo([], [P.Match]); | 3250 result = H.setRuntimeTypeInfo([], [P.Match]); |
3200 t1 = J.getInterceptor$asx(haystack); | 3251 $length = J.get$length$asx(string); |
3201 $length = t1.get$length(haystack); | 3252 patternLength = pattern.length; |
3202 patternLength = needle.length; | |
3203 for (; true;) { | 3253 for (; true;) { |
3204 position = t1.indexOf$2(haystack, needle, startIndex); | 3254 position = string.indexOf(pattern, startIndex); |
3205 if (position === -1) | 3255 if (position === -1) |
3206 break; | 3256 break; |
3207 result.push(new H.StringMatch(position, haystack, needle)); | 3257 result.push(new H.StringMatch(position, string, pattern)); |
3208 endIndex = position + patternLength; | 3258 endIndex = position + patternLength; |
3209 if (endIndex === $length) | 3259 if (endIndex === $length) |
3210 break; | 3260 break; |
3211 else | 3261 else |
3212 startIndex = position === endIndex ? startIndex + 1 : endIndex; | 3262 startIndex = position === endIndex ? startIndex + 1 : endIndex; |
3213 } | 3263 } |
3214 return result; | 3264 return result; |
3215 }, | 3265 }, |
3216 stringContainsUnchecked: function(receiver, other, startIndex) { | 3266 stringContainsUnchecked: function(receiver, other, startIndex) { |
3217 var t1; | 3267 var t1; |
3218 if (typeof other === "string") | 3268 if (typeof other === "string") |
3219 return C.JSString_methods.indexOf$2(receiver, other, startIndex) !== -1; | 3269 return receiver.indexOf(other, startIndex) >= 0; |
3220 else { | 3270 else { |
3221 t1 = J.getInterceptor(other); | 3271 t1 = J.getInterceptor(other); |
3222 if (!!t1.$isJSSyntaxRegExp) { | 3272 if (!!t1.$isJSSyntaxRegExp) { |
3223 t1 = C.JSString_methods.substring$1(receiver, startIndex); | 3273 t1 = C.JSString_methods.substring$1(receiver, startIndex); |
3224 return other._nativeRegExp.test(H.checkString(t1)); | 3274 return other._nativeRegExp.test(H.checkString(t1)); |
3225 } else | 3275 } else |
3226 return J.get$isNotEmpty$asx(t1.allMatches$1(other, C.JSString_methods.su
bstring$1(receiver, startIndex))); | 3276 return J.get$isNotEmpty$asx(t1.allMatches$1(other, C.JSString_methods.su
bstring$1(receiver, startIndex))); |
3227 } | 3277 } |
3228 }, | 3278 }, |
3229 stringReplaceFirstRE: function(receiver, regexp, to, startIndex) { | 3279 stringReplaceFirstRE: function(receiver, regexp, replacement, startIndex) { |
3230 var match, t1, start, t2; | 3280 var match, t1, start, t2; |
3231 match = regexp._execGlobal$2(receiver, startIndex); | 3281 match = regexp._execGlobal$2(receiver, startIndex); |
3232 if (match == null) | 3282 if (match == null) |
3233 return receiver; | 3283 return receiver; |
3234 t1 = match._match; | 3284 t1 = match._match; |
3235 start = t1.index; | 3285 start = t1.index; |
3236 t2 = t1.index; | 3286 t2 = t1.index; |
3237 if (0 >= t1.length) | 3287 if (0 >= t1.length) |
3238 return H.ioore(t1, 0); | 3288 return H.ioore(t1, 0); |
3239 t1 = J.get$length$asx(t1[0]); | 3289 t1 = J.get$length$asx(t1[0]); |
3240 if (typeof t1 !== "number") | 3290 if (typeof t1 !== "number") |
3241 return H.iae(t1); | 3291 return H.iae(t1); |
3242 return H.stringReplaceRangeUnchecked(receiver, start, t2 + t1, to); | 3292 return H.stringReplaceRangeUnchecked(receiver, start, t2 + t1, replacement); |
3243 }, | 3293 }, |
3244 stringReplaceAllUnchecked: function(receiver, from, to) { | 3294 stringReplaceAllUnchecked: function(receiver, pattern, replacement) { |
3245 var $length, t1, i, nativeRegexp; | 3295 var $length, t1, i, nativeRegexp; |
3246 H.checkString(to); | 3296 H.checkString(replacement); |
3247 if (typeof from === "string") | 3297 if (typeof pattern === "string") |
3248 if (from === "") | 3298 if (pattern === "") |
3249 if (receiver === "") | 3299 if (receiver === "") |
3250 return to; | 3300 return replacement; |
3251 else { | 3301 else { |
3252 $length = receiver.length; | 3302 $length = receiver.length; |
3253 for (t1 = to, i = 0; i < $length; ++i) | 3303 for (t1 = replacement, i = 0; i < $length; ++i) |
3254 t1 = t1 + receiver[i] + to; | 3304 t1 = t1 + receiver[i] + replacement; |
3255 return t1.charCodeAt(0) == 0 ? t1 : t1; | 3305 return t1.charCodeAt(0) == 0 ? t1 : t1; |
3256 } | 3306 } |
3257 else | 3307 else |
3258 return receiver.replace(new RegExp(from.replace(new RegExp("[[\\]{}()*+?
.\\\\^$|]", 'g'), "\\$&"), 'g'), to.replace(/\$/g, "$$$$")); | 3308 return receiver.replace(new RegExp(pattern.replace(new RegExp("[[\\]{}()
*+?.\\\\^$|]", 'g'), "\\$&"), 'g'), replacement.replace(/\$/g, "$$$$")); |
3259 else if (from instanceof H.JSSyntaxRegExp) { | 3309 else if (pattern instanceof H.JSSyntaxRegExp) { |
3260 nativeRegexp = from.get$_nativeGlobalVersion(); | 3310 nativeRegexp = pattern.get$_nativeGlobalVersion(); |
3261 nativeRegexp.lastIndex = 0; | 3311 nativeRegexp.lastIndex = 0; |
3262 return receiver.replace(nativeRegexp, to.replace(/\$/g, "$$$$")); | 3312 return receiver.replace(nativeRegexp, replacement.replace(/\$/g, "$$$$")); |
3263 } else { | 3313 } else { |
3264 if (from == null) | 3314 if (pattern == null) |
3265 H.throwExpression(P.ArgumentError$(null)); | 3315 H.throwExpression(P.ArgumentError$(null)); |
3266 throw H.wrapException("String.replaceAll(Pattern) UNIMPLEMENTED"); | 3316 throw H.wrapException("String.replaceAll(Pattern) UNIMPLEMENTED"); |
3267 } | 3317 } |
3268 }, | 3318 }, |
3269 stringReplaceFirstUnchecked: function(receiver, from, to, startIndex) { | 3319 stringReplaceFirstUnchecked: function(receiver, pattern, replacement, startInd
ex) { |
3270 var index, t1, matches, match; | 3320 var index, t1, matches, match; |
3271 if (typeof from === "string") { | 3321 if (typeof pattern === "string") { |
3272 index = C.JSString_methods.indexOf$2(receiver, from, startIndex); | 3322 index = receiver.indexOf(pattern, startIndex); |
3273 if (index < 0) | 3323 if (index < 0) |
3274 return receiver; | 3324 return receiver; |
3275 return H.stringReplaceRangeUnchecked(receiver, index, index + from.length,
to); | 3325 return H.stringReplaceRangeUnchecked(receiver, index, index + pattern.leng
th, replacement); |
3276 } | 3326 } |
3277 t1 = J.getInterceptor(from); | 3327 t1 = J.getInterceptor(pattern); |
3278 if (!!t1.$isJSSyntaxRegExp) | 3328 if (!!t1.$isJSSyntaxRegExp) |
3279 return startIndex === 0 ? receiver.replace(from._nativeRegExp, to.replace(
/\$/g, "$$$$")) : H.stringReplaceFirstRE(receiver, from, to, startIndex); | 3329 return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, replacem
ent.replace(/\$/g, "$$$$")) : H.stringReplaceFirstRE(receiver, pattern, replacem
ent, startIndex); |
3280 if (from == null) | 3330 if (pattern == null) |
3281 H.throwExpression(P.ArgumentError$(null)); | 3331 H.throwExpression(P.ArgumentError$(null)); |
3282 matches = J.get$iterator$ax(t1.allMatches$2(from, receiver, startIndex)); | 3332 matches = J.get$iterator$ax(t1.allMatches$2(pattern, receiver, startIndex)); |
3283 if (!matches.moveNext$0()) | 3333 if (!matches.moveNext$0()) |
3284 return receiver; | 3334 return receiver; |
3285 match = matches.get$current(); | 3335 match = matches.get$current(); |
3286 return C.JSString_methods.substring$2(receiver, 0, J.get$start$x(match)) + t
o + C.JSString_methods.substring$1(receiver, match.get$end()); | 3336 return C.JSString_methods.replaceRange$3(receiver, J.get$start$x(match), mat
ch.get$end(), replacement); |
3287 }, | 3337 }, |
3288 stringReplaceRangeUnchecked: function(receiver, start, end, replacement) { | 3338 stringReplaceRangeUnchecked: function(receiver, start, end, replacement) { |
3289 var prefix, suffix; | 3339 var prefix, suffix; |
3290 prefix = receiver.substring(0, start); | 3340 prefix = receiver.substring(0, start); |
3291 suffix = receiver.substring(end); | 3341 suffix = receiver.substring(end); |
3292 return prefix + replacement + suffix; | 3342 return prefix + replacement + suffix; |
3293 }, | 3343 }, |
3294 ReflectionInfo: { | 3344 ReflectionInfo: { |
3295 "^": "Object;jsFunction,data>,isAccessor,requiredParameterCount,optionalPara
meterCount,areOptionalParametersNamed,functionType,cachedSortedIndices", | 3345 "^": "Object;jsFunction,data>,isAccessor,requiredParameterCount,optionalPara
meterCount,areOptionalParametersNamed,functionType,cachedSortedIndices", |
3296 static: {ReflectionInfo_ReflectionInfo: function(jsFunction) { | 3346 static: {ReflectionInfo_ReflectionInfo: function(jsFunction) { |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3379 return "NoSuchMethodError: " + H.S(this._message); | 3429 return "NoSuchMethodError: " + H.S(this._message); |
3380 t2 = this._receiver; | 3430 t2 = this._receiver; |
3381 if (t2 == null) | 3431 if (t2 == null) |
3382 return "NoSuchMethodError: Cannot call \"" + H.S(t1) + "\" (" + H.S(this
._message) + ")"; | 3432 return "NoSuchMethodError: Cannot call \"" + H.S(t1) + "\" (" + H.S(this
._message) + ")"; |
3383 return "NoSuchMethodError: Cannot call \"" + H.S(t1) + "\" on \"" + H.S(t2
) + "\" (" + H.S(this._message) + ")"; | 3433 return "NoSuchMethodError: Cannot call \"" + H.S(t1) + "\" on \"" + H.S(t2
) + "\" (" + H.S(this._message) + ")"; |
3384 }, | 3434 }, |
3385 static: {JsNoSuchMethodError$: function(_message, match) { | 3435 static: {JsNoSuchMethodError$: function(_message, match) { |
3386 var t1, t2; | 3436 var t1, t2; |
3387 t1 = match == null; | 3437 t1 = match == null; |
3388 t2 = t1 ? null : match.method; | 3438 t2 = t1 ? null : match.method; |
3389 t1 = t1 ? null : match.receiver; | 3439 return new H.JsNoSuchMethodError(_message, t2, t1 ? null : match.receive
r); |
3390 return new H.JsNoSuchMethodError(_message, t2, t1); | |
3391 }} | 3440 }} |
3392 }, | 3441 }, |
3393 UnknownJsTypeError: { | 3442 UnknownJsTypeError: { |
3394 "^": "Error;_message", | 3443 "^": "Error;_message", |
3395 toString$0: function(_) { | 3444 toString$0: function(_) { |
3396 var t1 = this._message; | 3445 var t1 = this._message; |
3397 return C.JSString_methods.get$isEmpty(t1) ? "Error" : "Error: " + t1; | 3446 return C.JSString_methods.get$isEmpty(t1) ? "Error" : "Error: " + t1; |
3398 } | 3447 } |
3399 }, | 3448 }, |
3400 unwrapException_saveStackTrace: { | 3449 unwrapException_saveStackTrace: { |
3401 "^": "Closure:2;ex_0", | 3450 "^": "Closure:2;_captured_ex_0", |
3402 call$1: function(error) { | 3451 call$1: function(error) { |
3403 if (!!J.getInterceptor(error).$isError) | 3452 if (!!J.getInterceptor(error).$isError) |
3404 if (error.$thrownJsError == null) | 3453 if (error.$thrownJsError == null) |
3405 error.$thrownJsError = this.ex_0; | 3454 error.$thrownJsError = this._captured_ex_0; |
3406 return error; | 3455 return error; |
3407 } | 3456 } |
3408 }, | 3457 }, |
3409 _StackTrace: { | 3458 _StackTrace: { |
3410 "^": "Object;_exception,__js_helper$_trace", | 3459 "^": "Object;_exception,__js_helper$_trace", |
3411 toString$0: function(_) { | 3460 toString$0: function(_) { |
3412 var t1, trace; | 3461 var t1, trace; |
3413 t1 = this.__js_helper$_trace; | 3462 t1 = this.__js_helper$_trace; |
3414 if (t1 != null) | 3463 if (t1 != null) |
3415 return t1; | 3464 return t1; |
3416 t1 = this._exception; | 3465 t1 = this._exception; |
3417 trace = t1 !== null && typeof t1 === "object" ? t1.stack : null; | 3466 trace = t1 !== null && typeof t1 === "object" ? t1.stack : null; |
3418 t1 = trace == null ? "" : trace; | 3467 t1 = trace == null ? "" : trace; |
3419 this.__js_helper$_trace = t1; | 3468 this.__js_helper$_trace = t1; |
3420 return t1; | 3469 return t1; |
3421 } | 3470 } |
3422 }, | 3471 }, |
3423 invokeClosure_closure: { | 3472 invokeClosure_closure: { |
3424 "^": "Closure:0;closure_0", | 3473 "^": "Closure:0;_captured_closure_0", |
3425 call$0: function() { | 3474 call$0: function() { |
3426 return this.closure_0.call$0(); | 3475 return this._captured_closure_0.call$0(); |
3427 } | 3476 } |
3428 }, | 3477 }, |
3429 invokeClosure_closure0: { | 3478 invokeClosure_closure0: { |
3430 "^": "Closure:0;closure_1,arg1_2", | 3479 "^": "Closure:0;_captured_closure_1,_captured_arg1_2", |
3431 call$0: function() { | 3480 call$0: function() { |
3432 return this.closure_1.call$1(this.arg1_2); | 3481 return this._captured_closure_1.call$1(this._captured_arg1_2); |
3433 } | 3482 } |
3434 }, | 3483 }, |
3435 invokeClosure_closure1: { | 3484 invokeClosure_closure1: { |
3436 "^": "Closure:0;closure_3,arg1_4,arg2_5", | 3485 "^": "Closure:0;_captured_closure_3,_captured_arg1_4,_captured_arg2_5", |
3437 call$0: function() { | 3486 call$0: function() { |
3438 return this.closure_3.call$2(this.arg1_4, this.arg2_5); | 3487 return this._captured_closure_3.call$2(this._captured_arg1_4, this._captur
ed_arg2_5); |
3439 } | 3488 } |
3440 }, | 3489 }, |
3441 invokeClosure_closure2: { | 3490 invokeClosure_closure2: { |
3442 "^": "Closure:0;closure_6,arg1_7,arg2_8,arg3_9", | 3491 "^": "Closure:0;_captured_closure_6,_captured_arg1_7,_captured_arg2_8,_captu
red_arg3_9", |
3443 call$0: function() { | 3492 call$0: function() { |
3444 return this.closure_6.call$3(this.arg1_7, this.arg2_8, this.arg3_9); | 3493 return this._captured_closure_6.call$3(this._captured_arg1_7, this._captur
ed_arg2_8, this._captured_arg3_9); |
3445 } | 3494 } |
3446 }, | 3495 }, |
3447 invokeClosure_closure3: { | 3496 invokeClosure_closure3: { |
3448 "^": "Closure:0;closure_10,arg1_11,arg2_12,arg3_13,arg4_14", | 3497 "^": "Closure:0;_captured_closure_10,_captured_arg1_11,_captured_arg2_12,_ca
ptured_arg3_13,_captured_arg4_14", |
3449 call$0: function() { | 3498 call$0: function() { |
3450 return this.closure_10.call$4(this.arg1_11, this.arg2_12, this.arg3_13, th
is.arg4_14); | 3499 return this._captured_closure_10.call$4(this._captured_arg1_11, this._capt
ured_arg2_12, this._captured_arg3_13, this._captured_arg4_14); |
3451 } | 3500 } |
3452 }, | 3501 }, |
3453 Closure: { | 3502 Closure: { |
3454 "^": "Object;", | 3503 "^": "Object;", |
3455 toString$0: function(_) { | 3504 toString$0: function(_) { |
3456 return "Closure"; | 3505 return "Closure"; |
3457 }, | 3506 }, |
3458 get$$call: function() { | 3507 get$$call: function() { |
3459 return this; | 3508 return this; |
| 3509 }, |
| 3510 get$$call: function() { |
| 3511 return this; |
3460 } | 3512 } |
3461 }, | 3513 }, |
3462 TearOffClosure: { | 3514 TearOffClosure: { |
3463 "^": "Closure;" | 3515 "^": "Closure;" |
3464 }, | 3516 }, |
3465 BoundClosure: { | 3517 BoundClosure: { |
3466 "^": "TearOffClosure;_self,_target,_receiver,__js_helper$_name", | 3518 "^": "TearOffClosure;_self,_target,_receiver,__js_helper$_name", |
3467 $eq: function(_, other) { | 3519 $eq: function(_, other) { |
3468 if (other == null) | 3520 if (other == null) |
3469 return false; | 3521 return false; |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3837 $isInternalMap: 1, | 3889 $isInternalMap: 1, |
3838 $isMap: 1, | 3890 $isMap: 1, |
3839 static: {JsLinkedHashMap__newHashTable: function() { | 3891 static: {JsLinkedHashMap__newHashTable: function() { |
3840 var table = Object.create(null); | 3892 var table = Object.create(null); |
3841 table["<non-identifier-key>"] = table; | 3893 table["<non-identifier-key>"] = table; |
3842 delete table["<non-identifier-key>"]; | 3894 delete table["<non-identifier-key>"]; |
3843 return table; | 3895 return table; |
3844 }} | 3896 }} |
3845 }, | 3897 }, |
3846 JsLinkedHashMap_values_closure: { | 3898 JsLinkedHashMap_values_closure: { |
3847 "^": "Closure:2;this_0", | 3899 "^": "Closure:2;__js_helper$_captured_this_0", |
3848 call$1: function(each) { | 3900 call$1: function(each) { |
3849 return this.this_0.$index(0, each); | 3901 return this.__js_helper$_captured_this_0.$index(0, each); |
3850 } | 3902 } |
3851 }, | 3903 }, |
3852 LinkedHashMapCell: { | 3904 LinkedHashMapCell: { |
3853 "^": "Object;hashMapCellKey<,hashMapCellValue@,_next,_previous<" | 3905 "^": "Object;hashMapCellKey<,hashMapCellValue@,_next,_previous<" |
3854 }, | 3906 }, |
3855 LinkedHashMapKeyIterable: { | 3907 LinkedHashMapKeyIterable: { |
3856 "^": "IterableBase;__js_helper$_map", | 3908 "^": "IterableBase;__js_helper$_map", |
3857 get$length: function(_) { | 3909 get$length: function(_) { |
3858 return this.__js_helper$_map.__js_helper$_length; | 3910 return this.__js_helper$_map.__js_helper$_length; |
3859 }, | 3911 }, |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3900 return false; | 3952 return false; |
3901 } else { | 3953 } else { |
3902 this.__js_helper$_current = t1.hashMapCellKey; | 3954 this.__js_helper$_current = t1.hashMapCellKey; |
3903 this._cell = t1._next; | 3955 this._cell = t1._next; |
3904 return true; | 3956 return true; |
3905 } | 3957 } |
3906 } | 3958 } |
3907 } | 3959 } |
3908 }, | 3960 }, |
3909 initHooks_closure: { | 3961 initHooks_closure: { |
3910 "^": "Closure:2;getTag_0", | 3962 "^": "Closure:2;_captured_getTag_0", |
3911 call$1: function(o) { | 3963 call$1: function(o) { |
3912 return this.getTag_0(o); | 3964 return this._captured_getTag_0(o); |
3913 } | 3965 } |
3914 }, | 3966 }, |
3915 initHooks_closure0: { | 3967 initHooks_closure0: { |
3916 "^": "Closure:3;getUnknownTag_1", | 3968 "^": "Closure:3;_captured_getUnknownTag_1", |
3917 call$2: function(o, tag) { | 3969 call$2: function(o, tag) { |
3918 return this.getUnknownTag_1(o, tag); | 3970 return this._captured_getUnknownTag_1(o, tag); |
3919 } | 3971 } |
3920 }, | 3972 }, |
3921 initHooks_closure1: { | 3973 initHooks_closure1: { |
3922 "^": "Closure:4;prototypeForTag_2", | 3974 "^": "Closure:4;_captured_prototypeForTag_2", |
3923 call$1: function(tag) { | 3975 call$1: function(tag) { |
3924 return this.prototypeForTag_2(tag); | 3976 return this._captured_prototypeForTag_2(tag); |
3925 } | 3977 } |
3926 }, | 3978 }, |
3927 JSSyntaxRegExp: { | 3979 JSSyntaxRegExp: { |
3928 "^": "Object;pattern,_nativeRegExp,_nativeGlobalRegExp,_nativeAnchoredRegExp
", | 3980 "^": "Object;pattern,_nativeRegExp,_nativeGlobalRegExp,_nativeAnchoredRegExp
", |
3929 toString$0: function(_) { | 3981 toString$0: function(_) { |
3930 return "RegExp/" + this.pattern + "/"; | 3982 return "RegExp/" + this.pattern + "/"; |
3931 }, | 3983 }, |
3932 get$_nativeGlobalVersion: function() { | 3984 get$_nativeGlobalVersion: function() { |
3933 var t1 = this._nativeGlobalRegExp; | 3985 var t1 = this._nativeGlobalRegExp; |
3934 if (t1 != null) | 3986 if (t1 != null) |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3982 t1 = match.length; | 4034 t1 = match.length; |
3983 t2 = t1 - 1; | 4035 t2 = t1 - 1; |
3984 if (t2 < 0) | 4036 if (t2 < 0) |
3985 return H.ioore(match, t2); | 4037 return H.ioore(match, t2); |
3986 if (match[t2] != null) | 4038 if (match[t2] != null) |
3987 return; | 4039 return; |
3988 C.JSArray_methods.set$length(match, t2); | 4040 C.JSArray_methods.set$length(match, t2); |
3989 return H._MatchImplementation$(this, match); | 4041 return H._MatchImplementation$(this, match); |
3990 }, | 4042 }, |
3991 matchAsPrefix$2: function(_, string, start) { | 4043 matchAsPrefix$2: function(_, string, start) { |
3992 if (start > string.length) | 4044 if (start < 0 || start > string.length) |
3993 throw H.wrapException(P.RangeError$range(start, 0, string.length, null,
null)); | 4045 throw H.wrapException(P.RangeError$range(start, 0, string.length, null,
null)); |
3994 return this._execAnchored$2(string, start); | 4046 return this._execAnchored$2(string, start); |
3995 }, | 4047 }, |
3996 $isRegExp: 1, | 4048 $isRegExp: 1, |
3997 static: {JSSyntaxRegExp_makeNative: function(source, multiLine, caseSensitiv
e, global) { | 4049 static: {JSSyntaxRegExp_makeNative: function(source, multiLine, caseSensitiv
e, global) { |
3998 var m, i, g, regexp, errorMessage; | 4050 var m, i, g, regexp, errorMessage; |
3999 H.checkString(source); | 4051 H.checkString(source); |
4000 m = multiLine ? "m" : ""; | 4052 m = multiLine ? "m" : ""; |
4001 i = caseSensitive ? "" : "i"; | 4053 i = caseSensitive ? "" : "i"; |
4002 g = global ? "g" : ""; | 4054 g = global ? "g" : ""; |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4197 var $length, value, i; | 4249 var $length, value, i; |
4198 $length = this.get$length(this); | 4250 $length = this.get$length(this); |
4199 for (value = initialValue, i = 0; i < $length; ++i) { | 4251 for (value = initialValue, i = 0; i < $length; ++i) { |
4200 value = combine.call$2(value, this.elementAt$1(0, i)); | 4252 value = combine.call$2(value, this.elementAt$1(0, i)); |
4201 if ($length !== this.get$length(this)) | 4253 if ($length !== this.get$length(this)) |
4202 throw H.wrapException(P.ConcurrentModificationError$(this)); | 4254 throw H.wrapException(P.ConcurrentModificationError$(this)); |
4203 } | 4255 } |
4204 return value; | 4256 return value; |
4205 }, | 4257 }, |
4206 toList$1$growable: function(_, growable) { | 4258 toList$1$growable: function(_, growable) { |
4207 var result, i, t1; | 4259 var result, t1, i; |
4208 if (growable) { | 4260 if (growable) { |
4209 result = H.setRuntimeTypeInfo([], [H.getRuntimeTypeArgument(this, "ListI
terable", 0)]); | 4261 result = H.setRuntimeTypeInfo([], [H.getRuntimeTypeArgument(this, "ListI
terable", 0)]); |
4210 C.JSArray_methods.set$length(result, this.get$length(this)); | 4262 C.JSArray_methods.set$length(result, this.get$length(this)); |
4211 } else | 4263 } else { |
4212 result = H.setRuntimeTypeInfo(Array(this.get$length(this)), [H.getRuntim
eTypeArgument(this, "ListIterable", 0)]); | 4264 t1 = Array(this.get$length(this)); |
| 4265 t1.fixed$length = Array; |
| 4266 result = H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "ListI
terable", 0)]); |
| 4267 } |
4213 for (i = 0; i < this.get$length(this); ++i) { | 4268 for (i = 0; i < this.get$length(this); ++i) { |
4214 t1 = this.elementAt$1(0, i); | 4269 t1 = this.elementAt$1(0, i); |
4215 if (i >= result.length) | 4270 if (i >= result.length) |
4216 return H.ioore(result, i); | 4271 return H.ioore(result, i); |
4217 result[i] = t1; | 4272 result[i] = t1; |
4218 } | 4273 } |
4219 return result; | 4274 return result; |
4220 }, | 4275 }, |
4221 toList$0: function($receiver) { | 4276 toList$0: function($receiver) { |
4222 return this.toList$1$growable($receiver, true); | 4277 return this.toList$1$growable($receiver, true); |
4223 }, | 4278 }, |
4224 $isEfficientLength: 1 | 4279 $isEfficientLength: 1 |
4225 }, | 4280 }, |
4226 SubListIterable: { | 4281 SubListIterable: { |
4227 "^": "ListIterable;_iterable,__internal$_start,_endOrLength", | 4282 "^": "ListIterable;__internal$_iterable,__internal$_start,_endOrLength", |
4228 get$_endIndex: function() { | 4283 get$_endIndex: function() { |
4229 var $length, t1, t2; | 4284 var $length, t1, t2; |
4230 $length = J.get$length$asx(this._iterable); | 4285 $length = J.get$length$asx(this.__internal$_iterable); |
4231 t1 = this._endOrLength; | 4286 t1 = this._endOrLength; |
4232 if (t1 != null) { | 4287 if (t1 != null) { |
4233 if (typeof t1 !== "number") | 4288 if (typeof t1 !== "number") |
4234 return t1.$gt(); | 4289 return t1.$gt(); |
4235 t2 = t1 > $length; | 4290 t2 = t1 > $length; |
4236 } else | 4291 } else |
4237 t2 = true; | 4292 t2 = true; |
4238 if (t2) | 4293 if (t2) |
4239 return $length; | 4294 return $length; |
4240 return t1; | 4295 return t1; |
4241 }, | 4296 }, |
4242 get$_startIndex: function() { | 4297 get$_startIndex: function() { |
4243 var $length, t1; | 4298 var $length, t1; |
4244 $length = J.get$length$asx(this._iterable); | 4299 $length = J.get$length$asx(this.__internal$_iterable); |
4245 t1 = this.__internal$_start; | 4300 t1 = this.__internal$_start; |
4246 if (t1 > $length) | 4301 if (t1 > $length) |
4247 return $length; | 4302 return $length; |
4248 return t1; | 4303 return t1; |
4249 }, | 4304 }, |
4250 get$length: function(_) { | 4305 get$length: function(_) { |
4251 var $length, t1, t2, t3; | 4306 var $length, t1, t2, t3; |
4252 $length = J.get$length$asx(this._iterable); | 4307 $length = J.get$length$asx(this.__internal$_iterable); |
4253 t1 = this.__internal$_start; | 4308 t1 = this.__internal$_start; |
4254 if (t1 >= $length) | 4309 if (t1 >= $length) |
4255 return 0; | 4310 return 0; |
4256 t2 = this._endOrLength; | 4311 t2 = this._endOrLength; |
4257 if (t2 != null) { | 4312 if (t2 != null) { |
4258 if (typeof t2 !== "number") | 4313 if (typeof t2 !== "number") |
4259 return t2.$ge(); | 4314 return t2.$ge(); |
4260 t3 = t2 >= $length; | 4315 t3 = t2 >= $length; |
4261 } else | 4316 } else |
4262 t3 = true; | 4317 t3 = true; |
4263 if (t3) | 4318 if (t3) |
4264 return $length - t1; | 4319 return $length - t1; |
4265 if (typeof t2 !== "number") | 4320 if (typeof t2 !== "number") |
4266 return t2.$sub(); | 4321 return t2.$sub(); |
4267 return t2 - t1; | 4322 return t2 - t1; |
4268 }, | 4323 }, |
4269 elementAt$1: function(_, index) { | 4324 elementAt$1: function(_, index) { |
4270 var realIndex, t1; | 4325 var realIndex, t1; |
4271 realIndex = this.get$_startIndex() + index; | 4326 realIndex = this.get$_startIndex() + index; |
4272 if (index >= 0) { | 4327 if (index >= 0) { |
4273 t1 = this.get$_endIndex(); | 4328 t1 = this.get$_endIndex(); |
4274 if (typeof t1 !== "number") | 4329 if (typeof t1 !== "number") |
4275 return H.iae(t1); | 4330 return H.iae(t1); |
4276 t1 = realIndex >= t1; | 4331 t1 = realIndex >= t1; |
4277 } else | 4332 } else |
4278 t1 = true; | 4333 t1 = true; |
4279 if (t1) | 4334 if (t1) |
4280 throw H.wrapException(P.IndexError$(index, this, "index", null, null)); | 4335 throw H.wrapException(P.IndexError$(index, this, "index", null, null)); |
4281 return J.elementAt$1$ax(this._iterable, realIndex); | 4336 return J.elementAt$1$ax(this.__internal$_iterable, realIndex); |
4282 }, | 4337 }, |
4283 SubListIterable$3: function(_iterable, _start, _endOrLength, $E) { | 4338 SubListIterable$3: function(_iterable, _start, _endOrLength, $E) { |
4284 var t1, t2; | 4339 var t1, t2; |
4285 t1 = this.__internal$_start; | 4340 t1 = this.__internal$_start; |
4286 if (t1 < 0) | 4341 if (t1 < 0) |
4287 H.throwExpression(P.RangeError$range(t1, 0, null, "start", null)); | 4342 H.throwExpression(P.RangeError$range(t1, 0, null, "start", null)); |
4288 t2 = this._endOrLength; | 4343 t2 = this._endOrLength; |
4289 if (t2 != null) { | 4344 if (t2 != null) { |
4290 if (typeof t2 !== "number") | 4345 if (typeof t2 !== "number") |
4291 return t2.$lt(); | 4346 return t2.$lt(); |
4292 if (t2 < 0) | 4347 if (t2 < 0) |
4293 H.throwExpression(P.RangeError$range(t2, 0, null, "end", null)); | 4348 H.throwExpression(P.RangeError$range(t2, 0, null, "end", null)); |
4294 if (t1 > t2) | 4349 if (t1 > t2) |
4295 throw H.wrapException(P.RangeError$range(t1, 0, t2, "start", null)); | 4350 throw H.wrapException(P.RangeError$range(t1, 0, t2, "start", null)); |
4296 } | 4351 } |
4297 }, | 4352 }, |
4298 static: {SubListIterable$: function(_iterable, _start, _endOrLength, $E) { | 4353 static: {SubListIterable$: function(_iterable, _start, _endOrLength, $E) { |
4299 var t1 = H.setRuntimeTypeInfo(new H.SubListIterable(_iterable, _start, _
endOrLength), [$E]); | 4354 var t1 = H.setRuntimeTypeInfo(new H.SubListIterable(_iterable, _start, _
endOrLength), [$E]); |
4300 t1.SubListIterable$3(_iterable, _start, _endOrLength, $E); | 4355 t1.SubListIterable$3(_iterable, _start, _endOrLength, $E); |
4301 return t1; | 4356 return t1; |
4302 }} | 4357 }} |
4303 }, | 4358 }, |
4304 ListIterator: { | 4359 ListIterator: { |
4305 "^": "Object;_iterable,__internal$_length,_index,_current", | 4360 "^": "Object;__internal$_iterable,__internal$_length,__internal$_index,_curr
ent", |
4306 get$current: function() { | 4361 get$current: function() { |
4307 return this._current; | 4362 return this._current; |
4308 }, | 4363 }, |
4309 moveNext$0: function() { | 4364 moveNext$0: function() { |
4310 var t1, t2, $length, t3; | 4365 var t1, t2, $length, t3; |
4311 t1 = this._iterable; | 4366 t1 = this.__internal$_iterable; |
4312 t2 = J.getInterceptor$asx(t1); | 4367 t2 = J.getInterceptor$asx(t1); |
4313 $length = t2.get$length(t1); | 4368 $length = t2.get$length(t1); |
4314 if (this.__internal$_length !== $length) | 4369 if (this.__internal$_length !== $length) |
4315 throw H.wrapException(P.ConcurrentModificationError$(t1)); | 4370 throw H.wrapException(P.ConcurrentModificationError$(t1)); |
4316 t3 = this._index; | 4371 t3 = this.__internal$_index; |
4317 if (t3 >= $length) { | 4372 if (t3 >= $length) { |
4318 this._current = null; | 4373 this._current = null; |
4319 return false; | 4374 return false; |
4320 } | 4375 } |
4321 this._current = t2.elementAt$1(t1, t3); | 4376 this._current = t2.elementAt$1(t1, t3); |
4322 ++this._index; | 4377 ++this.__internal$_index; |
4323 return true; | 4378 return true; |
4324 } | 4379 } |
4325 }, | 4380 }, |
4326 MappedIterable: { | 4381 MappedIterable: { |
4327 "^": "IterableBase;_iterable,_f", | 4382 "^": "IterableBase;__internal$_iterable,_f", |
4328 get$iterator: function(_) { | 4383 get$iterator: function(_) { |
4329 var t1 = new H.MappedIterator(null, J.get$iterator$ax(this._iterable), thi
s._f); | 4384 var t1 = new H.MappedIterator(null, J.get$iterator$ax(this.__internal$_ite
rable), this._f); |
4330 t1.$builtinTypeInfo = this.$builtinTypeInfo; | 4385 t1.$builtinTypeInfo = this.$builtinTypeInfo; |
4331 return t1; | 4386 return t1; |
4332 }, | 4387 }, |
4333 get$length: function(_) { | 4388 get$length: function(_) { |
4334 return J.get$length$asx(this._iterable); | 4389 return J.get$length$asx(this.__internal$_iterable); |
4335 }, | 4390 }, |
4336 get$isEmpty: function(_) { | 4391 get$isEmpty: function(_) { |
4337 return J.get$isEmpty$asx(this._iterable); | 4392 return J.get$isEmpty$asx(this.__internal$_iterable); |
4338 }, | 4393 }, |
4339 get$last: function(_) { | 4394 get$last: function(_) { |
4340 return this._f$1(J.get$last$ax(this._iterable)); | 4395 return this._f$1(J.get$last$ax(this.__internal$_iterable)); |
4341 }, | 4396 }, |
4342 _f$1: function(arg0) { | 4397 _f$1: function(arg0) { |
4343 return this._f.call$1(arg0); | 4398 return this._f.call$1(arg0); |
4344 }, | 4399 }, |
4345 $asIterableBase: function($S, $T) { | 4400 $asIterableBase: function($S, $T) { |
4346 return [$T]; | 4401 return [$T]; |
4347 }, | 4402 }, |
4348 static: {MappedIterable_MappedIterable: function(iterable, $function, $S, $T
) { | 4403 static: {MappedIterable_MappedIterable: function(iterable, $function, $S, $T
) { |
4349 if (!!J.getInterceptor(iterable).$isEfficientLength) | 4404 if (!!J.getInterceptor(iterable).$isEfficientLength) |
4350 return H.setRuntimeTypeInfo(new H.EfficientLengthMappedIterable(iterab
le, $function), [$S, $T]); | 4405 return H.setRuntimeTypeInfo(new H.EfficientLengthMappedIterable(iterab
le, $function), [$S, $T]); |
4351 return H.setRuntimeTypeInfo(new H.MappedIterable(iterable, $function), [
$S, $T]); | 4406 return H.setRuntimeTypeInfo(new H.MappedIterable(iterable, $function), [
$S, $T]); |
4352 }} | 4407 }} |
4353 }, | 4408 }, |
4354 EfficientLengthMappedIterable: { | 4409 EfficientLengthMappedIterable: { |
4355 "^": "MappedIterable;_iterable,_f", | 4410 "^": "MappedIterable;__internal$_iterable,_f", |
4356 $isEfficientLength: 1 | 4411 $isEfficientLength: 1 |
4357 }, | 4412 }, |
4358 MappedIterator: { | 4413 MappedIterator: { |
4359 "^": "Iterator;_current,_iterator,_f", | 4414 "^": "Iterator;_current,_iterator,_f", |
4360 moveNext$0: function() { | 4415 moveNext$0: function() { |
4361 var t1 = this._iterator; | 4416 var t1 = this._iterator; |
4362 if (t1.moveNext$0()) { | 4417 if (t1.moveNext$0()) { |
4363 this._current = this._f$1(t1.get$current()); | 4418 this._current = this._f$1(t1.get$current()); |
4364 return true; | 4419 return true; |
4365 } | 4420 } |
(...skipping 20 matching lines...) Expand all Loading... |
4386 }, | 4441 }, |
4387 $asListIterable: function($S, $T) { | 4442 $asListIterable: function($S, $T) { |
4388 return [$T]; | 4443 return [$T]; |
4389 }, | 4444 }, |
4390 $asIterableBase: function($S, $T) { | 4445 $asIterableBase: function($S, $T) { |
4391 return [$T]; | 4446 return [$T]; |
4392 }, | 4447 }, |
4393 $isEfficientLength: 1 | 4448 $isEfficientLength: 1 |
4394 }, | 4449 }, |
4395 WhereIterable: { | 4450 WhereIterable: { |
4396 "^": "IterableBase;_iterable,_f", | 4451 "^": "IterableBase;__internal$_iterable,_f", |
4397 get$iterator: function(_) { | 4452 get$iterator: function(_) { |
4398 var t1 = new H.WhereIterator(J.get$iterator$ax(this._iterable), this._f); | 4453 var t1 = new H.WhereIterator(J.get$iterator$ax(this.__internal$_iterable),
this._f); |
4399 t1.$builtinTypeInfo = this.$builtinTypeInfo; | 4454 t1.$builtinTypeInfo = this.$builtinTypeInfo; |
4400 return t1; | 4455 return t1; |
4401 } | 4456 } |
4402 }, | 4457 }, |
4403 WhereIterator: { | 4458 WhereIterator: { |
4404 "^": "Iterator;_iterator,_f", | 4459 "^": "Iterator;_iterator,_f", |
4405 moveNext$0: function() { | 4460 moveNext$0: function() { |
4406 for (var t1 = this._iterator; t1.moveNext$0();) | 4461 for (var t1 = this._iterator; t1.moveNext$0();) |
4407 if (this._f$1(t1.get$current()) === true) | 4462 if (this._f$1(t1.get$current()) === true) |
4408 return true; | 4463 return true; |
4409 return false; | 4464 return false; |
4410 }, | 4465 }, |
4411 get$current: function() { | 4466 get$current: function() { |
4412 return this._iterator.get$current(); | 4467 return this._iterator.get$current(); |
4413 }, | 4468 }, |
4414 _f$1: function(arg0) { | 4469 _f$1: function(arg0) { |
4415 return this._f.call$1(arg0); | 4470 return this._f.call$1(arg0); |
4416 } | 4471 } |
4417 }, | 4472 }, |
4418 SkipWhileIterable: { | 4473 SkipWhileIterable: { |
4419 "^": "IterableBase;_iterable,_f", | 4474 "^": "IterableBase;__internal$_iterable,_f", |
4420 get$iterator: function(_) { | 4475 get$iterator: function(_) { |
4421 var t1 = new H.SkipWhileIterator(J.get$iterator$ax(this._iterable), this._
f, false); | 4476 var t1 = new H.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterab
le), this._f, false); |
4422 t1.$builtinTypeInfo = this.$builtinTypeInfo; | 4477 t1.$builtinTypeInfo = this.$builtinTypeInfo; |
4423 return t1; | 4478 return t1; |
4424 } | 4479 } |
4425 }, | 4480 }, |
4426 SkipWhileIterator: { | 4481 SkipWhileIterator: { |
4427 "^": "Iterator;_iterator,_f,_hasSkipped", | 4482 "^": "Iterator;_iterator,_f,_hasSkipped", |
4428 moveNext$0: function() { | 4483 moveNext$0: function() { |
4429 if (!this._hasSkipped) { | 4484 if (!this._hasSkipped) { |
4430 this._hasSkipped = true; | 4485 this._hasSkipped = true; |
4431 for (var t1 = this._iterator; t1.moveNext$0();) | 4486 for (var t1 = this._iterator; t1.moveNext$0();) |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4495 ["dart.async", "dart:async", , P, { | 4550 ["dart.async", "dart:async", , P, { |
4496 "^": "", | 4551 "^": "", |
4497 _AsyncRun__initializeScheduleImmediate: function() { | 4552 _AsyncRun__initializeScheduleImmediate: function() { |
4498 var t1, div, span; | 4553 var t1, div, span; |
4499 t1 = {}; | 4554 t1 = {}; |
4500 if (self.scheduleImmediate != null) | 4555 if (self.scheduleImmediate != null) |
4501 return P._AsyncRun__scheduleImmediateJsOverride$closure(); | 4556 return P._AsyncRun__scheduleImmediateJsOverride$closure(); |
4502 if (self.MutationObserver != null && self.document != null) { | 4557 if (self.MutationObserver != null && self.document != null) { |
4503 div = self.document.createElement("div"); | 4558 div = self.document.createElement("div"); |
4504 span = self.document.createElement("span"); | 4559 span = self.document.createElement("span"); |
4505 t1.storedCallback_0 = null; | 4560 t1._captured_storedCallback_0 = null; |
4506 new self.MutationObserver(H.convertDartClosureToJS(new P._AsyncRun__initia
lizeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true}); | 4561 new self.MutationObserver(H.convertDartClosureToJS(new P._AsyncRun__initia
lizeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true}); |
4507 return new P._AsyncRun__initializeScheduleImmediate_closure(t1, div, span)
; | 4562 return new P._AsyncRun__initializeScheduleImmediate_closure(t1, div, span)
; |
4508 } else if (self.setImmediate != null) | 4563 } else if (self.setImmediate != null) |
4509 return P._AsyncRun__scheduleImmediateWithSetImmediate$closure(); | 4564 return P._AsyncRun__scheduleImmediateWithSetImmediate$closure(); |
4510 return P._AsyncRun__scheduleImmediateWithTimer$closure(); | 4565 return P._AsyncRun__scheduleImmediateWithTimer$closure(); |
4511 }, | 4566 }, |
4512 _AsyncRun__scheduleImmediateJsOverride: [function(callback) { | 4567 _AsyncRun__scheduleImmediateJsOverride: [function(callback) { |
4513 ++init.globalState.topEventLoop._activeJsAsyncCount; | 4568 ++init.globalState.topEventLoop._activeJsAsyncCount; |
4514 self.scheduleImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImm
ediateJsOverride_internalCallback(callback), 0)); | 4569 self.scheduleImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImm
ediateJsOverride_internalCallback(callback), 0)); |
4515 }, "call$1", "_AsyncRun__scheduleImmediateJsOverride$closure", 2, 0, 29], | 4570 }, "call$1", "_AsyncRun__scheduleImmediateJsOverride$closure", 2, 0, 35], |
4516 _AsyncRun__scheduleImmediateWithSetImmediate: [function(callback) { | 4571 _AsyncRun__scheduleImmediateWithSetImmediate: [function(callback) { |
4517 ++init.globalState.topEventLoop._activeJsAsyncCount; | 4572 ++init.globalState.topEventLoop._activeJsAsyncCount; |
4518 self.setImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImmediat
eWithSetImmediate_internalCallback(callback), 0)); | 4573 self.setImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImmediat
eWithSetImmediate_internalCallback(callback), 0)); |
4519 }, "call$1", "_AsyncRun__scheduleImmediateWithSetImmediate$closure", 2, 0, 29]
, | 4574 }, "call$1", "_AsyncRun__scheduleImmediateWithSetImmediate$closure", 2, 0, 35]
, |
4520 _AsyncRun__scheduleImmediateWithTimer: [function(callback) { | 4575 _AsyncRun__scheduleImmediateWithTimer: [function(callback) { |
4521 P.Timer__createTimer(C.Duration_0, callback); | 4576 P.Timer__createTimer(C.Duration_0, callback); |
4522 }, "call$1", "_AsyncRun__scheduleImmediateWithTimer$closure", 2, 0, 29], | 4577 }, "call$1", "_AsyncRun__scheduleImmediateWithTimer$closure", 2, 0, 35], |
4523 _registerErrorHandler: function(errorHandler, zone) { | 4578 _registerErrorHandler: function(errorHandler, zone) { |
4524 var t1 = H.getDynamicRuntimeType(); | 4579 var t1 = H.getDynamicRuntimeType(); |
4525 t1 = H.buildFunctionType(t1, [t1, t1])._isTest$1(errorHandler); | 4580 t1 = H.buildFunctionType(t1, [t1, t1])._isTest$1(errorHandler); |
4526 if (t1) | 4581 if (t1) |
4527 return zone.registerBinaryCallback$1(errorHandler); | 4582 return zone.registerBinaryCallback$1(errorHandler); |
4528 else | 4583 else |
4529 return zone.registerUnaryCallback$1(errorHandler); | 4584 return zone.registerUnaryCallback$1(errorHandler); |
4530 }, | 4585 }, |
4531 _completeWithErrorCallback: function(result, error, stackTrace) { | 4586 _completeWithErrorCallback: function(result, error, stackTrace) { |
4532 var replacement = $.Zone__current.errorCallback$2(error, stackTrace); | 4587 var replacement = $.Zone__current.errorCallback$2(error, stackTrace); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4599 t1 = H.unwrapException(exception); | 4654 t1 = H.unwrapException(exception); |
4600 e = t1; | 4655 e = t1; |
4601 s = H.getTraceFromException(exception); | 4656 s = H.getTraceFromException(exception); |
4602 $.Zone__current.handleUncaughtError$2(e, s); | 4657 $.Zone__current.handleUncaughtError$2(e, s); |
4603 } | 4658 } |
4604 }, | 4659 }, |
4605 _AddStreamState_makeErrorHandler: function(controller) { | 4660 _AddStreamState_makeErrorHandler: function(controller) { |
4606 return new P._AddStreamState_makeErrorHandler_closure(controller); | 4661 return new P._AddStreamState_makeErrorHandler_closure(controller); |
4607 }, | 4662 }, |
4608 _nullDataHandler: [function(value) { | 4663 _nullDataHandler: [function(value) { |
4609 }, "call$1", "_nullDataHandler$closure", 2, 0, 30], | 4664 }, "call$1", "_nullDataHandler$closure", 2, 0, 53], |
4610 _nullErrorHandler: [function(error, stackTrace) { | 4665 _nullErrorHandler: [function(error, stackTrace) { |
4611 $.Zone__current.handleUncaughtError$2(error, stackTrace); | 4666 $.Zone__current.handleUncaughtError$2(error, stackTrace); |
4612 }, function(error) { | 4667 }, function(error) { |
4613 return P._nullErrorHandler(error, null); | 4668 return P._nullErrorHandler(error, null); |
4614 }, null, "call$2", "call$1", "_nullErrorHandler$closure", 2, 2, 6, 50], | 4669 }, null, "call$2", "call$1", "_nullErrorHandler$closure", 2, 2, 6, 0], |
4615 _nullDoneHandler: [function() { | 4670 _nullDoneHandler: [function() { |
4616 }, "call$0", "_nullDoneHandler$closure", 0, 0, 1], | 4671 }, "call$0", "_nullDoneHandler$closure", 0, 0, 1], |
4617 _runUserCode: function(userCode, onSuccess, onError) { | 4672 _runUserCode: function(userCode, onSuccess, onError) { |
4618 var e, s, replacement, error, stackTrace, exception, t1, error0; | 4673 var e, s, replacement, error, stackTrace, exception, t1, error0; |
4619 try { | 4674 try { |
4620 onSuccess.call$1(userCode.call$0()); | 4675 onSuccess.call$1(userCode.call$0()); |
4621 } catch (exception) { | 4676 } catch (exception) { |
4622 t1 = H.unwrapException(exception); | 4677 t1 = H.unwrapException(exception); |
4623 e = t1; | 4678 e = t1; |
4624 s = H.getTraceFromException(exception); | 4679 s = H.getTraceFromException(exception); |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4699 $._lastPriorityCallback = entry; | 4754 $._lastPriorityCallback = entry; |
4700 $._nextCallback = entry; | 4755 $._nextCallback = entry; |
4701 } else { | 4756 } else { |
4702 entry.next = t1.next; | 4757 entry.next = t1.next; |
4703 t1.next = entry; | 4758 t1.next = entry; |
4704 $._lastPriorityCallback = entry; | 4759 $._lastPriorityCallback = entry; |
4705 if (entry.next == null) | 4760 if (entry.next == null) |
4706 $._lastCallback = entry; | 4761 $._lastCallback = entry; |
4707 } | 4762 } |
4708 } | 4763 } |
4709 }, "call$5", "_rootHandleUncaughtError$closure", 10, 0, 31], | 4764 }, "call$5", "_rootHandleUncaughtError$closure", 10, 0, 54], |
4710 _rootRun: [function($self, $parent, zone, f) { | 4765 _rootRun: [function($self, $parent, zone, f) { |
4711 var old, t1; | 4766 var old, t1; |
4712 if (J.$eq($.Zone__current, zone)) | 4767 if (J.$eq($.Zone__current, zone)) |
4713 return f.call$0(); | 4768 return f.call$0(); |
4714 old = P.Zone__enter(zone); | 4769 old = P.Zone__enter(zone); |
4715 try { | 4770 try { |
4716 t1 = f.call$0(); | 4771 t1 = f.call$0(); |
4717 return t1; | 4772 return t1; |
4718 } finally { | 4773 } finally { |
4719 $.Zone__current = old; | 4774 $.Zone__current = old; |
4720 } | 4775 } |
4721 }, "call$4", "_rootRun$closure", 8, 0, 32], | 4776 }, "call$4", "_rootRun$closure", 8, 0, 55], |
4722 _rootRunUnary: [function($self, $parent, zone, f, arg) { | 4777 _rootRunUnary: [function($self, $parent, zone, f, arg) { |
4723 var old, t1; | 4778 var old, t1; |
4724 if (J.$eq($.Zone__current, zone)) | 4779 if (J.$eq($.Zone__current, zone)) |
4725 return f.call$1(arg); | 4780 return f.call$1(arg); |
4726 old = P.Zone__enter(zone); | 4781 old = P.Zone__enter(zone); |
4727 try { | 4782 try { |
4728 t1 = f.call$1(arg); | 4783 t1 = f.call$1(arg); |
4729 return t1; | 4784 return t1; |
4730 } finally { | 4785 } finally { |
4731 $.Zone__current = old; | 4786 $.Zone__current = old; |
4732 } | 4787 } |
4733 }, "call$5", "_rootRunUnary$closure", 10, 0, 33], | 4788 }, "call$5", "_rootRunUnary$closure", 10, 0, 56], |
4734 _rootRunBinary: [function($self, $parent, zone, f, arg1, arg2) { | 4789 _rootRunBinary: [function($self, $parent, zone, f, arg1, arg2) { |
4735 var old, t1; | 4790 var old, t1; |
4736 if (J.$eq($.Zone__current, zone)) | 4791 if (J.$eq($.Zone__current, zone)) |
4737 return f.call$2(arg1, arg2); | 4792 return f.call$2(arg1, arg2); |
4738 old = P.Zone__enter(zone); | 4793 old = P.Zone__enter(zone); |
4739 try { | 4794 try { |
4740 t1 = f.call$2(arg1, arg2); | 4795 t1 = f.call$2(arg1, arg2); |
4741 return t1; | 4796 return t1; |
4742 } finally { | 4797 } finally { |
4743 $.Zone__current = old; | 4798 $.Zone__current = old; |
4744 } | 4799 } |
4745 }, "call$6", "_rootRunBinary$closure", 12, 0, 34], | 4800 }, "call$6", "_rootRunBinary$closure", 12, 0, 57], |
4746 _rootRegisterCallback: [function($self, $parent, zone, f) { | 4801 _rootRegisterCallback: [function($self, $parent, zone, f) { |
4747 return f; | 4802 return f; |
4748 }, "call$4", "_rootRegisterCallback$closure", 8, 0, 35], | 4803 }, "call$4", "_rootRegisterCallback$closure", 8, 0, 58], |
4749 _rootRegisterUnaryCallback: [function($self, $parent, zone, f) { | 4804 _rootRegisterUnaryCallback: [function($self, $parent, zone, f) { |
4750 return f; | 4805 return f; |
4751 }, "call$4", "_rootRegisterUnaryCallback$closure", 8, 0, 36], | 4806 }, "call$4", "_rootRegisterUnaryCallback$closure", 8, 0, 59], |
4752 _rootRegisterBinaryCallback: [function($self, $parent, zone, f) { | 4807 _rootRegisterBinaryCallback: [function($self, $parent, zone, f) { |
4753 return f; | 4808 return f; |
4754 }, "call$4", "_rootRegisterBinaryCallback$closure", 8, 0, 37], | 4809 }, "call$4", "_rootRegisterBinaryCallback$closure", 8, 0, 60], |
4755 _rootErrorCallback: [function($self, $parent, zone, error, stackTrace) { | 4810 _rootErrorCallback: [function($self, $parent, zone, error, stackTrace) { |
4756 return; | 4811 return; |
4757 }, "call$5", "_rootErrorCallback$closure", 10, 0, 38], | 4812 }, "call$5", "_rootErrorCallback$closure", 10, 0, 61], |
4758 _rootScheduleMicrotask: [function($self, $parent, zone, f) { | 4813 _rootScheduleMicrotask: [function($self, $parent, zone, f) { |
4759 var t1 = C.C__RootZone !== zone; | 4814 var t1 = C.C__RootZone !== zone; |
4760 if (t1) | 4815 if (t1) |
4761 f = zone.bindCallback$2$runGuarded(f, !(!t1 || C.C__RootZone.get$errorZone
() === zone.get$errorZone())); | 4816 f = zone.bindCallback$2$runGuarded(f, !(!t1 || C.C__RootZone.get$errorZone
() === zone.get$errorZone())); |
4762 P._scheduleAsyncCallback(f); | 4817 P._scheduleAsyncCallback(f); |
4763 }, "call$4", "_rootScheduleMicrotask$closure", 8, 0, 39], | 4818 }, "call$4", "_rootScheduleMicrotask$closure", 8, 0, 62], |
4764 _rootCreateTimer: [function($self, $parent, zone, duration, callback) { | 4819 _rootCreateTimer: [function($self, $parent, zone, duration, callback) { |
4765 return P.Timer__createTimer(duration, C.C__RootZone !== zone ? zone.bindCall
back$1(callback) : callback); | 4820 return P.Timer__createTimer(duration, C.C__RootZone !== zone ? zone.bindCall
back$1(callback) : callback); |
4766 }, "call$5", "_rootCreateTimer$closure", 10, 0, 40], | 4821 }, "call$5", "_rootCreateTimer$closure", 10, 0, 63], |
4767 _rootCreatePeriodicTimer: [function($self, $parent, zone, duration, callback)
{ | 4822 _rootCreatePeriodicTimer: [function($self, $parent, zone, duration, callback)
{ |
4768 return P.Timer__createPeriodicTimer(duration, C.C__RootZone !== zone ? zone.
bindUnaryCallback$1(callback) : callback); | 4823 return P.Timer__createPeriodicTimer(duration, C.C__RootZone !== zone ? zone.
bindUnaryCallback$1(callback) : callback); |
4769 }, "call$5", "_rootCreatePeriodicTimer$closure", 10, 0, 41], | 4824 }, "call$5", "_rootCreatePeriodicTimer$closure", 10, 0, 64], |
4770 _rootPrint: [function($self, $parent, zone, line) { | 4825 _rootPrint: [function($self, $parent, zone, line) { |
4771 H.printString(H.S(line)); | 4826 H.printString(H.S(line)); |
4772 }, "call$4", "_rootPrint$closure", 8, 0, 42], | 4827 }, "call$4", "_rootPrint$closure", 8, 0, 65], |
4773 _printToZone: [function(line) { | 4828 _printToZone: [function(line) { |
4774 J.print$1$x($.Zone__current, line); | 4829 J.print$1$x($.Zone__current, line); |
4775 }, "call$1", "_printToZone$closure", 2, 0, 23], | 4830 }, "call$1", "_printToZone$closure", 2, 0, 38], |
4776 _rootFork: [function($self, $parent, zone, specification, zoneValues) { | 4831 _rootFork: [function($self, $parent, zone, specification, zoneValues) { |
4777 var valueMap, t1; | 4832 var valueMap, t1; |
4778 $.printToZone = P._printToZone$closure(); | 4833 $.printToZone = P._printToZone$closure(); |
4779 if (specification == null) | 4834 if (specification == null) |
4780 specification = C._ZoneSpecification_ALf; | 4835 specification = C._ZoneSpecification_ALf; |
4781 else if (!(specification instanceof P._ZoneSpecification)) | 4836 else if (!(specification instanceof P._ZoneSpecification)) |
4782 throw H.wrapException(P.ArgumentError$("ZoneSpecifications must be instant
iated with the provided constructor.")); | 4837 throw H.wrapException(P.ArgumentError$("ZoneSpecifications must be instant
iated with the provided constructor.")); |
4783 if (zoneValues == null) | 4838 if (zoneValues == null) |
4784 valueMap = zone instanceof P._Zone ? zone.get$_map() : P.HashMap_HashMap(n
ull, null, null, null, null); | 4839 valueMap = zone instanceof P._Zone ? zone.get$_map() : P.HashMap_HashMap(n
ull, null, null, null, null); |
4785 else | 4840 else |
4786 valueMap = P.HashMap_HashMap$from(zoneValues, null, null); | 4841 valueMap = P.HashMap_HashMap$from(zoneValues, null, null); |
4787 t1 = new P._CustomZone(null, null, null, null, null, null, null, null, null,
null, null, null, null, null, zone, valueMap); | 4842 t1 = new P._CustomZone(null, null, null, null, null, null, null, null, null,
null, null, null, null, null, zone, valueMap); |
4788 t1._CustomZone$3(zone, specification, valueMap); | 4843 specification.get$run(); |
| 4844 t1._run = zone.get$_run(); |
| 4845 specification.get$runUnary(); |
| 4846 t1._runUnary = zone.get$_runUnary(); |
| 4847 specification.get$runBinary(); |
| 4848 t1._runBinary = zone.get$_runBinary(); |
| 4849 specification.get$registerCallback(); |
| 4850 t1._registerCallback = zone.get$_registerCallback(); |
| 4851 specification.get$registerUnaryCallback(); |
| 4852 t1._registerUnaryCallback = zone.get$_registerUnaryCallback(); |
| 4853 specification.get$registerBinaryCallback(); |
| 4854 t1._registerBinaryCallback = zone.get$_registerBinaryCallback(); |
| 4855 specification.get$errorCallback(); |
| 4856 t1._errorCallback = zone.get$_errorCallback(); |
| 4857 specification.get$scheduleMicrotask(); |
| 4858 t1._scheduleMicrotask = zone.get$_scheduleMicrotask(); |
| 4859 specification.get$createTimer(); |
| 4860 t1._createTimer = zone.get$_createTimer(); |
| 4861 specification.get$createPeriodicTimer(); |
| 4862 t1._createPeriodicTimer = zone.get$_createPeriodicTimer(); |
| 4863 specification.get$print(specification); |
| 4864 t1._print = zone.get$_print(); |
| 4865 specification.get$fork(); |
| 4866 t1._fork = zone.get$_fork(); |
| 4867 t1._handleUncaughtError = specification.get$handleUncaughtError() != null ?
new P._ZoneFunction(t1, specification.get$handleUncaughtError()) : zone.get$_han
dleUncaughtError(); |
4789 return t1; | 4868 return t1; |
4790 }, "call$5", "_rootFork$closure", 10, 0, 43], | 4869 }, "call$5", "_rootFork$closure", 10, 0, 66], |
4791 runZoned: function(body, onError, zoneSpecification, zoneValues) { | 4870 runZoned: function(body, onError, zoneSpecification, zoneValues) { |
4792 var errorHandler, zone; | 4871 var errorHandler, zone; |
4793 errorHandler = new P.runZoned_closure(onError); | 4872 errorHandler = new P.runZoned_closure(onError); |
4794 zoneSpecification = new P._ZoneSpecification(errorHandler, null, null, null,
null, null, null, null, null, null, null, null, null); | 4873 zoneSpecification = new P._ZoneSpecification(errorHandler, null, null, null,
null, null, null, null, null, null, null, null, null); |
4795 zone = $.Zone__current.fork$2$specification$zoneValues(zoneSpecification, zo
neValues); | 4874 zone = $.Zone__current.fork$2$specification$zoneValues(zoneSpecification, zo
neValues); |
4796 return zone.runGuarded$1(body); | 4875 return zone.runGuarded$1(body); |
4797 }, | 4876 }, |
4798 _AsyncRun__initializeScheduleImmediate_internalCallback: { | 4877 _AsyncRun__initializeScheduleImmediate_internalCallback: { |
4799 "^": "Closure:2;box_0", | 4878 "^": "Closure:2;_async$_box_0", |
4800 call$1: function(_) { | 4879 call$1: function(_) { |
4801 var t1, f; | 4880 var t1, f; |
4802 H.leaveJsAsync(); | 4881 H.leaveJsAsync(); |
4803 t1 = this.box_0; | 4882 t1 = this._async$_box_0; |
4804 f = t1.storedCallback_0; | 4883 f = t1._captured_storedCallback_0; |
4805 t1.storedCallback_0 = null; | 4884 t1._captured_storedCallback_0 = null; |
4806 f.call$0(); | 4885 f.call$0(); |
4807 } | 4886 } |
4808 }, | 4887 }, |
4809 _AsyncRun__initializeScheduleImmediate_closure: { | 4888 _AsyncRun__initializeScheduleImmediate_closure: { |
4810 "^": "Closure:5;box_0,div_1,span_2", | 4889 "^": "Closure:5;_async$_box_0,_captured_div_1,_captured_span_2", |
4811 call$1: function(callback) { | 4890 call$1: function(callback) { |
4812 var t1, t2; | 4891 var t1, t2; |
4813 ++init.globalState.topEventLoop._activeJsAsyncCount; | 4892 ++init.globalState.topEventLoop._activeJsAsyncCount; |
4814 this.box_0.storedCallback_0 = callback; | 4893 this._async$_box_0._captured_storedCallback_0 = callback; |
4815 t1 = this.div_1; | 4894 t1 = this._captured_div_1; |
4816 t2 = this.span_2; | 4895 t2 = this._captured_span_2; |
4817 t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2); | 4896 t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2); |
4818 } | 4897 } |
4819 }, | 4898 }, |
4820 _AsyncRun__scheduleImmediateJsOverride_internalCallback: { | 4899 _AsyncRun__scheduleImmediateJsOverride_internalCallback: { |
4821 "^": "Closure:0;callback_0", | 4900 "^": "Closure:0;_captured_callback_0", |
4822 call$0: function() { | 4901 call$0: function() { |
4823 H.leaveJsAsync(); | 4902 H.leaveJsAsync(); |
4824 this.callback_0.call$0(); | 4903 this._captured_callback_0.call$0(); |
4825 } | 4904 } |
4826 }, | 4905 }, |
4827 _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: { | 4906 _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: { |
4828 "^": "Closure:0;callback_0", | 4907 "^": "Closure:0;_captured_callback_0", |
4829 call$0: function() { | 4908 call$0: function() { |
4830 H.leaveJsAsync(); | 4909 H.leaveJsAsync(); |
4831 this.callback_0.call$0(); | 4910 this._captured_callback_0.call$0(); |
4832 } | 4911 } |
4833 }, | 4912 }, |
4834 _UncaughtAsyncError: { | 4913 _UncaughtAsyncError: { |
4835 "^": "AsyncError;error,stackTrace", | 4914 "^": "AsyncError;error,stackTrace", |
4836 toString$0: function(_) { | 4915 toString$0: function(_) { |
4837 var result, t1; | 4916 var result, t1; |
4838 result = "Uncaught Error: " + H.S(this.error); | 4917 result = "Uncaught Error: " + H.S(this.error); |
4839 t1 = this.stackTrace; | 4918 t1 = this.stackTrace; |
4840 return t1 != null ? result + ("\nStack Trace:\n" + H.S(t1)) : result; | 4919 return t1 != null ? result + ("\nStack Trace:\n" + H.S(t1)) : result; |
4841 }, | 4920 }, |
(...skipping 26 matching lines...) Expand all Loading... |
4868 return this.callback; | 4947 return this.callback; |
4869 }, | 4948 }, |
4870 get$_whenCompleteAction: function() { | 4949 get$_whenCompleteAction: function() { |
4871 return this.callback; | 4950 return this.callback; |
4872 }, | 4951 }, |
4873 errorCallback$2: function(arg0, arg1) { | 4952 errorCallback$2: function(arg0, arg1) { |
4874 return this.errorCallback.call$2(arg0, arg1); | 4953 return this.errorCallback.call$2(arg0, arg1); |
4875 } | 4954 } |
4876 }, | 4955 }, |
4877 _Future: { | 4956 _Future: { |
4878 "^": "Object;_state,_zone<,_resultOrListeners", | 4957 "^": "Object;_state?,_zone<,_resultOrListeners", |
4879 get$_hasError: function() { | 4958 get$_hasError: function() { |
4880 return this._state === 8; | 4959 return this._state === 8; |
4881 }, | 4960 }, |
4882 set$_isChained: function(value) { | 4961 set$_isChained: function(value) { |
4883 if (value) | 4962 if (value) |
4884 this._state = 2; | 4963 this._state = 2; |
4885 else | 4964 else |
4886 this._state = 0; | 4965 this._state = 0; |
4887 }, | 4966 }, |
4888 then$2$onError: function(f, onError) { | 4967 then$2$onError: function(f, onError) { |
4889 var result, t1; | 4968 var result, t1; |
4890 result = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [nu
ll]); | 4969 result = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [nu
ll]); |
4891 t1 = result._zone; | 4970 t1 = result._zone; |
4892 if (t1 !== C.C__RootZone) { | 4971 if (t1 !== C.C__RootZone) { |
4893 f = t1.registerUnaryCallback$1(f); | 4972 f = t1.registerUnaryCallback$1(f); |
4894 if (onError != null) | 4973 if (onError != null) |
4895 onError = P._registerErrorHandler(onError, t1); | 4974 onError = P._registerErrorHandler(onError, t1); |
4896 } | 4975 } |
4897 t1 = onError == null ? 1 : 3; | 4976 this._addListener$1(new P._FutureListener(null, result, onError == null ?
1 : 3, f, onError)); |
4898 this._addListener$1(new P._FutureListener(null, result, t1, f, onError)); | |
4899 return result; | 4977 return result; |
4900 }, | 4978 }, |
4901 then$1: function(f) { | 4979 then$1: function(f) { |
4902 return this.then$2$onError(f, null); | 4980 return this.then$2$onError(f, null); |
4903 }, | 4981 }, |
4904 whenComplete$1: function(action) { | 4982 whenComplete$1: function(action) { |
4905 var t1, result; | 4983 var t1, result; |
4906 t1 = $.Zone__current; | 4984 t1 = $.Zone__current; |
4907 result = new P._Future(0, t1, null); | 4985 result = new P._Future(0, t1, null); |
4908 result.$builtinTypeInfo = this.$builtinTypeInfo; | 4986 result.$builtinTypeInfo = this.$builtinTypeInfo; |
4909 if (t1 !== C.C__RootZone) | 4987 this._addListener$1(new P._FutureListener(null, result, 8, t1 !== C.C__Roo
tZone ? t1.registerCallback$1(action) : action, null)); |
4910 action = t1.registerCallback$1(action); | |
4911 this._addListener$1(new P._FutureListener(null, result, 8, action, null)); | |
4912 return result; | 4988 return result; |
4913 }, | 4989 }, |
4914 _markPendingCompletion$0: function() { | 4990 _markPendingCompletion$0: function() { |
4915 if (this._state !== 0) | 4991 if (this._state !== 0) |
4916 throw H.wrapException(P.StateError$("Future already completed")); | 4992 throw H.wrapException(P.StateError$("Future already completed")); |
4917 this._state = 1; | 4993 this._state = 1; |
4918 }, | 4994 }, |
4919 get$_async$_value: function() { | 4995 get$_async$_value: function() { |
4920 return this._resultOrListeners; | 4996 return this._resultOrListeners; |
4921 }, | 4997 }, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4969 var listeners = this._removeListeners$0(); | 5045 var listeners = this._removeListeners$0(); |
4970 this._setValue$1(value); | 5046 this._setValue$1(value); |
4971 P._Future__propagateToListeners(this, listeners); | 5047 P._Future__propagateToListeners(this, listeners); |
4972 }, | 5048 }, |
4973 _completeError$2: [function(error, stackTrace) { | 5049 _completeError$2: [function(error, stackTrace) { |
4974 var listeners = this._removeListeners$0(); | 5050 var listeners = this._removeListeners$0(); |
4975 this._setErrorObject$1(new P.AsyncError(error, stackTrace)); | 5051 this._setErrorObject$1(new P.AsyncError(error, stackTrace)); |
4976 P._Future__propagateToListeners(this, listeners); | 5052 P._Future__propagateToListeners(this, listeners); |
4977 }, function(error) { | 5053 }, function(error) { |
4978 return this._completeError$2(error, null); | 5054 return this._completeError$2(error, null); |
4979 }, "_completeError$1", "call$2", "call$1", "get$_completeError", 2, 2, 6, 50
], | 5055 }, "_completeError$1", "call$2", "call$1", "get$_completeError", 2, 2, 6, 0]
, |
4980 _asyncComplete$1: function(value) { | 5056 _asyncComplete$1: function(value) { |
4981 var t1; | 5057 var t1; |
4982 if (value == null) | 5058 if (value == null) |
4983 ; | 5059 ; |
4984 else { | 5060 else { |
4985 t1 = J.getInterceptor(value); | 5061 t1 = J.getInterceptor(value); |
4986 if (!!t1.$isFuture) { | 5062 if (!!t1.$isFuture) { |
4987 if (!!t1.$is_Future) { | 5063 if (!!t1.$is_Future) { |
4988 t1 = value._state; | 5064 t1 = value._state; |
4989 if (t1 >= 4 && t1 === 8) { | 5065 if (t1 >= 4 && t1 === 8) { |
(...skipping 12 matching lines...) Expand all Loading... |
5002 _asyncCompleteError$2: function(error, stackTrace) { | 5078 _asyncCompleteError$2: function(error, stackTrace) { |
5003 this._markPendingCompletion$0(); | 5079 this._markPendingCompletion$0(); |
5004 this._zone.scheduleMicrotask$1(new P._Future__asyncCompleteError_closure(t
his, error, stackTrace)); | 5080 this._zone.scheduleMicrotask$1(new P._Future__asyncCompleteError_closure(t
his, error, stackTrace)); |
5005 }, | 5081 }, |
5006 $isFuture: 1, | 5082 $isFuture: 1, |
5007 static: {_Future$immediate: function(value, $T) { | 5083 static: {_Future$immediate: function(value, $T) { |
5008 var t1 = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [
$T]); | 5084 var t1 = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [
$T]); |
5009 t1._asyncComplete$1(value); | 5085 t1._asyncComplete$1(value); |
5010 return t1; | 5086 return t1; |
5011 }, _Future__chainForeignFuture: function(source, target) { | 5087 }, _Future__chainForeignFuture: function(source, target) { |
5012 target._state = 2; | 5088 var e, s, exception, t1; |
5013 source.then$2$onError(new P._Future__chainForeignFuture_closure(target),
new P._Future__chainForeignFuture_closure0(target)); | 5089 target.set$_state(2); |
| 5090 try { |
| 5091 source.then$2$onError(new P._Future__chainForeignFuture_closure(target
), new P._Future__chainForeignFuture_closure0(target)); |
| 5092 } catch (exception) { |
| 5093 t1 = H.unwrapException(exception); |
| 5094 e = t1; |
| 5095 s = H.getTraceFromException(exception); |
| 5096 P.scheduleMicrotask(new P._Future__chainForeignFuture_closure1(target,
e, s)); |
| 5097 } |
5014 }, _Future__chainCoreFuture: function(source, target) { | 5098 }, _Future__chainCoreFuture: function(source, target) { |
5015 var listener; | 5099 var listener; |
5016 target._state = 2; | 5100 target._state = 2; |
5017 listener = new P._FutureListener(null, target, 0, null, null); | 5101 listener = new P._FutureListener(null, target, 0, null, null); |
5018 if (source._state >= 4) | 5102 if (source._state >= 4) |
5019 P._Future__propagateToListeners(source, listener); | 5103 P._Future__propagateToListeners(source, listener); |
5020 else | 5104 else |
5021 source._addListener$1(listener); | 5105 source._addListener$1(listener); |
5022 }, _Future__propagateToListeners: function(source, listeners) { | 5106 }, _Future__propagateToListeners: function(source, listeners) { |
5023 var t1, t2, t3, hasError, asyncError, listeners0, sourceValue, zone, old
Zone, chainSource, result; | 5107 var t1, t2, t3, hasError, asyncError, listeners0, sourceValue, zone, old
Zone, chainSource, result; |
5024 t1 = {}; | 5108 t1 = {}; |
5025 t1.source_4 = source; | 5109 t1._captured_source_4 = source; |
5026 for (t2 = source; true;) { | 5110 for (t2 = source; true;) { |
5027 t3 = {}; | 5111 t3 = {}; |
5028 hasError = t2.get$_hasError(); | 5112 hasError = t2.get$_hasError(); |
5029 if (listeners == null) { | 5113 if (listeners == null) { |
5030 if (hasError) { | 5114 if (hasError) { |
5031 asyncError = t1.source_4.get$_error(); | 5115 asyncError = t1._captured_source_4.get$_error(); |
5032 t1.source_4.get$_zone().handleUncaughtError$2(J.get$error$x(asyncE
rror), asyncError.get$stackTrace()); | 5116 t1._captured_source_4.get$_zone().handleUncaughtError$2(J.get$erro
r$x(asyncError), asyncError.get$stackTrace()); |
5033 } | 5117 } |
5034 return; | 5118 return; |
5035 } | 5119 } |
5036 for (; listeners.get$_nextListener() != null; listeners = listeners0)
{ | 5120 for (; listeners.get$_nextListener() != null; listeners = listeners0)
{ |
5037 listeners0 = listeners._nextListener; | 5121 listeners0 = listeners._nextListener; |
5038 listeners._nextListener = null; | 5122 listeners._nextListener = null; |
5039 P._Future__propagateToListeners(t1.source_4, listeners); | 5123 P._Future__propagateToListeners(t1._captured_source_4, listeners); |
5040 } | 5124 } |
5041 t3.listenerHasValue_1 = true; | 5125 t3._captured_listenerHasValue_1 = true; |
5042 sourceValue = hasError ? null : t1.source_4.get$_async$_value(); | 5126 sourceValue = hasError ? null : t1._captured_source_4.get$_async$_valu
e(); |
5043 t3.listenerValueOrError_2 = sourceValue; | 5127 t3._captured_listenerValueOrError_2 = sourceValue; |
5044 t3.isPropagationAborted_3 = false; | 5128 t3._captured_isPropagationAborted_3 = false; |
5045 t2 = !hasError; | 5129 t2 = !hasError; |
5046 if (!t2 || listeners.get$handlesValue() || listeners.state === 8) { | 5130 if (!t2 || listeners.get$handlesValue() || listeners.state === 8) { |
5047 zone = listeners.get$_zone(); | 5131 zone = listeners.get$_zone(); |
5048 if (hasError && !t1.source_4.get$_zone().inSameErrorZone$1(zone)) { | 5132 if (hasError && !t1._captured_source_4.get$_zone().inSameErrorZone$1
(zone)) { |
5049 asyncError = t1.source_4.get$_error(); | 5133 asyncError = t1._captured_source_4.get$_error(); |
5050 t1.source_4.get$_zone().handleUncaughtError$2(J.get$error$x(asyncE
rror), asyncError.get$stackTrace()); | 5134 t1._captured_source_4.get$_zone().handleUncaughtError$2(J.get$erro
r$x(asyncError), asyncError.get$stackTrace()); |
5051 return; | 5135 return; |
5052 } | 5136 } |
5053 oldZone = $.Zone__current; | 5137 oldZone = $.Zone__current; |
5054 if (oldZone == null ? zone != null : oldZone !== zone) | 5138 if (oldZone == null ? zone != null : oldZone !== zone) |
5055 $.Zone__current = zone; | 5139 $.Zone__current = zone; |
5056 else | 5140 else |
5057 oldZone = null; | 5141 oldZone = null; |
5058 if (t2) { | 5142 if (t2) { |
5059 if (listeners.get$handlesValue()) | 5143 if (listeners.get$handlesValue()) |
5060 t3.listenerHasValue_1 = new P._Future__propagateToListeners_hand
leValueCallback(t3, listeners, sourceValue, zone).call$0(); | 5144 t3._captured_listenerHasValue_1 = new P._Future__propagateToList
eners_handleValueCallback(t3, listeners, sourceValue, zone).call$0(); |
5061 } else | 5145 } else |
5062 new P._Future__propagateToListeners_handleError(t1, t3, listeners,
zone).call$0(); | 5146 new P._Future__propagateToListeners_handleError(t1, t3, listeners,
zone).call$0(); |
5063 if (listeners.get$handlesComplete()) | 5147 if (listeners.get$handlesComplete()) |
5064 new P._Future__propagateToListeners_handleWhenCompleteCallback(t1,
t3, hasError, listeners, zone).call$0(); | 5148 new P._Future__propagateToListeners_handleWhenCompleteCallback(t1,
t3, hasError, listeners, zone).call$0(); |
5065 if (oldZone != null) | 5149 if (oldZone != null) |
5066 $.Zone__current = oldZone; | 5150 $.Zone__current = oldZone; |
5067 if (t3.isPropagationAborted_3) | 5151 if (t3._captured_isPropagationAborted_3) |
5068 return; | 5152 return; |
5069 if (t3.listenerHasValue_1 === true) { | 5153 if (t3._captured_listenerHasValue_1 === true) { |
5070 t2 = t3.listenerValueOrError_2; | 5154 t2 = t3._captured_listenerValueOrError_2; |
5071 t2 = (sourceValue == null ? t2 != null : sourceValue !== t2) && !!
J.getInterceptor(t2).$isFuture; | 5155 t2 = (sourceValue == null ? t2 != null : sourceValue !== t2) && !!
J.getInterceptor(t2).$isFuture; |
5072 } else | 5156 } else |
5073 t2 = false; | 5157 t2 = false; |
5074 if (t2) { | 5158 if (t2) { |
5075 chainSource = t3.listenerValueOrError_2; | 5159 chainSource = t3._captured_listenerValueOrError_2; |
5076 result = listeners.result; | 5160 result = listeners.result; |
5077 if (chainSource instanceof P._Future) | 5161 if (chainSource instanceof P._Future) |
5078 if (chainSource._state >= 4) { | 5162 if (chainSource._state >= 4) { |
5079 result._state = 2; | 5163 result._state = 2; |
5080 t1.source_4 = chainSource; | 5164 t1._captured_source_4 = chainSource; |
5081 listeners = new P._FutureListener(null, result, 0, null, null)
; | 5165 listeners = new P._FutureListener(null, result, 0, null, null)
; |
5082 t2 = chainSource; | 5166 t2 = chainSource; |
5083 continue; | 5167 continue; |
5084 } else | 5168 } else |
5085 P._Future__chainCoreFuture(chainSource, result); | 5169 P._Future__chainCoreFuture(chainSource, result); |
5086 else | 5170 else |
5087 P._Future__chainForeignFuture(chainSource, result); | 5171 P._Future__chainForeignFuture(chainSource, result); |
5088 return; | 5172 return; |
5089 } | 5173 } |
5090 } | 5174 } |
5091 result = listeners.result; | 5175 result = listeners.result; |
5092 listeners = result._removeListeners$0(); | 5176 listeners = result._removeListeners$0(); |
5093 t2 = t3.listenerHasValue_1; | 5177 t2 = t3._captured_listenerHasValue_1; |
5094 t3 = t3.listenerValueOrError_2; | 5178 t3 = t3._captured_listenerValueOrError_2; |
5095 if (t2 === true) { | 5179 if (t2 === true) { |
5096 result._state = 4; | 5180 result._state = 4; |
5097 result._resultOrListeners = t3; | 5181 result._resultOrListeners = t3; |
5098 } else { | 5182 } else { |
5099 result._state = 8; | 5183 result._state = 8; |
5100 result._resultOrListeners = t3; | 5184 result._resultOrListeners = t3; |
5101 } | 5185 } |
5102 t1.source_4 = result; | 5186 t1._captured_source_4 = result; |
5103 t2 = result; | 5187 t2 = result; |
5104 } | 5188 } |
5105 }} | 5189 }} |
5106 }, | 5190 }, |
5107 _Future__addListener_closure: { | 5191 _Future__addListener_closure: { |
5108 "^": "Closure:0;this_0,listener_1", | 5192 "^": "Closure:0;_async$_captured_this_0,_captured_listener_1", |
5109 call$0: function() { | 5193 call$0: function() { |
5110 P._Future__propagateToListeners(this.this_0, this.listener_1); | 5194 P._Future__propagateToListeners(this._async$_captured_this_0, this._captur
ed_listener_1); |
5111 } | 5195 } |
5112 }, | 5196 }, |
5113 _Future__chainForeignFuture_closure: { | 5197 _Future__chainForeignFuture_closure: { |
5114 "^": "Closure:2;target_0", | 5198 "^": "Closure:2;_captured_target_0", |
5115 call$1: function(value) { | 5199 call$1: function(value) { |
5116 this.target_0._completeWithValue$1(value); | 5200 this._captured_target_0._completeWithValue$1(value); |
5117 } | 5201 } |
5118 }, | 5202 }, |
5119 _Future__chainForeignFuture_closure0: { | 5203 _Future__chainForeignFuture_closure0: { |
5120 "^": "Closure:7;target_1", | 5204 "^": "Closure:7;_captured_target_1", |
5121 call$2: function(error, stackTrace) { | 5205 call$2: function(error, stackTrace) { |
5122 this.target_1._completeError$2(error, stackTrace); | 5206 this._captured_target_1._completeError$2(error, stackTrace); |
5123 }, | 5207 }, |
5124 call$1: function(error) { | 5208 call$1: function(error) { |
5125 return this.call$2(error, null); | 5209 return this.call$2(error, null); |
5126 } | 5210 } |
5127 }, | 5211 }, |
| 5212 _Future__chainForeignFuture_closure1: { |
| 5213 "^": "Closure:0;_captured_target_2,_captured_e_3,_captured_s_4", |
| 5214 call$0: function() { |
| 5215 this._captured_target_2._completeError$2(this._captured_e_3, this._capture
d_s_4); |
| 5216 } |
| 5217 }, |
5128 _Future__asyncComplete_closure: { | 5218 _Future__asyncComplete_closure: { |
5129 "^": "Closure:0;this_0,coreFuture_1", | 5219 "^": "Closure:0;_async$_captured_this_0,_captured_coreFuture_1", |
5130 call$0: function() { | 5220 call$0: function() { |
5131 P._Future__chainCoreFuture(this.coreFuture_1, this.this_0); | 5221 P._Future__chainCoreFuture(this._captured_coreFuture_1, this._async$_captu
red_this_0); |
5132 } | 5222 } |
5133 }, | 5223 }, |
5134 _Future__asyncComplete_closure0: { | 5224 _Future__asyncComplete_closure0: { |
5135 "^": "Closure:0;this_2,value_3", | 5225 "^": "Closure:0;_async$_captured_this_2,_captured_value_3", |
5136 call$0: function() { | 5226 call$0: function() { |
5137 this.this_2._completeWithValue$1(this.value_3); | 5227 this._async$_captured_this_2._completeWithValue$1(this._captured_value_3); |
5138 } | 5228 } |
5139 }, | 5229 }, |
5140 _Future__asyncCompleteError_closure: { | 5230 _Future__asyncCompleteError_closure: { |
5141 "^": "Closure:0;this_0,error_1,stackTrace_2", | 5231 "^": "Closure:0;_async$_captured_this_0,_captured_error_1,_captured_stackTra
ce_2", |
5142 call$0: function() { | 5232 call$0: function() { |
5143 this.this_0._completeError$2(this.error_1, this.stackTrace_2); | 5233 this._async$_captured_this_0._completeError$2(this._captured_error_1, this
._captured_stackTrace_2); |
5144 } | 5234 } |
5145 }, | 5235 }, |
5146 _Future__propagateToListeners_handleValueCallback: { | 5236 _Future__propagateToListeners_handleValueCallback: { |
5147 "^": "Closure:8;box_1,listener_3,sourceValue_4,zone_5", | 5237 "^": "Closure:8;_box_1,_captured_listener_3,_captured_sourceValue_4,_capture
d_zone_5", |
5148 call$0: function() { | 5238 call$0: function() { |
5149 var e, s, exception, t1; | 5239 var e, s, exception, t1; |
5150 try { | 5240 try { |
5151 this.box_1.listenerValueOrError_2 = this.zone_5.runUnary$2(this.listener
_3.get$_onValue(), this.sourceValue_4); | 5241 this._box_1._captured_listenerValueOrError_2 = this._captured_zone_5.run
Unary$2(this._captured_listener_3.get$_onValue(), this._captured_sourceValue_4); |
5152 return true; | 5242 return true; |
5153 } catch (exception) { | 5243 } catch (exception) { |
5154 t1 = H.unwrapException(exception); | 5244 t1 = H.unwrapException(exception); |
5155 e = t1; | 5245 e = t1; |
5156 s = H.getTraceFromException(exception); | 5246 s = H.getTraceFromException(exception); |
5157 this.box_1.listenerValueOrError_2 = new P.AsyncError(e, s); | 5247 this._box_1._captured_listenerValueOrError_2 = new P.AsyncError(e, s); |
5158 return false; | 5248 return false; |
5159 } | 5249 } |
5160 } | 5250 } |
5161 }, | 5251 }, |
5162 _Future__propagateToListeners_handleError: { | 5252 _Future__propagateToListeners_handleError: { |
5163 "^": "Closure:1;box_2,box_1,listener_6,zone_7", | 5253 "^": "Closure:1;_box_2,_box_1,_captured_listener_6,_captured_zone_7", |
5164 call$0: function() { | 5254 call$0: function() { |
5165 var asyncError, matchesTest, test, e, s, errorCallback, e0, s0, t1, except
ion, t2, listenerValueOrError, t3, t4; | 5255 var asyncError, matchesTest, test, e, s, errorCallback, e0, s0, t1, except
ion, t2, listenerValueOrError, t3, t4; |
5166 asyncError = this.box_2.source_4.get$_error(); | 5256 asyncError = this._box_2._captured_source_4.get$_error(); |
5167 matchesTest = true; | 5257 matchesTest = true; |
5168 t1 = this.listener_6; | 5258 t1 = this._captured_listener_6; |
5169 if (t1.get$hasErrorTest()) { | 5259 if (t1.get$hasErrorTest()) { |
5170 test = t1.callback; | 5260 test = t1.callback; |
5171 try { | 5261 try { |
5172 matchesTest = this.zone_7.runUnary$2(test, J.get$error$x(asyncError)); | 5262 matchesTest = this._captured_zone_7.runUnary$2(test, J.get$error$x(asy
ncError)); |
5173 } catch (exception) { | 5263 } catch (exception) { |
5174 t1 = H.unwrapException(exception); | 5264 t1 = H.unwrapException(exception); |
5175 e = t1; | 5265 e = t1; |
5176 s = H.getTraceFromException(exception); | 5266 s = H.getTraceFromException(exception); |
5177 t1 = J.get$error$x(asyncError); | 5267 t1 = J.get$error$x(asyncError); |
5178 t2 = e; | 5268 t2 = e; |
5179 listenerValueOrError = (t1 == null ? t2 == null : t1 === t2) ? asyncEr
ror : new P.AsyncError(e, s); | 5269 listenerValueOrError = (t1 == null ? t2 == null : t1 === t2) ? asyncEr
ror : new P.AsyncError(e, s); |
5180 t1 = this.box_1; | 5270 t1 = this._box_1; |
5181 t1.listenerValueOrError_2 = listenerValueOrError; | 5271 t1._captured_listenerValueOrError_2 = listenerValueOrError; |
5182 t1.listenerHasValue_1 = false; | 5272 t1._captured_listenerHasValue_1 = false; |
5183 return; | 5273 return; |
5184 } | 5274 } |
5185 } | 5275 } |
5186 errorCallback = t1.errorCallback; | 5276 errorCallback = t1.errorCallback; |
5187 if (matchesTest === true && errorCallback != null) { | 5277 if (matchesTest === true && errorCallback != null) { |
5188 try { | 5278 try { |
5189 t1 = errorCallback; | 5279 t1 = errorCallback; |
5190 t2 = H.getDynamicRuntimeType(); | 5280 t2 = H.getDynamicRuntimeType(); |
5191 t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1); | 5281 t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1); |
5192 t3 = this.zone_7; | 5282 t3 = this._captured_zone_7; |
5193 t4 = this.box_1; | 5283 t4 = this._box_1; |
5194 if (t2) | 5284 if (t2) |
5195 t4.listenerValueOrError_2 = t3.runBinary$3(errorCallback, J.get$erro
r$x(asyncError), asyncError.get$stackTrace()); | 5285 t4._captured_listenerValueOrError_2 = t3.runBinary$3(errorCallback,
J.get$error$x(asyncError), asyncError.get$stackTrace()); |
5196 else | 5286 else |
5197 t4.listenerValueOrError_2 = t3.runUnary$2(errorCallback, J.get$error
$x(asyncError)); | 5287 t4._captured_listenerValueOrError_2 = t3.runUnary$2(errorCallback, J
.get$error$x(asyncError)); |
5198 } catch (exception) { | 5288 } catch (exception) { |
5199 t1 = H.unwrapException(exception); | 5289 t1 = H.unwrapException(exception); |
5200 e0 = t1; | 5290 e0 = t1; |
5201 s0 = H.getTraceFromException(exception); | 5291 s0 = H.getTraceFromException(exception); |
5202 t1 = J.get$error$x(asyncError); | 5292 t1 = J.get$error$x(asyncError); |
5203 t2 = e0; | 5293 t2 = e0; |
5204 listenerValueOrError = (t1 == null ? t2 == null : t1 === t2) ? asyncEr
ror : new P.AsyncError(e0, s0); | 5294 listenerValueOrError = (t1 == null ? t2 == null : t1 === t2) ? asyncEr
ror : new P.AsyncError(e0, s0); |
5205 t1 = this.box_1; | 5295 t1 = this._box_1; |
5206 t1.listenerValueOrError_2 = listenerValueOrError; | 5296 t1._captured_listenerValueOrError_2 = listenerValueOrError; |
5207 t1.listenerHasValue_1 = false; | 5297 t1._captured_listenerHasValue_1 = false; |
5208 return; | 5298 return; |
5209 } | 5299 } |
5210 this.box_1.listenerHasValue_1 = true; | 5300 this._box_1._captured_listenerHasValue_1 = true; |
5211 } else { | 5301 } else { |
5212 t1 = this.box_1; | 5302 t1 = this._box_1; |
5213 t1.listenerValueOrError_2 = asyncError; | 5303 t1._captured_listenerValueOrError_2 = asyncError; |
5214 t1.listenerHasValue_1 = false; | 5304 t1._captured_listenerHasValue_1 = false; |
5215 } | 5305 } |
5216 } | 5306 } |
5217 }, | 5307 }, |
5218 _Future__propagateToListeners_handleWhenCompleteCallback: { | 5308 _Future__propagateToListeners_handleWhenCompleteCallback: { |
5219 "^": "Closure:1;box_2,box_1,hasError_8,listener_9,zone_10", | 5309 "^": "Closure:1;_box_2,_box_1,_captured_hasError_8,_captured_listener_9,_cap
tured_zone_10", |
5220 call$0: function() { | 5310 call$0: function() { |
5221 var t1, e, s, completeResult, t2, exception, result; | 5311 var t1, e, s, completeResult, t2, exception, result; |
5222 t1 = {}; | 5312 t1 = {}; |
5223 t1.completeResult_0 = null; | 5313 t1._captured_completeResult_0 = null; |
5224 try { | 5314 try { |
5225 completeResult = this.zone_10.run$1(this.listener_9.get$_whenCompleteAct
ion()); | 5315 completeResult = this._captured_zone_10.run$1(this._captured_listener_9.
get$_whenCompleteAction()); |
5226 t1.completeResult_0 = completeResult; | 5316 t1._captured_completeResult_0 = completeResult; |
5227 t2 = completeResult; | 5317 t2 = completeResult; |
5228 } catch (exception) { | 5318 } catch (exception) { |
5229 t1 = H.unwrapException(exception); | 5319 t1 = H.unwrapException(exception); |
5230 e = t1; | 5320 e = t1; |
5231 s = H.getTraceFromException(exception); | 5321 s = H.getTraceFromException(exception); |
5232 if (this.hasError_8) { | 5322 if (this._captured_hasError_8) { |
5233 t1 = J.get$error$x(this.box_2.source_4.get$_error()); | 5323 t1 = J.get$error$x(this._box_2._captured_source_4.get$_error()); |
5234 t2 = e; | 5324 t2 = e; |
5235 t2 = t1 == null ? t2 == null : t1 === t2; | 5325 t2 = t1 == null ? t2 == null : t1 === t2; |
5236 t1 = t2; | 5326 t1 = t2; |
5237 } else | 5327 } else |
5238 t1 = false; | 5328 t1 = false; |
5239 t2 = this.box_1; | 5329 t2 = this._box_1; |
5240 if (t1) | 5330 if (t1) |
5241 t2.listenerValueOrError_2 = this.box_2.source_4.get$_error(); | 5331 t2._captured_listenerValueOrError_2 = this._box_2._captured_source_4.g
et$_error(); |
5242 else | 5332 else |
5243 t2.listenerValueOrError_2 = new P.AsyncError(e, s); | 5333 t2._captured_listenerValueOrError_2 = new P.AsyncError(e, s); |
5244 t2.listenerHasValue_1 = false; | 5334 t2._captured_listenerHasValue_1 = false; |
5245 return; | 5335 return; |
5246 } | 5336 } |
5247 if (!!J.getInterceptor(t2).$isFuture) { | 5337 if (!!J.getInterceptor(t2).$isFuture) { |
5248 t2 = this.listener_9; | 5338 t2 = this._captured_listener_9; |
5249 result = t2.get$result(t2); | 5339 result = t2.get$result(t2); |
5250 result.set$_isChained(true); | 5340 result.set$_isChained(true); |
5251 this.box_1.isPropagationAborted_3 = true; | 5341 this._box_1._captured_isPropagationAborted_3 = true; |
5252 t1.completeResult_0.then$2$onError(new P._Future__propagateToListeners_h
andleWhenCompleteCallback_closure(this.box_2, result), new P._Future__propagateT
oListeners_handleWhenCompleteCallback_closure0(t1, result)); | 5342 t1._captured_completeResult_0.then$2$onError(new P._Future__propagateToL
isteners_handleWhenCompleteCallback_closure(this._box_2, result), new P._Future_
_propagateToListeners_handleWhenCompleteCallback_closure0(t1, result)); |
5253 } | 5343 } |
5254 } | 5344 } |
5255 }, | 5345 }, |
5256 _Future__propagateToListeners_handleWhenCompleteCallback_closure: { | 5346 _Future__propagateToListeners_handleWhenCompleteCallback_closure: { |
5257 "^": "Closure:2;box_2,result_11", | 5347 "^": "Closure:2;_box_2,_captured_result_11", |
5258 call$1: function(ignored) { | 5348 call$1: function(ignored) { |
5259 P._Future__propagateToListeners(this.box_2.source_4, new P._FutureListener
(null, this.result_11, 0, null, null)); | 5349 P._Future__propagateToListeners(this._box_2._captured_source_4, new P._Fut
ureListener(null, this._captured_result_11, 0, null, null)); |
5260 } | 5350 } |
5261 }, | 5351 }, |
5262 _Future__propagateToListeners_handleWhenCompleteCallback_closure0: { | 5352 _Future__propagateToListeners_handleWhenCompleteCallback_closure0: { |
5263 "^": "Closure:7;box_0,result_12", | 5353 "^": "Closure:7;_async$_box_0,_captured_result_12", |
5264 call$2: function(error, stackTrace) { | 5354 call$2: function(error, stackTrace) { |
5265 var t1, completeResult; | 5355 var t1, completeResult; |
5266 t1 = this.box_0; | 5356 t1 = this._async$_box_0; |
5267 if (!(t1.completeResult_0 instanceof P._Future)) { | 5357 if (!(t1._captured_completeResult_0 instanceof P._Future)) { |
5268 completeResult = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current,
null), [null]); | 5358 completeResult = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current,
null), [null]); |
5269 t1.completeResult_0 = completeResult; | 5359 t1._captured_completeResult_0 = completeResult; |
5270 completeResult._setError$2(error, stackTrace); | 5360 completeResult._setError$2(error, stackTrace); |
5271 } | 5361 } |
5272 P._Future__propagateToListeners(t1.completeResult_0, new P._FutureListener
(null, this.result_12, 0, null, null)); | 5362 P._Future__propagateToListeners(t1._captured_completeResult_0, new P._Futu
reListener(null, this._captured_result_12, 0, null, null)); |
5273 }, | 5363 }, |
5274 call$1: function(error) { | 5364 call$1: function(error) { |
5275 return this.call$2(error, null); | 5365 return this.call$2(error, null); |
5276 } | 5366 } |
5277 }, | 5367 }, |
5278 _AsyncCallbackEntry: { | 5368 _AsyncCallbackEntry: { |
5279 "^": "Object;callback,next@", | 5369 "^": "Object;callback,next@", |
5280 callback$0: function() { | 5370 callback$0: function() { |
5281 return this.callback.call$0(); | 5371 return this.callback.call$0(); |
5282 } | 5372 } |
5283 }, | 5373 }, |
5284 Stream: { | 5374 Stream: { |
5285 "^": "Object;", | 5375 "^": "Object;", |
5286 map$1: function(_, convert) { | 5376 map$1: function(_, convert) { |
5287 return H.setRuntimeTypeInfo(new P._MapStream(convert, this), [H.getRuntime
TypeArgument(this, "Stream", 0), null]); | 5377 return H.setRuntimeTypeInfo(new P._MapStream(convert, this), [H.getRuntime
TypeArgument(this, "Stream", 0), null]); |
5288 }, | 5378 }, |
5289 pipe$1: function(streamConsumer) { | 5379 pipe$1: function(streamConsumer) { |
5290 return streamConsumer._async$_target.addStream$2$cancelOnError(this, true)
.then$1(new P.Stream_pipe_closure(streamConsumer)); | 5380 return streamConsumer._async$_target.addStream$2$cancelOnError(this, true)
.then$1(new P.Stream_pipe_closure(streamConsumer)); |
5291 }, | 5381 }, |
5292 contains$1: function(_, needle) { | 5382 contains$1: function(_, needle) { |
5293 var t1, future; | 5383 var t1, future; |
5294 t1 = {}; | 5384 t1 = {}; |
5295 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [P.
bool]); | 5385 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [P.
bool]); |
5296 t1.subscription_0 = null; | 5386 t1._captured_subscription_0 = null; |
5297 t1.subscription_0 = this.listen$4$cancelOnError$onDone$onError(new P.Strea
m_contains_closure(t1, this, needle, future), true, new P.Stream_contains_closur
e0(future), future.get$_completeError()); | 5387 t1._captured_subscription_0 = this.listen$4$cancelOnError$onDone$onError(n
ew P.Stream_contains_closure(t1, this, needle, future), true, new P.Stream_conta
ins_closure0(future), future.get$_completeError()); |
5298 return future; | 5388 return future; |
5299 }, | 5389 }, |
5300 forEach$1: function(_, action) { | 5390 forEach$1: function(_, action) { |
5301 var t1, future; | 5391 var t1, future; |
5302 t1 = {}; | 5392 t1 = {}; |
5303 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [nu
ll]); | 5393 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [nu
ll]); |
5304 t1.subscription_0 = null; | 5394 t1._captured_subscription_0 = null; |
5305 t1.subscription_0 = this.listen$4$cancelOnError$onDone$onError(new P.Strea
m_forEach_closure(t1, this, action, future), true, new P.Stream_forEach_closure0
(future), future.get$_completeError()); | 5395 t1._captured_subscription_0 = this.listen$4$cancelOnError$onDone$onError(n
ew P.Stream_forEach_closure(t1, this, action, future), true, new P.Stream_forEac
h_closure0(future), future.get$_completeError()); |
5306 return future; | 5396 return future; |
5307 }, | 5397 }, |
5308 get$length: function(_) { | 5398 get$length: function(_) { |
5309 var t1, future; | 5399 var t1, future; |
5310 t1 = {}; | 5400 t1 = {}; |
5311 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [P.
$int]); | 5401 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [P.
$int]); |
5312 t1.count_0 = 0; | 5402 t1._captured_count_0 = 0; |
5313 this.listen$4$cancelOnError$onDone$onError(new P.Stream_length_closure(t1)
, true, new P.Stream_length_closure0(t1, future), future.get$_completeError()); | 5403 this.listen$4$cancelOnError$onDone$onError(new P.Stream_length_closure(t1)
, true, new P.Stream_length_closure0(t1, future), future.get$_completeError()); |
5314 return future; | 5404 return future; |
5315 }, | 5405 }, |
5316 get$isEmpty: function(_) { | 5406 get$isEmpty: function(_) { |
5317 var t1, future; | 5407 var t1, future; |
5318 t1 = {}; | 5408 t1 = {}; |
5319 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [P.
bool]); | 5409 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [P.
bool]); |
5320 t1.subscription_0 = null; | 5410 t1._captured_subscription_0 = null; |
5321 t1.subscription_0 = this.listen$4$cancelOnError$onDone$onError(new P.Strea
m_isEmpty_closure(t1, future), true, new P.Stream_isEmpty_closure0(future), futu
re.get$_completeError()); | 5411 t1._captured_subscription_0 = this.listen$4$cancelOnError$onDone$onError(n
ew P.Stream_isEmpty_closure(t1, future), true, new P.Stream_isEmpty_closure0(fut
ure), future.get$_completeError()); |
5322 return future; | 5412 return future; |
5323 }, | 5413 }, |
5324 toList$0: function(_) { | 5414 toList$0: function(_) { |
5325 var result, future; | 5415 var result, future; |
5326 result = H.setRuntimeTypeInfo([], [H.getRuntimeTypeArgument(this, "Stream"
, 0)]); | 5416 result = H.setRuntimeTypeInfo([], [H.getRuntimeTypeArgument(this, "Stream"
, 0)]); |
5327 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [[P
.List, H.getRuntimeTypeArgument(this, "Stream", 0)]]); | 5417 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [[P
.List, H.getRuntimeTypeArgument(this, "Stream", 0)]]); |
5328 this.listen$4$cancelOnError$onDone$onError(new P.Stream_toList_closure(thi
s, result), true, new P.Stream_toList_closure0(result, future), future.get$_comp
leteError()); | 5418 this.listen$4$cancelOnError$onDone$onError(new P.Stream_toList_closure(thi
s, result), true, new P.Stream_toList_closure0(result, future), future.get$_comp
leteError()); |
5329 return future; | 5419 return future; |
5330 }, | 5420 }, |
5331 get$first: function(_) { | 5421 get$first: function(_) { |
5332 var t1, future; | 5422 var t1, future; |
5333 t1 = {}; | 5423 t1 = {}; |
5334 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [H.
getRuntimeTypeArgument(this, "Stream", 0)]); | 5424 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [H.
getRuntimeTypeArgument(this, "Stream", 0)]); |
5335 t1.subscription_0 = null; | 5425 t1._captured_subscription_0 = null; |
5336 t1.subscription_0 = this.listen$4$cancelOnError$onDone$onError(new P.Strea
m_first_closure(t1, this, future), true, new P.Stream_first_closure0(future), fu
ture.get$_completeError()); | 5426 t1._captured_subscription_0 = this.listen$4$cancelOnError$onDone$onError(n
ew P.Stream_first_closure(t1, this, future), true, new P.Stream_first_closure0(f
uture), future.get$_completeError()); |
5337 return future; | 5427 return future; |
5338 }, | 5428 }, |
5339 get$last: function(_) { | 5429 get$last: function(_) { |
5340 var t1, future; | 5430 var t1, future; |
5341 t1 = {}; | 5431 t1 = {}; |
5342 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [H.
getRuntimeTypeArgument(this, "Stream", 0)]); | 5432 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [H.
getRuntimeTypeArgument(this, "Stream", 0)]); |
5343 t1.result_0 = null; | 5433 t1._captured_result_0 = null; |
5344 t1.foundResult_1 = false; | 5434 t1._captured_foundResult_1 = false; |
5345 this.listen$4$cancelOnError$onDone$onError(new P.Stream_last_closure(t1, t
his), true, new P.Stream_last_closure0(t1, future), future.get$_completeError())
; | 5435 this.listen$4$cancelOnError$onDone$onError(new P.Stream_last_closure(t1, t
his), true, new P.Stream_last_closure0(t1, future), future.get$_completeError())
; |
5346 return future; | 5436 return future; |
5347 } | 5437 } |
5348 }, | 5438 }, |
5349 Stream_pipe_closure: { | 5439 Stream_pipe_closure: { |
5350 "^": "Closure:2;streamConsumer_0", | 5440 "^": "Closure:2;_captured_streamConsumer_0", |
5351 call$1: function(_) { | 5441 call$1: function(_) { |
5352 return this.streamConsumer_0._async$_target.close$0(0); | 5442 return this._captured_streamConsumer_0._async$_target.close$0(0); |
5353 } | 5443 } |
5354 }, | 5444 }, |
5355 Stream_contains_closure: { | 5445 Stream_contains_closure: { |
5356 "^": "Closure;box_0,this_1,needle_2,future_3", | 5446 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_needle_2,_capt
ured_future_3", |
5357 call$1: function(element) { | 5447 call$1: function(element) { |
5358 var t1, t2; | 5448 var t1, t2; |
5359 t1 = this.box_0; | 5449 t1 = this._async$_box_0; |
5360 t2 = this.future_3; | 5450 t2 = this._captured_future_3; |
5361 P._runUserCode(new P.Stream_contains__closure(this.needle_2, element), new
P.Stream_contains__closure0(t1, t2), P._cancelAndErrorClosure(t1.subscription_0
, t2)); | 5451 P._runUserCode(new P.Stream_contains__closure(this._captured_needle_2, ele
ment), new P.Stream_contains__closure0(t1, t2), P._cancelAndErrorClosure(t1._cap
tured_subscription_0, t2)); |
5362 }, | 5452 }, |
5363 $signature: function() { | 5453 $signature: function() { |
5364 return H.computeSignature(function(T) { | 5454 return H.computeSignature(function(T) { |
5365 return {func: "dynamic__T", args: [T]}; | 5455 return {func: "", args: [T]}; |
5366 }, this.this_1, "Stream"); | 5456 }, this._async$_captured_this_1, "Stream"); |
5367 } | 5457 } |
5368 }, | 5458 }, |
5369 Stream_contains__closure: { | 5459 Stream_contains__closure: { |
5370 "^": "Closure:0;needle_4,element_5", | 5460 "^": "Closure:0;_captured_needle_4,_captured_element_5", |
5371 call$0: function() { | 5461 call$0: function() { |
5372 return J.$eq(this.element_5, this.needle_4); | 5462 return J.$eq(this._captured_element_5, this._captured_needle_4); |
5373 } | 5463 } |
5374 }, | 5464 }, |
5375 Stream_contains__closure0: { | 5465 Stream_contains__closure0: { |
5376 "^": "Closure:9;box_0,future_6", | 5466 "^": "Closure:9;_async$_box_0,_captured_future_6", |
5377 call$1: function(isMatch) { | 5467 call$1: function(isMatch) { |
5378 if (isMatch === true) | 5468 if (isMatch === true) |
5379 P._cancelAndValue(this.box_0.subscription_0, this.future_6, true); | 5469 P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._cap
tured_future_6, true); |
5380 } | 5470 } |
5381 }, | 5471 }, |
5382 Stream_contains_closure0: { | 5472 Stream_contains_closure0: { |
5383 "^": "Closure:0;future_7", | 5473 "^": "Closure:0;_captured_future_7", |
5384 call$0: function() { | 5474 call$0: function() { |
5385 this.future_7._complete$1(false); | 5475 this._captured_future_7._complete$1(false); |
5386 } | 5476 } |
5387 }, | 5477 }, |
5388 Stream_forEach_closure: { | 5478 Stream_forEach_closure: { |
5389 "^": "Closure;box_0,this_1,action_2,future_3", | 5479 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_action_2,_capt
ured_future_3", |
5390 call$1: function(element) { | 5480 call$1: function(element) { |
5391 P._runUserCode(new P.Stream_forEach__closure(this.action_2, element), new
P.Stream_forEach__closure0(), P._cancelAndErrorClosure(this.box_0.subscription_0
, this.future_3)); | 5481 P._runUserCode(new P.Stream_forEach__closure(this._captured_action_2, elem
ent), new P.Stream_forEach__closure0(), P._cancelAndErrorClosure(this._async$_bo
x_0._captured_subscription_0, this._captured_future_3)); |
5392 }, | 5482 }, |
5393 $signature: function() { | 5483 $signature: function() { |
5394 return H.computeSignature(function(T) { | 5484 return H.computeSignature(function(T) { |
5395 return {func: "dynamic__T", args: [T]}; | 5485 return {func: "", args: [T]}; |
5396 }, this.this_1, "Stream"); | 5486 }, this._async$_captured_this_1, "Stream"); |
5397 } | 5487 } |
5398 }, | 5488 }, |
5399 Stream_forEach__closure: { | 5489 Stream_forEach__closure: { |
5400 "^": "Closure:0;action_4,element_5", | 5490 "^": "Closure:0;_captured_action_4,_captured_element_5", |
5401 call$0: function() { | 5491 call$0: function() { |
5402 return this.action_4.call$1(this.element_5); | 5492 return this._captured_action_4.call$1(this._captured_element_5); |
5403 } | 5493 } |
5404 }, | 5494 }, |
5405 Stream_forEach__closure0: { | 5495 Stream_forEach__closure0: { |
5406 "^": "Closure:2;", | 5496 "^": "Closure:2;", |
5407 call$1: function(_) { | 5497 call$1: function(_) { |
5408 } | 5498 } |
5409 }, | 5499 }, |
5410 Stream_forEach_closure0: { | 5500 Stream_forEach_closure0: { |
5411 "^": "Closure:0;future_6", | 5501 "^": "Closure:0;_captured_future_6", |
5412 call$0: function() { | 5502 call$0: function() { |
5413 this.future_6._complete$1(null); | 5503 this._captured_future_6._complete$1(null); |
5414 } | 5504 } |
5415 }, | 5505 }, |
5416 Stream_length_closure: { | 5506 Stream_length_closure: { |
5417 "^": "Closure:2;box_0", | 5507 "^": "Closure:2;_async$_box_0", |
5418 call$1: function(_) { | 5508 call$1: function(_) { |
5419 ++this.box_0.count_0; | 5509 ++this._async$_box_0._captured_count_0; |
5420 } | 5510 } |
5421 }, | 5511 }, |
5422 Stream_length_closure0: { | 5512 Stream_length_closure0: { |
5423 "^": "Closure:0;box_0,future_1", | 5513 "^": "Closure:0;_async$_box_0,_captured_future_1", |
5424 call$0: function() { | 5514 call$0: function() { |
5425 this.future_1._complete$1(this.box_0.count_0); | 5515 this._captured_future_1._complete$1(this._async$_box_0._captured_count_0); |
5426 } | 5516 } |
5427 }, | 5517 }, |
5428 Stream_isEmpty_closure: { | 5518 Stream_isEmpty_closure: { |
5429 "^": "Closure:2;box_0,future_1", | 5519 "^": "Closure:2;_async$_box_0,_captured_future_1", |
5430 call$1: function(_) { | 5520 call$1: function(_) { |
5431 P._cancelAndValue(this.box_0.subscription_0, this.future_1, false); | 5521 P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._captu
red_future_1, false); |
5432 } | 5522 } |
5433 }, | 5523 }, |
5434 Stream_isEmpty_closure0: { | 5524 Stream_isEmpty_closure0: { |
5435 "^": "Closure:0;future_2", | 5525 "^": "Closure:0;_captured_future_2", |
5436 call$0: function() { | 5526 call$0: function() { |
5437 this.future_2._complete$1(true); | 5527 this._captured_future_2._complete$1(true); |
5438 } | 5528 } |
5439 }, | 5529 }, |
5440 Stream_toList_closure: { | 5530 Stream_toList_closure: { |
5441 "^": "Closure;this_0,result_1", | 5531 "^": "Closure;_async$_captured_this_0,_async$_captured_result_1", |
5442 call$1: function(data) { | 5532 call$1: function(data) { |
5443 this.result_1.push(data); | 5533 this._async$_captured_result_1.push(data); |
5444 }, | 5534 }, |
5445 $signature: function() { | 5535 $signature: function() { |
5446 return H.computeSignature(function(T) { | 5536 return H.computeSignature(function(T) { |
5447 return {func: "dynamic__T", args: [T]}; | 5537 return {func: "", args: [T]}; |
5448 }, this.this_0, "Stream"); | 5538 }, this._async$_captured_this_0, "Stream"); |
5449 } | 5539 } |
5450 }, | 5540 }, |
5451 Stream_toList_closure0: { | 5541 Stream_toList_closure0: { |
5452 "^": "Closure:0;result_2,future_3", | 5542 "^": "Closure:0;_captured_result_2,_captured_future_3", |
5453 call$0: function() { | 5543 call$0: function() { |
5454 this.future_3._complete$1(this.result_2); | 5544 this._captured_future_3._complete$1(this._captured_result_2); |
5455 } | 5545 } |
5456 }, | 5546 }, |
5457 Stream_first_closure: { | 5547 Stream_first_closure: { |
5458 "^": "Closure;box_0,this_1,future_2", | 5548 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_future_2", |
5459 call$1: function(value) { | 5549 call$1: function(value) { |
5460 P._cancelAndValue(this.box_0.subscription_0, this.future_2, value); | 5550 P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._captu
red_future_2, value); |
5461 }, | 5551 }, |
5462 $signature: function() { | 5552 $signature: function() { |
5463 return H.computeSignature(function(T) { | 5553 return H.computeSignature(function(T) { |
5464 return {func: "dynamic__T", args: [T]}; | 5554 return {func: "", args: [T]}; |
5465 }, this.this_1, "Stream"); | 5555 }, this._async$_captured_this_1, "Stream"); |
5466 } | 5556 } |
5467 }, | 5557 }, |
5468 Stream_first_closure0: { | 5558 Stream_first_closure0: { |
5469 "^": "Closure:0;future_3", | 5559 "^": "Closure:0;_captured_future_3", |
5470 call$0: function() { | 5560 call$0: function() { |
5471 var e, s, t1, exception; | 5561 var e, s, t1, exception; |
5472 try { | 5562 try { |
5473 t1 = H.IterableElementError_noElement(); | 5563 t1 = H.IterableElementError_noElement(); |
5474 throw H.wrapException(t1); | 5564 throw H.wrapException(t1); |
5475 } catch (exception) { | 5565 } catch (exception) { |
5476 t1 = H.unwrapException(exception); | 5566 t1 = H.unwrapException(exception); |
5477 e = t1; | 5567 e = t1; |
5478 s = H.getTraceFromException(exception); | 5568 s = H.getTraceFromException(exception); |
5479 P._completeWithErrorCallback(this.future_3, e, s); | 5569 P._completeWithErrorCallback(this._captured_future_3, e, s); |
5480 } | 5570 } |
5481 } | 5571 } |
5482 }, | 5572 }, |
5483 Stream_last_closure: { | 5573 Stream_last_closure: { |
5484 "^": "Closure;box_0,this_1", | 5574 "^": "Closure;_async$_box_0,_async$_captured_this_1", |
5485 call$1: function(value) { | 5575 call$1: function(value) { |
5486 var t1 = this.box_0; | 5576 var t1 = this._async$_box_0; |
5487 t1.foundResult_1 = true; | 5577 t1._captured_foundResult_1 = true; |
5488 t1.result_0 = value; | 5578 t1._captured_result_0 = value; |
5489 }, | 5579 }, |
5490 $signature: function() { | 5580 $signature: function() { |
5491 return H.computeSignature(function(T) { | 5581 return H.computeSignature(function(T) { |
5492 return {func: "dynamic__T", args: [T]}; | 5582 return {func: "", args: [T]}; |
5493 }, this.this_1, "Stream"); | 5583 }, this._async$_captured_this_1, "Stream"); |
5494 } | 5584 } |
5495 }, | 5585 }, |
5496 Stream_last_closure0: { | 5586 Stream_last_closure0: { |
5497 "^": "Closure:0;box_0,future_2", | 5587 "^": "Closure:0;_async$_box_0,_captured_future_2", |
5498 call$0: function() { | 5588 call$0: function() { |
5499 var e, s, t1, exception; | 5589 var e, s, t1, exception; |
5500 t1 = this.box_0; | 5590 t1 = this._async$_box_0; |
5501 if (t1.foundResult_1) { | 5591 if (t1._captured_foundResult_1) { |
5502 this.future_2._complete$1(t1.result_0); | 5592 this._captured_future_2._complete$1(t1._captured_result_0); |
5503 return; | 5593 return; |
5504 } | 5594 } |
5505 try { | 5595 try { |
5506 t1 = H.IterableElementError_noElement(); | 5596 t1 = H.IterableElementError_noElement(); |
5507 throw H.wrapException(t1); | 5597 throw H.wrapException(t1); |
5508 } catch (exception) { | 5598 } catch (exception) { |
5509 t1 = H.unwrapException(exception); | 5599 t1 = H.unwrapException(exception); |
5510 e = t1; | 5600 e = t1; |
5511 s = H.getTraceFromException(exception); | 5601 s = H.getTraceFromException(exception); |
5512 P._completeWithErrorCallback(this.future_2, e, s); | 5602 P._completeWithErrorCallback(this._captured_future_2, e, s); |
5513 } | 5603 } |
5514 } | 5604 } |
5515 }, | 5605 }, |
5516 StreamSubscription: { | 5606 StreamSubscription: { |
5517 "^": "Object;" | 5607 "^": "Object;" |
5518 }, | 5608 }, |
5519 StreamController: { | 5609 StreamController: { |
5520 "^": "Object;" | 5610 "^": "Object;" |
5521 }, | 5611 }, |
5522 _StreamController: { | 5612 _StreamController: { |
5523 "^": "Object;", | 5613 "^": "Object;_state?", |
5524 get$_pendingEvents: function() { | 5614 get$_pendingEvents: function() { |
5525 if ((this._state & 8) === 0) | 5615 if ((this._state & 8) === 0) |
5526 return this._varData; | 5616 return this._varData; |
5527 return this._varData.get$varData(); | 5617 return this._varData.get$varData(); |
5528 }, | 5618 }, |
5529 _ensurePendingEvents$0: function() { | 5619 _ensurePendingEvents$0: function() { |
5530 var t1, state; | 5620 var t1, state; |
5531 if ((this._state & 8) === 0) { | 5621 if ((this._state & 8) === 0) { |
5532 t1 = this._varData; | 5622 t1 = this._varData; |
5533 if (t1 == null) { | 5623 if (t1 == null) { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5593 error = error != null ? error : new P.NullThrownError(); | 5683 error = error != null ? error : new P.NullThrownError(); |
5594 replacement = $.Zone__current.errorCallback$2(error, stackTrace); | 5684 replacement = $.Zone__current.errorCallback$2(error, stackTrace); |
5595 if (replacement != null) { | 5685 if (replacement != null) { |
5596 error = J.get$error$x(replacement); | 5686 error = J.get$error$x(replacement); |
5597 error = error != null ? error : new P.NullThrownError(); | 5687 error = error != null ? error : new P.NullThrownError(); |
5598 stackTrace = replacement.get$stackTrace(); | 5688 stackTrace = replacement.get$stackTrace(); |
5599 } | 5689 } |
5600 this._addError$2(error, stackTrace); | 5690 this._addError$2(error, stackTrace); |
5601 }, function(error) { | 5691 }, function(error) { |
5602 return this.addError$2(error, null); | 5692 return this.addError$2(error, null); |
5603 }, "addError$1", "call$2", "call$1", "get$addError", 2, 2, 10, 50], | 5693 }, "addError$1", "call$2", "call$1", "get$addError", 2, 2, 10, 0], |
5604 close$0: function(_) { | 5694 close$0: function(_) { |
5605 var t1 = this._state; | 5695 var t1 = this._state; |
5606 if ((t1 & 4) !== 0) | 5696 if ((t1 & 4) !== 0) |
5607 return this._ensureDoneFuture$0(); | 5697 return this._ensureDoneFuture$0(); |
5608 if (t1 >= 4) | 5698 if (t1 >= 4) |
5609 throw H.wrapException(this._badEventState$0()); | 5699 throw H.wrapException(this._badEventState$0()); |
5610 t1 |= 4; | 5700 t1 |= 4; |
5611 this._state = t1; | 5701 this._state = t1; |
5612 if ((t1 & 1) !== 0) | 5702 if ((t1 & 1) !== 0) |
5613 this._sendDone$0(); | 5703 this._sendDone$0(); |
5614 else if ((t1 & 3) === 0) | 5704 else if ((t1 & 3) === 0) |
5615 this._ensurePendingEvents$0().add$1(0, C.C__DelayedDone); | 5705 this._ensurePendingEvents$0().add$1(0, C.C__DelayedDone); |
5616 return this._ensureDoneFuture$0(); | 5706 return this._ensureDoneFuture$0(); |
5617 }, | 5707 }, |
5618 _async$_add$1: [function(value) { | 5708 _async$_add$1: [function(value) { |
5619 var t1 = this._state; | 5709 var t1 = this._state; |
5620 if ((t1 & 1) !== 0) | 5710 if ((t1 & 1) !== 0) |
5621 this._sendData$1(value); | 5711 this._sendData$1(value); |
5622 else if ((t1 & 3) === 0) | 5712 else if ((t1 & 3) === 0) |
5623 this._ensurePendingEvents$0().add$1(0, new P._DelayedData(value, null)); | 5713 this._ensurePendingEvents$0().add$1(0, new P._DelayedData(value, null)); |
5624 }, "call$1", "get$_async$_add", 2, 0, function() { | 5714 }, "call$1", "get$_async$_add", 2, 0, function() { |
5625 return H.computeSignature(function(T) { | 5715 return H.computeSignature(function(T) { |
5626 return {func: "void__T", void: true, args: [T]}; | 5716 return {func: "", void: true, args: [T]}; |
5627 }, this.$receiver, "_StreamController"); | 5717 }, this.$receiver, "_StreamController"); |
5628 }], | 5718 }], |
5629 _addError$2: [function(error, stackTrace) { | 5719 _addError$2: [function(error, stackTrace) { |
5630 var t1 = this._state; | 5720 var t1 = this._state; |
5631 if ((t1 & 1) !== 0) | 5721 if ((t1 & 1) !== 0) |
5632 this._sendError$2(error, stackTrace); | 5722 this._sendError$2(error, stackTrace); |
5633 else if ((t1 & 3) === 0) | 5723 else if ((t1 & 3) === 0) |
5634 this._ensurePendingEvents$0().add$1(0, new P._DelayedError(error, stackT
race, null)); | 5724 this._ensurePendingEvents$0().add$1(0, new P._DelayedError(error, stackT
race, null)); |
5635 }, "call$2", "get$_addError", 4, 0, 11], | 5725 }, "call$2", "get$_addError", 4, 0, 11], |
5636 _close$0: [function() { | 5726 _close$0: [function() { |
5637 var addState = this._varData; | 5727 var addState = this._varData; |
5638 this._varData = addState.get$varData(); | 5728 this._varData = addState.get$varData(); |
5639 this._state &= 4294967287; | 5729 this._state &= 4294967287; |
5640 addState.addStreamFuture._asyncComplete$1(null); | 5730 addState.addStreamFuture._asyncComplete$1(null); |
5641 }, "call$0", "get$_close", 0, 0, 1], | 5731 }, "call$0", "get$_close", 0, 0, 1], |
5642 _subscribe$4: function(onData, onError, onDone, cancelOnError) { | 5732 _subscribe$4: function(onData, onError, onDone, cancelOnError) { |
5643 var t1, t2, subscription, pendingEvents, addState; | 5733 var t1, subscription, pendingEvents, addState; |
5644 if ((this._state & 3) !== 0) | 5734 if ((this._state & 3) !== 0) |
5645 throw H.wrapException(P.StateError$("Stream has already been listened to
.")); | 5735 throw H.wrapException(P.StateError$("Stream has already been listened to
.")); |
5646 t1 = $.Zone__current; | 5736 t1 = $.Zone__current; |
5647 t2 = cancelOnError ? 1 : 0; | 5737 subscription = H.setRuntimeTypeInfo(new P._ControllerSubscription(this, nu
ll, null, null, t1, cancelOnError ? 1 : 0, null, null), [null]); |
5648 subscription = H.setRuntimeTypeInfo(new P._ControllerSubscription(this, nu
ll, null, null, t1, t2, null, null), [null]); | |
5649 subscription._BufferingStreamSubscription$4(onData, onError, onDone, cance
lOnError, null); | 5738 subscription._BufferingStreamSubscription$4(onData, onError, onDone, cance
lOnError, null); |
5650 pendingEvents = this.get$_pendingEvents(); | 5739 pendingEvents = this.get$_pendingEvents(); |
5651 t2 = this._state |= 1; | 5740 t1 = this._state |= 1; |
5652 if ((t2 & 8) !== 0) { | 5741 if ((t1 & 8) !== 0) { |
5653 addState = this._varData; | 5742 addState = this._varData; |
5654 addState.set$varData(subscription); | 5743 addState.set$varData(subscription); |
5655 addState.addSubscription.resume$0(); | 5744 addState.addSubscription.resume$0(); |
5656 } else | 5745 } else |
5657 this._varData = subscription; | 5746 this._varData = subscription; |
5658 subscription._setPendingEvents$1(pendingEvents); | 5747 subscription._setPendingEvents$1(pendingEvents); |
5659 subscription._guardCallback$1(new P._StreamController__subscribe_closure(t
his)); | 5748 subscription._guardCallback$1(new P._StreamController__subscribe_closure(t
his)); |
5660 return subscription; | 5749 return subscription; |
5661 }, | 5750 }, |
5662 _recordCancel$1: function(subscription) { | 5751 _recordCancel$1: function(subscription) { |
(...skipping 19 matching lines...) Expand all Loading... |
5682 result = result.whenComplete$1(this.get$_onCancel()); | 5771 result = result.whenComplete$1(this.get$_onCancel()); |
5683 t1 = new P._StreamController__recordCancel_complete(this); | 5772 t1 = new P._StreamController__recordCancel_complete(this); |
5684 if (result != null) | 5773 if (result != null) |
5685 result = result.whenComplete$1(t1); | 5774 result = result.whenComplete$1(t1); |
5686 else | 5775 else |
5687 t1.call$0(); | 5776 t1.call$0(); |
5688 return result; | 5777 return result; |
5689 } | 5778 } |
5690 }, | 5779 }, |
5691 _StreamController__subscribe_closure: { | 5780 _StreamController__subscribe_closure: { |
5692 "^": "Closure:0;this_0", | 5781 "^": "Closure:0;_async$_captured_this_0", |
5693 call$0: function() { | 5782 call$0: function() { |
5694 P._runGuarded(this.this_0.get$_onListen()); | 5783 P._runGuarded(this._async$_captured_this_0.get$_onListen()); |
5695 } | 5784 } |
5696 }, | 5785 }, |
5697 _StreamController__recordCancel_complete: { | 5786 _StreamController__recordCancel_complete: { |
5698 "^": "Closure:1;this_0", | 5787 "^": "Closure:1;_async$_captured_this_0", |
5699 call$0: function() { | 5788 call$0: function() { |
5700 var t1 = this.this_0._doneFuture; | 5789 var t1 = this._async$_captured_this_0._doneFuture; |
5701 if (t1 != null && t1._state === 0) | 5790 if (t1 != null && t1._state === 0) |
5702 t1._asyncComplete$1(null); | 5791 t1._asyncComplete$1(null); |
5703 } | 5792 } |
5704 }, | 5793 }, |
5705 _SyncStreamControllerDispatch: { | 5794 _SyncStreamControllerDispatch: { |
5706 "^": "Object;", | 5795 "^": "Object;", |
5707 _sendData$1: function(data) { | 5796 _sendData$1: function(data) { |
5708 this.get$_subscription()._async$_add$1(data); | 5797 this.get$_subscription()._async$_add$1(data); |
5709 }, | 5798 }, |
5710 _sendError$2: function(error, stackTrace) { | 5799 _sendError$2: function(error, stackTrace) { |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5835 cancel$0: function() { | 5924 cancel$0: function() { |
5836 var cancel = this.addSubscription.cancel$0(); | 5925 var cancel = this.addSubscription.cancel$0(); |
5837 if (cancel == null) { | 5926 if (cancel == null) { |
5838 this.addStreamFuture._asyncComplete$1(null); | 5927 this.addStreamFuture._asyncComplete$1(null); |
5839 return; | 5928 return; |
5840 } | 5929 } |
5841 return cancel.whenComplete$1(new P._AddStreamState_cancel_closure(this)); | 5930 return cancel.whenComplete$1(new P._AddStreamState_cancel_closure(this)); |
5842 } | 5931 } |
5843 }, | 5932 }, |
5844 _AddStreamState_makeErrorHandler_closure: { | 5933 _AddStreamState_makeErrorHandler_closure: { |
5845 "^": "Closure:12;controller_0", | 5934 "^": "Closure:12;_captured_controller_0", |
5846 call$2: function(e, s) { | 5935 call$2: function(e, s) { |
5847 var t1 = this.controller_0; | 5936 var t1 = this._captured_controller_0; |
5848 t1._addError$2(e, s); | 5937 t1._addError$2(e, s); |
5849 t1._close$0(); | 5938 t1._close$0(); |
5850 } | 5939 } |
5851 }, | 5940 }, |
5852 _AddStreamState_cancel_closure: { | 5941 _AddStreamState_cancel_closure: { |
5853 "^": "Closure:0;this_0", | 5942 "^": "Closure:0;_async$_captured_this_0", |
5854 call$0: function() { | 5943 call$0: function() { |
5855 this.this_0.addStreamFuture._asyncComplete$1(null); | 5944 this._async$_captured_this_0.addStreamFuture._asyncComplete$1(null); |
5856 } | 5945 } |
5857 }, | 5946 }, |
5858 _StreamControllerAddStreamState: { | 5947 _StreamControllerAddStreamState: { |
5859 "^": "_AddStreamState;varData@,addStreamFuture,addSubscription" | 5948 "^": "_AddStreamState;varData@,addStreamFuture,addSubscription" |
5860 }, | 5949 }, |
5861 _EventSink: { | 5950 _EventSink: { |
5862 "^": "Object;" | 5951 "^": "Object;" |
5863 }, | 5952 }, |
5864 _BufferingStreamSubscription: { | 5953 _BufferingStreamSubscription: { |
5865 "^": "Object;_onData,_onError,_onDone,_zone<,_state,_cancelFuture,_pending", | 5954 "^": "Object;_onData,_onError,_onDone,_zone<,_state?,_cancelFuture,_pending"
, |
5866 _setPendingEvents$1: function(pendingEvents) { | 5955 _setPendingEvents$1: function(pendingEvents) { |
5867 if (pendingEvents == null) | 5956 if (pendingEvents == null) |
5868 return; | 5957 return; |
5869 this._pending = pendingEvents; | 5958 this._pending = pendingEvents; |
5870 if (!pendingEvents.get$isEmpty(pendingEvents)) { | 5959 if (!pendingEvents.get$isEmpty(pendingEvents)) { |
5871 this._state = (this._state | 64) >>> 0; | 5960 this._state = (this._state | 64) >>> 0; |
5872 this._pending.schedule$1(this); | 5961 this._pending.schedule$1(this); |
5873 } | 5962 } |
5874 }, | 5963 }, |
5875 pause$1: function(_, resumeSignal) { | 5964 pause$1: function(_, resumeSignal) { |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6064 if ((t1 & 64) !== 0 && t1 < 128) | 6153 if ((t1 & 64) !== 0 && t1 < 128) |
6065 this._pending.schedule$1(this); | 6154 this._pending.schedule$1(this); |
6066 }, | 6155 }, |
6067 _BufferingStreamSubscription$4: function(onData, onError, onDone, cancelOnEr
ror, $T) { | 6156 _BufferingStreamSubscription$4: function(onData, onError, onDone, cancelOnEr
ror, $T) { |
6068 var t1 = this._zone; | 6157 var t1 = this._zone; |
6069 this._onData = t1.registerUnaryCallback$1(onData); | 6158 this._onData = t1.registerUnaryCallback$1(onData); |
6070 this._onError = P._registerErrorHandler(onError == null ? P._nullErrorHand
ler$closure() : onError, t1); | 6159 this._onError = P._registerErrorHandler(onError == null ? P._nullErrorHand
ler$closure() : onError, t1); |
6071 this._onDone = t1.registerCallback$1(onDone == null ? P._nullDoneHandler$c
losure() : onDone); | 6160 this._onDone = t1.registerCallback$1(onDone == null ? P._nullDoneHandler$c
losure() : onDone); |
6072 }, | 6161 }, |
6073 static: {_BufferingStreamSubscription$: function(onData, onError, onDone, ca
ncelOnError, $T) { | 6162 static: {_BufferingStreamSubscription$: function(onData, onError, onDone, ca
ncelOnError, $T) { |
6074 var t1, t2; | 6163 var t1 = $.Zone__current; |
6075 t1 = $.Zone__current; | 6164 t1 = H.setRuntimeTypeInfo(new P._BufferingStreamSubscription(null, null,
null, t1, cancelOnError ? 1 : 0, null, null), [$T]); |
6076 t2 = cancelOnError ? 1 : 0; | 6165 t1._BufferingStreamSubscription$4(onData, onError, onDone, cancelOnError
, $T); |
6077 t2 = H.setRuntimeTypeInfo(new P._BufferingStreamSubscription(null, null,
null, t1, t2, null, null), [$T]); | 6166 return t1; |
6078 t2._BufferingStreamSubscription$4(onData, onError, onDone, cancelOnError
, $T); | |
6079 return t2; | |
6080 }} | 6167 }} |
6081 }, | 6168 }, |
6082 _BufferingStreamSubscription__sendError_sendError: { | 6169 _BufferingStreamSubscription__sendError_sendError: { |
6083 "^": "Closure:1;this_0,error_1,stackTrace_2", | 6170 "^": "Closure:1;_async$_captured_this_0,_captured_error_1,_captured_stackTra
ce_2", |
6084 call$0: function() { | 6171 call$0: function() { |
6085 var t1, t2, t3, t4, t5, t6; | 6172 var t1, t2, t3, t4, t5, t6; |
6086 t1 = this.this_0; | 6173 t1 = this._async$_captured_this_0; |
6087 t2 = t1._state; | 6174 t2 = t1._state; |
6088 if ((t2 & 8) !== 0 && (t2 & 16) === 0) | 6175 if ((t2 & 8) !== 0 && (t2 & 16) === 0) |
6089 return; | 6176 return; |
6090 t1._state = (t2 | 32) >>> 0; | 6177 t1._state = (t2 | 32) >>> 0; |
6091 t2 = t1._onError; | 6178 t2 = t1._onError; |
6092 t3 = H.getDynamicRuntimeType(); | 6179 t3 = H.getDynamicRuntimeType(); |
6093 t3 = H.buildFunctionType(t3, [t3, t3])._isTest$1(t2); | 6180 t3 = H.buildFunctionType(t3, [t3, t3])._isTest$1(t2); |
6094 t4 = t1._zone; | 6181 t4 = t1._zone; |
6095 t5 = this.error_1; | 6182 t5 = this._captured_error_1; |
6096 t6 = t1._onError; | 6183 t6 = t1._onError; |
6097 if (t3) | 6184 if (t3) |
6098 t4.runBinaryGuarded$3(t6, t5, this.stackTrace_2); | 6185 t4.runBinaryGuarded$3(t6, t5, this._captured_stackTrace_2); |
6099 else | 6186 else |
6100 t4.runUnaryGuarded$2(t6, t5); | 6187 t4.runUnaryGuarded$2(t6, t5); |
6101 t1._state = (t1._state & 4294967263) >>> 0; | 6188 t1._state = (t1._state & 4294967263) >>> 0; |
6102 } | 6189 } |
6103 }, | 6190 }, |
6104 _BufferingStreamSubscription__sendDone_sendDone: { | 6191 _BufferingStreamSubscription__sendDone_sendDone: { |
6105 "^": "Closure:1;this_0", | 6192 "^": "Closure:1;_async$_captured_this_0", |
6106 call$0: function() { | 6193 call$0: function() { |
6107 var t1, t2; | 6194 var t1, t2; |
6108 t1 = this.this_0; | 6195 t1 = this._async$_captured_this_0; |
6109 t2 = t1._state; | 6196 t2 = t1._state; |
6110 if ((t2 & 16) === 0) | 6197 if ((t2 & 16) === 0) |
6111 return; | 6198 return; |
6112 t1._state = (t2 | 42) >>> 0; | 6199 t1._state = (t2 | 42) >>> 0; |
6113 t1._zone.runGuarded$1(t1._onDone); | 6200 t1._zone.runGuarded$1(t1._onDone); |
6114 t1._state = (t1._state & 4294967263) >>> 0; | 6201 t1._state = (t1._state & 4294967263) >>> 0; |
6115 } | 6202 } |
6116 }, | 6203 }, |
6117 _StreamImpl: { | 6204 _StreamImpl: { |
6118 "^": "Stream;", | 6205 "^": "Stream;", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6156 dispatch._sendDone$0(); | 6243 dispatch._sendDone$0(); |
6157 }, | 6244 }, |
6158 get$next: function() { | 6245 get$next: function() { |
6159 return; | 6246 return; |
6160 }, | 6247 }, |
6161 set$next: function(_) { | 6248 set$next: function(_) { |
6162 throw H.wrapException(P.StateError$("No events after a done.")); | 6249 throw H.wrapException(P.StateError$("No events after a done.")); |
6163 } | 6250 } |
6164 }, | 6251 }, |
6165 _PendingEvents: { | 6252 _PendingEvents: { |
6166 "^": "Object;", | 6253 "^": "Object;_state?", |
6167 schedule$1: function(dispatch) { | 6254 schedule$1: function(dispatch) { |
6168 var t1 = this._state; | 6255 var t1 = this._state; |
6169 if (t1 === 1) | 6256 if (t1 === 1) |
6170 return; | 6257 return; |
6171 if (t1 >= 1) { | 6258 if (t1 >= 1) { |
6172 this._state = 1; | 6259 this._state = 1; |
6173 return; | 6260 return; |
6174 } | 6261 } |
6175 P.scheduleMicrotask(new P._PendingEvents_schedule_closure(this, dispatch))
; | 6262 P.scheduleMicrotask(new P._PendingEvents_schedule_closure(this, dispatch))
; |
6176 this._state = 1; | 6263 this._state = 1; |
6177 }, | 6264 }, |
6178 cancelSchedule$0: function() { | 6265 cancelSchedule$0: function() { |
6179 if (this._state === 1) | 6266 if (this._state === 1) |
6180 this._state = 3; | 6267 this._state = 3; |
6181 } | 6268 } |
6182 }, | 6269 }, |
6183 _PendingEvents_schedule_closure: { | 6270 _PendingEvents_schedule_closure: { |
6184 "^": "Closure:0;this_0,dispatch_1", | 6271 "^": "Closure:0;_async$_captured_this_0,_captured_dispatch_1", |
6185 call$0: function() { | 6272 call$0: function() { |
6186 var t1, oldState; | 6273 var t1, oldState; |
6187 t1 = this.this_0; | 6274 t1 = this._async$_captured_this_0; |
6188 oldState = t1._state; | 6275 oldState = t1._state; |
6189 t1._state = 0; | 6276 t1._state = 0; |
6190 if (oldState === 3) | 6277 if (oldState === 3) |
6191 return; | 6278 return; |
6192 t1.handleNext$1(this.dispatch_1); | 6279 t1.handleNext$1(this._captured_dispatch_1); |
6193 } | 6280 } |
6194 }, | 6281 }, |
6195 _StreamImplEvents: { | 6282 _StreamImplEvents: { |
6196 "^": "_PendingEvents;firstPendingEvent,lastPendingEvent,_state", | 6283 "^": "_PendingEvents;firstPendingEvent,lastPendingEvent,_state", |
6197 get$isEmpty: function(_) { | 6284 get$isEmpty: function(_) { |
6198 return this.lastPendingEvent == null; | 6285 return this.lastPendingEvent == null; |
6199 }, | 6286 }, |
6200 add$1: function(_, $event) { | 6287 add$1: function(_, $event) { |
6201 var t1 = this.lastPendingEvent; | 6288 var t1 = this.lastPendingEvent; |
6202 if (t1 == null) { | 6289 if (t1 == null) { |
6203 this.lastPendingEvent = $event; | 6290 this.lastPendingEvent = $event; |
6204 this.firstPendingEvent = $event; | 6291 this.firstPendingEvent = $event; |
6205 } else { | 6292 } else { |
6206 t1.set$next($event); | 6293 t1.set$next($event); |
6207 this.lastPendingEvent = $event; | 6294 this.lastPendingEvent = $event; |
6208 } | 6295 } |
6209 }, | 6296 }, |
6210 handleNext$1: function(dispatch) { | 6297 handleNext$1: function(dispatch) { |
6211 var $event, t1; | 6298 var $event, t1; |
6212 $event = this.firstPendingEvent; | 6299 $event = this.firstPendingEvent; |
6213 t1 = $event.get$next(); | 6300 t1 = $event.get$next(); |
6214 this.firstPendingEvent = t1; | 6301 this.firstPendingEvent = t1; |
6215 if (t1 == null) | 6302 if (t1 == null) |
6216 this.lastPendingEvent = null; | 6303 this.lastPendingEvent = null; |
6217 $event.perform$1(dispatch); | 6304 $event.perform$1(dispatch); |
6218 } | 6305 } |
6219 }, | 6306 }, |
6220 _cancelAndError_closure: { | 6307 _cancelAndError_closure: { |
6221 "^": "Closure:0;future_0,error_1,stackTrace_2", | 6308 "^": "Closure:0;_captured_future_0,_captured_error_1,_captured_stackTrace_2"
, |
6222 call$0: function() { | 6309 call$0: function() { |
6223 return this.future_0._completeError$2(this.error_1, this.stackTrace_2); | 6310 return this._captured_future_0._completeError$2(this._captured_error_1, th
is._captured_stackTrace_2); |
6224 } | 6311 } |
6225 }, | 6312 }, |
6226 _cancelAndErrorClosure_closure: { | 6313 _cancelAndErrorClosure_closure: { |
6227 "^": "Closure:12;subscription_0,future_1", | 6314 "^": "Closure:12;_captured_subscription_0,_captured_future_1", |
6228 call$2: function(error, stackTrace) { | 6315 call$2: function(error, stackTrace) { |
6229 return P._cancelAndError(this.subscription_0, this.future_1, error, stackT
race); | 6316 return P._cancelAndError(this._captured_subscription_0, this._captured_fut
ure_1, error, stackTrace); |
6230 } | 6317 } |
6231 }, | 6318 }, |
6232 _cancelAndValue_closure: { | 6319 _cancelAndValue_closure: { |
6233 "^": "Closure:0;future_0,value_1", | 6320 "^": "Closure:0;_captured_future_0,_captured_value_1", |
6234 call$0: function() { | 6321 call$0: function() { |
6235 return this.future_0._complete$1(this.value_1); | 6322 return this._captured_future_0._complete$1(this._captured_value_1); |
6236 } | 6323 } |
6237 }, | 6324 }, |
6238 _ForwardingStream: { | 6325 _ForwardingStream: { |
6239 "^": "Stream;", | 6326 "^": "Stream;", |
6240 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDon
e, onError) { | 6327 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDon
e, onError) { |
6241 return this._createSubscription$4(onData, onError, onDone, true === cancel
OnError); | 6328 return this._createSubscription$4(onData, onError, onDone, true === cancel
OnError); |
6242 }, | 6329 }, |
6243 listen$3$onDone$onError: function(onData, onDone, onError) { | 6330 listen$3$onDone$onError: function(onData, onDone, onError) { |
6244 return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, on
Error); | 6331 return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, on
Error); |
6245 }, | 6332 }, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6282 if (t1 != null) { | 6369 if (t1 != null) { |
6283 this._subscription = null; | 6370 this._subscription = null; |
6284 t1.cancel$0(); | 6371 t1.cancel$0(); |
6285 } | 6372 } |
6286 return; | 6373 return; |
6287 }, | 6374 }, |
6288 _handleData$1: [function(data) { | 6375 _handleData$1: [function(data) { |
6289 this._stream._handleData$2(data, this); | 6376 this._stream._handleData$2(data, this); |
6290 }, "call$1", "get$_handleData", 2, 0, function() { | 6377 }, "call$1", "get$_handleData", 2, 0, function() { |
6291 return H.computeSignature(function(S, T) { | 6378 return H.computeSignature(function(S, T) { |
6292 return {func: "void__S", void: true, args: [S]}; | 6379 return {func: "", void: true, args: [S]}; |
6293 }, this.$receiver, "_ForwardingStreamSubscription"); | 6380 }, this.$receiver, "_ForwardingStreamSubscription"); |
6294 }], | 6381 }], |
6295 _handleError$2: [function(error, stackTrace) { | 6382 _handleError$2: [function(error, stackTrace) { |
6296 this._addError$2(error, stackTrace); | 6383 this._addError$2(error, stackTrace); |
6297 }, "call$2", "get$_handleError", 4, 0, 13], | 6384 }, "call$2", "get$_handleError", 4, 0, 13], |
6298 _handleDone$0: [function() { | 6385 _handleDone$0: [function() { |
6299 this._close$0(); | 6386 this._close$0(); |
6300 }, "call$0", "get$_handleDone", 0, 0, 1], | 6387 }, "call$0", "get$_handleDone", 0, 0, 1], |
6301 _ForwardingStreamSubscription$5: function(_stream, onData, onError, onDone,
cancelOnError, $S, $T) { | 6388 _ForwardingStreamSubscription$5: function(_stream, onData, onError, onDone,
cancelOnError, $S, $T) { |
6302 var t1, t2; | 6389 var t1, t2; |
6303 t1 = this.get$_handleData(); | 6390 t1 = this.get$_handleData(); |
6304 t2 = this.get$_handleError(); | 6391 t2 = this.get$_handleError(); |
6305 this._subscription = this._stream._async$_source.listen$3$onDone$onError(t
1, this.get$_handleDone(), t2); | 6392 this._subscription = this._stream._async$_source.listen$3$onDone$onError(t
1, this.get$_handleDone(), t2); |
6306 }, | 6393 }, |
6307 $as_BufferingStreamSubscription: function($S, $T) { | 6394 $as_BufferingStreamSubscription: function($S, $T) { |
6308 return [$T]; | 6395 return [$T]; |
6309 }, | 6396 }, |
6310 static: {_ForwardingStreamSubscription$: function(_stream, onData, onError,
onDone, cancelOnError, $S, $T) { | 6397 static: {_ForwardingStreamSubscription$: function(_stream, onData, onError,
onDone, cancelOnError, $S, $T) { |
6311 var t1, t2; | 6398 var t1 = $.Zone__current; |
6312 t1 = $.Zone__current; | 6399 t1 = H.setRuntimeTypeInfo(new P._ForwardingStreamSubscription(_stream, n
ull, null, null, null, t1, cancelOnError ? 1 : 0, null, null), [$S, $T]); |
6313 t2 = cancelOnError ? 1 : 0; | 6400 t1._BufferingStreamSubscription$4(onData, onError, onDone, cancelOnError
, $T); |
6314 t2 = H.setRuntimeTypeInfo(new P._ForwardingStreamSubscription(_stream, n
ull, null, null, null, t1, t2, null, null), [$S, $T]); | 6401 t1._ForwardingStreamSubscription$5(_stream, onData, onError, onDone, can
celOnError, $S, $T); |
6315 t2._BufferingStreamSubscription$4(onData, onError, onDone, cancelOnError
, $T); | 6402 return t1; |
6316 t2._ForwardingStreamSubscription$5(_stream, onData, onError, onDone, can
celOnError, $S, $T); | |
6317 return t2; | |
6318 }} | 6403 }} |
6319 }, | 6404 }, |
6320 _MapStream: { | 6405 _MapStream: { |
6321 "^": "_ForwardingStream;_transform,_async$_source", | 6406 "^": "_ForwardingStream;_transform,_async$_source", |
6322 _handleData$2: function(inputEvent, sink) { | 6407 _handleData$2: function(inputEvent, sink) { |
6323 var outputEvent, e, s, exception, t1; | 6408 var outputEvent, e, s, exception, t1; |
6324 outputEvent = null; | 6409 outputEvent = null; |
6325 try { | 6410 try { |
6326 outputEvent = this._transform$1(inputEvent); | 6411 outputEvent = this._transform$1(inputEvent); |
6327 } catch (exception) { | 6412 } catch (exception) { |
(...skipping 19 matching lines...) Expand all Loading... |
6347 }, | 6432 }, |
6348 $isError: 1 | 6433 $isError: 1 |
6349 }, | 6434 }, |
6350 _ZoneFunction: { | 6435 _ZoneFunction: { |
6351 "^": "Object;zone,$function" | 6436 "^": "Object;zone,$function" |
6352 }, | 6437 }, |
6353 ZoneSpecification: { | 6438 ZoneSpecification: { |
6354 "^": "Object;" | 6439 "^": "Object;" |
6355 }, | 6440 }, |
6356 _ZoneSpecification: { | 6441 _ZoneSpecification: { |
6357 "^": "Object;handleUncaughtError,run,runUnary,runBinary,registerCallback,reg
isterUnaryCallback,registerBinaryCallback,errorCallback,scheduleMicrotask,create
Timer,createPeriodicTimer,print,fork", | 6442 "^": "Object;handleUncaughtError<,run<,runUnary<,runBinary<,registerCallback
<,registerUnaryCallback<,registerBinaryCallback<,errorCallback<,scheduleMicrotas
k<,createTimer<,createPeriodicTimer<,print>,fork<", |
6358 handleUncaughtError$2: function(arg0, arg1) { | 6443 handleUncaughtError$2: function(arg0, arg1) { |
6359 return this.handleUncaughtError.call$2(arg0, arg1); | 6444 return this.handleUncaughtError.call$2(arg0, arg1); |
6360 }, | 6445 }, |
6361 handleUncaughtError$3: function(arg0, arg1, arg2) { | 6446 handleUncaughtError$3: function(arg0, arg1, arg2) { |
6362 return this.handleUncaughtError.call$3(arg0, arg1, arg2); | 6447 return this.handleUncaughtError.call$3(arg0, arg1, arg2); |
6363 }, | 6448 }, |
6364 run$1: function(arg0) { | 6449 run$1: function(arg0) { |
6365 return this.run.call$1(arg0); | 6450 return this.run.call$1(arg0); |
6366 }, | 6451 }, |
6367 runUnary$2: function(arg0, arg1) { | 6452 runUnary$2: function(arg0, arg1) { |
(...skipping 28 matching lines...) Expand all Loading... |
6396 } | 6481 } |
6397 }, | 6482 }, |
6398 ZoneDelegate: { | 6483 ZoneDelegate: { |
6399 "^": "Object;" | 6484 "^": "Object;" |
6400 }, | 6485 }, |
6401 Zone: { | 6486 Zone: { |
6402 "^": "Object;" | 6487 "^": "Object;" |
6403 }, | 6488 }, |
6404 _ZoneDelegate: { | 6489 _ZoneDelegate: { |
6405 "^": "Object;_delegationTarget", | 6490 "^": "Object;_delegationTarget", |
6406 handleUncaughtError$3: function(zone, error, stackTrace) { | 6491 handleUncaughtError$3: [function(zone, error, stackTrace) { |
6407 var implementation, implZone; | 6492 var implementation, implZone; |
6408 implementation = this._delegationTarget.get$_handleUncaughtError(); | 6493 implementation = this._delegationTarget.get$_handleUncaughtError(); |
6409 implZone = implementation.zone; | 6494 implZone = implementation.zone; |
6410 return implementation.$function.call$5(implZone, P._parentDelegate(implZon
e), zone, error, stackTrace); | 6495 return implementation.$function.call$5(implZone, P._parentDelegate(implZon
e), zone, error, stackTrace); |
6411 } | 6496 }, "call$3", "get$handleUncaughtError", 6, 0, 14], |
| 6497 run$2: [function(zone, f) { |
| 6498 var implementation, implZone; |
| 6499 implementation = this._delegationTarget.get$_run(); |
| 6500 implZone = implementation.zone; |
| 6501 return implementation.$function.call$4(implZone, P._parentDelegate(implZon
e), zone, f); |
| 6502 }, "call$2", "get$run", 4, 0, 15], |
| 6503 runUnary$3: [function(zone, f, arg) { |
| 6504 var implementation, implZone; |
| 6505 implementation = this._delegationTarget.get$_runUnary(); |
| 6506 implZone = implementation.zone; |
| 6507 return implementation.$function.call$5(implZone, P._parentDelegate(implZon
e), zone, f, arg); |
| 6508 }, "call$3", "get$runUnary", 6, 0, 16], |
| 6509 runBinary$4: [function(zone, f, arg1, arg2) { |
| 6510 var implementation, implZone; |
| 6511 implementation = this._delegationTarget.get$_runBinary(); |
| 6512 implZone = implementation.zone; |
| 6513 return implementation.$function.call$6(implZone, P._parentDelegate(implZon
e), zone, f, arg1, arg2); |
| 6514 }, "call$4", "get$runBinary", 8, 0, 17], |
| 6515 registerCallback$2: [function(zone, f) { |
| 6516 var implementation, implZone; |
| 6517 implementation = this._delegationTarget.get$_registerCallback(); |
| 6518 implZone = implementation.zone; |
| 6519 return implementation.$function.call$4(implZone, P._parentDelegate(implZon
e), zone, f); |
| 6520 }, "call$2", "get$registerCallback", 4, 0, 18], |
| 6521 registerUnaryCallback$2: [function(zone, f) { |
| 6522 var implementation, implZone; |
| 6523 implementation = this._delegationTarget.get$_registerUnaryCallback(); |
| 6524 implZone = implementation.zone; |
| 6525 return implementation.$function.call$4(implZone, P._parentDelegate(implZon
e), zone, f); |
| 6526 }, "call$2", "get$registerUnaryCallback", 4, 0, 19], |
| 6527 registerBinaryCallback$2: [function(zone, f) { |
| 6528 var implementation, implZone; |
| 6529 implementation = this._delegationTarget.get$_registerBinaryCallback(); |
| 6530 implZone = implementation.zone; |
| 6531 return implementation.$function.call$4(implZone, P._parentDelegate(implZon
e), zone, f); |
| 6532 }, "call$2", "get$registerBinaryCallback", 4, 0, 20], |
| 6533 errorCallback$3: [function(zone, error, stackTrace) { |
| 6534 var implementation, implZone; |
| 6535 implementation = this._delegationTarget.get$_errorCallback(); |
| 6536 implZone = implementation.zone; |
| 6537 if (implZone === C.C__RootZone) |
| 6538 return; |
| 6539 return implementation.$function.call$5(implZone, P._parentDelegate(implZon
e), zone, error, stackTrace); |
| 6540 }, "call$3", "get$errorCallback", 6, 0, 21], |
| 6541 scheduleMicrotask$2: [function(zone, f) { |
| 6542 var implementation, implZone; |
| 6543 implementation = this._delegationTarget.get$_scheduleMicrotask(); |
| 6544 implZone = implementation.zone; |
| 6545 implementation.$function.call$4(implZone, P._parentDelegate(implZone), zon
e, f); |
| 6546 }, "call$2", "get$scheduleMicrotask", 4, 0, 22], |
| 6547 createTimer$3: [function(zone, duration, f) { |
| 6548 var implementation, implZone; |
| 6549 implementation = this._delegationTarget.get$_createTimer(); |
| 6550 implZone = implementation.zone; |
| 6551 return implementation.$function.call$5(implZone, P._parentDelegate(implZon
e), zone, duration, f); |
| 6552 }, "call$3", "get$createTimer", 6, 0, 23], |
| 6553 createPeriodicTimer$3: [function(zone, period, f) { |
| 6554 var implementation, implZone; |
| 6555 implementation = this._delegationTarget.get$_createPeriodicTimer(); |
| 6556 implZone = implementation.zone; |
| 6557 return implementation.$function.call$5(implZone, P._parentDelegate(implZon
e), zone, period, f); |
| 6558 }, "call$3", "get$createPeriodicTimer", 6, 0, 24], |
| 6559 print$2: [function(_, zone, line) { |
| 6560 var implementation, implZone; |
| 6561 implementation = this._delegationTarget.get$_print(); |
| 6562 implZone = implementation.zone; |
| 6563 implementation.$function.call$4(implZone, P._parentDelegate(implZone), zon
e, line); |
| 6564 }, "call$2", "get$print", 4, 0, 25], |
| 6565 fork$3: [function(zone, specification, zoneValues) { |
| 6566 var implementation, implZone; |
| 6567 implementation = this._delegationTarget.get$_fork(); |
| 6568 implZone = implementation.zone; |
| 6569 return implementation.$function.call$5(implZone, P._parentDelegate(implZon
e), zone, specification, zoneValues); |
| 6570 }, "call$3", "get$fork", 6, 0, 26] |
6412 }, | 6571 }, |
6413 _Zone: { | 6572 _Zone: { |
6414 "^": "Object;", | 6573 "^": "Object;", |
6415 inSameErrorZone$1: function(otherZone) { | 6574 inSameErrorZone$1: function(otherZone) { |
6416 return this === otherZone || this.get$errorZone() === otherZone.get$errorZ
one(); | 6575 return this === otherZone || this.get$errorZone() === otherZone.get$errorZ
one(); |
6417 } | 6576 } |
6418 }, | 6577 }, |
6419 _CustomZone: { | 6578 _CustomZone: { |
6420 "^": "_Zone;_runUnary<,_run<,_runBinary<,_registerCallback<,_registerUnaryCa
llback<,_registerBinaryCallback<,_errorCallback<,_scheduleMicrotask<,_createTime
r<,_createPeriodicTimer<,_print<,_fork<,_handleUncaughtError<,_delegateCache,par
ent>,_map<", | 6579 "^": "_Zone;_runUnary<,_run<,_runBinary<,_registerCallback<,_registerUnaryCa
llback<,_registerBinaryCallback<,_errorCallback<,_scheduleMicrotask<,_createTime
r<,_createPeriodicTimer<,_print<,_fork<,_handleUncaughtError<,_delegateCache,par
ent>,_map<", |
6421 get$_delegate: function() { | 6580 get$_delegate: function() { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6493 return result; | 6652 return result; |
6494 t2 = this.parent; | 6653 t2 = this.parent; |
6495 if (t2 != null) { | 6654 if (t2 != null) { |
6496 value = J.$index$asx(t2, key); | 6655 value = J.$index$asx(t2, key); |
6497 if (value != null) | 6656 if (value != null) |
6498 t1.$indexSet(0, key, value); | 6657 t1.$indexSet(0, key, value); |
6499 return value; | 6658 return value; |
6500 } | 6659 } |
6501 return; | 6660 return; |
6502 }, | 6661 }, |
6503 handleUncaughtError$2: function(error, stackTrace) { | 6662 handleUncaughtError$2: [function(error, stackTrace) { |
6504 var implementation, t1, parentDelegate; | 6663 var implementation, t1, parentDelegate; |
6505 implementation = this._handleUncaughtError; | 6664 implementation = this._handleUncaughtError; |
6506 t1 = implementation.zone; | 6665 t1 = implementation.zone; |
6507 parentDelegate = P._parentDelegate(t1); | 6666 parentDelegate = P._parentDelegate(t1); |
6508 return implementation.$function.call$5(t1, parentDelegate, this, error, st
ackTrace); | 6667 return implementation.$function.call$5(t1, parentDelegate, this, error, st
ackTrace); |
6509 }, | 6668 }, "call$2", "get$handleUncaughtError", 4, 0, 12], |
6510 fork$2$specification$zoneValues: function(specification, zoneValues) { | 6669 fork$2$specification$zoneValues: [function(specification, zoneValues) { |
6511 var implementation, t1, parentDelegate; | 6670 var implementation, t1, parentDelegate; |
6512 implementation = this._fork; | 6671 implementation = this._fork; |
6513 t1 = implementation.zone; | 6672 t1 = implementation.zone; |
6514 parentDelegate = P._parentDelegate(t1); | 6673 parentDelegate = P._parentDelegate(t1); |
6515 return implementation.$function.call$5(t1, parentDelegate, this, specifica
tion, zoneValues); | 6674 return implementation.$function.call$5(t1, parentDelegate, this, specifica
tion, zoneValues); |
6516 }, | 6675 }, function() { |
6517 run$1: function(f) { | 6676 return this.fork$2$specification$zoneValues(null, null); |
| 6677 }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5,
27, 0, 0], |
| 6678 run$1: [function(f) { |
6518 var implementation, t1, parentDelegate; | 6679 var implementation, t1, parentDelegate; |
6519 implementation = this._run; | 6680 implementation = this._run; |
6520 t1 = implementation.zone; | 6681 t1 = implementation.zone; |
6521 parentDelegate = P._parentDelegate(t1); | 6682 parentDelegate = P._parentDelegate(t1); |
6522 return implementation.$function.call$4(t1, parentDelegate, this, f); | 6683 return implementation.$function.call$4(t1, parentDelegate, this, f); |
6523 }, | 6684 }, "call$1", "get$run", 2, 0, 28], |
6524 runUnary$2: function(f, arg) { | 6685 runUnary$2: [function(f, arg) { |
6525 var implementation, t1, parentDelegate; | 6686 var implementation, t1, parentDelegate; |
6526 implementation = this._runUnary; | 6687 implementation = this._runUnary; |
6527 t1 = implementation.zone; | 6688 t1 = implementation.zone; |
6528 parentDelegate = P._parentDelegate(t1); | 6689 parentDelegate = P._parentDelegate(t1); |
6529 return implementation.$function.call$5(t1, parentDelegate, this, f, arg); | 6690 return implementation.$function.call$5(t1, parentDelegate, this, f, arg); |
6530 }, | 6691 }, "call$2", "get$runUnary", 4, 0, 29], |
6531 runBinary$3: function(f, arg1, arg2) { | 6692 runBinary$3: [function(f, arg1, arg2) { |
6532 var implementation, t1, parentDelegate; | 6693 var implementation, t1, parentDelegate; |
6533 implementation = this._runBinary; | 6694 implementation = this._runBinary; |
6534 t1 = implementation.zone; | 6695 t1 = implementation.zone; |
6535 parentDelegate = P._parentDelegate(t1); | 6696 parentDelegate = P._parentDelegate(t1); |
6536 return implementation.$function.call$6(t1, parentDelegate, this, f, arg1,
arg2); | 6697 return implementation.$function.call$6(t1, parentDelegate, this, f, arg1,
arg2); |
6537 }, | 6698 }, "call$3", "get$runBinary", 6, 0, 30], |
6538 registerCallback$1: function(f) { | 6699 registerCallback$1: [function(f) { |
6539 var implementation, t1, parentDelegate; | 6700 var implementation, t1, parentDelegate; |
6540 implementation = this._registerCallback; | 6701 implementation = this._registerCallback; |
6541 t1 = implementation.zone; | 6702 t1 = implementation.zone; |
6542 parentDelegate = P._parentDelegate(t1); | 6703 parentDelegate = P._parentDelegate(t1); |
6543 return implementation.$function.call$4(t1, parentDelegate, this, f); | 6704 return implementation.$function.call$4(t1, parentDelegate, this, f); |
6544 }, | 6705 }, "call$1", "get$registerCallback", 2, 0, 31], |
6545 registerUnaryCallback$1: function(f) { | 6706 registerUnaryCallback$1: [function(f) { |
6546 var implementation, t1, parentDelegate; | 6707 var implementation, t1, parentDelegate; |
6547 implementation = this._registerUnaryCallback; | 6708 implementation = this._registerUnaryCallback; |
6548 t1 = implementation.zone; | 6709 t1 = implementation.zone; |
6549 parentDelegate = P._parentDelegate(t1); | 6710 parentDelegate = P._parentDelegate(t1); |
6550 return implementation.$function.call$4(t1, parentDelegate, this, f); | 6711 return implementation.$function.call$4(t1, parentDelegate, this, f); |
6551 }, | 6712 }, "call$1", "get$registerUnaryCallback", 2, 0, 32], |
6552 registerBinaryCallback$1: function(f) { | 6713 registerBinaryCallback$1: [function(f) { |
6553 var implementation, t1, parentDelegate; | 6714 var implementation, t1, parentDelegate; |
6554 implementation = this._registerBinaryCallback; | 6715 implementation = this._registerBinaryCallback; |
6555 t1 = implementation.zone; | 6716 t1 = implementation.zone; |
6556 parentDelegate = P._parentDelegate(t1); | 6717 parentDelegate = P._parentDelegate(t1); |
6557 return implementation.$function.call$4(t1, parentDelegate, this, f); | 6718 return implementation.$function.call$4(t1, parentDelegate, this, f); |
6558 }, | 6719 }, "call$1", "get$registerBinaryCallback", 2, 0, 33], |
6559 errorCallback$2: function(error, stackTrace) { | 6720 errorCallback$2: [function(error, stackTrace) { |
6560 var implementation, implementationZone, parentDelegate; | 6721 var implementation, implementationZone, parentDelegate; |
6561 implementation = this._errorCallback; | 6722 implementation = this._errorCallback; |
6562 implementationZone = implementation.zone; | 6723 implementationZone = implementation.zone; |
6563 if (implementationZone === C.C__RootZone) | 6724 if (implementationZone === C.C__RootZone) |
6564 return; | 6725 return; |
6565 parentDelegate = P._parentDelegate(implementationZone); | 6726 parentDelegate = P._parentDelegate(implementationZone); |
6566 return implementation.$function.call$5(implementationZone, parentDelegate,
this, error, stackTrace); | 6727 return implementation.$function.call$5(implementationZone, parentDelegate,
this, error, stackTrace); |
6567 }, | 6728 }, "call$2", "get$errorCallback", 4, 0, 34], |
6568 scheduleMicrotask$1: function(f) { | 6729 scheduleMicrotask$1: [function(f) { |
6569 var implementation, t1, parentDelegate; | 6730 var implementation, t1, parentDelegate; |
6570 implementation = this._scheduleMicrotask; | 6731 implementation = this._scheduleMicrotask; |
6571 t1 = implementation.zone; | 6732 t1 = implementation.zone; |
6572 parentDelegate = P._parentDelegate(t1); | 6733 parentDelegate = P._parentDelegate(t1); |
6573 return implementation.$function.call$4(t1, parentDelegate, this, f); | 6734 return implementation.$function.call$4(t1, parentDelegate, this, f); |
6574 }, | 6735 }, "call$1", "get$scheduleMicrotask", 2, 0, 35], |
6575 createTimer$2: function(duration, f) { | 6736 createTimer$2: [function(duration, f) { |
6576 var implementation, t1, parentDelegate; | 6737 var implementation, t1, parentDelegate; |
6577 implementation = this._createTimer; | 6738 implementation = this._createTimer; |
6578 t1 = implementation.zone; | 6739 t1 = implementation.zone; |
6579 parentDelegate = P._parentDelegate(t1); | 6740 parentDelegate = P._parentDelegate(t1); |
6580 return implementation.$function.call$5(t1, parentDelegate, this, duration,
f); | 6741 return implementation.$function.call$5(t1, parentDelegate, this, duration,
f); |
6581 }, | 6742 }, "call$2", "get$createTimer", 4, 0, 36], |
6582 print$1: function(_, line) { | 6743 createPeriodicTimer$2: [function(duration, f) { |
| 6744 var implementation, t1, parentDelegate; |
| 6745 implementation = this._createPeriodicTimer; |
| 6746 t1 = implementation.zone; |
| 6747 parentDelegate = P._parentDelegate(t1); |
| 6748 return implementation.$function.call$5(t1, parentDelegate, this, duration,
f); |
| 6749 }, "call$2", "get$createPeriodicTimer", 4, 0, 37], |
| 6750 print$1: [function(_, line) { |
6583 var implementation, t1, parentDelegate; | 6751 var implementation, t1, parentDelegate; |
6584 implementation = this._print; | 6752 implementation = this._print; |
6585 t1 = implementation.zone; | 6753 t1 = implementation.zone; |
6586 parentDelegate = P._parentDelegate(t1); | 6754 parentDelegate = P._parentDelegate(t1); |
6587 return implementation.$function.call$4(t1, parentDelegate, this, line); | 6755 return implementation.$function.call$4(t1, parentDelegate, this, line); |
6588 }, | 6756 }, "call$1", "get$print", 2, 0, 38] |
6589 _CustomZone$3: function($parent, specification, _map) { | |
6590 var t1; | |
6591 this._run = this.parent.get$_run(); | |
6592 this._runUnary = this.parent.get$_runUnary(); | |
6593 this._runBinary = this.parent.get$_runBinary(); | |
6594 this._registerCallback = this.parent.get$_registerCallback(); | |
6595 this._registerUnaryCallback = this.parent.get$_registerUnaryCallback(); | |
6596 this._registerBinaryCallback = this.parent.get$_registerBinaryCallback(); | |
6597 this._errorCallback = this.parent.get$_errorCallback(); | |
6598 this._scheduleMicrotask = this.parent.get$_scheduleMicrotask(); | |
6599 this._createTimer = this.parent.get$_createTimer(); | |
6600 this._createPeriodicTimer = this.parent.get$_createPeriodicTimer(); | |
6601 this._print = this.parent.get$_print(); | |
6602 this._fork = this.parent.get$_fork(); | |
6603 t1 = specification.handleUncaughtError; | |
6604 this._handleUncaughtError = t1 != null ? new P._ZoneFunction(this, t1) : t
his.parent.get$_handleUncaughtError(); | |
6605 } | |
6606 }, | 6757 }, |
6607 _CustomZone_bindCallback_closure: { | 6758 _CustomZone_bindCallback_closure: { |
6608 "^": "Closure:0;this_0,registered_1", | 6759 "^": "Closure:0;_async$_captured_this_0,_captured_registered_1", |
6609 call$0: function() { | 6760 call$0: function() { |
6610 return this.this_0.runGuarded$1(this.registered_1); | 6761 return this._async$_captured_this_0.runGuarded$1(this._captured_registered
_1); |
6611 } | 6762 } |
6612 }, | 6763 }, |
6613 _CustomZone_bindCallback_closure0: { | 6764 _CustomZone_bindCallback_closure0: { |
6614 "^": "Closure:0;this_2,registered_3", | 6765 "^": "Closure:0;_async$_captured_this_2,_captured_registered_3", |
6615 call$0: function() { | 6766 call$0: function() { |
6616 return this.this_2.run$1(this.registered_3); | 6767 return this._async$_captured_this_2.run$1(this._captured_registered_3); |
6617 } | 6768 } |
6618 }, | 6769 }, |
6619 _CustomZone_bindUnaryCallback_closure: { | 6770 _CustomZone_bindUnaryCallback_closure: { |
6620 "^": "Closure:2;this_0,registered_1", | 6771 "^": "Closure:2;_async$_captured_this_0,_captured_registered_1", |
6621 call$1: function(arg) { | 6772 call$1: function(arg) { |
6622 return this.this_0.runUnaryGuarded$2(this.registered_1, arg); | 6773 return this._async$_captured_this_0.runUnaryGuarded$2(this._captured_regis
tered_1, arg); |
6623 } | 6774 } |
6624 }, | 6775 }, |
6625 _CustomZone_bindUnaryCallback_closure0: { | 6776 _CustomZone_bindUnaryCallback_closure0: { |
6626 "^": "Closure:2;this_2,registered_3", | 6777 "^": "Closure:2;_async$_captured_this_2,_captured_registered_3", |
6627 call$1: function(arg) { | 6778 call$1: function(arg) { |
6628 return this.this_2.runUnary$2(this.registered_3, arg); | 6779 return this._async$_captured_this_2.runUnary$2(this._captured_registered_3
, arg); |
6629 } | 6780 } |
6630 }, | 6781 }, |
6631 _rootHandleUncaughtError_closure: { | 6782 _rootHandleUncaughtError_closure: { |
6632 "^": "Closure:0;error_0,stackTrace_1", | 6783 "^": "Closure:0;_async$_captured_error_0,_captured_stackTrace_1", |
6633 call$0: function() { | 6784 call$0: function() { |
6634 var t1 = this.error_0; | 6785 var t1 = this._async$_captured_error_0; |
6635 throw H.wrapException(new P._UncaughtAsyncError(t1, P._UncaughtAsyncError_
_getBestStackTrace(t1, this.stackTrace_1))); | 6786 throw H.wrapException(new P._UncaughtAsyncError(t1, P._UncaughtAsyncError_
_getBestStackTrace(t1, this._captured_stackTrace_1))); |
6636 } | 6787 } |
6637 }, | 6788 }, |
6638 _RootZone: { | 6789 _RootZone: { |
6639 "^": "_Zone;", | 6790 "^": "_Zone;", |
6640 get$_run: function() { | 6791 get$_run: function() { |
6641 return C._ZoneFunction__RootZone__rootRun; | 6792 return C._ZoneFunction__RootZone__rootRun; |
6642 }, | 6793 }, |
6643 get$_runUnary: function() { | 6794 get$_runUnary: function() { |
6644 return C._ZoneFunction__RootZone__rootRunUnary; | 6795 return C._ZoneFunction__RootZone__rootRunUnary; |
6645 }, | 6796 }, |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6755 return new P._RootZone_bindUnaryCallback_closure(this, f); | 6906 return new P._RootZone_bindUnaryCallback_closure(this, f); |
6756 else | 6907 else |
6757 return new P._RootZone_bindUnaryCallback_closure0(this, f); | 6908 return new P._RootZone_bindUnaryCallback_closure0(this, f); |
6758 }, | 6909 }, |
6759 bindUnaryCallback$1: function(f) { | 6910 bindUnaryCallback$1: function(f) { |
6760 return this.bindUnaryCallback$2$runGuarded(f, true); | 6911 return this.bindUnaryCallback$2$runGuarded(f, true); |
6761 }, | 6912 }, |
6762 $index: function(_, key) { | 6913 $index: function(_, key) { |
6763 return; | 6914 return; |
6764 }, | 6915 }, |
6765 handleUncaughtError$2: function(error, stackTrace) { | 6916 handleUncaughtError$2: [function(error, stackTrace) { |
6766 return P._rootHandleUncaughtError(null, null, this, error, stackTrace); | 6917 return P._rootHandleUncaughtError(null, null, this, error, stackTrace); |
6767 }, | 6918 }, "call$2", "get$handleUncaughtError", 4, 0, 12], |
6768 fork$2$specification$zoneValues: function(specification, zoneValues) { | 6919 fork$2$specification$zoneValues: [function(specification, zoneValues) { |
6769 return P._rootFork(null, null, this, specification, zoneValues); | 6920 return P._rootFork(null, null, this, specification, zoneValues); |
6770 }, | 6921 }, function() { |
6771 run$1: function(f) { | 6922 return this.fork$2$specification$zoneValues(null, null); |
| 6923 }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5,
27, 0, 0], |
| 6924 run$1: [function(f) { |
6772 if ($.Zone__current === C.C__RootZone) | 6925 if ($.Zone__current === C.C__RootZone) |
6773 return f.call$0(); | 6926 return f.call$0(); |
6774 return P._rootRun(null, null, this, f); | 6927 return P._rootRun(null, null, this, f); |
6775 }, | 6928 }, "call$1", "get$run", 2, 0, 28], |
6776 runUnary$2: function(f, arg) { | 6929 runUnary$2: [function(f, arg) { |
6777 if ($.Zone__current === C.C__RootZone) | 6930 if ($.Zone__current === C.C__RootZone) |
6778 return f.call$1(arg); | 6931 return f.call$1(arg); |
6779 return P._rootRunUnary(null, null, this, f, arg); | 6932 return P._rootRunUnary(null, null, this, f, arg); |
6780 }, | 6933 }, "call$2", "get$runUnary", 4, 0, 29], |
6781 runBinary$3: function(f, arg1, arg2) { | 6934 runBinary$3: [function(f, arg1, arg2) { |
6782 if ($.Zone__current === C.C__RootZone) | 6935 if ($.Zone__current === C.C__RootZone) |
6783 return f.call$2(arg1, arg2); | 6936 return f.call$2(arg1, arg2); |
6784 return P._rootRunBinary(null, null, this, f, arg1, arg2); | 6937 return P._rootRunBinary(null, null, this, f, arg1, arg2); |
6785 }, | 6938 }, "call$3", "get$runBinary", 6, 0, 30], |
6786 registerCallback$1: function(f) { | 6939 registerCallback$1: [function(f) { |
6787 return f; | 6940 return f; |
6788 }, | 6941 }, "call$1", "get$registerCallback", 2, 0, 31], |
6789 registerUnaryCallback$1: function(f) { | 6942 registerUnaryCallback$1: [function(f) { |
6790 return f; | 6943 return f; |
6791 }, | 6944 }, "call$1", "get$registerUnaryCallback", 2, 0, 32], |
6792 registerBinaryCallback$1: function(f) { | 6945 registerBinaryCallback$1: [function(f) { |
6793 return f; | 6946 return f; |
6794 }, | 6947 }, "call$1", "get$registerBinaryCallback", 2, 0, 33], |
6795 errorCallback$2: function(error, stackTrace) { | 6948 errorCallback$2: [function(error, stackTrace) { |
6796 return; | 6949 return; |
6797 }, | 6950 }, "call$2", "get$errorCallback", 4, 0, 34], |
6798 scheduleMicrotask$1: function(f) { | 6951 scheduleMicrotask$1: [function(f) { |
6799 P._rootScheduleMicrotask(null, null, this, f); | 6952 P._rootScheduleMicrotask(null, null, this, f); |
6800 }, | 6953 }, "call$1", "get$scheduleMicrotask", 2, 0, 35], |
6801 createTimer$2: function(duration, f) { | 6954 createTimer$2: [function(duration, f) { |
6802 return P.Timer__createTimer(duration, f); | 6955 return P.Timer__createTimer(duration, f); |
6803 }, | 6956 }, "call$2", "get$createTimer", 4, 0, 36], |
6804 print$1: function(_, line) { | 6957 createPeriodicTimer$2: [function(duration, f) { |
| 6958 return P.Timer__createPeriodicTimer(duration, f); |
| 6959 }, "call$2", "get$createPeriodicTimer", 4, 0, 37], |
| 6960 print$1: [function(_, line) { |
6805 H.printString(line); | 6961 H.printString(line); |
6806 } | 6962 }, "call$1", "get$print", 2, 0, 38] |
6807 }, | 6963 }, |
6808 _RootZone_bindCallback_closure: { | 6964 _RootZone_bindCallback_closure: { |
6809 "^": "Closure:0;this_0,f_1", | 6965 "^": "Closure:0;_async$_captured_this_0,_captured_f_1", |
6810 call$0: function() { | 6966 call$0: function() { |
6811 return this.this_0.runGuarded$1(this.f_1); | 6967 return this._async$_captured_this_0.runGuarded$1(this._captured_f_1); |
6812 } | 6968 } |
6813 }, | 6969 }, |
6814 _RootZone_bindCallback_closure0: { | 6970 _RootZone_bindCallback_closure0: { |
6815 "^": "Closure:0;this_2,f_3", | 6971 "^": "Closure:0;_async$_captured_this_2,_captured_f_3", |
6816 call$0: function() { | 6972 call$0: function() { |
6817 return this.this_2.run$1(this.f_3); | 6973 return this._async$_captured_this_2.run$1(this._captured_f_3); |
6818 } | 6974 } |
6819 }, | 6975 }, |
6820 _RootZone_bindUnaryCallback_closure: { | 6976 _RootZone_bindUnaryCallback_closure: { |
6821 "^": "Closure:2;this_0,f_1", | 6977 "^": "Closure:2;_async$_captured_this_0,_captured_f_1", |
6822 call$1: function(arg) { | 6978 call$1: function(arg) { |
6823 return this.this_0.runUnaryGuarded$2(this.f_1, arg); | 6979 return this._async$_captured_this_0.runUnaryGuarded$2(this._captured_f_1,
arg); |
6824 } | 6980 } |
6825 }, | 6981 }, |
6826 _RootZone_bindUnaryCallback_closure0: { | 6982 _RootZone_bindUnaryCallback_closure0: { |
6827 "^": "Closure:2;this_2,f_3", | 6983 "^": "Closure:2;_async$_captured_this_2,_captured_f_3", |
6828 call$1: function(arg) { | 6984 call$1: function(arg) { |
6829 return this.this_2.runUnary$2(this.f_3, arg); | 6985 return this._async$_captured_this_2.runUnary$2(this._captured_f_3, arg); |
6830 } | 6986 } |
6831 }, | 6987 }, |
6832 runZoned_closure: { | 6988 runZoned_closure: { |
6833 "^": "Closure:14;onError_0", | 6989 "^": "Closure:39;_captured_onError_0", |
6834 call$5: function($self, $parent, zone, error, stackTrace) { | 6990 call$5: function($self, $parent, zone, error, stackTrace) { |
6835 var e, s, t1, t2, exception; | 6991 var e, s, t1, t2, exception; |
6836 try { | 6992 try { |
6837 t1 = this.onError_0; | 6993 t1 = this._captured_onError_0; |
6838 t2 = H.getDynamicRuntimeType(); | 6994 t2 = H.getDynamicRuntimeType(); |
6839 t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1); | 6995 t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1); |
6840 if (t2) { | 6996 if (t2) { |
6841 t1 = J.get$parent$x($self).runBinary$3(t1, error, stackTrace); | 6997 t1 = J.get$parent$x($self).runBinary$3(t1, error, stackTrace); |
6842 return t1; | 6998 return t1; |
6843 } | 6999 } |
6844 t1 = J.get$parent$x($self).runUnary$2(t1, error); | 7000 t1 = J.get$parent$x($self).runUnary$2(t1, error); |
6845 return t1; | 7001 return t1; |
6846 } catch (exception) { | 7002 } catch (exception) { |
6847 t1 = H.unwrapException(exception); | 7003 t1 = H.unwrapException(exception); |
(...skipping 12 matching lines...) Expand all Loading... |
6860 ["dart.collection", "dart:collection", , P, { | 7016 ["dart.collection", "dart:collection", , P, { |
6861 "^": "", | 7017 "^": "", |
6862 LinkedHashMap_LinkedHashMap$_literal: function(keyValuePairs, $K, $V) { | 7018 LinkedHashMap_LinkedHashMap$_literal: function(keyValuePairs, $K, $V) { |
6863 return H.fillLiteralMap(keyValuePairs, H.setRuntimeTypeInfo(new H.JsLinkedHa
shMap(0, null, null, null, null, null, 0), [$K, $V])); | 7019 return H.fillLiteralMap(keyValuePairs, H.setRuntimeTypeInfo(new H.JsLinkedHa
shMap(0, null, null, null, null, null, 0), [$K, $V])); |
6864 }, | 7020 }, |
6865 LinkedHashMap_LinkedHashMap$_empty: function($K, $V) { | 7021 LinkedHashMap_LinkedHashMap$_empty: function($K, $V) { |
6866 return H.setRuntimeTypeInfo(new H.JsLinkedHashMap(0, null, null, null, null,
null, 0), [$K, $V]); | 7022 return H.setRuntimeTypeInfo(new H.JsLinkedHashMap(0, null, null, null, null,
null, 0), [$K, $V]); |
6867 }, | 7023 }, |
6868 _defaultEquals: [function(a, b) { | 7024 _defaultEquals: [function(a, b) { |
6869 return J.$eq(a, b); | 7025 return J.$eq(a, b); |
6870 }, "call$2", "_defaultEquals$closure", 4, 0, 44], | 7026 }, "call$2", "_defaultEquals$closure", 4, 0, 67], |
6871 _defaultHashCode: [function(a) { | 7027 _defaultHashCode: [function(a) { |
6872 return J.get$hashCode$(a); | 7028 return J.get$hashCode$(a); |
6873 }, "call$1", "_defaultHashCode$closure", 2, 0, 26], | 7029 }, "call$1", "_defaultHashCode$closure", 2, 0, 50], |
6874 HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) { | 7030 HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) { |
6875 return H.setRuntimeTypeInfo(new P._HashMap(0, null, null, null, null), [$K,
$V]); | 7031 return H.setRuntimeTypeInfo(new P._HashMap(0, null, null, null, null), [$K,
$V]); |
6876 }, | 7032 }, |
6877 HashMap_HashMap$from: function(other, $K, $V) { | 7033 HashMap_HashMap$from: function(other, $K, $V) { |
6878 var result = P.HashMap_HashMap(null, null, null, $K, $V); | 7034 var result = P.HashMap_HashMap(null, null, null, $K, $V); |
6879 J.forEach$1$ax(other, new P.HashMap_HashMap$from_closure(result)); | 7035 J.forEach$1$ax(other, new P.HashMap_HashMap$from_closure(result)); |
6880 return result; | 7036 return result; |
6881 }, | 7037 }, |
6882 IterableBase_iterableToShortString: function(iterable, leftDelimiter, rightDel
imiter) { | 7038 IterableBase_iterableToShortString: function(iterable, leftDelimiter, rightDel
imiter) { |
6883 var parts, t1; | 7039 var parts, t1; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7023 Maps_mapToString: function(m) { | 7179 Maps_mapToString: function(m) { |
7024 var t1, result, t2; | 7180 var t1, result, t2; |
7025 t1 = {}; | 7181 t1 = {}; |
7026 if (P.IterableBase__isToStringVisiting(m)) | 7182 if (P.IterableBase__isToStringVisiting(m)) |
7027 return "{...}"; | 7183 return "{...}"; |
7028 result = new P.StringBuffer(""); | 7184 result = new P.StringBuffer(""); |
7029 try { | 7185 try { |
7030 $.get$IterableBase__toStringVisiting().push(m); | 7186 $.get$IterableBase__toStringVisiting().push(m); |
7031 t2 = result; | 7187 t2 = result; |
7032 t2._contents = t2.get$_contents() + "{"; | 7188 t2._contents = t2.get$_contents() + "{"; |
7033 t1.first_0 = true; | 7189 t1._captured_first_0 = true; |
7034 J.forEach$1$ax(m, new P.Maps_mapToString_closure(t1, result)); | 7190 J.forEach$1$ax(m, new P.Maps_mapToString_closure(t1, result)); |
7035 t1 = result; | 7191 t1 = result; |
7036 t1._contents = t1.get$_contents() + "}"; | 7192 t1._contents = t1.get$_contents() + "}"; |
7037 } finally { | 7193 } finally { |
7038 t1 = $.get$IterableBase__toStringVisiting(); | 7194 t1 = $.get$IterableBase__toStringVisiting(); |
7039 if (0 >= t1.length) | 7195 if (0 >= t1.length) |
7040 return H.ioore(t1, 0); | 7196 return H.ioore(t1, 0); |
7041 t1.pop(); | 7197 t1.pop(); |
7042 } | 7198 } |
7043 t1 = result.get$_contents(); | 7199 t1 = result.get$_contents(); |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7499 return this._collection$_source.length; | 7655 return this._collection$_source.length; |
7500 }, | 7656 }, |
7501 $index: function(_, index) { | 7657 $index: function(_, index) { |
7502 var t1 = this._collection$_source; | 7658 var t1 = this._collection$_source; |
7503 if (index >>> 0 !== index || index >= t1.length) | 7659 if (index >>> 0 !== index || index >= t1.length) |
7504 return H.ioore(t1, index); | 7660 return H.ioore(t1, index); |
7505 return t1[index]; | 7661 return t1[index]; |
7506 } | 7662 } |
7507 }, | 7663 }, |
7508 HashMap_HashMap$from_closure: { | 7664 HashMap_HashMap$from_closure: { |
7509 "^": "Closure:15;result_0", | 7665 "^": "Closure:40;_captured_result_0", |
7510 call$2: function(k, v) { | 7666 call$2: function(k, v) { |
7511 this.result_0.$indexSet(0, k, v); | 7667 this._captured_result_0.$indexSet(0, k, v); |
7512 } | 7668 } |
7513 }, | 7669 }, |
7514 _HashSetBase: { | 7670 _HashSetBase: { |
7515 "^": "SetBase;" | 7671 "^": "SetBase;" |
7516 }, | 7672 }, |
7517 IterableBase: { | 7673 IterableBase: { |
7518 "^": "Object;", | 7674 "^": "Object;", |
7519 map$1: function(_, f) { | 7675 map$1: function(_, f) { |
7520 return H.MappedIterable_MappedIterable(this, f, H.getRuntimeTypeArgument(t
his, "IterableBase", 0), null); | 7676 return H.MappedIterable_MappedIterable(this, f, H.getRuntimeTypeArgument(t
his, "IterableBase", 0), null); |
7521 }, | 7677 }, |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7698 toString$0: function(_) { | 7854 toString$0: function(_) { |
7699 return J.toString$0(this._collection$_map); | 7855 return J.toString$0(this._collection$_map); |
7700 }, | 7856 }, |
7701 $isMap: 1 | 7857 $isMap: 1 |
7702 }, | 7858 }, |
7703 UnmodifiableMapView: { | 7859 UnmodifiableMapView: { |
7704 "^": "MapView+_UnmodifiableMapMixin;_collection$_map", | 7860 "^": "MapView+_UnmodifiableMapMixin;_collection$_map", |
7705 $isMap: 1 | 7861 $isMap: 1 |
7706 }, | 7862 }, |
7707 Maps_mapToString_closure: { | 7863 Maps_mapToString_closure: { |
7708 "^": "Closure:15;box_0,result_1", | 7864 "^": "Closure:40;_collection$_box_0,_collection$_captured_result_1", |
7709 call$2: function(k, v) { | 7865 call$2: function(k, v) { |
7710 var t1, t2; | 7866 var t1, t2; |
7711 t1 = this.box_0; | 7867 t1 = this._collection$_box_0; |
7712 if (!t1.first_0) | 7868 if (!t1._captured_first_0) |
7713 this.result_1._contents += ", "; | 7869 this._collection$_captured_result_1._contents += ", "; |
7714 t1.first_0 = false; | 7870 t1._captured_first_0 = false; |
7715 t1 = this.result_1; | 7871 t1 = this._collection$_captured_result_1; |
7716 t2 = t1._contents += H.S(k); | 7872 t2 = t1._contents += H.S(k); |
7717 t1._contents = t2 + ": "; | 7873 t1._contents = t2 + ": "; |
7718 t1._contents += H.S(v); | 7874 t1._contents += H.S(v); |
7719 } | 7875 } |
7720 }, | 7876 }, |
7721 ListQueue: { | 7877 ListQueue: { |
7722 "^": "IterableBase;_table,_head,_tail,_modificationCount", | 7878 "^": "IterableBase;_table,_head,_tail,_modificationCount", |
7723 get$iterator: function(_) { | 7879 get$iterator: function(_) { |
7724 return new P._ListQueueIterator(this, this._tail, this._modificationCount,
this._head, null); | 7880 return new P._ListQueueIterator(this, this._tail, this._modificationCount,
this._head, null); |
7725 }, | 7881 }, |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7913 parsed = JSON.parse(source); | 8069 parsed = JSON.parse(source); |
7914 } catch (exception) { | 8070 } catch (exception) { |
7915 t1 = H.unwrapException(exception); | 8071 t1 = H.unwrapException(exception); |
7916 e = t1; | 8072 e = t1; |
7917 throw H.wrapException(P.FormatException$(String(e), null, null)); | 8073 throw H.wrapException(P.FormatException$(String(e), null, null)); |
7918 } | 8074 } |
7919 return P._convertJsonToDartLazy(parsed); | 8075 return P._convertJsonToDartLazy(parsed); |
7920 }, | 8076 }, |
7921 _defaultToEncodable: [function(object) { | 8077 _defaultToEncodable: [function(object) { |
7922 return object.toJson$0(); | 8078 return object.toJson$0(); |
7923 }, "call$1", "_defaultToEncodable$closure", 2, 0, 45], | 8079 }, "call$1", "_defaultToEncodable$closure", 2, 0, 68], |
7924 _JsonMap: { | 8080 _JsonMap: { |
7925 "^": "Object;_original,_processed,_data", | 8081 "^": "Object;_original,_processed,_data", |
7926 $index: function(_, key) { | 8082 $index: function(_, key) { |
7927 var t1, result; | 8083 var t1, result; |
7928 t1 = this._processed; | 8084 t1 = this._processed; |
7929 if (t1 == null) | 8085 if (t1 == null) |
7930 return this._data.$index(0, key); | 8086 return this._data.$index(0, key); |
7931 else if (typeof key !== "string") | 8087 else if (typeof key !== "string") |
7932 return; | 8088 return; |
7933 else { | 8089 else { |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8234 for (i = 1; i < t1.get$length(list); ++i) { | 8390 for (i = 1; i < t1.get$length(list); ++i) { |
8235 this.writeString$1(","); | 8391 this.writeString$1(","); |
8236 this.writeObject$1(t1.$index(list, i)); | 8392 this.writeObject$1(t1.$index(list, i)); |
8237 } | 8393 } |
8238 } | 8394 } |
8239 this.writeString$1("]"); | 8395 this.writeString$1("]"); |
8240 }, | 8396 }, |
8241 writeMap$1: function(map) { | 8397 writeMap$1: function(map) { |
8242 var t1 = {}; | 8398 var t1 = {}; |
8243 this.writeString$1("{"); | 8399 this.writeString$1("{"); |
8244 t1.separator_0 = "\""; | 8400 t1._captured_separator_0 = "\""; |
8245 map.forEach$1(0, new P._JsonStringifier_writeMap_closure(t1, this)); | 8401 map.forEach$1(0, new P._JsonStringifier_writeMap_closure(t1, this)); |
8246 this.writeString$1("}"); | 8402 this.writeString$1("}"); |
8247 }, | 8403 }, |
8248 _toEncodable$1: function(arg0) { | 8404 _toEncodable$1: function(arg0) { |
8249 return this._toEncodable.call$1(arg0); | 8405 return this._toEncodable.call$1(arg0); |
8250 } | 8406 } |
8251 }, | 8407 }, |
8252 _JsonStringifier_writeMap_closure: { | 8408 _JsonStringifier_writeMap_closure: { |
8253 "^": "Closure:16;box_0,this_1", | 8409 "^": "Closure:41;_convert$_box_0,_captured_this_1", |
8254 call$2: function(key, value) { | 8410 call$2: function(key, value) { |
8255 var t1, t2; | 8411 var t1, t2; |
8256 t1 = this.this_1; | 8412 t1 = this._captured_this_1; |
8257 t2 = this.box_0; | 8413 t2 = this._convert$_box_0; |
8258 t1.writeString$1(t2.separator_0); | 8414 t1.writeString$1(t2._captured_separator_0); |
8259 t2.separator_0 = ",\""; | 8415 t2._captured_separator_0 = ",\""; |
8260 t1.writeStringContent$1(key); | 8416 t1.writeStringContent$1(key); |
8261 t1.writeString$1("\":"); | 8417 t1.writeString$1("\":"); |
8262 t1.writeObject$1(value); | 8418 t1.writeObject$1(value); |
8263 } | 8419 } |
8264 }, | 8420 }, |
8265 _JsonStringStringifier: { | 8421 _JsonStringStringifier: { |
8266 "^": "_JsonStringifier;_sink,_seen,_toEncodable", | 8422 "^": "_JsonStringifier;_sink,_seen,_toEncodable", |
8267 writeNumber$1: function(number) { | 8423 writeNumber$1: function(number) { |
8268 this._sink._contents += C.JSNumber_methods.toString$0(number); | 8424 this._sink._contents += C.JSNumber_methods.toString$0(number); |
8269 }, | 8425 }, |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8559 break $loop$0; | 8715 break $loop$0; |
8560 } | 8716 } |
8561 if (expectedUnits > 0) { | 8717 if (expectedUnits > 0) { |
8562 this._value = value; | 8718 this._value = value; |
8563 this._expectedUnits = expectedUnits; | 8719 this._expectedUnits = expectedUnits; |
8564 this._extraUnits = extraUnits; | 8720 this._extraUnits = extraUnits; |
8565 } | 8721 } |
8566 } | 8722 } |
8567 }, | 8723 }, |
8568 _Utf8Decoder_convert_scanOneByteCharacters: { | 8724 _Utf8Decoder_convert_scanOneByteCharacters: { |
8569 "^": "Closure:17;endIndex_0", | 8725 "^": "Closure:42;_captured_endIndex_0", |
8570 call$2: function(units, from) { | 8726 call$2: function(units, from) { |
8571 var to, t1, i, unit; | 8727 var to, t1, i, unit; |
8572 to = this.endIndex_0; | 8728 to = this._captured_endIndex_0; |
8573 for (t1 = J.getInterceptor$asx(units), i = from; i < to; ++i) { | 8729 for (t1 = J.getInterceptor$asx(units), i = from; i < to; ++i) { |
8574 unit = t1.$index(units, i); | 8730 unit = t1.$index(units, i); |
8575 if (typeof unit !== "number") | 8731 if (typeof unit !== "number") |
8576 return unit.$and(); | 8732 return unit.$and(); |
8577 if ((unit & 127) !== unit) | 8733 if ((unit & 127) !== unit) |
8578 return i - from; | 8734 return i - from; |
8579 } | 8735 } |
8580 return to - from; | 8736 return to - from; |
8581 } | 8737 } |
8582 }, | 8738 }, |
8583 _Utf8Decoder_convert_addSingleBytes: { | 8739 _Utf8Decoder_convert_addSingleBytes: { |
8584 "^": "Closure:18;this_1,codeUnits_2,startIndex_3,endIndex_4", | 8740 "^": "Closure:43;_captured_this_1,_captured_codeUnits_2,_captured_startIndex
_3,_captured_endIndex_4", |
8585 call$2: function(from, to) { | 8741 call$2: function(from, to) { |
8586 this.this_1._stringSink._contents += P.String_String$fromCharCodes(this.co
deUnits_2, from, to); | 8742 this._captured_this_1._stringSink._contents += P.String_String$fromCharCod
es(this._captured_codeUnits_2, from, to); |
8587 } | 8743 } |
8588 } | 8744 } |
8589 }], | 8745 }], |
8590 ["dart.core", "dart:core", , P, { | 8746 ["dart.core", "dart:core", , P, { |
8591 "^": "", | 8747 "^": "", |
8592 _symbolToString: function(symbol) { | 8748 _symbolToString: function(symbol) { |
8593 return H.Symbol_getName(symbol); | 8749 return H.Symbol_getName(symbol); |
8594 }, | 8750 }, |
8595 String__checkBounds: function(len, start, end) { | 8751 String__checkBounds: function(len, start, end) { |
8596 if (start < 0 || start > len) | 8752 if (start < 0 || start > len) |
(...skipping 11 matching lines...) Expand all Loading... |
8608 t1 = end == null; | 8764 t1 = end == null; |
8609 if (!t1 && end < start) | 8765 if (!t1 && end < start) |
8610 throw H.wrapException(P.RangeError$range(end, start, J.get$length$asx(char
Codes), null, null)); | 8766 throw H.wrapException(P.RangeError$range(end, start, J.get$length$asx(char
Codes), null, null)); |
8611 it = J.get$iterator$ax(charCodes); | 8767 it = J.get$iterator$ax(charCodes); |
8612 for (i = 0; i < start; ++i) | 8768 for (i = 0; i < start; ++i) |
8613 if (!it.moveNext$0()) | 8769 if (!it.moveNext$0()) |
8614 throw H.wrapException(P.RangeError$range(start, 0, i, null, null)); | 8770 throw H.wrapException(P.RangeError$range(start, 0, i, null, null)); |
8615 list = []; | 8771 list = []; |
8616 if (t1) | 8772 if (t1) |
8617 for (; it.moveNext$0();) | 8773 for (; it.moveNext$0();) |
8618 list.push(it._current); | 8774 list.push(it.get$current()); |
8619 else | 8775 else |
8620 for (i = start; i < end; ++i) { | 8776 for (i = start; i < end; ++i) { |
8621 if (!it.moveNext$0()) | 8777 if (!it.moveNext$0()) |
8622 throw H.wrapException(P.RangeError$range(end, start, i, null, null)); | 8778 throw H.wrapException(P.RangeError$range(end, start, i, null, null)); |
8623 list.push(it._current); | 8779 list.push(it.get$current()); |
8624 } | 8780 } |
8625 return H.Primitives_stringFromCharCodes(list); | 8781 return H.Primitives_stringFromCharCodes(list); |
8626 }, | 8782 }, |
8627 Error_safeToString: function(object) { | 8783 Error_safeToString: function(object) { |
8628 if (typeof object === "number" || typeof object === "boolean" || null == obj
ect) | 8784 if (typeof object === "number" || typeof object === "boolean" || null == obj
ect) |
8629 return J.toString$0(object); | 8785 return J.toString$0(object); |
8630 if (typeof object === "string") | 8786 if (typeof object === "string") |
8631 return JSON.stringify(object); | 8787 return JSON.stringify(object); |
8632 return "Instance of '" + H.Primitives_objectTypeName(object) + "'"; | 8788 return "Instance of '" + H.Primitives_objectTypeName(object) + "'"; |
8633 }, | 8789 }, |
8634 Exception_Exception: function(message) { | 8790 Exception_Exception: function(message) { |
8635 return new P._ExceptionImplementation(message); | 8791 return new P._ExceptionImplementation(message); |
8636 }, | 8792 }, |
8637 identical: [function(a, b) { | 8793 identical: [function(a, b) { |
8638 return a == null ? b == null : a === b; | 8794 return a == null ? b == null : a === b; |
8639 }, "call$2", "identical$closure", 4, 0, 46], | 8795 }, "call$2", "identical$closure", 4, 0, 69], |
8640 identityHashCode: [function(object) { | 8796 identityHashCode: [function(object) { |
8641 return H.objectHashCode(object); | 8797 return H.objectHashCode(object); |
8642 }, "call$1", "identityHashCode$closure", 2, 0, 47], | 8798 }, "call$1", "identityHashCode$closure", 2, 0, 70], |
8643 List_List$filled: function($length, fill, $E) { | 8799 List_List$filled: function($length, fill, $E) { |
8644 var result, t1, i; | 8800 var result, t1, i; |
8645 result = J.JSArray_JSArray$fixed($length, $E); | 8801 result = J.JSArray_JSArray$fixed($length, $E); |
8646 if ($length !== 0 && true) | 8802 if ($length !== 0 && true) |
8647 for (t1 = result.length, i = 0; i < t1; ++i) | 8803 for (t1 = result.length, i = 0; i < t1; ++i) |
8648 result[i] = fill; | 8804 result[i] = fill; |
8649 return result; | 8805 return result; |
8650 }, | 8806 }, |
8651 List_List$from: function(elements, growable, $E) { | 8807 List_List$from: function(elements, growable, $E) { |
8652 var list, t1; | 8808 var list, t1; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8694 len = charCodes.length; | 8850 len = charCodes.length; |
8695 end = P.String__checkBounds(len, start, end); | 8851 end = P.String__checkBounds(len, start, end); |
8696 return H.Primitives_stringFromCharCodes(start > 0 || end < len ? C.JSArray
_methods.sublist$2(charCodes, start, end) : charCodes); | 8852 return H.Primitives_stringFromCharCodes(start > 0 || end < len ? C.JSArray
_methods.sublist$2(charCodes, start, end) : charCodes); |
8697 } | 8853 } |
8698 return P.String__stringFromIterable(charCodes, start, end); | 8854 return P.String__stringFromIterable(charCodes, start, end); |
8699 }, | 8855 }, |
8700 String_String$fromCharCode: function(charCode) { | 8856 String_String$fromCharCode: function(charCode) { |
8701 return H.Primitives_stringFromCharCode(charCode); | 8857 return H.Primitives_stringFromCharCode(charCode); |
8702 }, | 8858 }, |
8703 NoSuchMethodError_toString_closure: { | 8859 NoSuchMethodError_toString_closure: { |
8704 "^": "Closure:19;box_0", | 8860 "^": "Closure:44;_box_0", |
8705 call$2: function(key, value) { | 8861 call$2: function(key, value) { |
8706 var t1 = this.box_0; | 8862 var t1 = this._box_0; |
8707 if (t1.i_1 > 0) | 8863 if (t1._captured_i_1 > 0) |
8708 t1.sb_0._contents += ", "; | 8864 t1._captured_sb_0._contents += ", "; |
8709 P._symbolToString(key); | 8865 P._symbolToString(key); |
8710 } | 8866 } |
8711 }, | 8867 }, |
8712 bool: { | 8868 bool: { |
8713 "^": "Object;" | 8869 "^": "Object;" |
8714 }, | 8870 }, |
8715 "+bool": 0, | 8871 "+bool": 0, |
8716 DateTime: { | 8872 DateTime: { |
8717 "^": "Object;millisecondsSinceEpoch,isUtc", | 8873 "^": "Object;millisecondsSinceEpoch,isUtc", |
8718 $eq: function(_, other) { | 8874 $eq: function(_, other) { |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8820 twoDigitMinutes = t1.call$1(C.JSInt_methods.remainder$1(C.JSInt_methods._t
divFast$1(t2, 60000000), 60)); | 8976 twoDigitMinutes = t1.call$1(C.JSInt_methods.remainder$1(C.JSInt_methods._t
divFast$1(t2, 60000000), 60)); |
8821 twoDigitSeconds = t1.call$1(C.JSInt_methods.remainder$1(C.JSInt_methods._t
divFast$1(t2, 1000000), 60)); | 8977 twoDigitSeconds = t1.call$1(C.JSInt_methods.remainder$1(C.JSInt_methods._t
divFast$1(t2, 1000000), 60)); |
8822 sixDigitUs = new P.Duration_toString_sixDigits().call$1(C.JSInt_methods.re
mainder$1(t2, 1000000)); | 8978 sixDigitUs = new P.Duration_toString_sixDigits().call$1(C.JSInt_methods.re
mainder$1(t2, 1000000)); |
8823 return "" + C.JSInt_methods._tdivFast$1(t2, 3600000000) + ":" + H.S(twoDig
itMinutes) + ":" + H.S(twoDigitSeconds) + "." + H.S(sixDigitUs); | 8979 return "" + C.JSInt_methods._tdivFast$1(t2, 3600000000) + ":" + H.S(twoDig
itMinutes) + ":" + H.S(twoDigitSeconds) + "." + H.S(sixDigitUs); |
8824 }, | 8980 }, |
8825 $negate: function(_) { | 8981 $negate: function(_) { |
8826 return new P.Duration(-this._duration); | 8982 return new P.Duration(-this._duration); |
8827 } | 8983 } |
8828 }, | 8984 }, |
8829 Duration_toString_sixDigits: { | 8985 Duration_toString_sixDigits: { |
8830 "^": "Closure:20;", | 8986 "^": "Closure:45;", |
8831 call$1: function(n) { | 8987 call$1: function(n) { |
8832 if (n >= 100000) | 8988 if (n >= 100000) |
8833 return "" + n; | 8989 return "" + n; |
8834 if (n >= 10000) | 8990 if (n >= 10000) |
8835 return "0" + n; | 8991 return "0" + n; |
8836 if (n >= 1000) | 8992 if (n >= 1000) |
8837 return "00" + n; | 8993 return "00" + n; |
8838 if (n >= 100) | 8994 if (n >= 100) |
8839 return "000" + n; | 8995 return "000" + n; |
8840 if (n >= 10) | 8996 if (n >= 10) |
8841 return "0000" + n; | 8997 return "0000" + n; |
8842 return "00000" + n; | 8998 return "00000" + n; |
8843 } | 8999 } |
8844 }, | 9000 }, |
8845 Duration_toString_twoDigits: { | 9001 Duration_toString_twoDigits: { |
8846 "^": "Closure:20;", | 9002 "^": "Closure:45;", |
8847 call$1: function(n) { | 9003 call$1: function(n) { |
8848 if (n >= 10) | 9004 if (n >= 10) |
8849 return "" + n; | 9005 return "" + n; |
8850 return "0" + n; | 9006 return "0" + n; |
8851 } | 9007 } |
8852 }, | 9008 }, |
8853 Error: { | 9009 Error: { |
8854 "^": "Object;", | 9010 "^": "Object;", |
8855 get$stackTrace: function() { | 9011 get$stackTrace: function() { |
8856 return H.getTraceFromException(this.$thrownJsError); | 9012 return H.getTraceFromException(this.$thrownJsError); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8905 else { | 9061 else { |
8906 t3 = J.getInterceptor$n(t2); | 9062 t3 = J.getInterceptor$n(t2); |
8907 if (t3.$gt(t2, t1)) | 9063 if (t3.$gt(t2, t1)) |
8908 explanation = ": Not in range " + H.S(t1) + ".." + H.S(t2) + ", incl
usive"; | 9064 explanation = ": Not in range " + H.S(t1) + ".." + H.S(t2) + ", incl
usive"; |
8909 else | 9065 else |
8910 explanation = t3.$lt(t2, t1) ? ": Valid value range is empty" : ": O
nly valid value is " + H.S(t1); | 9066 explanation = t3.$lt(t2, t1) ? ": Valid value range is empty" : ": O
nly valid value is " + H.S(t1); |
8911 } | 9067 } |
8912 } | 9068 } |
8913 return explanation; | 9069 return explanation; |
8914 }, | 9070 }, |
8915 static: {RangeError$: function(message) { | 9071 static: {RangeError$value: function(value, $name, message) { |
8916 return new P.RangeError(null, null, false, null, null, message); | |
8917 }, RangeError$value: function(value, $name, message) { | |
8918 return new P.RangeError(null, null, true, value, $name, "Value not in ra
nge"); | 9072 return new P.RangeError(null, null, true, value, $name, "Value not in ra
nge"); |
8919 }, RangeError$range: function(invalidValue, minValue, maxValue, $name, mes
sage) { | 9073 }, RangeError$range: function(invalidValue, minValue, maxValue, $name, mes
sage) { |
8920 return new P.RangeError(minValue, maxValue, true, invalidValue, $name, "
Invalid value"); | 9074 return new P.RangeError(minValue, maxValue, true, invalidValue, $name, "
Invalid value"); |
8921 }, RangeError_checkValueInInterval: function(value, minValue, maxValue, $n
ame, message) { | 9075 }, RangeError_checkValueInInterval: function(value, minValue, maxValue, $n
ame, message) { |
8922 if (value < minValue || value > maxValue) | 9076 if (value < minValue || value > maxValue) |
8923 throw H.wrapException(P.RangeError$range(value, minValue, maxValue, $n
ame, message)); | 9077 throw H.wrapException(P.RangeError$range(value, minValue, maxValue, $n
ame, message)); |
8924 }, RangeError_checkValidRange: function(start, end, $length, startName, en
dName, message) { | 9078 }, RangeError_checkValidRange: function(start, end, $length, startName, en
dName, message) { |
8925 var t1; | 9079 var t1; |
8926 if (start >= 0) { | 9080 if (typeof start !== "number") |
| 9081 return H.iae(start); |
| 9082 if (0 <= start) { |
8927 if (typeof $length !== "number") | 9083 if (typeof $length !== "number") |
8928 return H.iae($length); | 9084 return H.iae($length); |
8929 t1 = start > $length; | 9085 t1 = start > $length; |
8930 } else | 9086 } else |
8931 t1 = true; | 9087 t1 = true; |
8932 if (t1) | 9088 if (t1) |
8933 throw H.wrapException(P.RangeError$range(start, 0, $length, "start", m
essage)); | 9089 throw H.wrapException(P.RangeError$range(start, 0, $length, "start", m
essage)); |
8934 if (end != null) { | 9090 if (end != null) { |
8935 if (!(end < start)) { | 9091 if (typeof end !== "number") |
| 9092 return H.iae(end); |
| 9093 if (!(start > end)) { |
8936 if (typeof $length !== "number") | 9094 if (typeof $length !== "number") |
8937 return H.iae($length); | 9095 return H.iae($length); |
8938 t1 = end > $length; | 9096 t1 = end > $length; |
8939 } else | 9097 } else |
8940 t1 = true; | 9098 t1 = true; |
8941 if (t1) | 9099 if (t1) |
8942 throw H.wrapException(P.RangeError$range(end, start, $length, "end",
message)); | 9100 throw H.wrapException(P.RangeError$range(end, start, $length, "end",
message)); |
8943 return end; | 9101 return end; |
8944 } | 9102 } |
8945 return $length; | 9103 return $length; |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9260 return P.Uri__defaultPort(this.scheme); | 9418 return P.Uri__defaultPort(this.scheme); |
9261 return t1; | 9419 return t1; |
9262 }, | 9420 }, |
9263 get$pathSegments: function() { | 9421 get$pathSegments: function() { |
9264 var t1, pathToSplit; | 9422 var t1, pathToSplit; |
9265 t1 = this._pathSegments; | 9423 t1 = this._pathSegments; |
9266 if (t1 == null) { | 9424 if (t1 == null) { |
9267 pathToSplit = this._path; | 9425 pathToSplit = this._path; |
9268 if (pathToSplit.length !== 0 && C.JSString_methods.codeUnitAt$1(pathToSp
lit, 0) === 47) | 9426 if (pathToSplit.length !== 0 && C.JSString_methods.codeUnitAt$1(pathToSp
lit, 0) === 47) |
9269 pathToSplit = C.JSString_methods.substring$1(pathToSplit, 1); | 9427 pathToSplit = C.JSString_methods.substring$1(pathToSplit, 1); |
9270 t1 = pathToSplit === "" ? C.List_empty : H.setRuntimeTypeInfo(new H.Mapp
edListIterable(pathToSplit.split("/"), P.Uri_decodeComponent$closure()), [null,
null]).toList$1$growable(0, false); | 9428 t1 = H.setRuntimeTypeInfo(new P.UnmodifiableListView(pathToSplit === ""
? C.List_empty : H.setRuntimeTypeInfo(new H.MappedListIterable(pathToSplit.split
("/"), P.Uri_decodeComponent$closure()), [null, null]).toList$1$growable(0, fals
e)), [null]); |
9271 t1 = H.setRuntimeTypeInfo(new P.UnmodifiableListView(t1), [null]); | |
9272 this._pathSegments = t1; | 9429 this._pathSegments = t1; |
9273 } | 9430 } |
9274 return t1; | 9431 return t1; |
9275 }, | 9432 }, |
9276 _merge$2: function(base, reference) { | 9433 _merge$2: function(base, reference) { |
9277 var backCount, refStart, baseEnd, newEnd, delta, t1; | 9434 var backCount, refStart, baseEnd, newEnd, delta, t1; |
9278 if (base.length === 0) | 9435 if (base.length === 0) |
9279 return "/" + reference; | 9436 return "/" + reference; |
9280 for (backCount = 0, refStart = 0; C.JSString_methods.startsWith$2(referenc
e, "../", refStart);) { | 9437 for (backCount = 0, refStart = 0; C.JSString_methods.startsWith$2(referenc
e, "../", refStart);) { |
9281 refStart += 3; | 9438 refStart += 3; |
(...skipping 25 matching lines...) Expand all Loading... |
9307 _hasDotSegments$1: function(path) { | 9464 _hasDotSegments$1: function(path) { |
9308 if (path.length > 0 && C.JSString_methods.codeUnitAt$1(path, 0) === 46) | 9465 if (path.length > 0 && C.JSString_methods.codeUnitAt$1(path, 0) === 46) |
9309 return true; | 9466 return true; |
9310 return C.JSString_methods.indexOf$1(path, "/.") !== -1; | 9467 return C.JSString_methods.indexOf$1(path, "/.") !== -1; |
9311 }, | 9468 }, |
9312 _removeDotSegments$1: function(path) { | 9469 _removeDotSegments$1: function(path) { |
9313 var output, t1, appendSlash, segment, t2; | 9470 var output, t1, appendSlash, segment, t2; |
9314 if (!this._hasDotSegments$1(path)) | 9471 if (!this._hasDotSegments$1(path)) |
9315 return path; | 9472 return path; |
9316 output = []; | 9473 output = []; |
9317 for (t1 = path.split("/"), t1 = new H.ListIterator(t1, t1.length, 0, null)
, appendSlash = false; t1.moveNext$0();) { | 9474 for (t1 = path.split("/"), t1 = new J.ArrayIterator(t1, t1.length, 0, null
), appendSlash = false; t1.moveNext$0();) { |
9318 segment = t1._current; | 9475 segment = t1.__interceptors$_current; |
9319 if (J.$eq(segment, "..")) { | 9476 if (J.$eq(segment, "..")) { |
9320 t2 = output.length; | 9477 t2 = output.length; |
9321 if (t2 !== 0) | 9478 if (t2 !== 0) |
9322 if (t2 === 1) { | 9479 if (t2 === 1) { |
9323 if (0 >= t2) | 9480 if (0 >= t2) |
9324 return H.ioore(output, 0); | 9481 return H.ioore(output, 0); |
9325 t2 = !J.$eq(output[0], ""); | 9482 t2 = !J.$eq(output[0], ""); |
9326 } else | 9483 } else |
9327 t2 = true; | 9484 t2 = true; |
9328 else | 9485 else |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9484 }, | 9641 }, |
9485 static: {Uri__defaultPort: function(scheme) { | 9642 static: {Uri__defaultPort: function(scheme) { |
9486 if (scheme === "http") | 9643 if (scheme === "http") |
9487 return 80; | 9644 return 80; |
9488 if (scheme === "https") | 9645 if (scheme === "https") |
9489 return 443; | 9646 return 443; |
9490 return 0; | 9647 return 0; |
9491 }, Uri_parse: function(uri) { | 9648 }, Uri_parse: function(uri) { |
9492 var t1, pathStart, state, t2, i, t3, $char, index, t4, path, numberSignI
ndex, query, fragment; | 9649 var t1, pathStart, state, t2, i, t3, $char, index, t4, path, numberSignI
ndex, query, fragment; |
9493 t1 = {}; | 9650 t1 = {}; |
9494 t1.scheme_0 = ""; | 9651 t1._captured_scheme_0 = ""; |
9495 t1.userinfo_1 = ""; | 9652 t1._captured_userinfo_1 = ""; |
9496 t1.host_2 = null; | 9653 t1._captured_host_2 = null; |
9497 t1.port_3 = null; | 9654 t1._captured_port_3 = null; |
9498 t1.index_4 = 0; | 9655 t1._captured_index_4 = 0; |
9499 t1.char_5 = -1; | 9656 t1._captured_char_5 = -1; |
9500 t2 = J.getInterceptor$asx(uri); | 9657 t2 = J.getInterceptor$asx(uri); |
9501 i = 0; | 9658 i = 0; |
9502 while (true) { | 9659 while (true) { |
9503 t3 = t2.get$length(uri); | 9660 t3 = t2.get$length(uri); |
9504 if (typeof t3 !== "number") | 9661 if (typeof t3 !== "number") |
9505 return H.iae(t3); | 9662 return H.iae(t3); |
9506 if (!(i < t3)) { | 9663 if (!(i < t3)) { |
9507 pathStart = 0; | 9664 pathStart = 0; |
9508 state = 0; | 9665 state = 0; |
9509 break; | 9666 break; |
9510 } | 9667 } |
9511 $char = t2.codeUnitAt$1(uri, i); | 9668 $char = t2.codeUnitAt$1(uri, i); |
9512 t1.char_5 = $char; | 9669 t1._captured_char_5 = $char; |
9513 if ($char === 63 || $char === 35) { | 9670 if ($char === 63 || $char === 35) { |
9514 pathStart = 0; | 9671 pathStart = 0; |
9515 state = 0; | 9672 state = 0; |
9516 break; | 9673 break; |
9517 } | 9674 } |
9518 if ($char === 47) { | 9675 if ($char === 47) { |
9519 state = i === 0 ? 2 : 1; | 9676 state = i === 0 ? 2 : 1; |
9520 pathStart = 0; | 9677 pathStart = 0; |
9521 break; | 9678 break; |
9522 } | 9679 } |
9523 if ($char === 58) { | 9680 if ($char === 58) { |
9524 if (i === 0) | 9681 if (i === 0) |
9525 P.Uri__fail(uri, 0, "Invalid empty scheme"); | 9682 P.Uri__fail(uri, 0, "Invalid empty scheme"); |
9526 t1.scheme_0 = P.Uri__makeScheme(uri, i); | 9683 t1._captured_scheme_0 = P.Uri__makeScheme(uri, i); |
9527 ++i; | 9684 ++i; |
9528 if (i === uri.length) { | 9685 if (i === uri.length) { |
9529 t1.char_5 = -1; | 9686 t1._captured_char_5 = -1; |
9530 state = 0; | 9687 state = 0; |
9531 } else { | 9688 } else { |
9532 $char = C.JSString_methods.codeUnitAt$1(uri, i); | 9689 $char = C.JSString_methods.codeUnitAt$1(uri, i); |
9533 t1.char_5 = $char; | 9690 t1._captured_char_5 = $char; |
9534 if ($char === 63 || $char === 35) | 9691 if ($char === 63 || $char === 35) |
9535 state = 0; | 9692 state = 0; |
9536 else | 9693 else |
9537 state = $char === 47 ? 2 : 1; | 9694 state = $char === 47 ? 2 : 1; |
9538 } | 9695 } |
9539 pathStart = i; | 9696 pathStart = i; |
9540 break; | 9697 break; |
9541 } | 9698 } |
9542 ++i; | 9699 ++i; |
9543 t1.char_5 = -1; | 9700 t1._captured_char_5 = -1; |
9544 } | 9701 } |
9545 t1.index_4 = i; | 9702 t1._captured_index_4 = i; |
9546 if (state === 2) { | 9703 if (state === 2) { |
9547 index = i + 1; | 9704 index = i + 1; |
9548 t1.index_4 = index; | 9705 t1._captured_index_4 = index; |
9549 if (index === t2.get$length(uri)) { | 9706 if (index === t2.get$length(uri)) { |
9550 t1.char_5 = -1; | 9707 t1._captured_char_5 = -1; |
9551 state = 0; | 9708 state = 0; |
9552 } else { | 9709 } else { |
9553 $char = t2.codeUnitAt$1(uri, t1.index_4); | 9710 $char = t2.codeUnitAt$1(uri, t1._captured_index_4); |
9554 t1.char_5 = $char; | 9711 t1._captured_char_5 = $char; |
9555 if ($char === 47) { | 9712 if ($char === 47) { |
9556 ++t1.index_4; | 9713 ++t1._captured_index_4; |
9557 new P.Uri_parse_parseAuth(t1, uri, -1).call$0(); | 9714 new P.Uri_parse_parseAuth(t1, uri, -1).call$0(); |
9558 pathStart = t1.index_4; | 9715 pathStart = t1._captured_index_4; |
9559 } | 9716 } |
9560 t3 = t1.char_5; | 9717 t3 = t1._captured_char_5; |
9561 state = t3 === 63 || t3 === 35 || t3 === -1 ? 0 : 1; | 9718 state = t3 === 63 || t3 === 35 || t3 === -1 ? 0 : 1; |
9562 } | 9719 } |
9563 } | 9720 } |
9564 if (state === 1) | 9721 if (state === 1) |
9565 while (true) { | 9722 while (true) { |
9566 t3 = ++t1.index_4; | 9723 t3 = ++t1._captured_index_4; |
9567 t4 = t2.get$length(uri); | 9724 t4 = t2.get$length(uri); |
9568 if (typeof t4 !== "number") | 9725 if (typeof t4 !== "number") |
9569 return H.iae(t4); | 9726 return H.iae(t4); |
9570 if (!(t3 < t4)) | 9727 if (!(t3 < t4)) |
9571 break; | 9728 break; |
9572 $char = t2.codeUnitAt$1(uri, t1.index_4); | 9729 $char = t2.codeUnitAt$1(uri, t1._captured_index_4); |
9573 t1.char_5 = $char; | 9730 t1._captured_char_5 = $char; |
9574 if ($char === 63 || $char === 35) | 9731 if ($char === 63 || $char === 35) |
9575 break; | 9732 break; |
9576 t1.char_5 = -1; | 9733 t1._captured_char_5 = -1; |
9577 } | 9734 } |
9578 t3 = t1.scheme_0; | 9735 t3 = t1._captured_scheme_0; |
9579 t4 = t1.host_2; | 9736 t4 = t1._captured_host_2; |
9580 path = P.Uri__makePath(uri, pathStart, t1.index_4, null, t4 != null, t3
=== "file"); | 9737 path = P.Uri__makePath(uri, pathStart, t1._captured_index_4, null, t4 !=
null, t3 === "file"); |
9581 t3 = t1.char_5; | 9738 t3 = t1._captured_char_5; |
9582 if (t3 === 63) { | 9739 if (t3 === 63) { |
9583 numberSignIndex = t2.indexOf$2(uri, "#", t1.index_4 + 1); | 9740 numberSignIndex = t2.indexOf$2(uri, "#", t1._captured_index_4 + 1); |
9584 t3 = t1.index_4; | 9741 t3 = t1._captured_index_4; |
9585 if (numberSignIndex < 0) { | 9742 if (numberSignIndex < 0) { |
9586 query = P.Uri__makeQuery(uri, t3 + 1, t2.get$length(uri), null); | 9743 query = P.Uri__makeQuery(uri, t3 + 1, t2.get$length(uri), null); |
9587 fragment = null; | 9744 fragment = null; |
9588 } else { | 9745 } else { |
9589 query = P.Uri__makeQuery(uri, t3 + 1, numberSignIndex, null); | 9746 query = P.Uri__makeQuery(uri, t3 + 1, numberSignIndex, null); |
9590 fragment = P.Uri__makeFragment(uri, numberSignIndex + 1, t2.get$leng
th(uri)); | 9747 fragment = P.Uri__makeFragment(uri, numberSignIndex + 1, t2.get$leng
th(uri)); |
9591 } | 9748 } |
9592 } else { | 9749 } else { |
9593 fragment = t3 === 35 ? P.Uri__makeFragment(uri, t1.index_4 + 1, t2.get
$length(uri)) : null; | 9750 fragment = t3 === 35 ? P.Uri__makeFragment(uri, t1._captured_index_4 +
1, t2.get$length(uri)) : null; |
9594 query = null; | 9751 query = null; |
9595 } | 9752 } |
9596 t2 = t1.scheme_0; | 9753 t2 = t1._captured_scheme_0; |
9597 t3 = t1.userinfo_1; | 9754 t3 = t1._captured_userinfo_1; |
9598 return new P.Uri(t1.host_2, t1.port_3, path, t2, t3, query, fragment, nu
ll, null); | 9755 return new P.Uri(t1._captured_host_2, t1._captured_port_3, path, t2, t3,
query, fragment, null, null); |
9599 }, Uri__fail: function(uri, index, message) { | 9756 }, Uri__fail: function(uri, index, message) { |
9600 throw H.wrapException(P.FormatException$(message, uri, index)); | 9757 throw H.wrapException(P.FormatException$(message, uri, index)); |
9601 }, Uri_Uri: function(fragment, host, path, pathSegments, port, query, quer
yParameters, scheme, userInfo) { | 9758 }, Uri_Uri: function(fragment, host, path, pathSegments, port, query, quer
yParameters, scheme, userInfo) { |
9602 var isFile, t1; | 9759 var isFile, t1; |
9603 scheme = P.Uri__makeScheme(scheme, scheme.length); | 9760 scheme = P.Uri__makeScheme(scheme, scheme.length); |
9604 userInfo = P.Uri__makeUserInfo(userInfo, 0, userInfo.length); | 9761 userInfo = P.Uri__makeUserInfo(userInfo, 0, userInfo.length); |
9605 host = P.Uri__makeHost(host, 0, host == null ? 0 : J.get$length$asx(host
), false); | 9762 host = P.Uri__makeHost(host, 0, host == null ? 0 : J.get$length$asx(host
), false); |
9606 query = P.Uri__makeQuery(query, 0, 0, queryParameters); | 9763 query = P.Uri__makeQuery(query, 0, 0, queryParameters); |
9607 fragment = P.Uri__makeFragment(fragment, 0, 0); | 9764 fragment = P.Uri__makeFragment(fragment, 0, 0); |
9608 port = P.Uri__makePort(port, scheme); | 9765 port = P.Uri__makePort(port, scheme); |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9866 t1 = {}; | 10023 t1 = {}; |
9867 t2 = query == null; | 10024 t2 = query == null; |
9868 if (t2 && true) | 10025 if (t2 && true) |
9869 return; | 10026 return; |
9870 t2 = !t2; | 10027 t2 = !t2; |
9871 if (t2) | 10028 if (t2) |
9872 ; | 10029 ; |
9873 if (t2) | 10030 if (t2) |
9874 return P.Uri__normalize(query, start, end, C.List_CVk); | 10031 return P.Uri__normalize(query, start, end, C.List_CVk); |
9875 result = new P.StringBuffer(""); | 10032 result = new P.StringBuffer(""); |
9876 t1.first_0 = true; | 10033 t1._captured_first_0 = true; |
9877 C.JSNull_methods.forEach$1(queryParameters, new P.Uri__makeQuery_closure
(t1, result)); | 10034 C.JSNull_methods.forEach$1(queryParameters, new P.Uri__makeQuery_closure
(t1, result)); |
9878 t1 = result._contents; | 10035 t1 = result._contents; |
9879 return t1.charCodeAt(0) == 0 ? t1 : t1; | 10036 return t1.charCodeAt(0) == 0 ? t1 : t1; |
9880 }, Uri__makeFragment: function(fragment, start, end) { | 10037 }, Uri__makeFragment: function(fragment, start, end) { |
9881 if (fragment == null) | 10038 if (fragment == null) |
9882 return; | 10039 return; |
9883 return P.Uri__normalize(fragment, start, end, C.List_CVk); | 10040 return P.Uri__normalize(fragment, start, end, C.List_CVk); |
9884 }, Uri__isHexDigit: function($char) { | 10041 }, Uri__isHexDigit: function($char) { |
9885 if (57 >= $char) | 10042 if (57 >= $char) |
9886 return 48 <= $char; | 10043 return 48 <= $char; |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10027 } | 10184 } |
10028 } | 10185 } |
10029 if (buffer == null) | 10186 if (buffer == null) |
10030 return t1.substring$2(component, start, end); | 10187 return t1.substring$2(component, start, end); |
10031 if (sectionStart < end) | 10188 if (sectionStart < end) |
10032 buffer._contents += t1.substring$2(component, sectionStart, end); | 10189 buffer._contents += t1.substring$2(component, sectionStart, end); |
10033 t1 = buffer._contents; | 10190 t1 = buffer._contents; |
10034 return t1.charCodeAt(0) == 0 ? t1 : t1; | 10191 return t1.charCodeAt(0) == 0 ? t1 : t1; |
10035 }, Uri_decodeComponent: [function(encodedComponent) { | 10192 }, Uri_decodeComponent: [function(encodedComponent) { |
10036 return P.Uri__uriDecode(encodedComponent, C.Utf8Codec_false, false); | 10193 return P.Uri__uriDecode(encodedComponent, C.Utf8Codec_false, false); |
10037 }, "call$1", "Uri_decodeComponent$closure", 2, 0, 48], Uri_splitQueryStrin
g: function(query, encoding) { | 10194 }, "call$1", "Uri_decodeComponent$closure", 2, 0, 71], Uri_splitQueryStrin
g: function(query, encoding) { |
10038 return C.JSArray_methods.fold$2(query.split("&"), P.LinkedHashMap_Linked
HashMap$_empty(null, null), new P.Uri_splitQueryString_closure(encoding)); | 10195 return C.JSArray_methods.fold$2(query.split("&"), P.LinkedHashMap_Linked
HashMap$_empty(null, null), new P.Uri_splitQueryString_closure(encoding)); |
10039 }, Uri_parseIPv4Address: function(host) { | 10196 }, Uri_parseIPv4Address: function(host) { |
10040 var t1, bytes; | 10197 var t1, bytes; |
10041 t1 = new P.Uri_parseIPv4Address_error(); | 10198 t1 = new P.Uri_parseIPv4Address_error(); |
10042 bytes = host.split("."); | 10199 bytes = host.split("."); |
10043 if (bytes.length !== 4) | 10200 if (bytes.length !== 4) |
10044 t1.call$1("IPv4 address should contain exactly 4 parts"); | 10201 t1.call$1("IPv4 address should contain exactly 4 parts"); |
10045 return H.setRuntimeTypeInfo(new H.MappedListIterable(bytes, new P.Uri_pa
rseIPv4Address_closure(t1)), [null, null]).toList$0(0); | 10202 return H.setRuntimeTypeInfo(new H.MappedListIterable(bytes, new P.Uri_pa
rseIPv4Address_closure(t1)), [null, null]).toList$0(0); |
10046 }, Uri_parseIPv6Address: function(host, start, end) { | 10203 }, Uri_parseIPv6Address: function(host, start, end) { |
10047 var error, parseHex, parts, partStart, last, i, wildcardSeen, t1, atEnd,
isLastWildcard, exception, t2, bytes, index, value, wildCardLength, j; | 10204 var error, parseHex, parts, partStart, last, i, wildcardSeen, t1, atEnd,
isLastWildcard, exception, t2, bytes, index, value, wildCardLength, j; |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10189 else { | 10346 else { |
10190 charCode |= 32; | 10347 charCode |= 32; |
10191 if (97 <= charCode && charCode <= 102) | 10348 if (97 <= charCode && charCode <= 102) |
10192 $byte = $byte * 16 + charCode - 87; | 10349 $byte = $byte * 16 + charCode - 87; |
10193 else | 10350 else |
10194 throw H.wrapException(P.ArgumentError$("Invalid URL encoding")); | 10351 throw H.wrapException(P.ArgumentError$("Invalid URL encoding")); |
10195 } | 10352 } |
10196 } | 10353 } |
10197 return $byte; | 10354 return $byte; |
10198 }, Uri__uriDecode: function(text, encoding, plusToSpace) { | 10355 }, Uri__uriDecode: function(text, encoding, plusToSpace) { |
10199 var t1, simple, i, t2, codeUnit, bytes, allowMalformed; | 10356 var t1, simple, i, t2, codeUnit, bytes; |
10200 t1 = J.getInterceptor$asx(text); | 10357 t1 = J.getInterceptor$asx(text); |
10201 simple = true; | 10358 simple = true; |
10202 i = 0; | 10359 i = 0; |
10203 while (true) { | 10360 while (true) { |
10204 t2 = t1.get$length(text); | 10361 t2 = t1.get$length(text); |
10205 if (typeof t2 !== "number") | 10362 if (typeof t2 !== "number") |
10206 return H.iae(t2); | 10363 return H.iae(t2); |
10207 if (!(i < t2 && simple)) | 10364 if (!(i < t2 && simple)) |
10208 break; | 10365 break; |
10209 codeUnit = t1.codeUnitAt$1(text, i); | 10366 codeUnit = t1.codeUnitAt$1(text, i); |
(...skipping 22 matching lines...) Expand all Loading... |
10232 throw H.wrapException(P.ArgumentError$("Truncated URI")); | 10389 throw H.wrapException(P.ArgumentError$("Truncated URI")); |
10233 bytes.push(P.Uri__hexCharPairToByte(text, i + 1)); | 10390 bytes.push(P.Uri__hexCharPairToByte(text, i + 1)); |
10234 i += 2; | 10391 i += 2; |
10235 } else if (plusToSpace && codeUnit === 43) | 10392 } else if (plusToSpace && codeUnit === 43) |
10236 bytes.push(32); | 10393 bytes.push(32); |
10237 else | 10394 else |
10238 bytes.push(codeUnit); | 10395 bytes.push(codeUnit); |
10239 ++i; | 10396 ++i; |
10240 } | 10397 } |
10241 } | 10398 } |
10242 allowMalformed = encoding._allowMalformed; | 10399 return new P.Utf8Decoder(encoding._allowMalformed).convert$1(bytes); |
10243 return new P.Utf8Decoder(allowMalformed).convert$1(bytes); | |
10244 }} | 10400 }} |
10245 }, | 10401 }, |
10246 Uri_parse_isRegName: { | 10402 Uri_parse_isRegName: { |
10247 "^": "Closure:21;", | 10403 "^": "Closure:46;", |
10248 call$1: function(ch) { | 10404 call$1: function(ch) { |
10249 ch.$lt(0, 128); | 10405 ch.$lt(0, 128); |
10250 return false; | 10406 return false; |
10251 } | 10407 } |
10252 }, | 10408 }, |
10253 Uri_parse_parseAuth: { | 10409 Uri_parse_parseAuth: { |
10254 "^": "Closure:1;box_0,uri_1,EOI_2", | 10410 "^": "Closure:1;_box_0,_captured_uri_1,_captured_EOI_2", |
10255 call$0: function() { | 10411 call$0: function() { |
10256 var t1, t2, t3, authStart, $char, lastColon, lastAt, char0, endBracket, ho
stEnd, hostStart, i, portNumber, digit; | 10412 var t1, t2, t3, authStart, $char, lastColon, lastAt, char0, endBracket, ho
stEnd, hostStart, i, portNumber, digit; |
10257 t1 = this.box_0; | 10413 t1 = this._box_0; |
10258 t2 = this.uri_1; | 10414 t2 = this._captured_uri_1; |
10259 t3 = J.getInterceptor$asx(t2); | 10415 t3 = J.getInterceptor$asx(t2); |
10260 if (t1.index_4 === t3.get$length(t2)) { | 10416 if (t1._captured_index_4 === t3.get$length(t2)) { |
10261 t1.char_5 = this.EOI_2; | 10417 t1._captured_char_5 = this._captured_EOI_2; |
10262 return; | 10418 return; |
10263 } | 10419 } |
10264 authStart = t1.index_4; | 10420 authStart = t1._captured_index_4; |
10265 t1.char_5 = t3.codeUnitAt$1(t2, authStart); | 10421 t1._captured_char_5 = t3.codeUnitAt$1(t2, authStart); |
10266 for ($char = this.EOI_2, lastColon = -1, lastAt = -1; t1.index_4 < t2.leng
th;) { | 10422 for ($char = this._captured_EOI_2, lastColon = -1, lastAt = -1; t1._captur
ed_index_4 < t2.length;) { |
10267 char0 = C.JSString_methods.codeUnitAt$1(t2, t1.index_4); | 10423 char0 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_index_4); |
10268 t1.char_5 = char0; | 10424 t1._captured_char_5 = char0; |
10269 if (char0 === 47 || char0 === 63 || char0 === 35) | 10425 if (char0 === 47 || char0 === 63 || char0 === 35) |
10270 break; | 10426 break; |
10271 if (char0 === 64) { | 10427 if (char0 === 64) { |
10272 lastAt = t1.index_4; | 10428 lastAt = t1._captured_index_4; |
10273 lastColon = -1; | 10429 lastColon = -1; |
10274 } else if (char0 === 58) | 10430 } else if (char0 === 58) |
10275 lastColon = t1.index_4; | 10431 lastColon = t1._captured_index_4; |
10276 else if (char0 === 91) { | 10432 else if (char0 === 91) { |
10277 endBracket = C.JSString_methods.indexOf$2(t2, "]", t1.index_4 + 1); | 10433 endBracket = C.JSString_methods.indexOf$2(t2, "]", t1._captured_index_
4 + 1); |
10278 if (endBracket === -1) { | 10434 if (endBracket === -1) { |
10279 t1.index_4 = t2.length; | 10435 t1._captured_index_4 = t2.length; |
10280 t1.char_5 = $char; | 10436 t1._captured_char_5 = $char; |
10281 lastColon = -1; | 10437 lastColon = -1; |
10282 break; | 10438 break; |
10283 } else | 10439 } else |
10284 t1.index_4 = endBracket; | 10440 t1._captured_index_4 = endBracket; |
10285 lastColon = -1; | 10441 lastColon = -1; |
10286 } | 10442 } |
10287 ++t1.index_4; | 10443 ++t1._captured_index_4; |
10288 t1.char_5 = $char; | 10444 t1._captured_char_5 = $char; |
10289 } | 10445 } |
10290 hostEnd = t1.index_4; | 10446 hostEnd = t1._captured_index_4; |
10291 if (lastAt >= 0) { | 10447 if (lastAt >= 0) { |
10292 t1.userinfo_1 = P.Uri__makeUserInfo(t2, authStart, lastAt); | 10448 t1._captured_userinfo_1 = P.Uri__makeUserInfo(t2, authStart, lastAt); |
10293 hostStart = lastAt + 1; | 10449 hostStart = lastAt + 1; |
10294 } else | 10450 } else |
10295 hostStart = authStart; | 10451 hostStart = authStart; |
10296 if (lastColon >= 0) { | 10452 if (lastColon >= 0) { |
10297 i = lastColon + 1; | 10453 i = lastColon + 1; |
10298 if (i < t1.index_4) | 10454 if (i < t1._captured_index_4) |
10299 for (portNumber = 0; i < t1.index_4; ++i) { | 10455 for (portNumber = 0; i < t1._captured_index_4; ++i) { |
10300 digit = C.JSString_methods.codeUnitAt$1(t2, i); | 10456 digit = C.JSString_methods.codeUnitAt$1(t2, i); |
10301 if (48 > digit || 57 < digit) | 10457 if (48 > digit || 57 < digit) |
10302 P.Uri__fail(t2, i, "Invalid port number"); | 10458 P.Uri__fail(t2, i, "Invalid port number"); |
10303 portNumber = portNumber * 10 + (digit - 48); | 10459 portNumber = portNumber * 10 + (digit - 48); |
10304 } | 10460 } |
10305 else | 10461 else |
10306 portNumber = null; | 10462 portNumber = null; |
10307 t1.port_3 = P.Uri__makePort(portNumber, t1.scheme_0); | 10463 t1._captured_port_3 = P.Uri__makePort(portNumber, t1._captured_scheme_0)
; |
10308 hostEnd = lastColon; | 10464 hostEnd = lastColon; |
10309 } | 10465 } |
10310 t1.host_2 = P.Uri__makeHost(t2, hostStart, hostEnd, true); | 10466 t1._captured_host_2 = P.Uri__makeHost(t2, hostStart, hostEnd, true); |
10311 if (t1.index_4 < t2.length) | 10467 if (t1._captured_index_4 < t2.length) |
10312 t1.char_5 = C.JSString_methods.codeUnitAt$1(t2, t1.index_4); | 10468 t1._captured_char_5 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_i
ndex_4); |
10313 } | 10469 } |
10314 }, | 10470 }, |
10315 Uri__checkNonWindowsPathReservedCharacters_closure: { | 10471 Uri__checkNonWindowsPathReservedCharacters_closure: { |
10316 "^": "Closure:2;argumentError_0", | 10472 "^": "Closure:2;_captured_argumentError_0", |
10317 call$1: function(segment) { | 10473 call$1: function(segment) { |
10318 if (J.contains$1$asx(segment, "/") === true) | 10474 if (J.contains$1$asx(segment, "/") === true) |
10319 if (this.argumentError_0) | 10475 if (this._captured_argumentError_0) |
10320 throw H.wrapException(P.ArgumentError$("Illegal path character " + H.S
(segment))); | 10476 throw H.wrapException(P.ArgumentError$("Illegal path character " + H.S
(segment))); |
10321 else | 10477 else |
10322 throw H.wrapException(P.UnsupportedError$("Illegal path character " +
H.S(segment))); | 10478 throw H.wrapException(P.UnsupportedError$("Illegal path character " +
H.S(segment))); |
10323 } | 10479 } |
10324 }, | 10480 }, |
10325 Uri__checkWindowsPathReservedCharacters_closure: { | 10481 Uri__checkWindowsPathReservedCharacters_closure: { |
10326 "^": "Closure:2;argumentError_0", | 10482 "^": "Closure:2;_captured_argumentError_0", |
10327 call$1: function(segment) { | 10483 call$1: function(segment) { |
10328 if (J.contains$1$asx(segment, new H.JSSyntaxRegExp("[\"*/:<>?\\\\|]", H.JS
SyntaxRegExp_makeNative("[\"*/:<>?\\\\|]", false, true, false), null, null)) ===
true) | 10484 if (J.contains$1$asx(segment, new H.JSSyntaxRegExp("[\"*/:<>?\\\\|]", H.JS
SyntaxRegExp_makeNative("[\"*/:<>?\\\\|]", false, true, false), null, null)) ===
true) |
10329 if (this.argumentError_0) | 10485 if (this._captured_argumentError_0) |
10330 throw H.wrapException(P.ArgumentError$("Illegal character in path")); | 10486 throw H.wrapException(P.ArgumentError$("Illegal character in path")); |
10331 else | 10487 else |
10332 throw H.wrapException(P.UnsupportedError$("Illegal character in path")
); | 10488 throw H.wrapException(P.UnsupportedError$("Illegal character in path")
); |
10333 } | 10489 } |
10334 }, | 10490 }, |
10335 Uri__makePath_closure: { | 10491 Uri__makePath_closure: { |
10336 "^": "Closure:2;", | 10492 "^": "Closure:2;", |
10337 call$1: function(s) { | 10493 call$1: function(s) { |
10338 return P.Uri__uriEncode(C.List_qg40, s, C.Utf8Codec_false, false); | 10494 return P.Uri__uriEncode(C.List_qg40, s, C.Utf8Codec_false, false); |
10339 } | 10495 } |
10340 }, | 10496 }, |
10341 Uri__makeQuery_closure: { | 10497 Uri__makeQuery_closure: { |
10342 "^": "Closure:15;box_0,result_1", | 10498 "^": "Closure:40;_box_0,_captured_result_1", |
10343 call$2: function(key, value) { | 10499 call$2: function(key, value) { |
10344 var t1 = this.box_0; | 10500 var t1 = this._box_0; |
10345 if (!t1.first_0) | 10501 if (!t1._captured_first_0) |
10346 this.result_1._contents += "&"; | 10502 this._captured_result_1._contents += "&"; |
10347 t1.first_0 = false; | 10503 t1._captured_first_0 = false; |
10348 t1 = this.result_1; | 10504 t1 = this._captured_result_1; |
10349 t1._contents += P.Uri__uriEncode(C.List_nxB, key, C.Utf8Codec_false, true)
; | 10505 t1._contents += P.Uri__uriEncode(C.List_nxB, key, C.Utf8Codec_false, true)
; |
10350 value.get$isEmpty(value); | 10506 value.get$isEmpty(value); |
10351 t1._contents += "="; | 10507 t1._contents += "="; |
10352 t1._contents += P.Uri__uriEncode(C.List_nxB, value, C.Utf8Codec_false, tru
e); | 10508 t1._contents += P.Uri__uriEncode(C.List_nxB, value, C.Utf8Codec_false, tru
e); |
10353 } | 10509 } |
10354 }, | 10510 }, |
10355 Uri_hashCode_combine: { | 10511 Uri_hashCode_combine: { |
10356 "^": "Closure:22;", | 10512 "^": "Closure:47;", |
10357 call$2: function(part, current) { | 10513 call$2: function(part, current) { |
10358 return current * 31 + J.get$hashCode$(part) & 1073741823; | 10514 return current * 31 + J.get$hashCode$(part) & 1073741823; |
10359 } | 10515 } |
10360 }, | 10516 }, |
10361 Uri_splitQueryString_closure: { | 10517 Uri_splitQueryString_closure: { |
10362 "^": "Closure:15;encoding_0", | 10518 "^": "Closure:40;_captured_encoding_0", |
10363 call$2: function(map, element) { | 10519 call$2: function(map, element) { |
10364 var t1, index, key, value; | 10520 var t1, index, key, value; |
10365 t1 = J.getInterceptor$asx(element); | 10521 t1 = J.getInterceptor$asx(element); |
10366 index = t1.indexOf$1(element, "="); | 10522 index = t1.indexOf$1(element, "="); |
10367 if (index === -1) { | 10523 if (index === -1) { |
10368 if (element !== "") | 10524 if (element !== "") |
10369 J.$indexSet$ax(map, P.Uri__uriDecode(element, this.encoding_0, true),
""); | 10525 J.$indexSet$ax(map, P.Uri__uriDecode(element, this._captured_encoding_
0, true), ""); |
10370 } else if (index !== 0) { | 10526 } else if (index !== 0) { |
10371 key = t1.substring$2(element, 0, index); | 10527 key = t1.substring$2(element, 0, index); |
10372 value = C.JSString_methods.substring$1(element, index + 1); | 10528 value = C.JSString_methods.substring$1(element, index + 1); |
10373 t1 = this.encoding_0; | 10529 t1 = this._captured_encoding_0; |
10374 J.$indexSet$ax(map, P.Uri__uriDecode(key, t1, true), P.Uri__uriDecode(va
lue, t1, true)); | 10530 J.$indexSet$ax(map, P.Uri__uriDecode(key, t1, true), P.Uri__uriDecode(va
lue, t1, true)); |
10375 } | 10531 } |
10376 return map; | 10532 return map; |
10377 } | 10533 } |
10378 }, | 10534 }, |
10379 Uri_parseIPv4Address_error: { | 10535 Uri_parseIPv4Address_error: { |
10380 "^": "Closure:23;", | 10536 "^": "Closure:38;", |
10381 call$1: function(msg) { | 10537 call$1: function(msg) { |
10382 throw H.wrapException(P.FormatException$("Illegal IPv4 address, " + msg, n
ull, null)); | 10538 throw H.wrapException(P.FormatException$("Illegal IPv4 address, " + msg, n
ull, null)); |
10383 } | 10539 } |
10384 }, | 10540 }, |
10385 Uri_parseIPv4Address_closure: { | 10541 Uri_parseIPv4Address_closure: { |
10386 "^": "Closure:2;error_0", | 10542 "^": "Closure:2;_captured_error_0", |
10387 call$1: function(byteString) { | 10543 call$1: function(byteString) { |
10388 var $byte, t1; | 10544 var $byte, t1; |
10389 $byte = H.Primitives_parseInt(byteString, null, null); | 10545 $byte = H.Primitives_parseInt(byteString, null, null); |
10390 t1 = J.getInterceptor$n($byte); | 10546 t1 = J.getInterceptor$n($byte); |
10391 if (t1.$lt($byte, 0) || t1.$gt($byte, 255)) | 10547 if (t1.$lt($byte, 0) || t1.$gt($byte, 255)) |
10392 this.error_0.call$1("each part must be in the range of `0..255`"); | 10548 this._captured_error_0.call$1("each part must be in the range of `0..255
`"); |
10393 return $byte; | 10549 return $byte; |
10394 } | 10550 } |
10395 }, | 10551 }, |
10396 Uri_parseIPv6Address_error: { | 10552 Uri_parseIPv6Address_error: { |
10397 "^": "Closure:24;host_0", | 10553 "^": "Closure:48;_captured_host_0", |
10398 call$2: function(msg, position) { | 10554 call$2: function(msg, position) { |
10399 throw H.wrapException(P.FormatException$("Illegal IPv6 address, " + msg, t
his.host_0, position)); | 10555 throw H.wrapException(P.FormatException$("Illegal IPv6 address, " + msg, t
his._captured_host_0, position)); |
10400 }, | 10556 }, |
10401 call$1: function(msg) { | 10557 call$1: function(msg) { |
10402 return this.call$2(msg, null); | 10558 return this.call$2(msg, null); |
10403 } | 10559 } |
10404 }, | 10560 }, |
10405 Uri_parseIPv6Address_parseHex: { | 10561 Uri_parseIPv6Address_parseHex: { |
10406 "^": "Closure:25;host_1,error_2", | 10562 "^": "Closure:49;_captured_host_1,_captured_error_2", |
10407 call$2: function(start, end) { | 10563 call$2: function(start, end) { |
10408 var value, t1; | 10564 var value, t1; |
10409 if (J.$gt$n(J.$sub$n(end, start), 4)) | 10565 if (J.$gt$n(J.$sub$n(end, start), 4)) |
10410 this.error_2.call$2("an IPv6 part can only contain a maximum of 4 hex di
gits", start); | 10566 this._captured_error_2.call$2("an IPv6 part can only contain a maximum o
f 4 hex digits", start); |
10411 value = H.Primitives_parseInt(C.JSString_methods.substring$2(this.host_1,
start, end), 16, null); | 10567 value = H.Primitives_parseInt(C.JSString_methods.substring$2(this._capture
d_host_1, start, end), 16, null); |
10412 t1 = J.getInterceptor$n(value); | 10568 t1 = J.getInterceptor$n(value); |
10413 if (t1.$lt(value, 0) || t1.$gt(value, 65535)) | 10569 if (t1.$lt(value, 0) || t1.$gt(value, 65535)) |
10414 this.error_2.call$2("each part must be in the range of `0x0..0xFFFF`", s
tart); | 10570 this._captured_error_2.call$2("each part must be in the range of `0x0..0
xFFFF`", start); |
10415 return value; | 10571 return value; |
10416 } | 10572 } |
10417 }, | 10573 }, |
10418 Uri__uriEncode_byteToHex: { | 10574 Uri__uriEncode_byteToHex: { |
10419 "^": "Closure:15;", | 10575 "^": "Closure:40;", |
10420 call$2: function($byte, buffer) { | 10576 call$2: function($byte, buffer) { |
10421 buffer._contents += H.Primitives_stringFromCharCode(C.JSString_methods.cod
eUnitAt$1("0123456789ABCDEF", $byte >>> 4)); | 10577 buffer._contents += H.Primitives_stringFromCharCode(C.JSString_methods.cod
eUnitAt$1("0123456789ABCDEF", $byte >>> 4)); |
10422 buffer._contents += H.Primitives_stringFromCharCode(C.JSString_methods.cod
eUnitAt$1("0123456789ABCDEF", $byte & 15)); | 10578 buffer._contents += H.Primitives_stringFromCharCode(C.JSString_methods.cod
eUnitAt$1("0123456789ABCDEF", $byte & 15)); |
10423 } | 10579 } |
10424 } | 10580 } |
10425 }], | 10581 }], |
10426 ["dart.dom.html", "dart:html", , W, { | 10582 ["dart.dom.html", "dart:html", , W, { |
10427 "^": "", | 10583 "^": "", |
10428 WebSocket_WebSocket: function(url, protocol_OR_protocols) { | 10584 WebSocket_WebSocket: function(url, protocol_OR_protocols) { |
10429 var t1, t2; | 10585 var t1, t2; |
(...skipping 30 matching lines...) Expand all Loading... |
10460 if (J.$eq($.Zone__current, C.C__RootZone)) | 10616 if (J.$eq($.Zone__current, C.C__RootZone)) |
10461 return callback; | 10617 return callback; |
10462 return $.Zone__current.bindUnaryCallback$2$runGuarded(callback, true); | 10618 return $.Zone__current.bindUnaryCallback$2$runGuarded(callback, true); |
10463 }, | 10619 }, |
10464 HtmlElement: { | 10620 HtmlElement: { |
10465 "^": "Element;", | 10621 "^": "Element;", |
10466 $isHtmlElement: 1, | 10622 $isHtmlElement: 1, |
10467 $isElement: 1, | 10623 $isElement: 1, |
10468 $isNode: 1, | 10624 $isNode: 1, |
10469 $isObject: 1, | 10625 $isObject: 1, |
10470 "%": "HTMLAppletElement|HTMLBRElement|HTMLBaseElement|HTMLButtonElement|HTML
CanvasElement|HTMLContentElement|HTMLDListElement|HTMLDataListElement|HTMLDetail
sElement|HTMLDialogElement|HTMLDirectoryElement|HTMLDivElement|HTMLFieldSetEleme
nt|HTMLFontElement|HTMLFrameElement|HTMLHRElement|HTMLHeadElement|HTMLHeadingEle
ment|HTMLHtmlElement|HTMLKeygenElement|HTMLLIElement|HTMLLabelElement|HTMLLegend
Element|HTMLLinkElement|HTMLMapElement|HTMLMarqueeElement|HTMLMenuElement|HTMLMe
nuItemElement|HTMLMetaElement|HTMLMeterElement|HTMLModElement|HTMLOptGroupElemen
t|HTMLOptionElement|HTMLOutputElement|HTMLParagraphElement|HTMLParamElement|HTML
PictureElement|HTMLPreElement|HTMLProgressElement|HTMLQuoteElement|HTMLShadowEle
ment|HTMLSpanElement|HTMLStyleElement|HTMLTableCaptionElement|HTMLTableCellEleme
nt|HTMLTableColElement|HTMLTableDataCellElement|HTMLTableElement|HTMLTableHeader
CellElement|HTMLTableRowElement|HTMLTableSectionElement|HTMLTemplateElement|HTML
TextAreaElement|HTMLTitleElement|HTMLUListElement|HTMLUnknownElement;HTMLElement
" | 10626 "%": "HTMLAppletElement|HTMLBRElement|HTMLBaseElement|HTMLButtonElement|HTML
CanvasElement|HTMLContentElement|HTMLDListElement|HTMLDataListElement|HTMLDetail
sElement|HTMLDialogElement|HTMLDirectoryElement|HTMLFieldSetElement|HTMLFontElem
ent|HTMLFrameElement|HTMLHRElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtmlEl
ement|HTMLKeygenElement|HTMLLIElement|HTMLLabelElement|HTMLLegendElement|HTMLLin
kElement|HTMLMapElement|HTMLMarqueeElement|HTMLMenuElement|HTMLMenuItemElement|H
TMLMetaElement|HTMLMeterElement|HTMLModElement|HTMLOptGroupElement|HTMLOptionEle
ment|HTMLOutputElement|HTMLParagraphElement|HTMLParamElement|HTMLPictureElement|
HTMLPreElement|HTMLProgressElement|HTMLQuoteElement|HTMLShadowElement|HTMLSpanEl
ement|HTMLStyleElement|HTMLTableCaptionElement|HTMLTableCellElement|HTMLTableCol
Element|HTMLTableDataCellElement|HTMLTableElement|HTMLTableHeaderCellElement|HTM
LTableRowElement|HTMLTableSectionElement|HTMLTemplateElement|HTMLTextAreaElement
|HTMLTitleElement|HTMLUListElement|HTMLUnknownElement;HTMLElement" |
10471 }, | 10627 }, |
10472 AnchorElement: { | 10628 AnchorElement: { |
10473 "^": "HtmlElement;origin=", | 10629 "^": "HtmlElement;origin=", |
10474 toString$0: function(receiver) { | 10630 toString$0: function(receiver) { |
10475 return String(receiver); | 10631 return String(receiver); |
10476 }, | 10632 }, |
10477 $isInterceptor: 1, | 10633 $isInterceptor: 1, |
10478 "%": "HTMLAnchorElement" | 10634 "%": "HTMLAnchorElement" |
10479 }, | 10635 }, |
10480 ApplicationCacheErrorEvent: { | 10636 ApplicationCacheErrorEvent: { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10517 CssStyleDeclaration: { | 10673 CssStyleDeclaration: { |
10518 "^": "Interceptor_CssStyleDeclarationBase;length=", | 10674 "^": "Interceptor_CssStyleDeclarationBase;length=", |
10519 "%": "CSS2Properties|CSSStyleDeclaration|MSStyleCSSProperties" | 10675 "%": "CSS2Properties|CSSStyleDeclaration|MSStyleCSSProperties" |
10520 }, | 10676 }, |
10521 Interceptor_CssStyleDeclarationBase: { | 10677 Interceptor_CssStyleDeclarationBase: { |
10522 "^": "Interceptor+CssStyleDeclarationBase;" | 10678 "^": "Interceptor+CssStyleDeclarationBase;" |
10523 }, | 10679 }, |
10524 CssStyleDeclarationBase: { | 10680 CssStyleDeclarationBase: { |
10525 "^": "Object;" | 10681 "^": "Object;" |
10526 }, | 10682 }, |
| 10683 DivElement: { |
| 10684 "^": "HtmlElement;", |
| 10685 "%": ";HTMLDivElement" |
| 10686 }, |
10527 DocumentFragment: { | 10687 DocumentFragment: { |
10528 "^": "Node;", | 10688 "^": "Node;", |
10529 $isInterceptor: 1, | 10689 $isInterceptor: 1, |
10530 "%": "DocumentFragment|ShadowRoot" | 10690 "%": "DocumentFragment|ShadowRoot" |
10531 }, | 10691 }, |
10532 DomError: { | 10692 DomError: { |
10533 "^": "Interceptor;message=", | 10693 "^": "Interceptor;message=", |
10534 "%": "DOMError|FileError" | 10694 "%": "DOMError|FileError" |
10535 }, | 10695 }, |
10536 DomException: { | 10696 DomException: { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10601 EmbedElement: { | 10761 EmbedElement: { |
10602 "^": "HtmlElement;src}", | 10762 "^": "HtmlElement;src}", |
10603 "%": "HTMLEmbedElement" | 10763 "%": "HTMLEmbedElement" |
10604 }, | 10764 }, |
10605 ErrorEvent: { | 10765 ErrorEvent: { |
10606 "^": "Event;error=,message=", | 10766 "^": "Event;error=,message=", |
10607 "%": "ErrorEvent" | 10767 "%": "ErrorEvent" |
10608 }, | 10768 }, |
10609 Event: { | 10769 Event: { |
10610 "^": "Interceptor;", | 10770 "^": "Interceptor;", |
10611 "%": "AnimationPlayerEvent|AudioProcessingEvent|AutocompleteErrorEvent|Befor
eUnloadEvent|CloseEvent|CustomEvent|DeviceLightEvent|DeviceMotionEvent|DeviceOri
entationEvent|FetchEvent|FontFaceSetLoadEvent|GamepadEvent|HashChangeEvent|IDBVe
rsionChangeEvent|InstallEvent|InstallPhaseEvent|MIDIConnectionEvent|MediaKeyNeed
edEvent|MediaStreamEvent|MediaStreamTrackEvent|MutationEvent|OfflineAudioComplet
ionEvent|OverflowEvent|PageTransitionEvent|PopStateEvent|ProgressEvent|RTCDTMFTo
neChangeEvent|RTCDataChannelEvent|RTCIceCandidateEvent|RelatedEvent|ResourceProg
ressEvent|SecurityPolicyViolationEvent|SpeechRecognitionEvent|SpeechSynthesisEve
nt|StorageEvent|TrackEvent|TransitionEvent|WebGLContextEvent|WebKitAnimationEven
t|WebKitTransitionEvent|XMLHttpRequestProgressEvent;ClipboardEvent|Event|InputEv
ent" | 10771 "%": "AnimationPlayerEvent|AudioProcessingEvent|AutocompleteErrorEvent|Befor
eUnloadEvent|CloseEvent|CustomEvent|DeviceLightEvent|DeviceMotionEvent|DeviceOri
entationEvent|ExtendableEvent|FetchEvent|FontFaceSetLoadEvent|GamepadEvent|HashC
hangeEvent|IDBVersionChangeEvent|InstallEvent|MIDIConnectionEvent|MediaKeyNeeded
Event|MediaQueryListEvent|MediaStreamEvent|MediaStreamTrackEvent|MutationEvent|O
fflineAudioCompletionEvent|OverflowEvent|PageTransitionEvent|PopStateEvent|Progr
essEvent|RTCDTMFToneChangeEvent|RTCDataChannelEvent|RTCIceCandidateEvent|RTCPeer
ConnectionIceEvent|RelatedEvent|ResourceProgressEvent|SecurityPolicyViolationEve
nt|SpeechRecognitionEvent|SpeechSynthesisEvent|StorageEvent|TrackEvent|Transitio
nEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTransitionEvent|XMLHttpReque
stProgressEvent;ClipboardEvent|Event|InputEvent" |
10612 }, | 10772 }, |
10613 EventTarget: { | 10773 EventTarget: { |
10614 "^": "Interceptor;", | 10774 "^": "Interceptor;", |
10615 _addEventListener$3: function(receiver, type, listener, useCapture) { | 10775 _addEventListener$3: function(receiver, type, listener, useCapture) { |
10616 return receiver.addEventListener(type, H.convertDartClosureToJS(listener,
1), useCapture); | 10776 return receiver.addEventListener(type, H.convertDartClosureToJS(listener,
1), useCapture); |
10617 }, | 10777 }, |
10618 _removeEventListener$3: function(receiver, type, listener, useCapture) { | 10778 _removeEventListener$3: function(receiver, type, listener, useCapture) { |
10619 return receiver.removeEventListener(type, H.convertDartClosureToJS(listene
r, 1), useCapture); | 10779 return receiver.removeEventListener(type, H.convertDartClosureToJS(listene
r, 1), useCapture); |
10620 }, | 10780 }, |
10621 "%": "MediaStream;EventTarget" | 10781 "%": "MediaStream;EventTarget" |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10763 "^": "EventTarget;parent:parentElement=", | 10923 "^": "EventTarget;parent:parentElement=", |
10764 toString$0: function(receiver) { | 10924 toString$0: function(receiver) { |
10765 var value = receiver.nodeValue; | 10925 var value = receiver.nodeValue; |
10766 return value == null ? this.super$Interceptor$toString$0(receiver) : value
; | 10926 return value == null ? this.super$Interceptor$toString$0(receiver) : value
; |
10767 }, | 10927 }, |
10768 contains$1: function(receiver, other) { | 10928 contains$1: function(receiver, other) { |
10769 return receiver.contains(other); | 10929 return receiver.contains(other); |
10770 }, | 10930 }, |
10771 $isNode: 1, | 10931 $isNode: 1, |
10772 $isObject: 1, | 10932 $isObject: 1, |
10773 "%": "Attr|Document|HTMLDocument|Notation|XMLDocument;Node" | 10933 "%": "Attr|Document|HTMLDocument|XMLDocument;Node" |
10774 }, | 10934 }, |
10775 NodeList: { | 10935 NodeList: { |
10776 "^": "Interceptor_ListMixin_ImmutableListMixin0;", | 10936 "^": "Interceptor_ListMixin_ImmutableListMixin0;", |
10777 get$length: function(receiver) { | 10937 get$length: function(receiver) { |
10778 return receiver.length; | 10938 return receiver.length; |
10779 }, | 10939 }, |
10780 $index: function(receiver, index) { | 10940 $index: function(receiver, index) { |
10781 if (index >>> 0 !== index || index >= receiver.length) | 10941 if (index >>> 0 !== index || index >= receiver.length) |
10782 throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); | 10942 throw H.wrapException(P.IndexError$(index, receiver, null, null, null)); |
10783 return receiver[index]; | 10943 return receiver[index]; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10825 $isEfficientLength: 1 | 10985 $isEfficientLength: 1 |
10826 }, | 10986 }, |
10827 OListElement: { | 10987 OListElement: { |
10828 "^": "HtmlElement;start=", | 10988 "^": "HtmlElement;start=", |
10829 "%": "HTMLOListElement" | 10989 "%": "HTMLOListElement" |
10830 }, | 10990 }, |
10831 ObjectElement: { | 10991 ObjectElement: { |
10832 "^": "HtmlElement;data=", | 10992 "^": "HtmlElement;data=", |
10833 "%": "HTMLObjectElement" | 10993 "%": "HTMLObjectElement" |
10834 }, | 10994 }, |
| 10995 PluginPlaceholderElement: { |
| 10996 "^": "DivElement;message=", |
| 10997 "%": "PluginPlaceholderElement" |
| 10998 }, |
10835 PositionError: { | 10999 PositionError: { |
10836 "^": "Interceptor;message=", | 11000 "^": "Interceptor;message=", |
10837 "%": "PositionError" | 11001 "%": "PositionError" |
10838 }, | 11002 }, |
10839 PushEvent: { | 11003 PushEvent: { |
10840 "^": "Event;data=", | 11004 "^": "Event;data=", |
10841 "%": "PushEvent" | 11005 "%": "PushEvent" |
10842 }, | 11006 }, |
10843 ScriptElement: { | 11007 ScriptElement: { |
10844 "^": "HtmlElement;src}", | 11008 "^": "HtmlElement;src}", |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11343 return b; | 11507 return b; |
11344 return a; | 11508 return a; |
11345 } | 11509 } |
11346 if (b === 0) | 11510 if (b === 0) |
11347 t1 = a === 0 ? 1 / a < 0 : a < 0; | 11511 t1 = a === 0 ? 1 / a < 0 : a < 0; |
11348 else | 11512 else |
11349 t1 = false; | 11513 t1 = false; |
11350 if (t1) | 11514 if (t1) |
11351 return b; | 11515 return b; |
11352 return a; | 11516 return a; |
11353 }, "call$2", "max$closure", 4, 0, 49] | 11517 }, "call$2", "max$closure", 4, 0, 72] |
11354 }], | 11518 }], |
11355 ["dart.typed_data.implementation", "dart:_native_typed_data", , H, { | 11519 ["dart.typed_data.implementation", "dart:_native_typed_data", , H, { |
11356 "^": "", | 11520 "^": "", |
11357 NativeByteBuffer: { | 11521 NativeByteBuffer: { |
11358 "^": "Interceptor;", | 11522 "^": "Interceptor;", |
11359 $isNativeByteBuffer: 1, | 11523 $isNativeByteBuffer: 1, |
11360 "%": "ArrayBuffer" | 11524 "%": "ArrayBuffer" |
11361 }, | 11525 }, |
11362 NativeTypedData: { | 11526 NativeTypedData: { |
11363 "^": "Interceptor;", | 11527 "^": "Interceptor;", |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11595 throw "Unable to print message: " + String(string); | 11759 throw "Unable to print message: " + String(string); |
11596 } | 11760 } |
11597 }], | 11761 }], |
11598 ["frame", "package:stack_trace/src/frame.dart", , S, { | 11762 ["frame", "package:stack_trace/src/frame.dart", , S, { |
11599 "^": "", | 11763 "^": "", |
11600 Frame: { | 11764 Frame: { |
11601 "^": "Object;uri<,line,column,member<", | 11765 "^": "Object;uri<,line,column,member<", |
11602 get$isCore: function() { | 11766 get$isCore: function() { |
11603 return this.uri.scheme === "dart"; | 11767 return this.uri.scheme === "dart"; |
11604 }, | 11768 }, |
| 11769 get$library: function() { |
| 11770 return $.get$context().prettyUri$1(this.uri); |
| 11771 }, |
11605 get$$package: function() { | 11772 get$$package: function() { |
11606 var t1 = this.uri; | 11773 var t1 = this.uri; |
11607 if (t1.scheme !== "package") | 11774 if (t1.scheme !== "package") |
11608 return; | 11775 return; |
11609 return C.JSArray_methods.get$first(t1._path.split("/")); | 11776 return C.JSArray_methods.get$first(t1._path.split("/")); |
11610 }, | 11777 }, |
11611 get$location: function(_) { | 11778 get$location: function(_) { |
11612 var t1, t2; | 11779 var t1, t2; |
11613 t1 = this.line; | 11780 t1 = this.line; |
11614 if (t1 == null) | 11781 if (t1 == null) |
11615 return $.get$context().prettyUri$1(this.uri); | 11782 return $.get$context().prettyUri$1(this.uri); |
11616 t2 = this.column; | 11783 t2 = this.column; |
11617 if (t2 == null) | 11784 if (t2 == null) |
11618 return $.get$context().prettyUri$1(this.uri) + " " + H.S(t1); | 11785 return $.get$context().prettyUri$1(this.uri) + " " + H.S(t1); |
11619 return $.get$context().prettyUri$1(this.uri) + " " + H.S(t1) + ":" + H.S(t
2); | 11786 return $.get$context().prettyUri$1(this.uri) + " " + H.S(t1) + ":" + H.S(t
2); |
11620 }, | 11787 }, |
11621 toString$0: function(_) { | 11788 toString$0: function(_) { |
11622 return this.get$location(this) + " in " + H.S(this.member); | 11789 return this.get$location(this) + " in " + H.S(this.member); |
11623 }, | 11790 }, |
11624 static: {Frame_Frame$parseVM: function(frame) { | 11791 static: {Frame_Frame$parseVM: function(frame) { |
11625 var match, t1, t2, member, uri, lineAndColumn, line, column; | 11792 var match, t1, t2, member, uri, lineAndColumn, line; |
11626 if (J.$eq(frame, "...")) | 11793 if (J.$eq(frame, "...")) |
11627 return new S.Frame(P.Uri_Uri(null, null, null, null, null, null, null,
"", ""), null, null, "..."); | 11794 return new S.Frame(P.Uri_Uri(null, null, null, null, null, null, null,
"", ""), null, null, "..."); |
11628 match = $.get$_vmFrame().firstMatch$1(frame); | 11795 match = $.get$_vmFrame().firstMatch$1(frame); |
11629 if (match == null) | 11796 if (match == null) |
11630 throw H.wrapException(P.FormatException$("Couldn't parse VM stack trac
e line '" + H.S(frame) + "'.", null, null)); | 11797 throw H.wrapException(P.FormatException$("Couldn't parse VM stack trac
e line '" + H.S(frame) + "'.", null, null)); |
11631 t1 = match._match; | 11798 t1 = match._match; |
11632 if (1 >= t1.length) | 11799 if (1 >= t1.length) |
11633 return H.ioore(t1, 1); | 11800 return H.ioore(t1, 1); |
11634 t2 = J.replaceAll$2$s(t1[1], $.get$_asyncBody(), "<async>"); | 11801 t2 = J.replaceAll$2$s(t1[1], $.get$_asyncBody(), "<async>"); |
11635 H.checkString("<fn>"); | 11802 H.checkString("<fn>"); |
11636 member = H.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>"); | 11803 member = H.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>"); |
11637 if (2 >= t1.length) | 11804 if (2 >= t1.length) |
11638 return H.ioore(t1, 2); | 11805 return H.ioore(t1, 2); |
11639 uri = P.Uri_parse(t1[2]); | 11806 uri = P.Uri_parse(t1[2]); |
11640 if (3 >= t1.length) | 11807 if (3 >= t1.length) |
11641 return H.ioore(t1, 3); | 11808 return H.ioore(t1, 3); |
11642 lineAndColumn = J.split$1$s(t1[3], ":"); | 11809 lineAndColumn = J.split$1$s(t1[3], ":"); |
11643 line = lineAndColumn.length > 1 ? H.Primitives_parseInt(lineAndColumn[1]
, null, null) : null; | 11810 line = lineAndColumn.length > 1 ? H.Primitives_parseInt(lineAndColumn[1]
, null, null) : null; |
11644 column = lineAndColumn.length > 2 ? H.Primitives_parseInt(lineAndColumn[
2], null, null) : null; | 11811 return new S.Frame(uri, line, lineAndColumn.length > 2 ? H.Primitives_pa
rseInt(lineAndColumn[2], null, null) : null, member); |
11645 return new S.Frame(uri, line, column, member); | |
11646 }, Frame_Frame$parseV8: function(frame) { | 11812 }, Frame_Frame$parseV8: function(frame) { |
11647 var match, t1, t2, t3, t4; | 11813 var match, t1, t2, t3, t4; |
11648 match = $.get$_v8Frame().firstMatch$1(frame); | 11814 match = $.get$_v8Frame().firstMatch$1(frame); |
11649 if (match == null) | 11815 if (match == null) |
11650 throw H.wrapException(P.FormatException$("Couldn't parse V8 stack trac
e line '" + H.S(frame) + "'.", null, null)); | 11816 throw H.wrapException(P.FormatException$("Couldn't parse V8 stack trac
e line '" + H.S(frame) + "'.", null, null)); |
11651 t1 = new S.Frame_Frame$parseV8_parseLocation(frame); | 11817 t1 = new S.Frame_Frame$parseV8_parseLocation(frame); |
11652 t2 = match._match; | 11818 t2 = match._match; |
11653 t3 = t2.length; | 11819 t3 = t2.length; |
11654 if (2 >= t3) | 11820 if (2 >= t3) |
11655 return H.ioore(t2, 2); | 11821 return H.ioore(t2, 2); |
(...skipping 14 matching lines...) Expand all Loading... |
11670 else if (t1.contains$1(uriOrPath, $.get$Frame__windowsRegExp()) === true
) | 11836 else if (t1.contains$1(uriOrPath, $.get$Frame__windowsRegExp()) === true
) |
11671 return P.Uri_Uri$file(uriOrPath, true); | 11837 return P.Uri_Uri$file(uriOrPath, true); |
11672 else if (t1.startsWith$1(uriOrPath, "/")) | 11838 else if (t1.startsWith$1(uriOrPath, "/")) |
11673 return P.Uri_Uri$file(uriOrPath, false); | 11839 return P.Uri_Uri$file(uriOrPath, false); |
11674 if (C.JSString_methods.contains$1(uriOrPath, "\\")) | 11840 if (C.JSString_methods.contains$1(uriOrPath, "\\")) |
11675 return $.get$windows().toUri$1(uriOrPath); | 11841 return $.get$windows().toUri$1(uriOrPath); |
11676 return P.Uri_parse(uriOrPath); | 11842 return P.Uri_parse(uriOrPath); |
11677 }} | 11843 }} |
11678 }, | 11844 }, |
11679 Frame_Frame$parseV8_parseLocation: { | 11845 Frame_Frame$parseV8_parseLocation: { |
11680 "^": "Closure:15;frame_0", | 11846 "^": "Closure:40;_captured_frame_0", |
11681 call$2: function($location, member) { | 11847 call$2: function($location, member) { |
11682 var t1, evalMatch, t2, urlMatch, t3; | 11848 var t1, evalMatch, t2, urlMatch, t3; |
11683 t1 = $.get$_v8EvalLocation(); | 11849 t1 = $.get$_v8EvalLocation(); |
11684 evalMatch = t1.firstMatch$1($location); | 11850 evalMatch = t1.firstMatch$1($location); |
11685 for (; evalMatch != null;) { | 11851 for (; evalMatch != null;) { |
11686 t2 = evalMatch._match; | 11852 t2 = evalMatch._match; |
11687 if (1 >= t2.length) | 11853 if (1 >= t2.length) |
11688 return H.ioore(t2, 1); | 11854 return H.ioore(t2, 1); |
11689 $location = t2[1]; | 11855 $location = t2[1]; |
11690 evalMatch = t1.firstMatch$1($location); | 11856 evalMatch = t1.firstMatch$1($location); |
11691 } | 11857 } |
11692 urlMatch = $.get$_v8UrlLocation().firstMatch$1($location); | 11858 urlMatch = $.get$_v8UrlLocation().firstMatch$1($location); |
11693 if (urlMatch == null) | 11859 if (urlMatch == null) |
11694 throw H.wrapException(P.FormatException$("Couldn't parse V8 stack trace
line '" + H.S(this.frame_0) + "'.", null, null)); | 11860 throw H.wrapException(P.FormatException$("Couldn't parse V8 stack trace
line '" + H.S(this._captured_frame_0) + "'.", null, null)); |
11695 t1 = urlMatch._match; | 11861 t1 = urlMatch._match; |
11696 if (1 >= t1.length) | 11862 if (1 >= t1.length) |
11697 return H.ioore(t1, 1); | 11863 return H.ioore(t1, 1); |
11698 t2 = S.Frame__uriOrPathToUri(t1[1]); | 11864 t2 = S.Frame__uriOrPathToUri(t1[1]); |
11699 if (2 >= t1.length) | 11865 if (2 >= t1.length) |
11700 return H.ioore(t1, 2); | 11866 return H.ioore(t1, 2); |
11701 t3 = H.Primitives_parseInt(t1[2], null, null); | 11867 t3 = H.Primitives_parseInt(t1[2], null, null); |
11702 if (3 >= t1.length) | 11868 if (3 >= t1.length) |
11703 return H.ioore(t1, 3); | 11869 return H.ioore(t1, 3); |
11704 return new S.Frame(t2, t3, H.Primitives_parseInt(t1[3], null, null), membe
r); | 11870 return new S.Frame(t2, t3, H.Primitives_parseInt(t1[3], null, null), membe
r); |
11705 } | 11871 } |
11706 } | 11872 } |
11707 }], | 11873 }], |
11708 ["html_common", "dart:html_common", , P, { | 11874 ["html_common", "dart:html_common", , P, { |
11709 "^": "", | 11875 "^": "", |
11710 _convertDartToNative_PrepareForStructuredClone: function(value) { | 11876 _convertDartToNative_PrepareForStructuredClone: function(value) { |
11711 var copies, copy; | 11877 var copies, copy; |
11712 copies = []; | 11878 copies = []; |
11713 copy = new P._convertDartToNative_PrepareForStructuredClone_walk(new P._conv
ertDartToNative_PrepareForStructuredClone_findSlot([], copies), new P._convertDa
rtToNative_PrepareForStructuredClone_readSlot(copies), new P._convertDartToNativ
e_PrepareForStructuredClone_writeSlot(copies)).call$1(value); | 11879 copy = new P._convertDartToNative_PrepareForStructuredClone_walk(new P._conv
ertDartToNative_PrepareForStructuredClone_findSlot([], copies), new P._convertDa
rtToNative_PrepareForStructuredClone_readSlot(copies), new P._convertDartToNativ
e_PrepareForStructuredClone_writeSlot(copies)).call$1(value); |
11714 new P._convertDartToNative_PrepareForStructuredClone_cleanupSlots().call$0()
; | 11880 new P._convertDartToNative_PrepareForStructuredClone_cleanupSlots().call$0()
; |
11715 return copy; | 11881 return copy; |
11716 }, | 11882 }, |
11717 convertNativeToDart_AcceptStructuredClone: function(object, mustCopy) { | 11883 convertNativeToDart_AcceptStructuredClone: function(object, mustCopy) { |
11718 var copies = []; | 11884 var copies = []; |
11719 return new P.convertNativeToDart_AcceptStructuredClone_walk(mustCopy, new P.
convertNativeToDart_AcceptStructuredClone_findSlot([], copies), new P.convertNat
iveToDart_AcceptStructuredClone_readSlot(copies), new P.convertNativeToDart_Acce
ptStructuredClone_writeSlot(copies)).call$1(object); | 11885 return new P.convertNativeToDart_AcceptStructuredClone_walk(mustCopy, new P.
convertNativeToDart_AcceptStructuredClone_findSlot([], copies), new P.convertNat
iveToDart_AcceptStructuredClone_readSlot(copies), new P.convertNativeToDart_Acce
ptStructuredClone_writeSlot(copies)).call$1(object); |
11720 }, | 11886 }, |
11721 _convertDartToNative_PrepareForStructuredClone_findSlot: { | 11887 _convertDartToNative_PrepareForStructuredClone_findSlot: { |
11722 "^": "Closure:26;values_1,copies_2", | 11888 "^": "Closure:50;_captured_values_1,_captured_copies_2", |
11723 call$1: function(value) { | 11889 call$1: function(value) { |
11724 var t1, $length, i; | 11890 var t1, $length, i; |
11725 t1 = this.values_1; | 11891 t1 = this._captured_values_1; |
11726 $length = t1.length; | 11892 $length = t1.length; |
11727 for (i = 0; i < $length; ++i) | 11893 for (i = 0; i < $length; ++i) |
11728 if (t1[i] === value) | 11894 if (t1[i] === value) |
11729 return i; | 11895 return i; |
11730 t1.push(value); | 11896 t1.push(value); |
11731 this.copies_2.push(null); | 11897 this._captured_copies_2.push(null); |
11732 return $length; | 11898 return $length; |
11733 } | 11899 } |
11734 }, | 11900 }, |
11735 _convertDartToNative_PrepareForStructuredClone_readSlot: { | 11901 _convertDartToNative_PrepareForStructuredClone_readSlot: { |
11736 "^": "Closure:27;copies_3", | 11902 "^": "Closure:51;_captured_copies_3", |
11737 call$1: function(i) { | 11903 call$1: function(i) { |
11738 var t1 = this.copies_3; | 11904 var t1 = this._captured_copies_3; |
11739 if (i >= t1.length) | 11905 if (i >= t1.length) |
11740 return H.ioore(t1, i); | 11906 return H.ioore(t1, i); |
11741 return t1[i]; | 11907 return t1[i]; |
11742 } | 11908 } |
11743 }, | 11909 }, |
11744 _convertDartToNative_PrepareForStructuredClone_writeSlot: { | 11910 _convertDartToNative_PrepareForStructuredClone_writeSlot: { |
11745 "^": "Closure:28;copies_4", | 11911 "^": "Closure:52;_captured_copies_4", |
11746 call$2: function(i, x) { | 11912 call$2: function(i, x) { |
11747 var t1 = this.copies_4; | 11913 var t1 = this._captured_copies_4; |
11748 if (i >= t1.length) | 11914 if (i >= t1.length) |
11749 return H.ioore(t1, i); | 11915 return H.ioore(t1, i); |
11750 t1[i] = x; | 11916 t1[i] = x; |
11751 } | 11917 } |
11752 }, | 11918 }, |
11753 _convertDartToNative_PrepareForStructuredClone_cleanupSlots: { | 11919 _convertDartToNative_PrepareForStructuredClone_cleanupSlots: { |
11754 "^": "Closure:0;", | 11920 "^": "Closure:0;", |
11755 call$0: function() { | 11921 call$0: function() { |
11756 } | 11922 } |
11757 }, | 11923 }, |
11758 _convertDartToNative_PrepareForStructuredClone_walk: { | 11924 _convertDartToNative_PrepareForStructuredClone_walk: { |
11759 "^": "Closure:2;findSlot_5,readSlot_6,writeSlot_7", | 11925 "^": "Closure:2;_captured_findSlot_5,_captured_readSlot_6,_captured_writeSlo
t_7", |
11760 call$1: function(e) { | 11926 call$1: function(e) { |
11761 var t1, t2, slot, copy, $length, i; | 11927 var t1, t2, slot, copy, $length, i; |
11762 t1 = {}; | 11928 t1 = {}; |
11763 if (e == null) | 11929 if (e == null) |
11764 return e; | 11930 return e; |
11765 if (typeof e === "boolean") | 11931 if (typeof e === "boolean") |
11766 return e; | 11932 return e; |
11767 if (typeof e === "number") | 11933 if (typeof e === "number") |
11768 return e; | 11934 return e; |
11769 if (typeof e === "string") | 11935 if (typeof e === "string") |
11770 return e; | 11936 return e; |
11771 t2 = J.getInterceptor(e); | 11937 t2 = J.getInterceptor(e); |
11772 if (!!t2.$isDateTime) | 11938 if (!!t2.$isDateTime) |
11773 return new Date(e.millisecondsSinceEpoch); | 11939 return new Date(e.millisecondsSinceEpoch); |
11774 if (!!t2.$isRegExp) | 11940 if (!!t2.$isRegExp) |
11775 throw H.wrapException(P.UnimplementedError$("structured clone of RegExp"
)); | 11941 throw H.wrapException(P.UnimplementedError$("structured clone of RegExp"
)); |
11776 if (!!t2.$isFile) | 11942 if (!!t2.$isFile) |
11777 return e; | 11943 return e; |
11778 if (!!t2.$isBlob) | 11944 if (!!t2.$isBlob) |
11779 return e; | 11945 return e; |
11780 if (!!t2.$isNativeByteBuffer) | 11946 if (!!t2.$isNativeByteBuffer) |
11781 return e; | 11947 return e; |
11782 if (!!t2.$isNativeTypedData) | 11948 if (!!t2.$isNativeTypedData) |
11783 return e; | 11949 return e; |
11784 if (!!t2.$isMap) { | 11950 if (!!t2.$isMap) { |
11785 slot = this.findSlot_5.call$1(e); | 11951 slot = this._captured_findSlot_5.call$1(e); |
11786 copy = this.readSlot_6.call$1(slot); | 11952 copy = this._captured_readSlot_6.call$1(slot); |
11787 t1.copy_0 = copy; | 11953 t1._captured_copy_0 = copy; |
11788 if (copy != null) | 11954 if (copy != null) |
11789 return copy; | 11955 return copy; |
11790 copy = {}; | 11956 copy = {}; |
11791 t1.copy_0 = copy; | 11957 t1._captured_copy_0 = copy; |
11792 this.writeSlot_7.call$2(slot, copy); | 11958 this._captured_writeSlot_7.call$2(slot, copy); |
11793 t2.forEach$1(e, new P._convertDartToNative_PrepareForStructuredClone_wal
k_closure(t1, this)); | 11959 t2.forEach$1(e, new P._convertDartToNative_PrepareForStructuredClone_wal
k_closure(t1, this)); |
11794 return t1.copy_0; | 11960 return t1._captured_copy_0; |
11795 } | 11961 } |
11796 if (!!t2.$isList) { | 11962 if (!!t2.$isList) { |
11797 $length = t2.get$length(e); | 11963 $length = t2.get$length(e); |
11798 slot = this.findSlot_5.call$1(e); | 11964 slot = this._captured_findSlot_5.call$1(e); |
11799 copy = this.readSlot_6.call$1(slot); | 11965 copy = this._captured_readSlot_6.call$1(slot); |
11800 if (copy != null) { | 11966 if (copy != null) { |
11801 if (true === copy) { | 11967 if (true === copy) { |
11802 copy = new Array($length); | 11968 copy = new Array($length); |
11803 this.writeSlot_7.call$2(slot, copy); | 11969 this._captured_writeSlot_7.call$2(slot, copy); |
11804 } | 11970 } |
11805 return copy; | 11971 return copy; |
11806 } | 11972 } |
11807 copy = new Array($length); | 11973 copy = new Array($length); |
11808 this.writeSlot_7.call$2(slot, copy); | 11974 this._captured_writeSlot_7.call$2(slot, copy); |
11809 for (i = 0; i < $length; ++i) { | 11975 for (i = 0; i < $length; ++i) { |
11810 t1 = this.call$1(t2.$index(e, i)); | 11976 t1 = this.call$1(t2.$index(e, i)); |
11811 if (i >= copy.length) | 11977 if (i >= copy.length) |
11812 return H.ioore(copy, i); | 11978 return H.ioore(copy, i); |
11813 copy[i] = t1; | 11979 copy[i] = t1; |
11814 } | 11980 } |
11815 return copy; | 11981 return copy; |
11816 } | 11982 } |
11817 throw H.wrapException(P.UnimplementedError$("structured clone of other typ
e")); | 11983 throw H.wrapException(P.UnimplementedError$("structured clone of other typ
e")); |
11818 } | 11984 } |
11819 }, | 11985 }, |
11820 _convertDartToNative_PrepareForStructuredClone_walk_closure: { | 11986 _convertDartToNative_PrepareForStructuredClone_walk_closure: { |
11821 "^": "Closure:15;box_0,walk_8", | 11987 "^": "Closure:40;_html_common$_box_0,_captured_walk_8", |
11822 call$2: function(key, value) { | 11988 call$2: function(key, value) { |
11823 this.box_0.copy_0[key] = this.walk_8.call$1(value); | 11989 this._html_common$_box_0._captured_copy_0[key] = this._captured_walk_8.cal
l$1(value); |
11824 } | 11990 } |
11825 }, | 11991 }, |
11826 convertNativeToDart_AcceptStructuredClone_findSlot: { | 11992 convertNativeToDart_AcceptStructuredClone_findSlot: { |
11827 "^": "Closure:26;values_0,copies_1", | 11993 "^": "Closure:50;_captured_values_0,_captured_copies_1", |
11828 call$1: function(value) { | 11994 call$1: function(value) { |
11829 var t1, $length, i, t2; | 11995 var t1, $length, i, t2; |
11830 t1 = this.values_0; | 11996 t1 = this._captured_values_0; |
11831 $length = t1.length; | 11997 $length = t1.length; |
11832 for (i = 0; i < $length; ++i) { | 11998 for (i = 0; i < $length; ++i) { |
11833 t2 = t1[i]; | 11999 t2 = t1[i]; |
11834 if (t2 == null ? value == null : t2 === value) | 12000 if (t2 == null ? value == null : t2 === value) |
11835 return i; | 12001 return i; |
11836 } | 12002 } |
11837 t1.push(value); | 12003 t1.push(value); |
11838 this.copies_1.push(null); | 12004 this._captured_copies_1.push(null); |
11839 return $length; | 12005 return $length; |
11840 } | 12006 } |
11841 }, | 12007 }, |
11842 convertNativeToDart_AcceptStructuredClone_readSlot: { | 12008 convertNativeToDart_AcceptStructuredClone_readSlot: { |
11843 "^": "Closure:27;copies_2", | 12009 "^": "Closure:51;_captured_copies_2", |
11844 call$1: function(i) { | 12010 call$1: function(i) { |
11845 var t1 = this.copies_2; | 12011 var t1 = this._captured_copies_2; |
11846 if (i >= t1.length) | 12012 if (i >= t1.length) |
11847 return H.ioore(t1, i); | 12013 return H.ioore(t1, i); |
11848 return t1[i]; | 12014 return t1[i]; |
11849 } | 12015 } |
11850 }, | 12016 }, |
11851 convertNativeToDart_AcceptStructuredClone_writeSlot: { | 12017 convertNativeToDart_AcceptStructuredClone_writeSlot: { |
11852 "^": "Closure:28;copies_3", | 12018 "^": "Closure:52;_captured_copies_3", |
11853 call$2: function(i, x) { | 12019 call$2: function(i, x) { |
11854 var t1 = this.copies_3; | 12020 var t1 = this._captured_copies_3; |
11855 if (i >= t1.length) | 12021 if (i >= t1.length) |
11856 return H.ioore(t1, i); | 12022 return H.ioore(t1, i); |
11857 t1[i] = x; | 12023 t1[i] = x; |
11858 } | 12024 } |
11859 }, | 12025 }, |
11860 convertNativeToDart_AcceptStructuredClone_walk: { | 12026 convertNativeToDart_AcceptStructuredClone_walk: { |
11861 "^": "Closure:2;mustCopy_4,findSlot_5,readSlot_6,writeSlot_7", | 12027 "^": "Closure:2;_captured_mustCopy_4,_captured_findSlot_5,_captured_readSlot
_6,_captured_writeSlot_7", |
11862 call$1: function(e) { | 12028 call$1: function(e) { |
11863 var proto, slot, copy, t1, key, $length, t2, i; | 12029 var proto, slot, copy, t1, key, $length, t2, i; |
11864 if (e == null) | 12030 if (e == null) |
11865 return e; | 12031 return e; |
11866 if (typeof e === "boolean") | 12032 if (typeof e === "boolean") |
11867 return e; | 12033 return e; |
11868 if (typeof e === "number") | 12034 if (typeof e === "number") |
11869 return e; | 12035 return e; |
11870 if (typeof e === "string") | 12036 if (typeof e === "string") |
11871 return e; | 12037 return e; |
11872 if (e instanceof Date) | 12038 if (e instanceof Date) |
11873 return P.DateTime$fromMillisecondsSinceEpoch(e.getTime(), true); | 12039 return P.DateTime$fromMillisecondsSinceEpoch(e.getTime(), true); |
11874 if (e instanceof RegExp) | 12040 if (e instanceof RegExp) |
11875 throw H.wrapException(P.UnimplementedError$("structured clone of RegExp"
)); | 12041 throw H.wrapException(P.UnimplementedError$("structured clone of RegExp"
)); |
11876 proto = Object.getPrototypeOf(e); | 12042 proto = Object.getPrototypeOf(e); |
11877 if (proto === Object.prototype || proto === null) { | 12043 if (proto === Object.prototype || proto === null) { |
11878 slot = this.findSlot_5.call$1(e); | 12044 slot = this._captured_findSlot_5.call$1(e); |
11879 copy = this.readSlot_6.call$1(slot); | 12045 copy = this._captured_readSlot_6.call$1(slot); |
11880 if (copy != null) | 12046 if (copy != null) |
11881 return copy; | 12047 return copy; |
11882 copy = P.LinkedHashMap_LinkedHashMap$_empty(null, null); | 12048 copy = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
11883 this.writeSlot_7.call$2(slot, copy); | 12049 this._captured_writeSlot_7.call$2(slot, copy); |
11884 for (t1 = Object.keys(e), t1 = new H.ListIterator(t1, t1.length, 0, null
); t1.moveNext$0();) { | 12050 for (t1 = Object.keys(e), t1 = new J.ArrayIterator(t1, t1.length, 0, nul
l); t1.moveNext$0();) { |
11885 key = t1._current; | 12051 key = t1.__interceptors$_current; |
11886 copy.$indexSet(0, key, this.call$1(e[key])); | 12052 copy.$indexSet(0, key, this.call$1(e[key])); |
11887 } | 12053 } |
11888 return copy; | 12054 return copy; |
11889 } | 12055 } |
11890 if (e instanceof Array) { | 12056 if (e instanceof Array) { |
11891 slot = this.findSlot_5.call$1(e); | 12057 slot = this._captured_findSlot_5.call$1(e); |
11892 copy = this.readSlot_6.call$1(slot); | 12058 copy = this._captured_readSlot_6.call$1(slot); |
11893 if (copy != null) | 12059 if (copy != null) |
11894 return copy; | 12060 return copy; |
11895 t1 = J.getInterceptor$asx(e); | 12061 t1 = J.getInterceptor$asx(e); |
11896 $length = t1.get$length(e); | 12062 $length = t1.get$length(e); |
11897 copy = this.mustCopy_4 ? new Array($length) : e; | 12063 copy = this._captured_mustCopy_4 ? new Array($length) : e; |
11898 this.writeSlot_7.call$2(slot, copy); | 12064 this._captured_writeSlot_7.call$2(slot, copy); |
11899 if (typeof $length !== "number") | 12065 if (typeof $length !== "number") |
11900 return H.iae($length); | 12066 return H.iae($length); |
11901 t2 = J.getInterceptor$ax(copy); | 12067 t2 = J.getInterceptor$ax(copy); |
11902 i = 0; | 12068 i = 0; |
11903 for (; i < $length; ++i) | 12069 for (; i < $length; ++i) |
11904 t2.$indexSet(copy, i, this.call$1(t1.$index(e, i))); | 12070 t2.$indexSet(copy, i, this.call$1(t1.$index(e, i))); |
11905 return copy; | 12071 return copy; |
11906 } | 12072 } |
11907 return e; | 12073 return e; |
11908 } | 12074 } |
(...skipping 16 matching lines...) Expand all Loading... |
11925 }, | 12091 }, |
11926 toString$0: function(_) { | 12092 toString$0: function(_) { |
11927 return J.toString$0(this.get$_trace()); | 12093 return J.toString$0(this.get$_trace()); |
11928 }, | 12094 }, |
11929 _thunk$0: function() { | 12095 _thunk$0: function() { |
11930 return this._thunk.call$0(); | 12096 return this._thunk.call$0(); |
11931 }, | 12097 }, |
11932 $isTrace: 1 | 12098 $isTrace: 1 |
11933 }, | 12099 }, |
11934 LazyTrace_terse_closure: { | 12100 LazyTrace_terse_closure: { |
11935 "^": "Closure:0;this_0", | 12101 "^": "Closure:0;_lazy_trace$_captured_this_0", |
11936 call$0: function() { | 12102 call$0: function() { |
11937 return this.this_0.get$_trace().get$terse(); | 12103 return this._lazy_trace$_captured_this_0.get$_trace().get$terse(); |
11938 } | 12104 } |
11939 } | 12105 } |
11940 }], | 12106 }], |
11941 ["path", "package:path/path.dart", , B, { | 12107 ["path", "package:path/path.dart", , B, { |
11942 "^": "", | 12108 "^": "", |
11943 current: function() { | 12109 current: function() { |
11944 var uri, t1, t2, targetScheme, targetUserInfo, targetHost, targetPort, targe
tPath, targetQuery, fragment, path; | 12110 var uri, t1, t2, targetScheme, targetUserInfo, targetHost, targetPort, targe
tPath, targetQuery, fragment, path; |
11945 uri = P.Uri_base(); | 12111 uri = P.Uri_base(); |
11946 t1 = $.get$Style_platform(); | 12112 t1 = $.get$Style_platform(); |
11947 t2 = $.get$Style_url(); | 12113 t2 = $.get$Style_url(); |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12035 t2.$builtinTypeInfo = [null, null]; | 12201 t2.$builtinTypeInfo = [null, null]; |
12036 t1 += t2.join$1(0, ", "); | 12202 t1 += t2.join$1(0, ", "); |
12037 message._contents = t1; | 12203 message._contents = t1; |
12038 message._contents = t1 + ("): part " + (i - 1) + " was null, but part " +
i + " was not."); | 12204 message._contents = t1 + ("): part " + (i - 1) + " was null, but part " +
i + " was not."); |
12039 throw H.wrapException(P.ArgumentError$(message.toString$0(0))); | 12205 throw H.wrapException(P.ArgumentError$(message.toString$0(0))); |
12040 } | 12206 } |
12041 }, | 12207 }, |
12042 Context: { | 12208 Context: { |
12043 "^": "Object;style,_context0$_current", | 12209 "^": "Object;style,_context0$_current", |
12044 join$8: function(_, part1, part2, part3, part4, part5, part6, part7, part8)
{ | 12210 join$8: function(_, part1, part2, part3, part4, part5, part6, part7, part8)
{ |
12045 var parts = [part1, part2, part3, part4, part5, part6, part7, part8]; | 12211 var parts = H.setRuntimeTypeInfo([part1, part2, part3, part4, part5, part6
, part7, part8], [P.String]); |
12046 F._validateArgList("join", parts); | 12212 F._validateArgList("join", parts); |
12047 return this.joinAll$1(H.setRuntimeTypeInfo(new H.WhereIterable(parts, new
F.Context_join_closure()), [H.getTypeArgumentByIndex(parts, 0)])); | 12213 return this.joinAll$1(H.setRuntimeTypeInfo(new H.WhereIterable(parts, new
F.Context_join_closure()), [H.getTypeArgumentByIndex(parts, 0)])); |
12048 }, | 12214 }, |
12049 join$2: function($receiver, part1, part2) { | 12215 join$2: function($receiver, part1, part2) { |
12050 return this.join$8($receiver, part1, part2, null, null, null, null, null,
null); | 12216 return this.join$8($receiver, part1, part2, null, null, null, null, null,
null); |
12051 }, | 12217 }, |
12052 joinAll$1: function(parts) { | 12218 joinAll$1: function(parts) { |
12053 var buffer, t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, part
, parsed, t4, root, t5; | 12219 var buffer, t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, part
, parsed, t4, t5; |
12054 buffer = new P.StringBuffer(""); | 12220 buffer = new P.StringBuffer(""); |
12055 for (t1 = H.setRuntimeTypeInfo(new H.WhereIterable(parts, new F.Context_jo
inAll_closure()), [H.getRuntimeTypeArgument(parts, "IterableBase", 0)]), t1 = H.
setRuntimeTypeInfo(new H.WhereIterator(J.get$iterator$ax(t1._iterable), t1._f),
[H.getTypeArgumentByIndex(t1, 0)]), t2 = this.style, t3 = t1._iterator, needsSep
arator = false, isAbsoluteAndNotRootRelative = false; t1.moveNext$0();) { | 12221 for (t1 = H.setRuntimeTypeInfo(new H.WhereIterable(parts, new F.Context_jo
inAll_closure()), [H.getRuntimeTypeArgument(parts, "IterableBase", 0)]), t1 = H.
setRuntimeTypeInfo(new H.WhereIterator(J.get$iterator$ax(t1.__internal$_iterable
), t1._f), [H.getTypeArgumentByIndex(t1, 0)]), t2 = this.style, t3 = t1._iterato
r, needsSeparator = false, isAbsoluteAndNotRootRelative = false; t1.moveNext$0()
;) { |
12056 part = t3.get$current(); | 12222 part = t3.get$current(); |
12057 if (Q.ParsedPath_ParsedPath$parse(part, t2).isRootRelative && isAbsolute
AndNotRootRelative) { | 12223 if (t2.isRootRelative$1(part) && isAbsoluteAndNotRootRelative) { |
12058 parsed = Q.ParsedPath_ParsedPath$parse(part, t2); | 12224 parsed = Q.ParsedPath_ParsedPath$parse(part, t2); |
12059 t4 = buffer._contents; | 12225 t4 = buffer._contents; |
12060 root = Q.ParsedPath_ParsedPath$parse(t4.charCodeAt(0) == 0 ? t4 : t4,
t2).root; | 12226 t4 = t4.charCodeAt(0) == 0 ? t4 : t4; |
12061 t4 = root == null ? "" : root; | 12227 t4 = C.JSString_methods.substring$2(t4, 0, t2.rootLength$1(t4)); |
12062 parsed.root = t4; | 12228 parsed.root = t4; |
12063 if (t2.needsSeparator$1(t4)) { | 12229 if (t2.needsSeparator$1(t4)) { |
12064 t4 = parsed.separators; | 12230 t4 = parsed.separators; |
12065 t5 = t2.get$separator(); | 12231 t5 = t2.get$separator(); |
12066 if (0 >= t4.length) | 12232 if (0 >= t4.length) |
12067 return H.ioore(t4, 0); | 12233 return H.ioore(t4, 0); |
12068 t4[0] = t5; | 12234 t4[0] = t5; |
12069 } | 12235 } |
12070 buffer._contents = ""; | 12236 buffer._contents = ""; |
12071 buffer._contents += parsed.toString$0(0); | 12237 buffer._contents += parsed.toString$0(0); |
12072 } else if (Q.ParsedPath_ParsedPath$parse(part, t2).root != null) { | 12238 } else if (t2.rootLength$1(part) > 0) { |
12073 isAbsoluteAndNotRootRelative = !Q.ParsedPath_ParsedPath$parse(part, t2
).isRootRelative; | 12239 isAbsoluteAndNotRootRelative = !t2.isRootRelative$1(part); |
12074 buffer._contents = ""; | 12240 buffer._contents = ""; |
12075 buffer._contents += H.S(part); | 12241 buffer._contents += H.S(part); |
12076 } else { | 12242 } else { |
12077 t4 = J.getInterceptor$asx(part); | 12243 t4 = J.getInterceptor$asx(part); |
12078 if (J.$gt$n(t4.get$length(part), 0) && t2.containsSeparator$1(t4.$inde
x(part, 0)) === true) | 12244 if (J.$gt$n(t4.get$length(part), 0) && t2.containsSeparator$1(t4.$inde
x(part, 0)) === true) |
12079 ; | 12245 ; |
12080 else if (needsSeparator) | 12246 else if (needsSeparator) |
12081 buffer._contents += t2.get$separator(); | 12247 buffer._contents += t2.get$separator(); |
12082 buffer._contents += H.S(part); | 12248 buffer._contents += H.S(part); |
12083 } | 12249 } |
(...skipping 14 matching lines...) Expand all Loading... |
12098 C.JSArray_methods.insert$2(t1, 0, t2); | 12264 C.JSArray_methods.insert$2(t1, 0, t2); |
12099 return parsed.parts; | 12265 return parsed.parts; |
12100 }, | 12266 }, |
12101 normalize$1: function(path) { | 12267 normalize$1: function(path) { |
12102 var parsed = Q.ParsedPath_ParsedPath$parse(path, this.style); | 12268 var parsed = Q.ParsedPath_ParsedPath$parse(path, this.style); |
12103 parsed.normalize$0(); | 12269 parsed.normalize$0(); |
12104 return parsed.toString$0(0); | 12270 return parsed.toString$0(0); |
12105 }, | 12271 }, |
12106 relative$2$from: function(path, from) { | 12272 relative$2$from: function(path, from) { |
12107 var t1, t2, fromParsed, pathParsed, t3; | 12273 var t1, t2, fromParsed, pathParsed, t3; |
12108 t1 = this._context0$_current; | 12274 from = this._context0$_current; |
12109 from = t1 != null ? t1 : B.current(); | 12275 from = from != null ? from : B.current(); |
12110 t1 = this.style; | 12276 t1 = this.style; |
12111 if (Q.ParsedPath_ParsedPath$parse(from, t1).root == null && Q.ParsedPath_P
arsedPath$parse(path, t1).root != null) | 12277 if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0) |
12112 return this.normalize$1(path); | 12278 return this.normalize$1(path); |
12113 if (Q.ParsedPath_ParsedPath$parse(path, t1).root == null || Q.ParsedPath_P
arsedPath$parse(path, t1).isRootRelative) { | 12279 if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path)) { |
12114 t2 = this._context0$_current; | 12280 t2 = this._context0$_current; |
12115 path = this.join$8(0, t2 != null ? t2 : B.current(), path, null, null, n
ull, null, null, null); | 12281 path = this.join$8(0, t2 != null ? t2 : B.current(), path, null, null, n
ull, null, null, null); |
12116 } | 12282 } |
12117 if (Q.ParsedPath_ParsedPath$parse(path, t1).root == null && Q.ParsedPath_P
arsedPath$parse(from, t1).root != null) | 12283 if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0) |
12118 throw H.wrapException(E.PathException$("Unable to find a path to \"" + p
ath + "\" from \"" + H.S(from) + "\".")); | 12284 throw H.wrapException(E.PathException$("Unable to find a path to \"" + p
ath + "\" from \"" + H.S(from) + "\".")); |
12119 fromParsed = Q.ParsedPath_ParsedPath$parse(from, t1); | 12285 fromParsed = Q.ParsedPath_ParsedPath$parse(from, t1); |
12120 fromParsed.normalize$0(); | 12286 fromParsed.normalize$0(); |
12121 pathParsed = Q.ParsedPath_ParsedPath$parse(path, t1); | 12287 pathParsed = Q.ParsedPath_ParsedPath$parse(path, t1); |
12122 pathParsed.normalize$0(); | 12288 pathParsed.normalize$0(); |
12123 t2 = fromParsed.parts; | 12289 t2 = fromParsed.parts; |
12124 if (t2.length > 0 && J.$eq(t2[0], ".")) | 12290 if (t2.length > 0 && J.$eq(t2[0], ".")) |
12125 return pathParsed.toString$0(0); | 12291 return pathParsed.toString$0(0); |
12126 t2 = fromParsed.root; | 12292 if (!J.$eq(fromParsed.root, pathParsed.root)) { |
12127 t3 = pathParsed.root; | 12293 t2 = fromParsed.root; |
12128 if (t2 == null ? t3 != null : t2 !== t3) | 12294 if (!(t2 == null || pathParsed.root == null)) { |
12129 if (!(t2 == null || t3 == null)) { | 12295 t2 = J.toLowerCase$0$s(t2); |
12130 t2.toString; | |
12131 t2 = t2.toLowerCase(); | |
12132 H.checkString("\\"); | 12296 H.checkString("\\"); |
12133 t2 = H.stringReplaceAllUnchecked(t2, "/", "\\"); | 12297 t2 = H.stringReplaceAllUnchecked(t2, "/", "\\"); |
12134 t3 = pathParsed.root; | 12298 t3 = J.toLowerCase$0$s(pathParsed.root); |
12135 t3.toString; | |
12136 t3 = t3.toLowerCase(); | |
12137 H.checkString("\\"); | 12299 H.checkString("\\"); |
12138 t3 = t2 !== H.stringReplaceAllUnchecked(t3, "/", "\\"); | 12300 t3 = t2 !== H.stringReplaceAllUnchecked(t3, "/", "\\"); |
12139 t2 = t3; | 12301 t2 = t3; |
12140 } else | 12302 } else |
12141 t2 = true; | 12303 t2 = true; |
12142 else | 12304 } else |
12143 t2 = false; | 12305 t2 = false; |
12144 if (t2) | 12306 if (t2) |
12145 return pathParsed.toString$0(0); | 12307 return pathParsed.toString$0(0); |
12146 while (true) { | 12308 while (true) { |
12147 t2 = fromParsed.parts; | 12309 t2 = fromParsed.parts; |
12148 if (t2.length > 0) { | 12310 if (t2.length > 0) { |
12149 t3 = pathParsed.parts; | 12311 t3 = pathParsed.parts; |
12150 t2 = t3.length > 0 && J.$eq(t2[0], t3[0]); | 12312 t2 = t3.length > 0 && J.$eq(t2[0], t3[0]); |
12151 } else | 12313 } else |
12152 t2 = false; | 12314 t2 = false; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12186 }, | 12348 }, |
12187 relative$1: function(path) { | 12349 relative$1: function(path) { |
12188 return this.relative$2$from(path, null); | 12350 return this.relative$2$from(path, null); |
12189 }, | 12351 }, |
12190 fromUri$1: function(uri) { | 12352 fromUri$1: function(uri) { |
12191 return this.style.pathFromUri$1(uri); | 12353 return this.style.pathFromUri$1(uri); |
12192 }, | 12354 }, |
12193 toUri$1: function(path) { | 12355 toUri$1: function(path) { |
12194 var t1, t2; | 12356 var t1, t2; |
12195 t1 = this.style; | 12357 t1 = this.style; |
12196 if (Q.ParsedPath_ParsedPath$parse(path, t1).root == null) | 12358 if (t1.rootLength$1(path) <= 0) |
12197 return t1.relativePathToUri$1(path); | 12359 return t1.relativePathToUri$1(path); |
12198 else { | 12360 else { |
12199 t2 = this._context0$_current; | 12361 t2 = this._context0$_current; |
12200 return t1.absolutePathToUri$1(this.join$2(0, t2 != null ? t2 : B.current
(), path)); | 12362 return t1.absolutePathToUri$1(this.join$2(0, t2 != null ? t2 : B.current
(), path)); |
12201 } | 12363 } |
12202 }, | 12364 }, |
12203 prettyUri$1: function(uri) { | 12365 prettyUri$1: function(uri) { |
12204 var t1, t2, t3, t4, path, rel; | 12366 var t1, t2, t3, t4, path, rel; |
12205 t1 = uri.scheme; | 12367 t1 = uri.scheme; |
12206 t2 = t1 === "file"; | 12368 t2 = t1 === "file"; |
(...skipping 13 matching lines...) Expand all Loading... |
12220 t2 = t1 == null ? t2 != null : t1 !== t2; | 12382 t2 = t1 == null ? t2 != null : t1 !== t2; |
12221 t1 = t2; | 12383 t1 = t2; |
12222 } else | 12384 } else |
12223 t1 = false; | 12385 t1 = false; |
12224 else | 12386 else |
12225 t1 = false; | 12387 t1 = false; |
12226 if (t1) | 12388 if (t1) |
12227 return uri.toString$0(0); | 12389 return uri.toString$0(0); |
12228 path = this.normalize$1(this.fromUri$1(uri)); | 12390 path = this.normalize$1(this.fromUri$1(uri)); |
12229 rel = this.relative$1(path); | 12391 rel = this.relative$1(path); |
12230 this.split$1(0, rel); | |
12231 return this.split$1(0, rel).length > this.split$1(0, path).length ? path :
rel; | 12392 return this.split$1(0, rel).length > this.split$1(0, path).length ? path :
rel; |
12232 }, | 12393 }, |
12233 static: {Context_Context: function(current, style) { | 12394 static: {Context_Context: function(current, style) { |
12234 current = style == null ? B.current() : "."; | 12395 current = style == null ? B.current() : "."; |
12235 if (style == null) | 12396 if (style == null) |
12236 style = $.get$Style_platform(); | 12397 style = $.get$Style_platform(); |
12237 else if (!style.$isInternalStyle) | 12398 else if (!style.$isInternalStyle) |
12238 throw H.wrapException(P.ArgumentError$("Only styles defined by the pat
h package are allowed.")); | 12399 throw H.wrapException(P.ArgumentError$("Only styles defined by the pat
h package are allowed.")); |
12239 return new F.Context(style, current); | 12400 return new F.Context(H.interceptedTypeCast(style, "$isInternalStyle"), c
urrent); |
12240 }} | 12401 }} |
12241 }, | 12402 }, |
12242 Context_join_closure: { | 12403 Context_join_closure: { |
12243 "^": "Closure:2;", | 12404 "^": "Closure:2;", |
12244 call$1: function(part) { | 12405 call$1: function(part) { |
12245 return part != null; | 12406 return part != null; |
12246 } | 12407 } |
12247 }, | 12408 }, |
12248 Context_joinAll_closure: { | 12409 Context_joinAll_closure: { |
12249 "^": "Closure:2;", | 12410 "^": "Closure:2;", |
(...skipping 11 matching lines...) Expand all Loading... |
12261 "^": "Closure:2;", | 12422 "^": "Closure:2;", |
12262 call$1: function(arg) { | 12423 call$1: function(arg) { |
12263 return arg == null ? "null" : "\"" + H.S(arg) + "\""; | 12424 return arg == null ? "null" : "\"" + H.S(arg) + "\""; |
12264 } | 12425 } |
12265 } | 12426 } |
12266 }], | 12427 }], |
12267 ["path.internal_style", "package:path/src/internal_style.dart", , E, { | 12428 ["path.internal_style", "package:path/src/internal_style.dart", , E, { |
12268 "^": "", | 12429 "^": "", |
12269 InternalStyle: { | 12430 InternalStyle: { |
12270 "^": "Style;", | 12431 "^": "Style;", |
| 12432 getRoot$1: function(path) { |
| 12433 var $length = this.rootLength$1(path); |
| 12434 if ($length > 0) |
| 12435 return J.substring$2$s(path, 0, $length); |
| 12436 return this.isRootRelative$1(path) ? J.$index$asx(path, 0) : null; |
| 12437 }, |
12271 relativePathToUri$1: function(path) { | 12438 relativePathToUri$1: function(path) { |
12272 return P.Uri_Uri(null, null, null, F.Context_Context(null, this).split$1(0
, path), null, null, null, "", ""); | 12439 return P.Uri_Uri(null, null, null, F.Context_Context(null, this).split$1(0
, path), null, null, null, "", ""); |
12273 } | 12440 } |
12274 } | 12441 } |
12275 }], | 12442 }], |
12276 ["path.parsed_path", "package:path/src/parsed_path.dart", , Q, { | 12443 ["path.parsed_path", "package:path/src/parsed_path.dart", , Q, { |
12277 "^": "", | 12444 "^": "", |
12278 ParsedPath: { | 12445 ParsedPath: { |
12279 "^": "Object;style,root,isRootRelative,parts,separators", | 12446 "^": "Object;style,root,isRootRelative,parts,separators", |
12280 get$hasTrailingSeparator: function() { | 12447 get$hasTrailingSeparator: function() { |
(...skipping 16 matching lines...) Expand all Loading... |
12297 t1.pop(); | 12464 t1.pop(); |
12298 C.JSArray_methods.removeLast$0(this.separators); | 12465 C.JSArray_methods.removeLast$0(this.separators); |
12299 } | 12466 } |
12300 t1 = this.separators; | 12467 t1 = this.separators; |
12301 t2 = t1.length; | 12468 t2 = t1.length; |
12302 if (t2 > 0) | 12469 if (t2 > 0) |
12303 t1[t2 - 1] = ""; | 12470 t1[t2 - 1] = ""; |
12304 }, | 12471 }, |
12305 normalize$0: function() { | 12472 normalize$0: function() { |
12306 var newParts, t1, leadingDoubles, part, t2, newSeparators; | 12473 var newParts, t1, leadingDoubles, part, t2, newSeparators; |
12307 newParts = []; | 12474 newParts = H.setRuntimeTypeInfo([], [P.String]); |
12308 for (t1 = this.parts, t1 = new H.ListIterator(t1, t1.length, 0, null), lea
dingDoubles = 0; t1.moveNext$0();) { | 12475 for (t1 = this.parts, t1 = new J.ArrayIterator(t1, t1.length, 0, null), le
adingDoubles = 0; t1.moveNext$0();) { |
12309 part = t1._current; | 12476 part = t1.__interceptors$_current; |
12310 t2 = J.getInterceptor(part); | 12477 t2 = J.getInterceptor(part); |
12311 if (t2.$eq(part, ".") || t2.$eq(part, "")) | 12478 if (t2.$eq(part, ".") || t2.$eq(part, "")) |
12312 ; | 12479 ; |
12313 else if (t2.$eq(part, "..")) | 12480 else if (t2.$eq(part, "..")) |
12314 if (newParts.length > 0) | 12481 if (newParts.length > 0) |
12315 newParts.pop(); | 12482 newParts.pop(); |
12316 else | 12483 else |
12317 ++leadingDoubles; | 12484 ++leadingDoubles; |
12318 else | 12485 else |
12319 newParts.push(part); | 12486 newParts.push(part); |
12320 } | 12487 } |
12321 if (this.root == null) | 12488 if (this.root == null) |
12322 C.JSArray_methods.insertAll$2(newParts, 0, P.List_List$filled(leadingDou
bles, "..", null)); | 12489 C.JSArray_methods.insertAll$2(newParts, 0, P.List_List$filled(leadingDou
bles, "..", null)); |
12323 if (newParts.length === 0 && this.root == null) | 12490 if (newParts.length === 0 && this.root == null) |
12324 newParts.push("."); | 12491 newParts.push("."); |
12325 newSeparators = P.List_List$generate(newParts.length, new Q.ParsedPath_nor
malize_closure(this), true, null); | 12492 newSeparators = P.List_List$generate(newParts.length, new Q.ParsedPath_nor
malize_closure(this), true, P.String); |
12326 t1 = this.root; | 12493 t1 = this.root; |
12327 C.JSArray_methods.insert$2(newSeparators, 0, t1 != null && newParts.length
> 0 && this.style.needsSeparator$1(t1) ? this.style.get$separator() : ""); | 12494 C.JSArray_methods.insert$2(newSeparators, 0, t1 != null && newParts.length
> 0 && this.style.needsSeparator$1(t1) ? this.style.get$separator() : ""); |
12328 this.parts = newParts; | 12495 this.parts = newParts; |
12329 this.separators = newSeparators; | 12496 this.separators = newSeparators; |
12330 t1 = this.root; | 12497 t1 = this.root; |
12331 if (t1 != null && this.style === $.get$Style_windows()) { | 12498 if (t1 != null && this.style === $.get$Style_windows()) |
12332 t1.toString; | 12499 this.root = J.replaceAll$2$s(t1, "/", "\\"); |
12333 H.checkString("\\"); | |
12334 this.root = H.stringReplaceAllUnchecked(t1, "/", "\\"); | |
12335 } | |
12336 this.removeTrailingSeparators$0(); | 12500 this.removeTrailingSeparators$0(); |
12337 }, | 12501 }, |
12338 toString$0: function(_) { | 12502 toString$0: function(_) { |
12339 var builder, t1, i; | 12503 var builder, t1, i; |
12340 builder = new P.StringBuffer(""); | 12504 builder = new P.StringBuffer(""); |
12341 t1 = this.root; | 12505 t1 = this.root; |
12342 if (t1 != null) | 12506 if (t1 != null) |
12343 builder._contents = H.S(t1); | 12507 builder._contents = H.S(t1); |
12344 for (i = 0; i < this.parts.length; ++i) { | 12508 for (i = 0; i < this.parts.length; ++i) { |
12345 t1 = this.separators; | 12509 t1 = this.separators; |
12346 if (i >= t1.length) | 12510 if (i >= t1.length) |
12347 return H.ioore(t1, i); | 12511 return H.ioore(t1, i); |
12348 builder._contents += H.S(t1[i]); | 12512 builder._contents += H.S(t1[i]); |
12349 t1 = this.parts; | 12513 t1 = this.parts; |
12350 if (i >= t1.length) | 12514 if (i >= t1.length) |
12351 return H.ioore(t1, i); | 12515 return H.ioore(t1, i); |
12352 builder._contents += H.S(t1[i]); | 12516 builder._contents += H.S(t1[i]); |
12353 } | 12517 } |
12354 t1 = builder._contents += H.S(C.JSArray_methods.get$last(this.separators))
; | 12518 t1 = builder._contents += H.S(C.JSArray_methods.get$last(this.separators))
; |
12355 return t1.charCodeAt(0) == 0 ? t1 : t1; | 12519 return t1.charCodeAt(0) == 0 ? t1 : t1; |
12356 }, | 12520 }, |
12357 static: {ParsedPath_ParsedPath$parse: function(path, style) { | 12521 static: {ParsedPath_ParsedPath$parse: function(path, style) { |
12358 var root, t1, parts, separators, t2, start, i, t3; | 12522 var root, isRootRelative, parts, separators, t1, start, i, t2; |
12359 root = style.getRoot$1(path); | 12523 root = style.getRoot$1(path); |
12360 t1 = style.getRelativeRoot$1(path); | 12524 isRootRelative = style.isRootRelative$1(path); |
12361 if (root != null) | 12525 if (root != null) |
12362 path = J.substring$1$s(path, root.length); | 12526 path = J.substring$1$s(path, J.get$length$asx(root)); |
12363 parts = []; | 12527 parts = H.setRuntimeTypeInfo([], [P.String]); |
12364 separators = []; | 12528 separators = H.setRuntimeTypeInfo([], [P.String]); |
12365 t2 = J.getInterceptor$asx(path); | 12529 t1 = J.getInterceptor$asx(path); |
12366 if (t2.get$isNotEmpty(path) && style.isSeparator$1(t2.codeUnitAt$1(path,
0))) { | 12530 if (t1.get$isNotEmpty(path) && style.isSeparator$1(t1.codeUnitAt$1(path,
0))) { |
12367 separators.push(t2.$index(path, 0)); | 12531 separators.push(t1.$index(path, 0)); |
12368 start = 1; | 12532 start = 1; |
12369 } else { | 12533 } else { |
12370 separators.push(""); | 12534 separators.push(""); |
12371 start = 0; | 12535 start = 0; |
12372 } | 12536 } |
12373 i = start; | 12537 i = start; |
12374 while (true) { | 12538 while (true) { |
12375 t3 = t2.get$length(path); | 12539 t2 = t1.get$length(path); |
12376 if (typeof t3 !== "number") | 12540 if (typeof t2 !== "number") |
12377 return H.iae(t3); | 12541 return H.iae(t2); |
12378 if (!(i < t3)) | 12542 if (!(i < t2)) |
12379 break; | 12543 break; |
12380 if (style.isSeparator$1(t2.codeUnitAt$1(path, i))) { | 12544 if (style.isSeparator$1(t1.codeUnitAt$1(path, i))) { |
12381 parts.push(C.JSString_methods.substring$2(path, start, i)); | 12545 parts.push(C.JSString_methods.substring$2(path, start, i)); |
12382 if (i >= path.length) | 12546 if (i >= path.length) |
12383 return H.ioore(path, i); | 12547 return H.ioore(path, i); |
12384 separators.push(path[i]); | 12548 separators.push(path[i]); |
12385 start = i + 1; | 12549 start = i + 1; |
12386 } | 12550 } |
12387 ++i; | 12551 ++i; |
12388 } | 12552 } |
12389 t3 = t2.get$length(path); | 12553 t2 = t1.get$length(path); |
12390 if (typeof t3 !== "number") | 12554 if (typeof t2 !== "number") |
12391 return H.iae(t3); | 12555 return H.iae(t2); |
12392 if (start < t3) { | 12556 if (start < t2) { |
12393 parts.push(t2.substring$1(path, start)); | 12557 parts.push(t1.substring$1(path, start)); |
12394 separators.push(""); | 12558 separators.push(""); |
12395 } | 12559 } |
12396 return new Q.ParsedPath(style, root, t1 != null, parts, separators); | 12560 return new Q.ParsedPath(style, root, isRootRelative, parts, separators); |
12397 }} | 12561 }} |
12398 }, | 12562 }, |
12399 ParsedPath_normalize_closure: { | 12563 ParsedPath_normalize_closure: { |
12400 "^": "Closure:2;this_0", | 12564 "^": "Closure:2;_captured_this_0", |
12401 call$1: function(_) { | 12565 call$1: function(_) { |
12402 return this.this_0.style.get$separator(); | 12566 return this._captured_this_0.style.get$separator(); |
12403 } | 12567 } |
12404 } | 12568 } |
12405 }], | 12569 }], |
12406 ["path.path_exception", "package:path/src/path_exception.dart", , E, { | 12570 ["path.path_exception", "package:path/src/path_exception.dart", , E, { |
12407 "^": "", | 12571 "^": "", |
12408 PathException: { | 12572 PathException: { |
12409 "^": "Object;message>", | 12573 "^": "Object;message>", |
12410 toString$0: function(_) { | 12574 toString$0: function(_) { |
12411 return "PathException: " + this.message; | 12575 return "PathException: " + this.message; |
12412 }, | 12576 }, |
(...skipping 27 matching lines...) Expand all Loading... |
12440 containsSeparator$1: function(path) { | 12604 containsSeparator$1: function(path) { |
12441 return J.contains$1$asx(path, "/"); | 12605 return J.contains$1$asx(path, "/"); |
12442 }, | 12606 }, |
12443 isSeparator$1: function(codeUnit) { | 12607 isSeparator$1: function(codeUnit) { |
12444 return codeUnit === 47; | 12608 return codeUnit === 47; |
12445 }, | 12609 }, |
12446 needsSeparator$1: function(path) { | 12610 needsSeparator$1: function(path) { |
12447 var t1 = J.getInterceptor$asx(path); | 12611 var t1 = J.getInterceptor$asx(path); |
12448 return t1.get$isNotEmpty(path) && t1.codeUnitAt$1(path, J.$sub$n(t1.get$le
ngth(path), 1)) !== 47; | 12612 return t1.get$isNotEmpty(path) && t1.codeUnitAt$1(path, J.$sub$n(t1.get$le
ngth(path), 1)) !== 47; |
12449 }, | 12613 }, |
12450 getRoot$1: function(path) { | 12614 rootLength$1: function(path) { |
12451 var t1 = J.getInterceptor$asx(path); | 12615 var t1 = J.getInterceptor$asx(path); |
12452 if (t1.get$isNotEmpty(path) && t1.codeUnitAt$1(path, 0) === 47) | 12616 if (t1.get$isNotEmpty(path) && t1.codeUnitAt$1(path, 0) === 47) |
12453 return "/"; | 12617 return 1; |
12454 return; | 12618 return 0; |
12455 }, | 12619 }, |
12456 getRelativeRoot$1: function(path) { | 12620 isRootRelative$1: function(path) { |
12457 return; | 12621 return false; |
12458 }, | 12622 }, |
12459 pathFromUri$1: function(uri) { | 12623 pathFromUri$1: function(uri) { |
12460 var t1 = uri.scheme; | 12624 var t1 = uri.scheme; |
12461 if (t1 === "" || t1 === "file") | 12625 if (t1 === "" || t1 === "file") |
12462 return P.Uri__uriDecode(uri._path, C.Utf8Codec_false, false); | 12626 return P.Uri__uriDecode(uri._path, C.Utf8Codec_false, false); |
12463 throw H.wrapException(P.ArgumentError$("Uri " + uri.toString$0(0) + " must
have scheme 'file:'.")); | 12627 throw H.wrapException(P.ArgumentError$("Uri " + uri.toString$0(0) + " must
have scheme 'file:'.")); |
12464 }, | 12628 }, |
12465 absolutePathToUri$1: function(path) { | 12629 absolutePathToUri$1: function(path) { |
12466 var parsed, t1; | 12630 var parsed, t1; |
12467 parsed = Q.ParsedPath_ParsedPath$parse(path, this); | 12631 parsed = Q.ParsedPath_ParsedPath$parse(path, this); |
(...skipping 10 matching lines...) Expand all Loading... |
12478 "^": "", | 12642 "^": "", |
12479 UrlStyle: { | 12643 UrlStyle: { |
12480 "^": "InternalStyle;name>,separator<,separators,separatorPattern,needsSepara
torPattern,rootPattern,relativeRootPattern", | 12644 "^": "InternalStyle;name>,separator<,separators,separatorPattern,needsSepara
torPattern,rootPattern,relativeRootPattern", |
12481 containsSeparator$1: function(path) { | 12645 containsSeparator$1: function(path) { |
12482 return J.contains$1$asx(path, "/"); | 12646 return J.contains$1$asx(path, "/"); |
12483 }, | 12647 }, |
12484 isSeparator$1: function(codeUnit) { | 12648 isSeparator$1: function(codeUnit) { |
12485 return codeUnit === 47; | 12649 return codeUnit === 47; |
12486 }, | 12650 }, |
12487 needsSeparator$1: function(path) { | 12651 needsSeparator$1: function(path) { |
12488 var t1, root; | 12652 var t1 = J.getInterceptor$asx(path); |
12489 t1 = J.getInterceptor$asx(path); | |
12490 if (t1.get$isEmpty(path) === true) | 12653 if (t1.get$isEmpty(path) === true) |
12491 return false; | 12654 return false; |
12492 if (t1.codeUnitAt$1(path, J.$sub$n(t1.get$length(path), 1)) !== 47) | 12655 if (t1.codeUnitAt$1(path, J.$sub$n(t1.get$length(path), 1)) !== 47) |
12493 return true; | 12656 return true; |
12494 root = this._url$_getRoot$1(path); | 12657 return C.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(pat
h) === path.length; |
12495 return root != null && C.JSString_methods.endsWith$1(root, "://"); | |
12496 }, | 12658 }, |
12497 getRoot$1: function(path) { | 12659 rootLength$1: function(path) { |
12498 var root = this._url$_getRoot$1(path); | 12660 var t1, index; |
12499 return root == null ? this.getRelativeRoot$1(path) : root; | 12661 t1 = J.getInterceptor$asx(path); |
| 12662 if (t1.get$isEmpty(path) === true) |
| 12663 return 0; |
| 12664 if (t1.codeUnitAt$1(path, 0) === 47) |
| 12665 return 1; |
| 12666 index = C.JSString_methods.indexOf$1(path, "/"); |
| 12667 if (index > 0 && C.JSString_methods.startsWith$2(path, "://", index - 1))
{ |
| 12668 index = C.JSString_methods.indexOf$2(path, "/", index + 2); |
| 12669 if (index > 0) |
| 12670 return index; |
| 12671 return path.length; |
| 12672 } |
| 12673 return 0; |
12500 }, | 12674 }, |
12501 getRelativeRoot$1: function(path) { | 12675 isRootRelative$1: function(path) { |
12502 var t1 = J.getInterceptor$asx(path); | 12676 var t1 = J.getInterceptor$asx(path); |
12503 if (t1.get$isEmpty(path) === true) | 12677 return t1.get$isNotEmpty(path) && t1.codeUnitAt$1(path, 0) === 47; |
12504 return; | |
12505 return t1.codeUnitAt$1(path, 0) === 47 ? "/" : null; | |
12506 }, | 12678 }, |
12507 pathFromUri$1: function(uri) { | 12679 pathFromUri$1: function(uri) { |
12508 return uri.toString$0(0); | 12680 return uri.toString$0(0); |
12509 }, | 12681 }, |
12510 relativePathToUri$1: function(path) { | 12682 relativePathToUri$1: function(path) { |
12511 return P.Uri_parse(path); | 12683 return P.Uri_parse(path); |
12512 }, | 12684 }, |
12513 absolutePathToUri$1: function(path) { | 12685 absolutePathToUri$1: function(path) { |
12514 return P.Uri_parse(path); | 12686 return P.Uri_parse(path); |
12515 }, | |
12516 _url$_getRoot$1: function(path) { | |
12517 var t1, start, $char, start0; | |
12518 t1 = J.getInterceptor$asx(path); | |
12519 if (t1.get$isEmpty(path) === true) | |
12520 return; | |
12521 if (!N.isAlphabetic(t1.codeUnitAt$1(path, 0))) | |
12522 return; | |
12523 for (t1 = path.length, start = 1; start < t1; ++start) { | |
12524 $char = C.JSString_methods.codeUnitAt$1(path, start); | |
12525 if (N.isAlphabetic($char)) | |
12526 continue; | |
12527 if ($char >= 48 && $char <= 57) | |
12528 continue; | |
12529 if ($char === 45 || $char === 43 || $char === 46) | |
12530 continue; | |
12531 break; | |
12532 } | |
12533 start0 = start + 3; | |
12534 if (start0 > t1) | |
12535 return; | |
12536 if (C.JSString_methods.substring$2(path, start, start0) !== "://") | |
12537 return; | |
12538 start = start0; | |
12539 while (true) { | |
12540 if (!(start < t1 && C.JSString_methods.codeUnitAt$1(path, start) !== 47)
) | |
12541 break; | |
12542 ++start; | |
12543 } | |
12544 return C.JSString_methods.substring$2(path, 0, start); | |
12545 } | 12687 } |
12546 } | 12688 } |
12547 }], | 12689 }], |
12548 ["path.style.windows", "package:path/src/style/windows.dart", , T, { | 12690 ["path.style.windows", "package:path/src/style/windows.dart", , T, { |
12549 "^": "", | 12691 "^": "", |
12550 WindowsStyle: { | 12692 WindowsStyle: { |
12551 "^": "InternalStyle;name>,separator<,separators,separatorPattern,needsSepara
torPattern,rootPattern,relativeRootPattern", | 12693 "^": "InternalStyle;name>,separator<,separators,separatorPattern,needsSepara
torPattern,rootPattern,relativeRootPattern", |
12552 containsSeparator$1: function(path) { | 12694 containsSeparator$1: function(path) { |
12553 return J.contains$1$asx(path, "/"); | 12695 return J.contains$1$asx(path, "/"); |
12554 }, | 12696 }, |
12555 isSeparator$1: function(codeUnit) { | 12697 isSeparator$1: function(codeUnit) { |
12556 return codeUnit === 47 || codeUnit === 92; | 12698 return codeUnit === 47 || codeUnit === 92; |
12557 }, | 12699 }, |
12558 needsSeparator$1: function(path) { | 12700 needsSeparator$1: function(path) { |
12559 var t1 = J.getInterceptor$asx(path); | 12701 var t1 = J.getInterceptor$asx(path); |
12560 if (t1.get$isEmpty(path) === true) | 12702 if (t1.get$isEmpty(path) === true) |
12561 return false; | 12703 return false; |
12562 t1 = t1.codeUnitAt$1(path, J.$sub$n(t1.get$length(path), 1)); | 12704 t1 = t1.codeUnitAt$1(path, J.$sub$n(t1.get$length(path), 1)); |
12563 return !(t1 === 47 || t1 === 92); | 12705 return !(t1 === 47 || t1 === 92); |
12564 }, | 12706 }, |
12565 getRoot$1: function(path) { | 12707 rootLength$1: function(path) { |
12566 var root = this._getRoot$1(path); | 12708 var t1, index; |
12567 return root == null ? this.getRelativeRoot$1(path) : root; | |
12568 }, | |
12569 getRelativeRoot$1: function(path) { | |
12570 var t1, t2; | |
12571 t1 = J.getInterceptor$asx(path); | 12709 t1 = J.getInterceptor$asx(path); |
12572 if (t1.get$isEmpty(path) === true) | 12710 if (t1.get$isEmpty(path) === true) |
12573 return; | 12711 return 0; |
12574 t1 = t1.codeUnitAt$1(path, 0); | 12712 if (t1.codeUnitAt$1(path, 0) === 47) |
| 12713 return 1; |
| 12714 if (C.JSString_methods.codeUnitAt$1(path, 0) === 92) { |
| 12715 t1 = path.length; |
| 12716 if (t1 < 2 || C.JSString_methods.codeUnitAt$1(path, 1) !== 92) |
| 12717 return 1; |
| 12718 index = C.JSString_methods.indexOf$2(path, "\\", 2); |
| 12719 if (index > 0) { |
| 12720 index = C.JSString_methods.indexOf$2(path, "\\", index + 1); |
| 12721 if (index > 0) |
| 12722 return index; |
| 12723 } |
| 12724 return t1; |
| 12725 } |
| 12726 if (path.length < 3) |
| 12727 return 0; |
| 12728 t1 = C.JSString_methods.codeUnitAt$1(path, 0); |
| 12729 if (!(t1 >= 65 && t1 <= 90)) |
| 12730 t1 = t1 >= 97 && t1 <= 122; |
| 12731 else |
| 12732 t1 = true; |
| 12733 if (!t1) |
| 12734 return 0; |
| 12735 if (C.JSString_methods.codeUnitAt$1(path, 1) !== 58) |
| 12736 return 0; |
| 12737 t1 = C.JSString_methods.codeUnitAt$1(path, 2); |
12575 if (!(t1 === 47 || t1 === 92)) | 12738 if (!(t1 === 47 || t1 === 92)) |
12576 return; | 12739 return 0; |
12577 t1 = path.length; | 12740 return 3; |
12578 if (t1 > 1) { | 12741 }, |
12579 t2 = C.JSString_methods.codeUnitAt$1(path, 1); | 12742 isRootRelative$1: function(path) { |
12580 t2 = t2 === 47 || t2 === 92; | 12743 return this.rootLength$1(path) === 1; |
12581 } else | |
12582 t2 = false; | |
12583 if (t2) | |
12584 return; | |
12585 if (0 >= t1) | |
12586 return H.ioore(path, 0); | |
12587 return path[0]; | |
12588 }, | 12744 }, |
12589 pathFromUri$1: function(uri) { | 12745 pathFromUri$1: function(uri) { |
12590 var t1, path; | 12746 var t1, path; |
12591 t1 = uri.scheme; | 12747 t1 = uri.scheme; |
12592 if (t1 !== "" && t1 !== "file") | 12748 if (t1 !== "" && t1 !== "file") |
12593 throw H.wrapException(P.ArgumentError$("Uri " + uri.toString$0(0) + " mu
st have scheme 'file:'.")); | 12749 throw H.wrapException(P.ArgumentError$("Uri " + uri.toString$0(0) + " mu
st have scheme 'file:'.")); |
12594 path = uri._path; | 12750 path = uri._path; |
12595 if (uri.get$host(uri) === "") { | 12751 if (uri.get$host(uri) === "") { |
12596 if (C.JSString_methods.startsWith$1(path, "/")) | 12752 if (C.JSString_methods.startsWith$1(path, "/")) |
12597 path = C.JSString_methods.replaceFirst$2(path, "/", ""); | 12753 path = C.JSString_methods.replaceFirst$2(path, "/", ""); |
12598 } else | 12754 } else |
12599 path = "\\\\" + H.S(uri.get$host(uri)) + path; | 12755 path = "\\\\" + H.S(uri.get$host(uri)) + path; |
12600 H.checkString("\\"); | 12756 H.checkString("\\"); |
12601 return P.Uri__uriDecode(H.stringReplaceAllUnchecked(path, "/", "\\"), C.Ut
f8Codec_false, false); | 12757 return P.Uri__uriDecode(H.stringReplaceAllUnchecked(path, "/", "\\"), C.Ut
f8Codec_false, false); |
12602 }, | 12758 }, |
12603 absolutePathToUri$1: function(path) { | 12759 absolutePathToUri$1: function(path) { |
12604 var parsed, t1, rootParts, t2; | 12760 var parsed, t1, rootParts, t2; |
12605 parsed = Q.ParsedPath_ParsedPath$parse(path, this); | 12761 parsed = Q.ParsedPath_ParsedPath$parse(path, this); |
12606 if (J.startsWith$1$s(parsed.root, "\\\\")) { | 12762 if (J.startsWith$1$s(parsed.root, "\\\\")) { |
12607 t1 = parsed.root.split("\\"); | 12763 t1 = J.split$1$s(parsed.root, "\\"); |
12608 rootParts = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new T.WindowsSt
yle_absolutePathToUri_closure()), [H.getTypeArgumentByIndex(t1, 0)]); | 12764 rootParts = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new T.WindowsSt
yle_absolutePathToUri_closure()), [H.getTypeArgumentByIndex(t1, 0)]); |
12609 C.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(rootParts
)); | 12765 C.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(rootParts
)); |
12610 if (parsed.get$hasTrailingSeparator()) | 12766 if (parsed.get$hasTrailingSeparator()) |
12611 parsed.parts.push(""); | 12767 parsed.parts.push(""); |
12612 return P.Uri_Uri(null, rootParts.get$first(rootParts), null, parsed.part
s, null, null, null, "file", ""); | 12768 return P.Uri_Uri(null, rootParts.get$first(rootParts), null, parsed.part
s, null, null, null, "file", ""); |
12613 } else { | 12769 } else { |
12614 if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator()) | 12770 if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator()) |
12615 parsed.parts.push(""); | 12771 parsed.parts.push(""); |
12616 t1 = parsed.parts; | 12772 t1 = parsed.parts; |
12617 t2 = parsed.root; | 12773 t2 = J.replaceAll$2$s(parsed.root, "/", ""); |
12618 t2.toString; | |
12619 H.checkString(""); | |
12620 t2 = H.stringReplaceAllUnchecked(t2, "/", ""); | |
12621 H.checkString(""); | 12774 H.checkString(""); |
12622 C.JSArray_methods.insert$2(t1, 0, H.stringReplaceAllUnchecked(t2, "\\",
"")); | 12775 C.JSArray_methods.insert$2(t1, 0, H.stringReplaceAllUnchecked(t2, "\\",
"")); |
12623 return P.Uri_Uri(null, null, null, parsed.parts, null, null, null, "file
", ""); | 12776 return P.Uri_Uri(null, null, null, parsed.parts, null, null, null, "file
", ""); |
12624 } | 12777 } |
12625 }, | |
12626 _getRoot$1: function(path) { | |
12627 var t1, start; | |
12628 t1 = J.getInterceptor$asx(path); | |
12629 if (J.$lt$n(t1.get$length(path), 3)) | |
12630 return; | |
12631 if (N.isAlphabetic(t1.codeUnitAt$1(path, 0))) { | |
12632 if (C.JSString_methods.codeUnitAt$1(path, 1) !== 58) | |
12633 return; | |
12634 t1 = C.JSString_methods.codeUnitAt$1(path, 2); | |
12635 if (!(t1 === 47 || t1 === 92)) | |
12636 return; | |
12637 return C.JSString_methods.substring$2(path, 0, 3); | |
12638 } | |
12639 if (!C.JSString_methods.startsWith$1(path, "\\\\")) | |
12640 return; | |
12641 t1 = path.length; | |
12642 start = 2; | |
12643 while (true) { | |
12644 if (!(start < t1 && C.JSString_methods.codeUnitAt$1(path, start) !== 92)
) | |
12645 break; | |
12646 ++start; | |
12647 } | |
12648 if (start === 2 || start === t1) | |
12649 return; | |
12650 ++start; | |
12651 if (C.JSString_methods.codeUnitAt$1(path, start) === 92) | |
12652 return; | |
12653 ++start; | |
12654 while (true) { | |
12655 if (!(start < t1 && C.JSString_methods.codeUnitAt$1(path, start) !== 92)
) | |
12656 break; | |
12657 ++start; | |
12658 } | |
12659 return C.JSString_methods.substring$2(path, 0, start); | |
12660 } | 12778 } |
12661 }, | 12779 }, |
12662 WindowsStyle_absolutePathToUri_closure: { | 12780 WindowsStyle_absolutePathToUri_closure: { |
12663 "^": "Closure:2;", | 12781 "^": "Closure:2;", |
12664 call$1: function(part) { | 12782 call$1: function(part) { |
12665 return !J.$eq(part, ""); | 12783 return !J.$eq(part, ""); |
12666 } | 12784 } |
12667 } | 12785 } |
12668 }], | 12786 }], |
12669 ["path.utils", "package:path/src/utils.dart", , N, { | |
12670 "^": "", | |
12671 isAlphabetic: function($char) { | |
12672 var t1; | |
12673 if (!($char >= 65 && $char <= 90)) | |
12674 t1 = $char >= 97 && $char <= 122; | |
12675 else | |
12676 t1 = true; | |
12677 return t1; | |
12678 } | |
12679 }], | |
12680 ["stack_trace.src.utils", "package:stack_trace/src/utils.dart", , N, { | 12787 ["stack_trace.src.utils", "package:stack_trace/src/utils.dart", , N, { |
12681 "^": "", | 12788 "^": "", |
12682 padRight: function(string, $length) { | 12789 padRight: function(string, $length) { |
12683 var t1, t2, i; | 12790 var t1, t2, i; |
12684 t1 = J.get$length$asx(string); | 12791 t1 = J.get$length$asx(string); |
12685 if (typeof $length !== "number") | 12792 if (typeof $length !== "number") |
12686 return H.iae($length); | 12793 return H.iae($length); |
12687 if (t1 >= $length) | 12794 if (t1 >= $length) |
12688 return string; | 12795 return string; |
12689 for (t1 = $length - string.length, t2 = string, i = 0; i < t1; ++i) | 12796 for (t1 = $length - string.length, t2 = string, i = 0; i < t1; ++i) |
12690 t2 += " "; | 12797 t2 += " "; |
12691 return t2.charCodeAt(0) == 0 ? t2 : t2; | 12798 return t2.charCodeAt(0) == 0 ? t2 : t2; |
12692 } | 12799 } |
12693 }], | 12800 }], |
| 12801 ["test.multi_channel", "package:test/src/util/multi_channel.dart", , V, { |
| 12802 "^": "", |
| 12803 _MultiChannel: { |
| 12804 "^": "StreamChannelMixin;_innerStream,_innerSink,_innerStreamSubscription,_s
treamController,_sinkController,_streamControllers,_sinkControllers,_nextId", |
| 12805 virtualChannel$1: function(id) { |
| 12806 var t1, t2, inputId, t3, streamController, sinkController; |
| 12807 t1 = {}; |
| 12808 if (this._innerStream == null) |
| 12809 throw H.wrapException(P.StateError$("The underlying channel is closed.")
); |
| 12810 t1._captured_inputId_0 = null; |
| 12811 t1._captured_outputId_1 = null; |
| 12812 if (id != null) { |
| 12813 t1._captured_inputId_0 = id; |
| 12814 t1._captured_outputId_1 = H.intTypeCast(id) + 1; |
| 12815 t2 = id; |
| 12816 } else { |
| 12817 t2 = this._nextId; |
| 12818 inputId = t2 + 1; |
| 12819 t1._captured_inputId_0 = inputId; |
| 12820 t1._captured_outputId_1 = t2; |
| 12821 this._nextId = t2 + 2; |
| 12822 t2 = inputId; |
| 12823 } |
| 12824 t3 = this._streamControllers; |
| 12825 if (t3.containsKey$1(t2)) |
| 12826 throw H.wrapException(P.ArgumentError$("A virtual channel with id " + H.
S(id) + " already exists.")); |
| 12827 streamController = P.StreamController_StreamController(null, null, null, n
ull, true, null); |
| 12828 sinkController = P.StreamController_StreamController(null, null, null, nul
l, true, null); |
| 12829 t3.$indexSet(0, t1._captured_inputId_0, streamController); |
| 12830 this._sinkControllers.$indexSet(0, t1._captured_inputId_0, sinkController)
; |
| 12831 H.setRuntimeTypeInfo(new P._ControllerStream(sinkController), [null]).list
en$2$onDone(new V._MultiChannel_virtualChannel_closure(t1, this), new V._MultiCh
annel_virtualChannel_closure0(t1, this)); |
| 12832 return new V.VirtualChannel(this, t1._captured_outputId_1, H.setRuntimeTyp
eInfo(new P._ControllerStream(streamController), [null]), H.setRuntimeTypeInfo(n
ew P._StreamSinkWrapper(sinkController), [H.getRuntimeTypeArgument(sinkControlle
r, "_StreamController", 0)])); |
| 12833 }, |
| 12834 _closeChannel$2: function(inputId, outputId) { |
| 12835 var t1, t2; |
| 12836 t1 = this._streamControllers; |
| 12837 J.close$0$x(t1.remove$1(0, inputId)); |
| 12838 J.close$0$x(this._sinkControllers.remove$1(0, inputId)); |
| 12839 t2 = this._innerSink; |
| 12840 if (t2 == null) |
| 12841 return; |
| 12842 t2 = t2._async$_target; |
| 12843 if (t2._state >= 4) |
| 12844 H.throwExpression(t2._badEventState$0()); |
| 12845 t2._async$_add$1([outputId]); |
| 12846 if (t1.__js_helper$_length === 0) |
| 12847 this._closeInnerChannel$0(); |
| 12848 }, |
| 12849 _closeInnerChannel$0: [function() { |
| 12850 this._innerSink._async$_target.close$0(0); |
| 12851 this._innerStreamSubscription.cancel$0(); |
| 12852 this._innerStream = null; |
| 12853 this._innerSink = null; |
| 12854 for (var t1 = this._sinkControllers, t1 = t1.get$values(t1), t1 = P.List_L
ist$from(t1, true, H.getRuntimeTypeArgument(t1, "IterableBase", 0)), t1 = new J.
ArrayIterator(t1, t1.length, 0, null); t1.moveNext$0();) |
| 12855 J.close$0$x(t1.__interceptors$_current); |
| 12856 }, "call$0", "get$_closeInnerChannel", 0, 0, 1], |
| 12857 _MultiChannel$2: function(_innerStream, _innerSink) { |
| 12858 var t1, t2; |
| 12859 t1 = this._streamController; |
| 12860 this._streamControllers.$indexSet(0, 0, t1); |
| 12861 t2 = this._sinkController; |
| 12862 this._sinkControllers.$indexSet(0, 0, t2); |
| 12863 H.setRuntimeTypeInfo(new P._ControllerStream(t2), [null]).listen$2$onDone(
new V._MultiChannel_closure(this), new V._MultiChannel_closure0(this)); |
| 12864 this._innerStreamSubscription = this._innerStream.listen$3$onDone$onError(
new V._MultiChannel_closure1(this), this.get$_closeInnerChannel(), t1.get$addErr
or()); |
| 12865 }, |
| 12866 static: {_MultiChannel$: function(_innerStream, _innerSink) { |
| 12867 var t1 = new V._MultiChannel(_innerStream, _innerSink, null, P.StreamCon
troller_StreamController(null, null, null, null, true, null), P.StreamController
_StreamController(null, null, null, null, true, null), P.LinkedHashMap_LinkedHas
hMap(null, null, null, P.$int, P.StreamController), P.LinkedHashMap_LinkedHashMa
p(null, null, null, P.$int, P.StreamController), 1); |
| 12868 t1._MultiChannel$2(_innerStream, _innerSink); |
| 12869 return t1; |
| 12870 }} |
| 12871 }, |
| 12872 _MultiChannel_closure: { |
| 12873 "^": "Closure:2;_multi_channel$_captured_this_0", |
| 12874 call$1: function(message) { |
| 12875 var t1 = this._multi_channel$_captured_this_0._innerSink._async$_target; |
| 12876 if (t1._state >= 4) |
| 12877 H.throwExpression(t1._badEventState$0()); |
| 12878 t1._async$_add$1([0, message]); |
| 12879 return; |
| 12880 } |
| 12881 }, |
| 12882 _MultiChannel_closure0: { |
| 12883 "^": "Closure:0;_multi_channel$_captured_this_1", |
| 12884 call$0: function() { |
| 12885 return this._multi_channel$_captured_this_1._closeChannel$2(0, 0); |
| 12886 } |
| 12887 }, |
| 12888 _MultiChannel_closure1: { |
| 12889 "^": "Closure:2;_multi_channel$_captured_this_2", |
| 12890 call$1: function(message) { |
| 12891 var t1, id, t2, sink; |
| 12892 t1 = J.getInterceptor$asx(message); |
| 12893 id = t1.$index(message, 0); |
| 12894 t2 = this._multi_channel$_captured_this_2; |
| 12895 sink = t2._streamControllers.$index(0, id); |
| 12896 if (sink == null) |
| 12897 return; |
| 12898 if (J.$gt$n(t1.get$length(message), 1)) { |
| 12899 J.add$1$ax(sink, t1.$index(message, 1)); |
| 12900 return; |
| 12901 } |
| 12902 J.close$0$x(t2._sinkControllers.$index(0, id)); |
| 12903 } |
| 12904 }, |
| 12905 _MultiChannel_virtualChannel_closure: { |
| 12906 "^": "Closure:2;_multi_channel$_box_0,_multi_channel$_captured_this_1", |
| 12907 call$1: function(message) { |
| 12908 var t1, t2; |
| 12909 t1 = this._multi_channel$_captured_this_1._innerSink; |
| 12910 t2 = this._multi_channel$_box_0._captured_outputId_1; |
| 12911 t1 = t1._async$_target; |
| 12912 if (t1._state >= 4) |
| 12913 H.throwExpression(t1._badEventState$0()); |
| 12914 t1._async$_add$1([t2, message]); |
| 12915 return; |
| 12916 } |
| 12917 }, |
| 12918 _MultiChannel_virtualChannel_closure0: { |
| 12919 "^": "Closure:0;_multi_channel$_box_0,_multi_channel$_captured_this_2", |
| 12920 call$0: function() { |
| 12921 var t1 = this._multi_channel$_box_0; |
| 12922 return this._multi_channel$_captured_this_2._closeChannel$2(t1._captured_i
nputId_0, t1._captured_outputId_1); |
| 12923 } |
| 12924 }, |
| 12925 VirtualChannel: { |
| 12926 "^": "StreamChannelMixin;_parent,id,stream,sink" |
| 12927 } |
| 12928 }], |
| 12929 ["test.runner.browser.host", "host.dart", , R, { |
| 12930 "^": "", |
| 12931 main: [function() { |
| 12932 P.runZoned(new R.main_closure(), new R.main_closure0(), null, null); |
| 12933 }, "call$0", "main$closure", 0, 0, 1], |
| 12934 _connectToServer: function() { |
| 12935 var currentUrl, t1, webSocket, inputController, outputController; |
| 12936 currentUrl = P.Uri_parse(window.location.href); |
| 12937 t1 = currentUrl._queryParameters; |
| 12938 if (t1 == null) { |
| 12939 t1 = currentUrl._query; |
| 12940 t1 = H.setRuntimeTypeInfo(new P.UnmodifiableMapView(P.Uri_splitQueryString
(t1 == null ? "" : t1, C.Utf8Codec_false)), [null, null]); |
| 12941 currentUrl._queryParameters = t1; |
| 12942 } |
| 12943 webSocket = W.WebSocket_WebSocket(J.$index$asx(t1._collection$_map, "manager
Url"), null); |
| 12944 inputController = P.StreamController_StreamController(null, null, null, null
, true, null); |
| 12945 t1 = H.setRuntimeTypeInfo(new W._EventStream(webSocket, "message", false), [
null]); |
| 12946 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._html$_target, t1.
_eventType, W._wrapZone(new R._connectToServer_closure(inputController)), t1._us
eCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); |
| 12947 outputController = P.StreamController_StreamController(null, null, null, nul
l, true, null); |
| 12948 H.setRuntimeTypeInfo(new P._ControllerStream(outputController), [null]).list
en$1(new R._connectToServer_closure0(webSocket)); |
| 12949 return V._MultiChannel$(H.setRuntimeTypeInfo(new P._ControllerStream(inputCo
ntroller), [null]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(outputControll
er), [H.getRuntimeTypeArgument(outputController, "_StreamController", 0)])); |
| 12950 }, |
| 12951 _connectToIframe: function(url) { |
| 12952 var iframe, t1, inputController, outputController; |
| 12953 iframe = document.createElement("iframe", null); |
| 12954 t1 = J.getInterceptor$x(iframe); |
| 12955 t1.set$src(iframe, url); |
| 12956 document.body.appendChild(iframe); |
| 12957 inputController = P.StreamController_StreamController(null, null, null, null
, true, null); |
| 12958 outputController = P.StreamController_StreamController(null, null, null, nul
l, true, null); |
| 12959 t1 = t1.get$onLoad(iframe); |
| 12960 t1.get$first(t1).then$1(new R._connectToIframe_closure(iframe, inputControll
er, outputController)); |
| 12961 return H.setRuntimeTypeInfo(new A._StreamChannel(H.setRuntimeTypeInfo(new P.
_ControllerStream(inputController), [null]), H.setRuntimeTypeInfo(new P._StreamS
inkWrapper(outputController), [H.getRuntimeTypeArgument(outputController, "_Stre
amController", 0)])), [null]); |
| 12962 }, |
| 12963 main_closure: { |
| 12964 "^": "Closure:0;", |
| 12965 call$0: function() { |
| 12966 var serverChannel = R._connectToServer(); |
| 12967 H.setRuntimeTypeInfo(new P._ControllerStream(serverChannel._streamControll
er), [null]).listen$1(new R.main__closure(serverChannel)); |
| 12968 } |
| 12969 }, |
| 12970 main__closure: { |
| 12971 "^": "Closure:2;_captured_serverChannel_0", |
| 12972 call$1: function(message) { |
| 12973 var t1, suiteChannel, iframeChannel; |
| 12974 t1 = J.getInterceptor$asx(message); |
| 12975 suiteChannel = this._captured_serverChannel_0.virtualChannel$1(t1.$index(m
essage, "channel")); |
| 12976 iframeChannel = R._connectToIframe(t1.$index(message, "url")); |
| 12977 suiteChannel.stream.pipe$1(iframeChannel.sink); |
| 12978 iframeChannel.stream.pipe$1(suiteChannel.sink); |
| 12979 } |
| 12980 }, |
| 12981 main_closure0: { |
| 12982 "^": "Closure:40;", |
| 12983 call$2: function(error, stackTrace) { |
| 12984 P.print(H.S(error) + "\n" + H.S(R.Trace_Trace$from(stackTrace).get$terse()
)); |
| 12985 } |
| 12986 }, |
| 12987 _connectToServer_closure: { |
| 12988 "^": "Closure:2;_captured_inputController_0", |
| 12989 call$1: function(message) { |
| 12990 var t1, t2; |
| 12991 t1 = this._captured_inputController_0; |
| 12992 t2 = C.JsonCodec_null_null.decode$1(J.get$data$x(message)); |
| 12993 if (t1._state >= 4) |
| 12994 H.throwExpression(t1._badEventState$0()); |
| 12995 t1._async$_add$1(t2); |
| 12996 return; |
| 12997 } |
| 12998 }, |
| 12999 _connectToServer_closure0: { |
| 13000 "^": "Closure:2;_captured_webSocket_1", |
| 13001 call$1: function(message) { |
| 13002 return this._captured_webSocket_1.send(C.JsonCodec_null_null.encode$1(mess
age)); |
| 13003 } |
| 13004 }, |
| 13005 _connectToIframe_closure: { |
| 13006 "^": "Closure:2;_captured_iframe_0,_captured_inputController_1,_captured_out
putController_2", |
| 13007 call$1: function(_) { |
| 13008 var t1, t2; |
| 13009 t1 = this._captured_iframe_0; |
| 13010 J.postMessage$2$x(J.get$contentWindow$x(t1), P.LinkedHashMap_LinkedHashMap
$_literal(["command", "connect"], null, null), J.get$origin$x(window.location)); |
| 13011 t2 = H.setRuntimeTypeInfo(new W._EventStream(window, "message", false), [n
ull]); |
| 13012 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t2._html$_target, t
2._eventType, W._wrapZone(new R._connectToIframe__closure(t1, this._captured_inp
utController_1)), t2._useCapture), [H.getTypeArgumentByIndex(t2, 0)])._tryResume
$0(); |
| 13013 H.setRuntimeTypeInfo(new P._ControllerStream(this._captured_outputControll
er_2), [null]).listen$1(new R._connectToIframe__closure0(t1)); |
| 13014 } |
| 13015 }, |
| 13016 _connectToIframe__closure: { |
| 13017 "^": "Closure:2;_captured_iframe_3,_captured_inputController_4", |
| 13018 call$1: function(message) { |
| 13019 var t1, t2; |
| 13020 t1 = J.getInterceptor$x(message); |
| 13021 if (t1.get$origin(message) !== J.get$origin$x(window.location)) |
| 13022 return; |
| 13023 if (!J.$eq(J.$index$asx(t1.get$data(message), "href"), this._captured_ifra
me_3.src)) |
| 13024 return; |
| 13025 message.stopPropagation(); |
| 13026 t1 = this._captured_inputController_4; |
| 13027 t2 = J.$index$asx(P.convertNativeToDart_AcceptStructuredClone(message.data
, true), "data"); |
| 13028 if (t1._state >= 4) |
| 13029 H.throwExpression(t1._badEventState$0()); |
| 13030 t1._async$_add$1(t2); |
| 13031 } |
| 13032 }, |
| 13033 _connectToIframe__closure0: { |
| 13034 "^": "Closure:2;_captured_iframe_5", |
| 13035 call$1: function(message) { |
| 13036 return J.postMessage$2$x(W._convertNativeToDart_Window(this._captured_ifra
me_5.contentWindow), message, J.get$origin$x(window.location)); |
| 13037 } |
| 13038 } |
| 13039 }, |
| 13040 1], |
| 13041 ["test.stream_channel", "package:test/src/util/stream_channel.dart", , A, { |
| 13042 "^": "", |
| 13043 _StreamChannel: { |
| 13044 "^": "StreamChannelMixin;stream,sink" |
| 13045 }, |
| 13046 StreamChannelMixin: { |
| 13047 "^": "Object;" |
| 13048 } |
| 13049 }], |
12694 ["trace", "package:stack_trace/src/trace.dart", , R, { | 13050 ["trace", "package:stack_trace/src/trace.dart", , R, { |
12695 "^": "", | 13051 "^": "", |
12696 Trace: { | 13052 Trace: { |
12697 "^": "Object;frames", | 13053 "^": "Object;frames", |
12698 get$terse: function() { | 13054 get$terse: function() { |
12699 return this.foldFrames$2$terse(new R.Trace_terse_closure(), true); | 13055 return this.foldFrames$2$terse(new R.Trace_terse_closure(), true); |
12700 }, | 13056 }, |
12701 foldFrames$2$terse: function(predicate, terse) { | 13057 foldFrames$2$terse: function(predicate, terse) { |
12702 var newFrames, t1, frame; | 13058 var t1, newFrames, t2, frame; |
| 13059 t1 = {}; |
| 13060 t1._captured_predicate_0 = predicate; |
12703 if (terse) | 13061 if (terse) |
12704 predicate = new R.Trace_foldFrames_closure(predicate); | 13062 t1._captured_predicate_0 = new R.Trace_foldFrames_closure(predicate); |
12705 newFrames = []; | 13063 newFrames = []; |
12706 for (t1 = this.frames, t1 = t1.get$reversed(t1), t1 = new H.ListIterator(t
1, t1.get$length(t1), 0, null); t1.moveNext$0();) { | 13064 for (t2 = this.frames, t2 = t2.get$reversed(t2), t2 = new H.ListIterator(t
2, t2.get$length(t2), 0, null); t2.moveNext$0();) { |
12707 frame = t1._current; | 13065 frame = t2._current; |
12708 if (predicate.call$1(frame) !== true) | 13066 if (t1._captured_predicate_0.call$1(frame) !== true) |
12709 newFrames.push(frame); | 13067 newFrames.push(frame); |
12710 else if (newFrames.length === 0 || predicate.call$1(C.JSArray_methods.ge
t$last(newFrames)) !== true) | 13068 else if (newFrames.length === 0 || t1._captured_predicate_0.call$1(C.JSA
rray_methods.get$last(newFrames)) !== true) |
12711 newFrames.push(new S.Frame(frame.get$uri(), frame.line, frame.column,
frame.member)); | 13069 newFrames.push(new S.Frame(frame.get$uri(), frame.line, frame.column,
frame.member)); |
12712 } | 13070 } |
12713 if (terse) | 13071 if (terse) { |
12714 newFrames = H.setRuntimeTypeInfo(new H.MappedListIterable(newFrames, new
R.Trace_foldFrames_closure0()), [null, null]).toList$0(0); | 13072 newFrames = H.setRuntimeTypeInfo(new H.MappedListIterable(newFrames, new
R.Trace_foldFrames_closure0(t1)), [null, null]).toList$0(0); |
| 13073 if (C.JSArray_methods.get$first(newFrames).get$isCore() && newFrames.len
gth > 1) |
| 13074 C.JSArray_methods.removeAt$1(newFrames, 0); |
| 13075 } |
12715 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.setRu
ntimeTypeInfo(new H.ReversedListIterable(newFrames), [H.getTypeArgumentByIndex(n
ewFrames, 0)]).toList$0(0)), [S.Frame])); | 13076 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.setRu
ntimeTypeInfo(new H.ReversedListIterable(newFrames), [H.getTypeArgumentByIndex(n
ewFrames, 0)]).toList$0(0)), [S.Frame])); |
12716 }, | 13077 }, |
12717 toString$0: function(_) { | 13078 toString$0: function(_) { |
12718 var t1 = this.frames; | 13079 var t1 = this.frames; |
12719 return t1.map$1(t1, new R.Trace_toString_closure(t1.map$1(t1, new R.Trace_
toString_closure0()).fold$2(0, 0, P.max$closure()))).join$0(0); | 13080 return t1.map$1(t1, new R.Trace_toString_closure(t1.map$1(t1, new R.Trace_
toString_closure0()).fold$2(0, 0, P.max$closure()))).join$0(0); |
12720 }, | 13081 }, |
12721 static: {Trace_Trace$from: function(trace) { | 13082 static: {Trace_Trace$from: function(trace) { |
12722 if (trace == null) | 13083 if (trace == null) |
12723 throw H.wrapException(P.ArgumentError$("Cannot create a Trace from nul
l.")); | 13084 throw H.wrapException(P.ArgumentError$("Cannot create a Trace from nul
l.")); |
12724 if (!!J.getInterceptor(trace).$isTrace) | 13085 if (!!J.getInterceptor(trace).$isTrace) |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12766 var t1 = J.trim$0$s(trace).split("\n"); | 13127 var t1 = J.trim$0$s(trace).split("\n"); |
12767 t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new R.Trace$parseFiref
ox_closure()), [H.getTypeArgumentByIndex(t1, 0)]); | 13128 t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new R.Trace$parseFiref
ox_closure()), [H.getTypeArgumentByIndex(t1, 0)]); |
12768 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.Map
pedIterable_MappedIterable(t1, new R.Trace$parseFirefox_closure0(), H.getRuntime
TypeArgument(t1, "IterableBase", 0), null).toList$0(0)), [S.Frame])); | 13129 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.Map
pedIterable_MappedIterable(t1, new R.Trace$parseFirefox_closure0(), H.getRuntime
TypeArgument(t1, "IterableBase", 0), null).toList$0(0)), [S.Frame])); |
12769 }, Trace$parseFriendly: function(trace) { | 13130 }, Trace$parseFriendly: function(trace) { |
12770 var t1 = J.trim$0$s(trace).split("\n"); | 13131 var t1 = J.trim$0$s(trace).split("\n"); |
12771 t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new R.Trace$parseFrien
dly_closure()), [H.getTypeArgumentByIndex(t1, 0)]); | 13132 t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new R.Trace$parseFrien
dly_closure()), [H.getTypeArgumentByIndex(t1, 0)]); |
12772 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.Map
pedIterable_MappedIterable(t1, new R.Trace$parseFriendly_closure0(), H.getRuntim
eTypeArgument(t1, "IterableBase", 0), null).toList$0(0)), [S.Frame])); | 13133 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.Map
pedIterable_MappedIterable(t1, new R.Trace$parseFriendly_closure0(), H.getRuntim
eTypeArgument(t1, "IterableBase", 0), null).toList$0(0)), [S.Frame])); |
12773 }} | 13134 }} |
12774 }, | 13135 }, |
12775 Trace_Trace$from_closure: { | 13136 Trace_Trace$from_closure: { |
12776 "^": "Closure:0;trace_0", | 13137 "^": "Closure:0;_captured_trace_0", |
12777 call$0: function() { | 13138 call$0: function() { |
12778 return R.Trace_Trace$parse(J.toString$0(this.trace_0)); | 13139 return R.Trace_Trace$parse(J.toString$0(this._captured_trace_0)); |
12779 } | 13140 } |
12780 }, | 13141 }, |
12781 Trace$parseVM_closure: { | 13142 Trace$parseVM_closure: { |
12782 "^": "Closure:2;", | 13143 "^": "Closure:2;", |
12783 call$1: function(line) { | 13144 call$1: function(line) { |
12784 return J.get$isNotEmpty$asx(line); | 13145 return J.get$isNotEmpty$asx(line); |
12785 } | 13146 } |
12786 }, | 13147 }, |
12787 Trace$parseVM_closure0: { | 13148 Trace$parseVM_closure0: { |
12788 "^": "Closure:2;", | 13149 "^": "Closure:2;", |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12891 return new S.Frame(uri, line, column, t1[4]); | 13252 return new S.Frame(uri, line, column, t1[4]); |
12892 } | 13253 } |
12893 }, | 13254 }, |
12894 Trace_terse_closure: { | 13255 Trace_terse_closure: { |
12895 "^": "Closure:2;", | 13256 "^": "Closure:2;", |
12896 call$1: function(_) { | 13257 call$1: function(_) { |
12897 return false; | 13258 return false; |
12898 } | 13259 } |
12899 }, | 13260 }, |
12900 Trace_foldFrames_closure: { | 13261 Trace_foldFrames_closure: { |
12901 "^": "Closure:2;oldPredicate_0", | 13262 "^": "Closure:2;_captured_oldPredicate_1", |
12902 call$1: function(frame) { | 13263 call$1: function(frame) { |
12903 if (this.oldPredicate_0.call$1(frame) === true) | 13264 if (this._captured_oldPredicate_1.call$1(frame) === true) |
12904 return true; | 13265 return true; |
12905 if (frame.get$isCore()) | 13266 if (frame.get$isCore()) |
12906 return true; | 13267 return true; |
12907 if (J.$eq(frame.get$$package(), "stack_trace")) | 13268 if (J.$eq(frame.get$$package(), "stack_trace")) |
12908 return true; | 13269 return true; |
12909 if (J.contains$1$asx(frame.member, "<async>") !== true) | 13270 if (J.contains$1$asx(frame.member, "<async>") !== true) |
12910 return false; | 13271 return false; |
12911 return frame.line == null; | 13272 return frame.line == null; |
12912 } | 13273 } |
12913 }, | 13274 }, |
12914 Trace_foldFrames_closure0: { | 13275 Trace_foldFrames_closure0: { |
12915 "^": "Closure:2;", | 13276 "^": "Closure:2;_trace$_box_0", |
12916 call$1: function(frame) { | 13277 call$1: function(frame) { |
12917 var t1, t2; | 13278 var t1, t2; |
12918 if (!frame.get$isCore()) | 13279 if (this._trace$_box_0._captured_predicate_0.call$1(frame) !== true) |
12919 return frame; | 13280 return frame; |
12920 t1 = frame.uri; | 13281 t1 = frame.get$library(); |
12921 t1 = $.get$context().prettyUri$1(t1); | |
12922 t2 = $.get$_terseRegExp(); | 13282 t2 = $.get$_terseRegExp(); |
12923 H.checkString(""); | 13283 H.checkString(""); |
12924 return new S.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, "")), n
ull, null, frame.member); | 13284 return new S.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, "")), n
ull, null, frame.member); |
12925 } | 13285 } |
12926 }, | 13286 }, |
12927 Trace_toString_closure0: { | 13287 Trace_toString_closure0: { |
12928 "^": "Closure:2;", | 13288 "^": "Closure:2;", |
12929 call$1: function(frame) { | 13289 call$1: function(frame) { |
12930 return J.get$length$asx(J.get$location$x(frame)); | 13290 return J.get$length$asx(J.get$location$x(frame)); |
12931 } | 13291 } |
12932 }, | 13292 }, |
12933 Trace_toString_closure: { | 13293 Trace_toString_closure: { |
12934 "^": "Closure:2;longest_0", | 13294 "^": "Closure:2;_captured_longest_0", |
12935 call$1: function(frame) { | 13295 call$1: function(frame) { |
12936 return H.S(N.padRight(J.get$location$x(frame), this.longest_0)) + " " + H
.S(frame.get$member()) + "\n"; | 13296 return H.S(N.padRight(J.get$location$x(frame), this._captured_longest_0))
+ " " + H.S(frame.get$member()) + "\n"; |
12937 } | 13297 } |
12938 } | 13298 } |
12939 }], | 13299 }], |
12940 ["unittest.multi_channel", "package:unittest/src/util/multi_channel.dart", , K,
{ | |
12941 "^": "", | |
12942 _MultiChannel: { | |
12943 "^": "StreamChannelMixin;_innerStream,_innerSink,_innerStreamSubscription,_s
treamController,_sinkController,_streamControllers,_sinkControllers,_nextId", | |
12944 virtualChannel$1: function(id) { | |
12945 var t1, t2, inputId, t3, streamController, sinkController; | |
12946 t1 = {}; | |
12947 if (this._innerStream == null) | |
12948 throw H.wrapException(P.StateError$("The underlying channel is closed.")
); | |
12949 t1.inputId_0 = null; | |
12950 t1.outputId_1 = null; | |
12951 if (id != null) { | |
12952 t1.inputId_0 = id; | |
12953 t1.outputId_1 = H.intTypeCast(id) + 1; | |
12954 t2 = id; | |
12955 } else { | |
12956 t2 = this._nextId; | |
12957 inputId = t2 + 1; | |
12958 t1.inputId_0 = inputId; | |
12959 t1.outputId_1 = t2; | |
12960 this._nextId = t2 + 2; | |
12961 t2 = inputId; | |
12962 } | |
12963 t3 = this._streamControllers; | |
12964 if (t3.containsKey$1(t2)) | |
12965 throw H.wrapException(P.ArgumentError$("A virtual channel with id " + H.
S(id) + " already exists.")); | |
12966 streamController = P.StreamController_StreamController(null, null, null, n
ull, true, null); | |
12967 sinkController = P.StreamController_StreamController(null, null, null, nul
l, true, null); | |
12968 t3.$indexSet(0, t1.inputId_0, streamController); | |
12969 this._sinkControllers.$indexSet(0, t1.inputId_0, sinkController); | |
12970 H.setRuntimeTypeInfo(new P._ControllerStream(sinkController), [null]).list
en$2$onDone(new K._MultiChannel_virtualChannel_closure(t1, this), new K._MultiCh
annel_virtualChannel_closure0(t1, this)); | |
12971 return new K.VirtualChannel(this, t1.outputId_1, H.setRuntimeTypeInfo(new
P._ControllerStream(streamController), [null]), H.setRuntimeTypeInfo(new P._Stre
amSinkWrapper(sinkController), [H.getRuntimeTypeArgument(sinkController, "_Strea
mController", 0)])); | |
12972 }, | |
12973 _closeChannel$2: function(inputId, outputId) { | |
12974 var t1, t2; | |
12975 t1 = this._streamControllers; | |
12976 J.close$0$x(t1.remove$1(0, inputId)); | |
12977 J.close$0$x(this._sinkControllers.remove$1(0, inputId)); | |
12978 t2 = this._innerSink; | |
12979 if (t2 == null) | |
12980 return; | |
12981 t2 = t2._async$_target; | |
12982 if (t2._state >= 4) | |
12983 H.throwExpression(t2._badEventState$0()); | |
12984 t2._async$_add$1([outputId]); | |
12985 if (t1.__js_helper$_length === 0) | |
12986 this._closeInnerChannel$0(); | |
12987 }, | |
12988 _closeInnerChannel$0: [function() { | |
12989 this._innerSink._async$_target.close$0(0); | |
12990 this._innerStreamSubscription.cancel$0(); | |
12991 this._innerStream = null; | |
12992 this._innerSink = null; | |
12993 for (var t1 = this._sinkControllers, t1 = t1.get$values(t1), t1 = P.List_L
ist$from(t1, true, H.getRuntimeTypeArgument(t1, "IterableBase", 0)), t1 = new H.
ListIterator(t1, t1.length, 0, null); t1.moveNext$0();) | |
12994 J.close$0$x(t1._current); | |
12995 }, "call$0", "get$_closeInnerChannel", 0, 0, 1], | |
12996 _MultiChannel$2: function(_innerStream, _innerSink) { | |
12997 var t1, t2; | |
12998 t1 = this._streamController; | |
12999 this._streamControllers.$indexSet(0, 0, t1); | |
13000 t2 = this._sinkController; | |
13001 this._sinkControllers.$indexSet(0, 0, t2); | |
13002 H.setRuntimeTypeInfo(new P._ControllerStream(t2), [null]).listen$2$onDone(
new K._MultiChannel_closure(this), new K._MultiChannel_closure0(this)); | |
13003 this._innerStreamSubscription = this._innerStream.listen$3$onDone$onError(
new K._MultiChannel_closure1(this), this.get$_closeInnerChannel(), t1.get$addErr
or()); | |
13004 }, | |
13005 static: {_MultiChannel$: function(_innerStream, _innerSink) { | |
13006 var t1 = new K._MultiChannel(_innerStream, _innerSink, null, P.StreamCon
troller_StreamController(null, null, null, null, true, null), P.StreamController
_StreamController(null, null, null, null, true, null), P.LinkedHashMap_LinkedHas
hMap(null, null, null, P.$int, P.StreamController), P.LinkedHashMap_LinkedHashMa
p(null, null, null, P.$int, P.StreamController), 1); | |
13007 t1._MultiChannel$2(_innerStream, _innerSink); | |
13008 return t1; | |
13009 }} | |
13010 }, | |
13011 _MultiChannel_closure: { | |
13012 "^": "Closure:2;this_0", | |
13013 call$1: function(message) { | |
13014 var t1 = this.this_0._innerSink._async$_target; | |
13015 if (t1._state >= 4) | |
13016 H.throwExpression(t1._badEventState$0()); | |
13017 t1._async$_add$1([0, message]); | |
13018 return; | |
13019 } | |
13020 }, | |
13021 _MultiChannel_closure0: { | |
13022 "^": "Closure:0;this_1", | |
13023 call$0: function() { | |
13024 return this.this_1._closeChannel$2(0, 0); | |
13025 } | |
13026 }, | |
13027 _MultiChannel_closure1: { | |
13028 "^": "Closure:2;this_2", | |
13029 call$1: function(message) { | |
13030 var t1, id, t2, sink; | |
13031 t1 = J.getInterceptor$asx(message); | |
13032 id = t1.$index(message, 0); | |
13033 t2 = this.this_2; | |
13034 sink = t2._streamControllers.$index(0, id); | |
13035 if (sink == null) | |
13036 return; | |
13037 if (J.$gt$n(t1.get$length(message), 1)) { | |
13038 J.add$1$ax(sink, t1.$index(message, 1)); | |
13039 return; | |
13040 } | |
13041 J.close$0$x(t2._sinkControllers.$index(0, id)); | |
13042 } | |
13043 }, | |
13044 _MultiChannel_virtualChannel_closure: { | |
13045 "^": "Closure:2;box_0,this_1", | |
13046 call$1: function(message) { | |
13047 var t1, t2; | |
13048 t1 = this.this_1._innerSink; | |
13049 t2 = this.box_0.outputId_1; | |
13050 t1 = t1._async$_target; | |
13051 if (t1._state >= 4) | |
13052 H.throwExpression(t1._badEventState$0()); | |
13053 t1._async$_add$1([t2, message]); | |
13054 return; | |
13055 } | |
13056 }, | |
13057 _MultiChannel_virtualChannel_closure0: { | |
13058 "^": "Closure:0;box_0,this_2", | |
13059 call$0: function() { | |
13060 var t1 = this.box_0; | |
13061 return this.this_2._closeChannel$2(t1.inputId_0, t1.outputId_1); | |
13062 } | |
13063 }, | |
13064 VirtualChannel: { | |
13065 "^": "StreamChannelMixin;_parent,id,stream,sink" | |
13066 } | |
13067 }], | |
13068 ["unittest.runner.browser.host", "host.dart", , O, { | |
13069 "^": "", | |
13070 main: [function() { | |
13071 P.runZoned(new O.main_closure(), new O.main_closure0(), null, null); | |
13072 }, "call$0", "main$closure", 0, 0, 1], | |
13073 _connectToServer: function() { | |
13074 var currentUrl, t1, webSocket, inputController, outputController; | |
13075 currentUrl = P.Uri_parse(window.location.href); | |
13076 t1 = currentUrl._queryParameters; | |
13077 if (t1 == null) { | |
13078 t1 = currentUrl._query; | |
13079 t1 = H.setRuntimeTypeInfo(new P.UnmodifiableMapView(P.Uri_splitQueryString
(t1 == null ? "" : t1, C.Utf8Codec_false)), [null, null]); | |
13080 currentUrl._queryParameters = t1; | |
13081 } | |
13082 webSocket = W.WebSocket_WebSocket(J.$index$asx(t1._collection$_map, "manager
Url"), null); | |
13083 inputController = P.StreamController_StreamController(null, null, null, null
, true, null); | |
13084 t1 = H.setRuntimeTypeInfo(new W._EventStream(webSocket, "message", false), [
null]); | |
13085 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._html$_target, t1.
_eventType, W._wrapZone(new O._connectToServer_closure(inputController)), t1._us
eCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); | |
13086 outputController = P.StreamController_StreamController(null, null, null, nul
l, true, null); | |
13087 H.setRuntimeTypeInfo(new P._ControllerStream(outputController), [null]).list
en$1(new O._connectToServer_closure0(webSocket)); | |
13088 return K._MultiChannel$(H.setRuntimeTypeInfo(new P._ControllerStream(inputCo
ntroller), [null]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(outputControll
er), [H.getRuntimeTypeArgument(outputController, "_StreamController", 0)])); | |
13089 }, | |
13090 _connectToIframe: function(url) { | |
13091 var iframe, t1, inputController, outputController; | |
13092 iframe = document.createElement("iframe", null); | |
13093 t1 = J.getInterceptor$x(iframe); | |
13094 t1.set$src(iframe, url); | |
13095 document.body.appendChild(iframe); | |
13096 inputController = P.StreamController_StreamController(null, null, null, null
, true, null); | |
13097 outputController = P.StreamController_StreamController(null, null, null, nul
l, true, null); | |
13098 t1 = t1.get$onLoad(iframe); | |
13099 t1.get$first(t1).then$1(new O._connectToIframe_closure(iframe, inputControll
er, outputController)); | |
13100 return H.setRuntimeTypeInfo(new X._StreamChannel(H.setRuntimeTypeInfo(new P.
_ControllerStream(inputController), [null]), H.setRuntimeTypeInfo(new P._StreamS
inkWrapper(outputController), [H.getRuntimeTypeArgument(outputController, "_Stre
amController", 0)])), [null]); | |
13101 }, | |
13102 main_closure: { | |
13103 "^": "Closure:0;", | |
13104 call$0: function() { | |
13105 var serverChannel = O._connectToServer(); | |
13106 H.setRuntimeTypeInfo(new P._ControllerStream(serverChannel._streamControll
er), [null]).listen$1(new O.main__closure(serverChannel)); | |
13107 } | |
13108 }, | |
13109 main__closure: { | |
13110 "^": "Closure:2;serverChannel_0", | |
13111 call$1: function(message) { | |
13112 var t1, suiteChannel, iframeChannel; | |
13113 t1 = J.getInterceptor$asx(message); | |
13114 suiteChannel = this.serverChannel_0.virtualChannel$1(t1.$index(message, "c
hannel")); | |
13115 iframeChannel = O._connectToIframe(t1.$index(message, "url")); | |
13116 suiteChannel.stream.pipe$1(iframeChannel.sink); | |
13117 iframeChannel.stream.pipe$1(suiteChannel.sink); | |
13118 } | |
13119 }, | |
13120 main_closure0: { | |
13121 "^": "Closure:15;", | |
13122 call$2: function(error, stackTrace) { | |
13123 P.print(H.S(error) + "\n" + H.S(R.Trace_Trace$from(stackTrace).get$terse()
)); | |
13124 } | |
13125 }, | |
13126 _connectToServer_closure: { | |
13127 "^": "Closure:2;inputController_0", | |
13128 call$1: function(message) { | |
13129 var t1, t2; | |
13130 t1 = this.inputController_0; | |
13131 t2 = C.JsonCodec_null_null.decode$1(J.get$data$x(message)); | |
13132 if (t1._state >= 4) | |
13133 H.throwExpression(t1._badEventState$0()); | |
13134 t1._async$_add$1(t2); | |
13135 return; | |
13136 } | |
13137 }, | |
13138 _connectToServer_closure0: { | |
13139 "^": "Closure:2;webSocket_1", | |
13140 call$1: function(message) { | |
13141 return this.webSocket_1.send(C.JsonCodec_null_null.encode$1(message)); | |
13142 } | |
13143 }, | |
13144 _connectToIframe_closure: { | |
13145 "^": "Closure:2;iframe_0,inputController_1,outputController_2", | |
13146 call$1: function(_) { | |
13147 var t1, t2; | |
13148 t1 = this.iframe_0; | |
13149 J.postMessage$2$x(J.get$contentWindow$x(t1), P.LinkedHashMap_LinkedHashMap
$_literal(["command", "connect"], null, null), J.get$origin$x(window.location)); | |
13150 t2 = H.setRuntimeTypeInfo(new W._EventStream(window, "message", false), [n
ull]); | |
13151 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t2._html$_target, t
2._eventType, W._wrapZone(new O._connectToIframe__closure(t1, this.inputControll
er_1)), t2._useCapture), [H.getTypeArgumentByIndex(t2, 0)])._tryResume$0(); | |
13152 H.setRuntimeTypeInfo(new P._ControllerStream(this.outputController_2), [nu
ll]).listen$1(new O._connectToIframe__closure0(t1)); | |
13153 } | |
13154 }, | |
13155 _connectToIframe__closure: { | |
13156 "^": "Closure:2;iframe_3,inputController_4", | |
13157 call$1: function(message) { | |
13158 var t1, t2; | |
13159 t1 = J.getInterceptor$x(message); | |
13160 if (t1.get$origin(message) !== J.get$origin$x(window.location)) | |
13161 return; | |
13162 if (!J.$eq(J.$index$asx(t1.get$data(message), "href"), this.iframe_3.src)) | |
13163 return; | |
13164 message.stopPropagation(); | |
13165 t1 = this.inputController_4; | |
13166 t2 = J.$index$asx(P.convertNativeToDart_AcceptStructuredClone(message.data
, true), "data"); | |
13167 if (t1._state >= 4) | |
13168 H.throwExpression(t1._badEventState$0()); | |
13169 t1._async$_add$1(t2); | |
13170 } | |
13171 }, | |
13172 _connectToIframe__closure0: { | |
13173 "^": "Closure:2;iframe_5", | |
13174 call$1: function(message) { | |
13175 return J.postMessage$2$x(W._convertNativeToDart_Window(this.iframe_5.conte
ntWindow), message, J.get$origin$x(window.location)); | |
13176 } | |
13177 } | |
13178 }, | |
13179 1], | |
13180 ["unittest.stream_channel", "package:unittest/src/util/stream_channel.dart", , X
, { | |
13181 "^": "", | |
13182 _StreamChannel: { | |
13183 "^": "StreamChannelMixin;stream,sink" | |
13184 }, | |
13185 StreamChannelMixin: { | |
13186 "^": "Object;" | |
13187 } | |
13188 }], | |
13189 ]; | 13300 ]; |
13190 parseReflectionData(dart); | 13301 setupProgram(dart); |
13191 // getInterceptor methods | 13302 // getInterceptor methods |
13192 J.getInterceptor = function(receiver) { | 13303 J.getInterceptor = function(receiver) { |
13193 if (typeof receiver == "number") { | 13304 if (typeof receiver == "number") { |
13194 if (Math.floor(receiver) == receiver) | 13305 if (Math.floor(receiver) == receiver) |
13195 return J.JSInt.prototype; | 13306 return J.JSInt.prototype; |
13196 return J.JSDouble.prototype; | 13307 return J.JSDouble.prototype; |
13197 } | 13308 } |
13198 if (typeof receiver == "string") | 13309 if (typeof receiver == "string") |
13199 return J.JSString.prototype; | 13310 return J.JSString.prototype; |
13200 if (receiver == null) | 13311 if (receiver == null) |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13407 }; | 13518 }; |
13408 J.startsWith$1$s = function(receiver, a0) { | 13519 J.startsWith$1$s = function(receiver, a0) { |
13409 return J.getInterceptor$s(receiver).startsWith$1(receiver, a0); | 13520 return J.getInterceptor$s(receiver).startsWith$1(receiver, a0); |
13410 }; | 13521 }; |
13411 J.substring$1$s = function(receiver, a0) { | 13522 J.substring$1$s = function(receiver, a0) { |
13412 return J.getInterceptor$s(receiver).substring$1(receiver, a0); | 13523 return J.getInterceptor$s(receiver).substring$1(receiver, a0); |
13413 }; | 13524 }; |
13414 J.substring$2$s = function(receiver, a0, a1) { | 13525 J.substring$2$s = function(receiver, a0, a1) { |
13415 return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1); | 13526 return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1); |
13416 }; | 13527 }; |
| 13528 J.toLowerCase$0$s = function(receiver) { |
| 13529 return J.getInterceptor$s(receiver).toLowerCase$0(receiver); |
| 13530 }; |
13417 J.toRadixString$1$n = function(receiver, a0) { | 13531 J.toRadixString$1$n = function(receiver, a0) { |
13418 return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0); | 13532 return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0); |
13419 }; | 13533 }; |
13420 J.toString$0 = function(receiver) { | 13534 J.toString$0 = function(receiver) { |
13421 return J.getInterceptor(receiver).toString$0(receiver); | 13535 return J.getInterceptor(receiver).toString$0(receiver); |
13422 }; | 13536 }; |
13423 J.trim$0$s = function(receiver) { | 13537 J.trim$0$s = function(receiver) { |
13424 return J.getInterceptor$s(receiver).trim$0(receiver); | 13538 return J.getInterceptor$s(receiver).trim$0(receiver); |
13425 }; | 13539 }; |
13426 Isolate.makeConstantList = function(list) { | 13540 Isolate.makeConstantList = function(list) { |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13642 $._lastPriorityCallback = null; | 13756 $._lastPriorityCallback = null; |
13643 $._isInCallbackLoop = false; | 13757 $._isInCallbackLoop = false; |
13644 $.Zone__current = C.C__RootZone; | 13758 $.Zone__current = C.C__RootZone; |
13645 $._RootZone__rootDelegate = null; | 13759 $._RootZone__rootDelegate = null; |
13646 $.Expando__keyCount = 0; | 13760 $.Expando__keyCount = 0; |
13647 $.Device__isOpera = null; | 13761 $.Device__isOpera = null; |
13648 $.Device__isIE = null; | 13762 $.Device__isIE = null; |
13649 $.Device__isFirefox = null; | 13763 $.Device__isFirefox = null; |
13650 $.Device__isWebKit = null; | 13764 $.Device__isWebKit = null; |
13651 $.Device__cachedCssPrefix = null; | 13765 $.Device__cachedCssPrefix = null; |
13652 Isolate.$lazy($, "thisScript", "IsolateNatives_thisScript", "get$IsolateNatives_
thisScript", function() { | 13766 Isolate.$lazy("IsolateNatives_thisScript", "get$IsolateNatives_thisScript", func
tion() { |
13653 return H.IsolateNatives_computeThisScript(); | 13767 return H.IsolateNatives_computeThisScript(); |
13654 }); | 13768 }, "thisScript"); |
13655 Isolate.$lazy($, "workerIds", "IsolateNatives_workerIds", "get$IsolateNatives_wo
rkerIds", function() { | 13769 Isolate.$lazy("IsolateNatives_workerIds", "get$IsolateNatives_workerIds", functi
on() { |
13656 return new P.Expando(null); | 13770 return new P.Expando(null); |
13657 }); | 13771 }, "workerIds"); |
13658 Isolate.$lazy($, "noSuchMethodPattern", "TypeErrorDecoder_noSuchMethodPattern",
"get$TypeErrorDecoder_noSuchMethodPattern", function() { | 13772 Isolate.$lazy("TypeErrorDecoder_noSuchMethodPattern", "get$TypeErrorDecoder_noSu
chMethodPattern", function() { |
13659 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn
({toString: function() { | 13773 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn
({toString: function() { |
13660 return "$receiver$"; | 13774 return "$receiver$"; |
13661 }})); | 13775 }})); |
13662 }); | 13776 }, "noSuchMethodPattern"); |
13663 Isolate.$lazy($, "notClosurePattern", "TypeErrorDecoder_notClosurePattern", "get
$TypeErrorDecoder_notClosurePattern", function() { | 13777 Isolate.$lazy("TypeErrorDecoder_notClosurePattern", "get$TypeErrorDecoder_notClo
surePattern", function() { |
13664 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn
({$method$: null, toString: function() { | 13778 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn
({$method$: null, toString: function() { |
13665 return "$receiver$"; | 13779 return "$receiver$"; |
13666 }})); | 13780 }})); |
13667 }); | 13781 }, "notClosurePattern"); |
13668 Isolate.$lazy($, "nullCallPattern", "TypeErrorDecoder_nullCallPattern", "get$Typ
eErrorDecoder_nullCallPattern", function() { | 13782 Isolate.$lazy("TypeErrorDecoder_nullCallPattern", "get$TypeErrorDecoder_nullCall
Pattern", function() { |
13669 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn
(null)); | 13783 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn
(null)); |
13670 }); | 13784 }, "nullCallPattern"); |
13671 Isolate.$lazy($, "nullLiteralCallPattern", "TypeErrorDecoder_nullLiteralCallPatt
ern", "get$TypeErrorDecoder_nullLiteralCallPattern", function() { | 13785 Isolate.$lazy("TypeErrorDecoder_nullLiteralCallPattern", "get$TypeErrorDecoder_n
ullLiteralCallPattern", function() { |
13672 return H.TypeErrorDecoder_extractPattern(function() { | 13786 return H.TypeErrorDecoder_extractPattern(function() { |
13673 var $argumentsExpr$ = '$arguments$'; | 13787 var $argumentsExpr$ = '$arguments$'; |
13674 try { | 13788 try { |
13675 null.$method$($argumentsExpr$); | 13789 null.$method$($argumentsExpr$); |
13676 } catch (e) { | 13790 } catch (e) { |
13677 return e.message; | 13791 return e.message; |
13678 } | 13792 } |
13679 }()); | 13793 }()); |
13680 }); | 13794 }, "nullLiteralCallPattern"); |
13681 Isolate.$lazy($, "undefinedCallPattern", "TypeErrorDecoder_undefinedCallPattern"
, "get$TypeErrorDecoder_undefinedCallPattern", function() { | 13795 Isolate.$lazy("TypeErrorDecoder_undefinedCallPattern", "get$TypeErrorDecoder_und
efinedCallPattern", function() { |
13682 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn
(void 0)); | 13796 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn
(void 0)); |
13683 }); | 13797 }, "undefinedCallPattern"); |
13684 Isolate.$lazy($, "undefinedLiteralCallPattern", "TypeErrorDecoder_undefinedLiter
alCallPattern", "get$TypeErrorDecoder_undefinedLiteralCallPattern", function() { | 13798 Isolate.$lazy("TypeErrorDecoder_undefinedLiteralCallPattern", "get$TypeErrorDeco
der_undefinedLiteralCallPattern", function() { |
13685 return H.TypeErrorDecoder_extractPattern(function() { | 13799 return H.TypeErrorDecoder_extractPattern(function() { |
13686 var $argumentsExpr$ = '$arguments$'; | 13800 var $argumentsExpr$ = '$arguments$'; |
13687 try { | 13801 try { |
13688 (void 0).$method$($argumentsExpr$); | 13802 (void 0).$method$($argumentsExpr$); |
13689 } catch (e) { | 13803 } catch (e) { |
13690 return e.message; | 13804 return e.message; |
13691 } | 13805 } |
13692 }()); | 13806 }()); |
13693 }); | 13807 }, "undefinedLiteralCallPattern"); |
13694 Isolate.$lazy($, "nullPropertyPattern", "TypeErrorDecoder_nullPropertyPattern",
"get$TypeErrorDecoder_nullPropertyPattern", function() { | 13808 Isolate.$lazy("TypeErrorDecoder_nullPropertyPattern", "get$TypeErrorDecoder_null
PropertyPattern", function() { |
13695 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErr
orOn(null)); | 13809 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErr
orOn(null)); |
13696 }); | 13810 }, "nullPropertyPattern"); |
13697 Isolate.$lazy($, "nullLiteralPropertyPattern", "TypeErrorDecoder_nullLiteralProp
ertyPattern", "get$TypeErrorDecoder_nullLiteralPropertyPattern", function() { | 13811 Isolate.$lazy("TypeErrorDecoder_nullLiteralPropertyPattern", "get$TypeErrorDecod
er_nullLiteralPropertyPattern", function() { |
13698 return H.TypeErrorDecoder_extractPattern(function() { | 13812 return H.TypeErrorDecoder_extractPattern(function() { |
13699 try { | 13813 try { |
13700 null.$method$; | 13814 null.$method$; |
13701 } catch (e) { | 13815 } catch (e) { |
13702 return e.message; | 13816 return e.message; |
13703 } | 13817 } |
13704 }()); | 13818 }()); |
13705 }); | 13819 }, "nullLiteralPropertyPattern"); |
13706 Isolate.$lazy($, "undefinedPropertyPattern", "TypeErrorDecoder_undefinedProperty
Pattern", "get$TypeErrorDecoder_undefinedPropertyPattern", function() { | 13820 Isolate.$lazy("TypeErrorDecoder_undefinedPropertyPattern", "get$TypeErrorDecoder
_undefinedPropertyPattern", function() { |
13707 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErr
orOn(void 0)); | 13821 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErr
orOn(void 0)); |
13708 }); | 13822 }, "undefinedPropertyPattern"); |
13709 Isolate.$lazy($, "undefinedLiteralPropertyPattern", "TypeErrorDecoder_undefinedL
iteralPropertyPattern", "get$TypeErrorDecoder_undefinedLiteralPropertyPattern",
function() { | 13823 Isolate.$lazy("TypeErrorDecoder_undefinedLiteralPropertyPattern", "get$TypeError
Decoder_undefinedLiteralPropertyPattern", function() { |
13710 return H.TypeErrorDecoder_extractPattern(function() { | 13824 return H.TypeErrorDecoder_extractPattern(function() { |
13711 try { | 13825 try { |
13712 (void 0).$method$; | 13826 (void 0).$method$; |
13713 } catch (e) { | 13827 } catch (e) { |
13714 return e.message; | 13828 return e.message; |
13715 } | 13829 } |
13716 }()); | 13830 }()); |
13717 }); | 13831 }, "undefinedLiteralPropertyPattern"); |
13718 Isolate.$lazy($, "scheduleImmediateClosure", "_AsyncRun_scheduleImmediateClosure
", "get$_AsyncRun_scheduleImmediateClosure", function() { | 13832 Isolate.$lazy("_AsyncRun_scheduleImmediateClosure", "get$_AsyncRun_scheduleImmed
iateClosure", function() { |
13719 return P._AsyncRun__initializeScheduleImmediate(); | 13833 return P._AsyncRun__initializeScheduleImmediate(); |
13720 }); | 13834 }, "scheduleImmediateClosure"); |
13721 Isolate.$lazy($, "_nullFuture", "Future__nullFuture", "get$Future__nullFuture",
function() { | 13835 Isolate.$lazy("Future__nullFuture", "get$Future__nullFuture", function() { |
13722 return P._Future$immediate(null, null); | 13836 return P._Future$immediate(null, null); |
13723 }); | 13837 }, "_nullFuture"); |
13724 Isolate.$lazy($, "_rootMap", "_RootZone__rootMap", "get$_RootZone__rootMap", fun
ction() { | 13838 Isolate.$lazy("_RootZone__rootMap", "get$_RootZone__rootMap", function() { |
13725 return P.HashMap_HashMap(null, null, null, null, null); | 13839 return P.HashMap_HashMap(null, null, null, null, null); |
13726 }); | 13840 }, "_rootMap"); |
13727 Isolate.$lazy($, "_toStringVisiting", "IterableBase__toStringVisiting", "get$Ite
rableBase__toStringVisiting", function() { | 13841 Isolate.$lazy("IterableBase__toStringVisiting", "get$IterableBase__toStringVisit
ing", function() { |
13728 return []; | 13842 return []; |
13729 }); | 13843 }, "_toStringVisiting"); |
13730 Isolate.$lazy($, "_vmFrame", "_vmFrame", "get$_vmFrame", function() { | 13844 Isolate.$lazy("_vmFrame", "get$_vmFrame", function() { |
13731 return P.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", true,
false); | 13845 return P.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", true,
false); |
13732 }); | 13846 }, "_vmFrame"); |
13733 Isolate.$lazy($, "_v8Frame", "_v8Frame", "get$_v8Frame", function() { | 13847 Isolate.$lazy("_v8Frame", "get$_v8Frame", function() { |
13734 return P.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(
.*))$", true, false); | 13848 return P.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(
.*))$", true, false); |
13735 }); | 13849 }, "_v8Frame"); |
13736 Isolate.$lazy($, "_v8UrlLocation", "_v8UrlLocation", "get$_v8UrlLocation", funct
ion() { | 13850 Isolate.$lazy("_v8UrlLocation", "get$_v8UrlLocation", function() { |
13737 return P.RegExp_RegExp("^(.*):(\\d+):(\\d+)$", true, false); | 13851 return P.RegExp_RegExp("^(.*):(\\d+):(\\d+)$", true, false); |
13738 }); | 13852 }, "_v8UrlLocation"); |
13739 Isolate.$lazy($, "_v8EvalLocation", "_v8EvalLocation", "get$_v8EvalLocation", fu
nction() { | 13853 Isolate.$lazy("_v8EvalLocation", "get$_v8EvalLocation", function() { |
13740 return P.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$",
true, false); | 13854 return P.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$",
true, false); |
13741 }); | 13855 }, "_v8EvalLocation"); |
13742 Isolate.$lazy($, "_firefoxSafariFrame", "_firefoxSafariFrame", "get$_firefoxSafa
riFrame", function() { | 13856 Isolate.$lazy("_firefoxSafariFrame", "get$_firefoxSafariFrame", function() { |
13743 return P.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)
?(.*?):(\\d*)(?::(\\d*))?$", true, false); | 13857 return P.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)
?(.*?):(\\d*)(?::(\\d*))?$", true, false); |
13744 }); | 13858 }, "_firefoxSafariFrame"); |
13745 Isolate.$lazy($, "_friendlyFrame", "_friendlyFrame", "get$_friendlyFrame", funct
ion() { | 13859 Isolate.$lazy("_friendlyFrame", "get$_friendlyFrame", function() { |
13746 return P.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d]\\S*)$", tru
e, false); | 13860 return P.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d]\\S*)$", tru
e, false); |
13747 }); | 13861 }, "_friendlyFrame"); |
13748 Isolate.$lazy($, "_asyncBody", "_asyncBody", "get$_asyncBody", function() { | 13862 Isolate.$lazy("_asyncBody", "get$_asyncBody", function() { |
13749 return P.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", true, false
); | 13863 return P.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", true, false
); |
13750 }); | 13864 }, "_asyncBody"); |
13751 Isolate.$lazy($, "_initialDot", "_initialDot", "get$_initialDot", function() { | 13865 Isolate.$lazy("_initialDot", "get$_initialDot", function() { |
13752 return P.RegExp_RegExp("^\\.", true, false); | 13866 return P.RegExp_RegExp("^\\.", true, false); |
13753 }); | 13867 }, "_initialDot"); |
13754 Isolate.$lazy($, "_uriRegExp", "Frame__uriRegExp", "get$Frame__uriRegExp", funct
ion() { | 13868 Isolate.$lazy("Frame__uriRegExp", "get$Frame__uriRegExp", function() { |
13755 return P.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", true, false); | 13869 return P.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", true, false); |
13756 }); | 13870 }, "_uriRegExp"); |
13757 Isolate.$lazy($, "_windowsRegExp", "Frame__windowsRegExp", "get$Frame__windowsRe
gExp", function() { | 13871 Isolate.$lazy("Frame__windowsRegExp", "get$Frame__windowsRegExp", function() { |
13758 return P.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", true, false); | 13872 return P.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", true, false); |
13759 }); | 13873 }, "_windowsRegExp"); |
13760 Isolate.$lazy($, "windows", "windows", "get$windows", function() { | 13874 Isolate.$lazy("windows", "get$windows", function() { |
13761 return F.Context_Context(null, $.get$Style_windows()); | 13875 return F.Context_Context(null, $.get$Style_windows()); |
13762 }); | 13876 }, "windows"); |
13763 Isolate.$lazy($, "context", "context", "get$context", function() { | 13877 Isolate.$lazy("context", "get$context", function() { |
13764 return new F.Context($.get$Style_platform(), null); | 13878 return new F.Context($.get$Style_platform(), null); |
13765 }); | 13879 }, "context"); |
13766 Isolate.$lazy($, "posix", "Style_posix", "get$Style_posix", function() { | 13880 Isolate.$lazy("Style_posix", "get$Style_posix", function() { |
13767 return new Z.PosixStyle("posix", "/", C.List_cSk, P.RegExp_RegExp("/", true, f
alse), P.RegExp_RegExp("[^/]$", true, false), P.RegExp_RegExp("^/", true, false)
, null); | 13881 return new Z.PosixStyle("posix", "/", C.List_cSk, P.RegExp_RegExp("/", true, f
alse), P.RegExp_RegExp("[^/]$", true, false), P.RegExp_RegExp("^/", true, false)
, null); |
13768 }); | 13882 }, "posix"); |
13769 Isolate.$lazy($, "windows", "Style_windows", "get$Style_windows", function() { | 13883 Isolate.$lazy("Style_windows", "get$Style_windows", function() { |
13770 return new T.WindowsStyle("windows", "\\", C.List_WnV, P.RegExp_RegExp("[/\\\\
]", true, false), P.RegExp_RegExp("[^/\\\\]$", true, false), P.RegExp_RegExp("^(
\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])", true, false), P.RegExp_RegExp(
"^[/\\\\](?![/\\\\])", true, false)); | 13884 return new T.WindowsStyle("windows", "\\", C.List_WnV, P.RegExp_RegExp("[/\\\\
]", true, false), P.RegExp_RegExp("[^/\\\\]$", true, false), P.RegExp_RegExp("^(
\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])", true, false), P.RegExp_RegExp(
"^[/\\\\](?![/\\\\])", true, false)); |
13771 }); | 13885 }, "windows"); |
13772 Isolate.$lazy($, "url", "Style_url", "get$Style_url", function() { | 13886 Isolate.$lazy("Style_url", "get$Style_url", function() { |
13773 return new E.UrlStyle("url", "/", C.List_cSk, P.RegExp_RegExp("/", true, false
), P.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", true, false), P.RegExp
_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", true, false), P.RegExp_RegExp("^/", t
rue, false)); | 13887 return new E.UrlStyle("url", "/", C.List_cSk, P.RegExp_RegExp("/", true, false
), P.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", true, false), P.RegExp
_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", true, false), P.RegExp_RegExp("^/", t
rue, false)); |
13774 }); | 13888 }, "url"); |
13775 Isolate.$lazy($, "platform", "Style_platform", "get$Style_platform", function()
{ | 13889 Isolate.$lazy("Style_platform", "get$Style_platform", function() { |
13776 return S.Style__getPlatformStyle(); | 13890 return S.Style__getPlatformStyle(); |
13777 }); | 13891 }, "platform"); |
13778 Isolate.$lazy($, "_terseRegExp", "_terseRegExp", "get$_terseRegExp", function()
{ | 13892 Isolate.$lazy("_terseRegExp", "get$_terseRegExp", function() { |
13779 return P.RegExp_RegExp("(-patch)?(/.*)?$", true, false); | 13893 return P.RegExp_RegExp("(-patch)?(/.*)?$", true, false); |
13780 }); | 13894 }, "_terseRegExp"); |
13781 Isolate.$lazy($, "_v8Trace", "_v8Trace", "get$_v8Trace", function() { | 13895 Isolate.$lazy("_v8Trace", "get$_v8Trace", function() { |
13782 return P.RegExp_RegExp("\\n ?at ", true, false); | 13896 return P.RegExp_RegExp("\\n ?at ", true, false); |
13783 }); | 13897 }, "_v8Trace"); |
13784 Isolate.$lazy($, "_v8TraceLine", "_v8TraceLine", "get$_v8TraceLine", function()
{ | 13898 Isolate.$lazy("_v8TraceLine", "get$_v8TraceLine", function() { |
13785 return P.RegExp_RegExp(" ?at ", true, false); | 13899 return P.RegExp_RegExp(" ?at ", true, false); |
13786 }); | 13900 }, "_v8TraceLine"); |
13787 Isolate.$lazy($, "_firefoxSafariTrace", "_firefoxSafariTrace", "get$_firefoxSafa
riTrace", function() { | 13901 Isolate.$lazy("_firefoxSafariTrace", "get$_firefoxSafariTrace", function() { |
13788 return P.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true,
true); | 13902 return P.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true,
true); |
13789 }); | 13903 }, "_firefoxSafariTrace"); |
13790 Isolate.$lazy($, "_friendlyTrace", "_friendlyTrace", "get$_friendlyTrace", funct
ion() { | 13904 Isolate.$lazy("_friendlyTrace", "get$_friendlyTrace", function() { |
13791 return P.RegExp_RegExp("^[^\\s]+( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true, true); | 13905 return P.RegExp_RegExp("^[^\\s]+( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true, true); |
13792 }); | 13906 }, "_friendlyTrace"); |
13793 | 13907 |
13794 init.metadata = [{func: "args0"}, | 13908 init.metadata = [, |
13795 {func: "void_", void: true}, | 13909 ]; |
13796 {func: "args1", args: [null]}, | 13910 init.types = [{func: ""}, |
13797 {func: "dynamic__dynamic_String", args: [null, P.String]}, | 13911 {func: "", void: true}, |
13798 {func: "dynamic__String", args: [P.String]}, | 13912 {func: "", args: [,]}, |
13799 {func: "dynamic__void_", args: [{func: "void_", void: true}]}, | 13913 {func: "", args: [, P.String]}, |
13800 {func: "void__dynamic__StackTrace", void: true, args: [null], opt: [P.StackTrace
]}, | 13914 {func: "", args: [P.String]}, |
13801 {func: "dynamic__dynamic__dynamic", args: [null], opt: [null]}, | 13915 {func: "", args: [{func: "", void: true}]}, |
13802 {func: "bool_", ret: P.bool}, | 13916 {func: "", void: true, args: [,], opt: [P.StackTrace]}, |
13803 {func: "dynamic__bool", args: [P.bool]}, | 13917 {func: "", args: [,], opt: [,]}, |
13804 {func: "void__Object__StackTrace", void: true, args: [P.Object], opt: [P.StackTr
ace]}, | 13918 {func: "", ret: P.bool}, |
13805 {func: "void__Object_StackTrace", void: true, args: [P.Object, P.StackTrace]}, | 13919 {func: "", args: [P.bool]}, |
13806 {func: "dynamic__dynamic_StackTrace", args: [null, P.StackTrace]}, | 13920 {func: "", void: true, args: [P.Object], opt: [P.StackTrace]}, |
13807 {func: "void__dynamic_StackTrace", void: true, args: [null, P.StackTrace]}, | 13921 {func: "", void: true, args: [P.Object, P.StackTrace]}, |
13808 {func: "dynamic__Zone_ZoneDelegate_Zone_dynamic_StackTrace", args: [P.Zone, P.Zo
neDelegate, P.Zone, null, P.StackTrace]}, | 13922 {func: "", args: [, P.StackTrace]}, |
13809 {func: "args2", args: [null, null]}, | 13923 {func: "", void: true, args: [, P.StackTrace]}, |
13810 {func: "dynamic__String_dynamic", args: [P.String, null]}, | 13924 {func: "", args: [P.Zone,, P.StackTrace]}, |
13811 {func: "int__dynamic_int", ret: P.$int, args: [null, P.$int]}, | 13925 {func: "", args: [P.Zone, {func: ""}]}, |
13812 {func: "void__int_int", void: true, args: [P.$int, P.$int]}, | 13926 {func: "", args: [P.Zone, {func: "", args: [,]},,]}, |
13813 {func: "dynamic__Symbol_dynamic", args: [P.Symbol, null]}, | 13927 {func: "", args: [P.Zone, {func: "", args: [,,]},,,]}, |
13814 {func: "String__int", ret: P.String, args: [P.$int]}, | 13928 {func: "", ret: {func: ""}, args: [P.Zone, {func: ""}]}, |
13815 {func: "bool__int", ret: P.bool, args: [P.$int]}, | 13929 {func: "", ret: {func: "", args: [,]}, args: [P.Zone, {func: "", args: [,]}]}, |
13816 {func: "int__dynamic_dynamic", ret: P.$int, args: [null, null]}, | 13930 {func: "", ret: {func: "", args: [,,]}, args: [P.Zone, {func: "", args: [,,]}]}, |
13817 {func: "void__String", void: true, args: [P.String]}, | 13931 {func: "", ret: P.AsyncError, args: [P.Zone, P.Object, P.StackTrace]}, |
13818 {func: "void__String__dynamic", void: true, args: [P.String], opt: [null]}, | 13932 {func: "", void: true, args: [P.Zone, {func: ""}]}, |
13819 {func: "int__int_int", ret: P.$int, args: [P.$int, P.$int]}, | 13933 {func: "", ret: P.Timer, args: [P.Zone, P.Duration, {func: "", void: true}]}, |
13820 {func: "int__dynamic", ret: P.$int, args: [null]}, | 13934 {func: "", ret: P.Timer, args: [P.Zone, P.Duration, {func: "", void: true, args:
[P.Timer]}]}, |
13821 {func: "dynamic__int", args: [P.$int]}, | 13935 {func: "", void: true, args: [P.Zone, P.String]}, |
13822 {func: "dynamic__int_dynamic", args: [P.$int, null]}, | 13936 {func: "", ret: P.Zone, args: [P.Zone, P.ZoneSpecification, P.Map]}, |
13823 {func: "void__void_", void: true, args: [{func: "void_", void: true}]}, | 13937 {func: "", ret: P.Zone, named: {specification: P.ZoneSpecification, zoneValues:
P.Map}}, |
13824 {func: "void__dynamic", void: true, args: [null]}, | 13938 {func: "", args: [{func: ""}]}, |
13825 {func: "void__Zone_ZoneDelegate_Zone_dynamic_StackTrace", void: true, args: [P.Z
one, P.ZoneDelegate, P.Zone, null, P.StackTrace]}, | 13939 {func: "", args: [{func: "", args: [,]},,]}, |
13826 {func: "dynamic__Zone_ZoneDelegate_Zone_args0", args: [P.Zone, P.ZoneDelegate, P
.Zone, {func: "args0"}]}, | 13940 {func: "", args: [{func: "", args: [,,]},,,]}, |
13827 {func: "dynamic__Zone_ZoneDelegate_Zone_args1_dynamic", args: [P.Zone, P.ZoneDel
egate, P.Zone, {func: "args1", args: [null]}, null]}, | 13941 {func: "", ret: {func: ""}, args: [{func: ""}]}, |
13828 {func: "dynamic__Zone_ZoneDelegate_Zone_args2_dynamic_dynamic", args: [P.Zone, P
.ZoneDelegate, P.Zone, {func: "args2", args: [null, null]}, null, null]}, | 13942 {func: "", ret: {func: "", args: [,]}, args: [{func: "", args: [,]}]}, |
13829 {func: "ZoneCallback__Zone_ZoneDelegate_Zone_args0", ret: {func: "args0"}, args:
[P.Zone, P.ZoneDelegate, P.Zone, {func: "args0"}]}, | 13943 {func: "", ret: {func: "", args: [,,]}, args: [{func: "", args: [,,]}]}, |
13830 {func: "ZoneUnaryCallback__Zone_ZoneDelegate_Zone_args1", ret: {func: "args1", a
rgs: [null]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "args1", args: [null
]}]}, | 13944 {func: "", ret: P.AsyncError, args: [P.Object, P.StackTrace]}, |
13831 {func: "ZoneBinaryCallback__Zone_ZoneDelegate_Zone_args2", ret: {func: "args2",
args: [null, null]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "args2", args
: [null, null]}]}, | 13945 {func: "", void: true, args: [{func: "", void: true}]}, |
13832 {func: "AsyncError__Zone_ZoneDelegate_Zone_Object_StackTrace", ret: P.AsyncError
, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Object, P.StackTrace]}, | 13946 {func: "", ret: P.Timer, args: [P.Duration, {func: "", void: true}]}, |
13833 {func: "void__Zone_ZoneDelegate_Zone_args0", void: true, args: [P.Zone, P.ZoneDe
legate, P.Zone, {func: "args0"}]}, | 13947 {func: "", ret: P.Timer, args: [P.Duration, {func: "", void: true, args: [P.Time
r]}]}, |
13834 {func: "Timer__Zone_ZoneDelegate_Zone_Duration_void_", ret: P.Timer, args: [P.Zo
ne, P.ZoneDelegate, P.Zone, P.Duration, {func: "void_", void: true}]}, | 13948 {func: "", void: true, args: [P.String]}, |
13835 {func: "Timer__Zone_ZoneDelegate_Zone_Duration_void__Timer", ret: P.Timer, args:
[P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: "void__Timer", void: true,
args: [P.Timer]}]}, | 13949 {func: "", args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]}, |
13836 {func: "void__Zone_ZoneDelegate_Zone_String", void: true, args: [P.Zone, P.ZoneD
elegate, P.Zone, P.String]}, | 13950 {func: "", args: [,,]}, |
13837 {func: "Zone__Zone_ZoneDelegate_Zone_ZoneSpecification_Map", ret: P.Zone, args:
[P.Zone, P.ZoneDelegate, P.Zone, P.ZoneSpecification, P.Map]}, | 13951 {func: "", args: [P.String,,]}, |
13838 {func: "bool__dynamic_dynamic", ret: P.bool, args: [null, null]}, | 13952 {func: "", ret: P.$int, args: [, P.$int]}, |
13839 {func: "Object__dynamic", ret: P.Object, args: [null]}, | 13953 {func: "", void: true, args: [P.$int, P.$int]}, |
13840 {func: "bool__Object_Object", ret: P.bool, args: [P.Object, P.Object]}, | 13954 {func: "", args: [P.Symbol,,]}, |
13841 {func: "int__Object", ret: P.$int, args: [P.Object]}, | 13955 {func: "", ret: P.String, args: [P.$int]}, |
13842 {func: "String__String", ret: P.String, args: [P.String]}, | 13956 {func: "", ret: P.bool, args: [P.$int]}, |
13843 {func: "num__num_num", ret: P.num, args: [P.num, P.num]}, | 13957 {func: "", ret: P.$int, args: [,,]}, |
13844 , | 13958 {func: "", void: true, args: [P.String], opt: [,]}, |
| 13959 {func: "", ret: P.$int, args: [P.$int, P.$int]}, |
| 13960 {func: "", ret: P.$int, args: [,]}, |
| 13961 {func: "", args: [P.$int]}, |
| 13962 {func: "", args: [P.$int,,]}, |
| 13963 {func: "", void: true, args: [,]}, |
| 13964 {func: "", void: true, args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]}, |
| 13965 {func: "", args: [P.Zone, P.ZoneDelegate, P.Zone, {func: ""}]}, |
| 13966 {func: "", args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "", args: [,]},,]}, |
| 13967 {func: "", args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "", args: [,,]},,,]}, |
| 13968 {func: "", ret: {func: ""}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: ""}]}, |
| 13969 {func: "", ret: {func: "", args: [,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {f
unc: "", args: [,]}]}, |
| 13970 {func: "", ret: {func: "", args: [,,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {
func: "", args: [,,]}]}, |
| 13971 {func: "", ret: P.AsyncError, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Object, P
.StackTrace]}, |
| 13972 {func: "", void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: ""}]}, |
| 13973 {func: "", ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {fun
c: "", void: true}]}, |
| 13974 {func: "", ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {fun
c: "", void: true, args: [P.Timer]}]}, |
| 13975 {func: "", void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, P.String]}, |
| 13976 {func: "", ret: P.Zone, args: [P.Zone, P.ZoneDelegate, P.Zone, P.ZoneSpecificati
on, P.Map]}, |
| 13977 {func: "", ret: P.bool, args: [,,]}, |
| 13978 {func: "", ret: P.Object, args: [,]}, |
| 13979 {func: "", ret: P.bool, args: [P.Object, P.Object]}, |
| 13980 {func: "", ret: P.$int, args: [P.Object]}, |
| 13981 {func: "", ret: P.String, args: [P.String]}, |
| 13982 {func: "", ret: P.num, args: [P.num, P.num]}, |
13845 ]; | 13983 ]; |
13846 $ = null; | 13984 $ = null; |
13847 Isolate = Isolate.$finishIsolateConstructor(Isolate); | 13985 Isolate = Isolate.$finishIsolateConstructor(Isolate); |
13848 $ = new Isolate(); | 13986 $ = new Isolate(); |
13849 function convertToFastObject(properties) { | 13987 function convertToFastObject(properties) { |
13850 function MyClass() { | 13988 function MyClass() { |
13851 } | 13989 } |
13852 MyClass.prototype = properties; | 13990 MyClass.prototype = properties; |
13853 new MyClass(); | 13991 new MyClass(); |
13854 return properties; | 13992 return properties; |
13855 } | 13993 } |
13856 ; | 13994 ; |
| 13995 function convertToSlowObject(properties) { |
| 13996 properties.__MAGIC_SLOW_PROPERTY = 1; |
| 13997 delete properties.__MAGIC_SLOW_PROPERTY; |
| 13998 return properties; |
| 13999 } |
| 14000 ; |
| 14001 function markerFun() { |
| 14002 } |
| 14003 ; |
13857 A = convertToFastObject(A); | 14004 A = convertToFastObject(A); |
13858 B = convertToFastObject(B); | 14005 B = convertToFastObject(B); |
13859 C = convertToFastObject(C); | 14006 C = convertToFastObject(C); |
13860 D = convertToFastObject(D); | 14007 D = convertToFastObject(D); |
13861 E = convertToFastObject(E); | 14008 E = convertToFastObject(E); |
13862 F = convertToFastObject(F); | 14009 F = convertToFastObject(F); |
13863 G = convertToFastObject(G); | 14010 G = convertToFastObject(G); |
13864 H = convertToFastObject(H); | 14011 H = convertToFastObject(H); |
13865 J = convertToFastObject(J); | 14012 J = convertToFastObject(J); |
13866 K = convertToFastObject(K); | 14013 K = convertToFastObject(K); |
(...skipping 14 matching lines...) Expand all Loading... |
13881 Z = convertToFastObject(Z); | 14028 Z = convertToFastObject(Z); |
13882 function init() { | 14029 function init() { |
13883 Isolate.$isolateProperties = Object.create(null); | 14030 Isolate.$isolateProperties = Object.create(null); |
13884 init.allClasses = Object.create(null); | 14031 init.allClasses = Object.create(null); |
13885 init.getTypeFromName = function(name) { | 14032 init.getTypeFromName = function(name) { |
13886 return init.allClasses[name]; | 14033 return init.allClasses[name]; |
13887 }; | 14034 }; |
13888 init.interceptorsByTag = Object.create(null); | 14035 init.interceptorsByTag = Object.create(null); |
13889 init.leafTags = Object.create(null); | 14036 init.leafTags = Object.create(null); |
13890 init.finishedClasses = Object.create(null); | 14037 init.finishedClasses = Object.create(null); |
13891 Isolate.$lazy = function(prototype, staticName, fieldName, getterName, lazyVal
ue) { | 14038 Isolate.$lazy = function(fieldName, getterName, lazyValue, staticName, prototy
pe) { |
13892 if (!init.lazies) | 14039 if (!init.lazies) |
13893 init.lazies = Object.create(null); | 14040 init.lazies = Object.create(null); |
13894 init.lazies[fieldName] = getterName; | 14041 init.lazies[fieldName] = getterName; |
| 14042 prototype = prototype || Isolate.$isolateProperties; |
13895 var sentinelUndefined = {}; | 14043 var sentinelUndefined = {}; |
13896 var sentinelInProgress = {}; | 14044 var sentinelInProgress = {}; |
13897 prototype[fieldName] = sentinelUndefined; | 14045 prototype[fieldName] = sentinelUndefined; |
13898 prototype[getterName] = function() { | 14046 prototype[getterName] = function() { |
13899 var result = $[fieldName]; | 14047 var result = this[fieldName]; |
13900 try { | 14048 try { |
13901 if (result === sentinelUndefined) { | 14049 if (result === sentinelUndefined) { |
13902 $[fieldName] = sentinelInProgress; | 14050 this[fieldName] = sentinelInProgress; |
13903 try { | 14051 try { |
13904 result = $[fieldName] = lazyValue(); | 14052 result = this[fieldName] = lazyValue(); |
13905 } finally { | 14053 } finally { |
13906 if (result === sentinelUndefined) | 14054 if (result === sentinelUndefined) |
13907 $[fieldName] = null; | 14055 this[fieldName] = null; |
13908 } | 14056 } |
13909 } else | 14057 } else |
13910 if (result === sentinelInProgress) | 14058 if (result === sentinelInProgress) |
13911 H.throwCyclicInit(staticName); | 14059 H.throwCyclicInit(staticName || fieldName); |
13912 return result; | 14060 return result; |
13913 } finally { | 14061 } finally { |
13914 $[getterName] = function() { | 14062 this[getterName] = function() { |
13915 return this[fieldName]; | 14063 return this[fieldName]; |
13916 }; | 14064 }; |
13917 } | 14065 } |
13918 }; | 14066 }; |
13919 }; | 14067 }; |
13920 Isolate.$finishIsolateConstructor = function(oldIsolate) { | 14068 Isolate.$finishIsolateConstructor = function(oldIsolate) { |
13921 var isolateProperties = oldIsolate.$isolateProperties; | 14069 var isolateProperties = oldIsolate.$isolateProperties; |
13922 function Isolate() { | 14070 function Isolate() { |
13923 var staticNames = Object.keys(isolateProperties); | 14071 var staticNames = Object.keys(isolateProperties); |
13924 for (var i = 0; i < staticNames.length; i++) { | 14072 for (var i = 0; i < staticNames.length; i++) { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13982 for (var i = 0; i < scripts.length; ++i) | 14130 for (var i = 0; i < scripts.length; ++i) |
13983 scripts[i].removeEventListener("load", onLoad, false); | 14131 scripts[i].removeEventListener("load", onLoad, false); |
13984 callback(event.target); | 14132 callback(event.target); |
13985 } | 14133 } |
13986 for (var i = 0; i < scripts.length; ++i) | 14134 for (var i = 0; i < scripts.length; ++i) |
13987 scripts[i].addEventListener("load", onLoad, false); | 14135 scripts[i].addEventListener("load", onLoad, false); |
13988 })(function(currentScript) { | 14136 })(function(currentScript) { |
13989 init.currentScript = currentScript; | 14137 init.currentScript = currentScript; |
13990 if (typeof dartMainRunner === "function") | 14138 if (typeof dartMainRunner === "function") |
13991 dartMainRunner(function(a) { | 14139 dartMainRunner(function(a) { |
13992 H.startRootIsolate(O.main$closure(), a); | 14140 H.startRootIsolate(R.main$closure(), a); |
13993 }, []); | 14141 }, []); |
13994 else | 14142 else |
13995 (function(a) { | 14143 (function(a) { |
13996 H.startRootIsolate(O.main$closure(), a); | 14144 H.startRootIsolate(R.main$closure(), a); |
13997 })([]); | 14145 })([]); |
13998 }); | 14146 }); |
13999 ; | 14147 ; |
14000 // END invoke [main]. | 14148 // END invoke [main]. |
14001 })() | 14149 })() |
14002 | 14150 |
14003 //# sourceMappingURL=host.dart.js.map | 14151 //# sourceMappingURL=host.dart.js.map |
OLD | NEW |