| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library sourcemap.trace_graph; | 5 library sourcemap.trace_graph; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 | 8 |
| 9 import 'package:compiler/src/io/source_information.dart'; | 9 import 'package:compiler/src/io/source_information.dart'; |
| 10 import 'package:compiler/src/io/position_information.dart'; | 10 import 'package:compiler/src/io/position_information.dart'; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 final node; | 52 final node; |
| 53 final Offset offset; | 53 final Offset offset; |
| 54 final List text; | 54 final List text; |
| 55 final SourceLocation sourceLocation; | 55 final SourceLocation sourceLocation; |
| 56 | 56 |
| 57 TraceStep next; | 57 TraceStep next; |
| 58 Map<dynamic, TraceStep> branchMap; | 58 Map<dynamic, TraceStep> branchMap; |
| 59 | 59 |
| 60 List stack; | 60 List stack; |
| 61 | 61 |
| 62 TraceStep( | 62 TraceStep(this.kind, this.id, this.node, this.offset, this.text, |
| 63 this.kind, | |
| 64 this.id, | |
| 65 this.node, | |
| 66 this.offset, | |
| 67 this.text, | |
| 68 [this.sourceLocation]); | 63 [this.sourceLocation]); |
| 69 | 64 |
| 70 String toString() => '<span style="background:${toColorCss(id)}">$id</span>'; | 65 String toString() => '<span style="background:${toColorCss(id)}">$id</span>'; |
| 71 } | 66 } |
| 72 | |
| OLD | NEW |