| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 engine.incremental_scanner; | 5 library engine.incremental_scanner; |
| 6 | 6 |
| 7 import "dart:math" as math; | 7 import "dart:math" as math; |
| 8 | 8 |
| 9 import 'package:analyzer/src/generated/engine.dart'; | 9 import 'package:analyzer/src/generated/engine.dart'; |
| 10 | 10 |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 while (comment != null) { | 239 while (comment != null) { |
| 240 comment.offset += delta; | 240 comment.offset += delta; |
| 241 comment = comment.next; | 241 comment = comment.next; |
| 242 } | 242 } |
| 243 token = token.next; | 243 token = token.next; |
| 244 } | 244 } |
| 245 _tokenMap.put(token, token); | 245 _tokenMap.put(token, token); |
| 246 token.offset += delta; | 246 token.offset += delta; |
| 247 } | 247 } |
| 248 } | 248 } |
| OLD | NEW |