OLD | NEW |
1 dart_library.library('stack_trace', null, /* Imports */[ | 1 dart_library.library('stack_trace', null, /* Imports */[ |
2 'dart_sdk', | 2 'dart_sdk', |
3 'path' | 3 'path' |
4 ], function load__stack_trace(exports, dart_sdk, path) { | 4 ], function load__stack_trace(exports, dart_sdk, path) { |
5 'use strict'; | 5 'use strict'; |
6 const core = dart_sdk.core; | 6 const core = dart_sdk.core; |
7 const async = dart_sdk.async; | 7 const async = dart_sdk.async; |
8 const _interceptors = dart_sdk._interceptors; | 8 const _interceptors = dart_sdk._interceptors; |
9 const math = dart_sdk.math; | 9 const math = dart_sdk.math; |
10 const dart = dart_sdk.dart; | 10 const dart = dart_sdk.dart; |
(...skipping 21 matching lines...) Expand all Loading... |
32 let StringToTrace = () => (StringToTrace = dart.constFn(dart.definiteFunctionT
ype(src__trace.Trace, [core.String])))(); | 32 let StringToTrace = () => (StringToTrace = dart.constFn(dart.definiteFunctionT
ype(src__trace.Trace, [core.String])))(); |
33 let FrameTobool = () => (FrameTobool = dart.constFn(dart.definiteFunctionType(
core.bool, [src__frame.Frame])))(); | 33 let FrameTobool = () => (FrameTobool = dart.constFn(dart.definiteFunctionType(
core.bool, [src__frame.Frame])))(); |
34 let TraceToTrace = () => (TraceToTrace = dart.constFn(dart.definiteFunctionTyp
e(src__trace.Trace, [src__trace.Trace])))(); | 34 let TraceToTrace = () => (TraceToTrace = dart.constFn(dart.definiteFunctionTyp
e(src__trace.Trace, [src__trace.Trace])))(); |
35 let TraceTobool = () => (TraceTobool = dart.constFn(dart.definiteFunctionType(
core.bool, [src__trace.Trace])))(); | 35 let TraceTobool = () => (TraceTobool = dart.constFn(dart.definiteFunctionType(
core.bool, [src__trace.Trace])))(); |
36 let TraceToListOfFrame = () => (TraceToListOfFrame = dart.constFn(dart.definit
eFunctionType(ListOfFrame(), [src__trace.Trace])))(); | 36 let TraceToListOfFrame = () => (TraceToListOfFrame = dart.constFn(dart.definit
eFunctionType(ListOfFrame(), [src__trace.Trace])))(); |
37 let FrameToint = () => (FrameToint = dart.constFn(dart.definiteFunctionType(co
re.int, [src__frame.Frame])))(); | 37 let FrameToint = () => (FrameToint = dart.constFn(dart.definiteFunctionType(co
re.int, [src__frame.Frame])))(); |
38 let TraceToint = () => (TraceToint = dart.constFn(dart.definiteFunctionType(co
re.int, [src__trace.Trace])))(); | 38 let TraceToint = () => (TraceToint = dart.constFn(dart.definiteFunctionType(co
re.int, [src__trace.Trace])))(); |
39 let FrameToString = () => (FrameToString = dart.constFn(dart.definiteFunctionT
ype(core.String, [src__frame.Frame])))(); | 39 let FrameToString = () => (FrameToString = dart.constFn(dart.definiteFunctionT
ype(core.String, [src__frame.Frame])))(); |
40 let TraceToString = () => (TraceToString = dart.constFn(dart.definiteFunctionT
ype(core.String, [src__trace.Trace])))(); | 40 let TraceToString = () => (TraceToString = dart.constFn(dart.definiteFunctionT
ype(core.String, [src__trace.Trace])))(); |
41 let VoidToFrame = () => (VoidToFrame = dart.constFn(dart.definiteFunctionType(
src__frame.Frame, [])))(); | 41 let VoidToFrame = () => (VoidToFrame = dart.constFn(dart.definiteFunctionType(
src__frame.Frame, [])))(); |
| 42 let dynamicAnddynamicToFrame = () => (dynamicAnddynamicToFrame = dart.constFn(
dart.definiteFunctionType(src__frame.Frame, [dart.dynamic, dart.dynamic])))(); |
42 let VoidToTrace = () => (VoidToTrace = dart.constFn(dart.definiteFunctionType(
src__trace.Trace, [])))(); | 43 let VoidToTrace = () => (VoidToTrace = dart.constFn(dart.definiteFunctionType(
src__trace.Trace, [])))(); |
43 let ObjectAndStackTraceAndEventSinkTovoid = () => (ObjectAndStackTraceAndEvent
SinkTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [core.Object, cor
e.StackTrace, async.EventSink])))(); | 44 let ObjectAndStackTraceAndEventSinkTovoid = () => (ObjectAndStackTraceAndEvent
SinkTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [core.Object, cor
e.StackTrace, async.EventSink])))(); |
44 let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.definiteFun
ctionType(dart.dynamic, [dart.dynamic])))(); | 45 let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.definiteFun
ctionType(dart.dynamic, [dart.dynamic])))(); |
45 let StringToFrame = () => (StringToFrame = dart.constFn(dart.definiteFunctionT
ype(src__frame.Frame, [core.String])))(); | 46 let StringToFrame = () => (StringToFrame = dart.constFn(dart.definiteFunctionT
ype(src__frame.Frame, [core.String])))(); |
46 let StringTobool = () => (StringTobool = dart.constFn(dart.definiteFunctionTyp
e(core.bool, [core.String])))(); | 47 let StringTobool = () => (StringTobool = dart.constFn(dart.definiteFunctionTyp
e(core.bool, [core.String])))(); |
47 let FrameToFrame = () => (FrameToFrame = dart.constFn(dart.definiteFunctionTyp
e(src__frame.Frame, [src__frame.Frame])))(); | 48 let FrameToFrame = () => (FrameToFrame = dart.constFn(dart.definiteFunctionTyp
e(src__frame.Frame, [src__frame.Frame])))(); |
48 let StringAndintToString = () => (StringAndintToString = dart.constFn(dart.def
initeFunctionType(core.String, [core.String, core.int])))(); | 49 let StringAndintToString = () => (StringAndintToString = dart.constFn(dart.def
initeFunctionType(core.String, [core.String, core.int])))(); |
49 let MatchToString = () => (MatchToString = dart.constFn(dart.definiteFunctionT
ype(core.String, [core.Match])))(); | 50 let MatchToString = () => (MatchToString = dart.constFn(dart.definiteFunctionT
ype(core.String, [core.Match])))(); |
50 src__chain.ChainHandler = dart.typedef('ChainHandler', () => dart.functionType
(dart.void, [dart.dynamic, src__chain.Chain])); | 51 src__chain.ChainHandler = dart.typedef('ChainHandler', () => dart.functionType
(dart.void, [dart.dynamic, src__chain.Chain])); |
51 let const$; | 52 let const$; |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 location = evalMatch.get(1); | 233 location = evalMatch.get(1); |
233 evalMatch = src__frame._v8EvalLocation.firstMatch(core.String._check
(location)); | 234 evalMatch = src__frame._v8EvalLocation.firstMatch(core.String._check
(location)); |
234 } | 235 } |
235 if (dart.equals(location, 'native')) { | 236 if (dart.equals(location, 'native')) { |
236 return new src__frame.Frame(core.Uri.parse('native'), null, null, co
re.String._check(member)); | 237 return new src__frame.Frame(core.Uri.parse('native'), null, null, co
re.String._check(member)); |
237 } | 238 } |
238 let urlMatch = src__frame._v8UrlLocation.firstMatch(core.String._check
(location)); | 239 let urlMatch = src__frame._v8UrlLocation.firstMatch(core.String._check
(location)); |
239 if (urlMatch == null) return new src__unparsed_frame.UnparsedFrame(fra
me); | 240 if (urlMatch == null) return new src__unparsed_frame.UnparsedFrame(fra
me); |
240 return new src__frame.Frame(src__frame.Frame._uriOrPathToUri(urlMatch.
get(1)), core.int.parse(urlMatch.get(2)), core.int.parse(urlMatch.get(3)), core.
String._check(member)); | 241 return new src__frame.Frame(src__frame.Frame._uriOrPathToUri(urlMatch.
get(1)), core.int.parse(urlMatch.get(2)), core.int.parse(urlMatch.get(3)), core.
String._check(member)); |
241 } | 242 } |
242 dart.fn(parseLocation, dynamicAnddynamicTodynamic()); | 243 dart.fn(parseLocation, dynamicAnddynamicToFrame()); |
243 if (match.get(2) != null) { | 244 if (match.get(2) != null) { |
244 return src__frame.Frame._check(parseLocation(match.get(2), match.get(1
)[dartx.replaceAll]("<anonymous>", "<fn>")[dartx.replaceAll]("Anonymous function
", "<fn>"))); | 245 return parseLocation(match.get(2), match.get(1)[dartx.replaceAll]("<an
onymous>", "<fn>")[dartx.replaceAll]("Anonymous function", "<fn>")); |
245 } else { | 246 } else { |
246 return src__frame.Frame._check(parseLocation(match.get(3), "<fn>")); | 247 return parseLocation(match.get(3), "<fn>"); |
247 } | 248 } |
248 }, VoidToFrame())); | 249 }, VoidToFrame())); |
249 } | 250 } |
250 static parseJSCore(frame) { | 251 static parseJSCore(frame) { |
251 return src__frame.Frame.parseV8(frame); | 252 return src__frame.Frame.parseV8(frame); |
252 } | 253 } |
253 static parseIE(frame) { | 254 static parseIE(frame) { |
254 return src__frame.Frame.parseV8(frame); | 255 return src__frame.Frame.parseV8(frame); |
255 } | 256 } |
256 static parseFirefox(frame) { | 257 static parseFirefox(frame) { |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 exports.src__chain = src__chain; | 788 exports.src__chain = src__chain; |
788 exports.src__frame = src__frame; | 789 exports.src__frame = src__frame; |
789 exports.src__lazy_trace = src__lazy_trace; | 790 exports.src__lazy_trace = src__lazy_trace; |
790 exports.src__stack_zone_specification = src__stack_zone_specification; | 791 exports.src__stack_zone_specification = src__stack_zone_specification; |
791 exports.src__trace = src__trace; | 792 exports.src__trace = src__trace; |
792 exports.src__unparsed_frame = src__unparsed_frame; | 793 exports.src__unparsed_frame = src__unparsed_frame; |
793 exports.src__utils = src__utils; | 794 exports.src__utils = src__utils; |
794 exports.src__vm_trace = src__vm_trace; | 795 exports.src__vm_trace = src__vm_trace; |
795 exports.stack_trace = stack_trace; | 796 exports.stack_trace = stack_trace; |
796 }); | 797 }); |
OLD | NEW |