| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 library fletchc.debug_info; | 5 library fletchc.debug_info; |
| 6 | 6 |
| 7 import 'dart:math' show | 7 import 'dart:math' show |
| 8 min; | 8 min; |
| 9 | 9 |
| 10 import 'package:compiler/src/colors.dart' as colors; | 10 import 'package:compiler/src/colors.dart' as colors; |
| 11 | 11 |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 } | 235 } |
| 236 | 236 |
| 237 String highlight(String message, Function color, SessionState state) { | 237 String highlight(String message, Function color, SessionState state) { |
| 238 return state.colorsDisabled ? message : color(message); | 238 return state.colorsDisabled ? message : color(message); |
| 239 } | 239 } |
| 240 | 240 |
| 241 SourceLocation sourceLocationFor(int bytecodeIndex) { | 241 SourceLocation sourceLocationFor(int bytecodeIndex) { |
| 242 return locationFor(bytecodeIndex); | 242 return locationFor(bytecodeIndex); |
| 243 } | 243 } |
| 244 } | 244 } |
| OLD | NEW |