| 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 computer.outline; | 5 library computer.outline; |
| 6 | 6 |
| 7 import 'package:analysis_server/src/computer/element.dart'; | 7 import 'package:analysis_server/src/computer/element.dart'; |
| 8 import 'package:analysis_services/constants.dart'; | 8 import 'package:analysis_server/src/services/constants.dart'; |
| 9 import 'package:analysis_services/json.dart'; | 9 import 'package:analysis_server/src/services/json.dart'; |
| 10 import 'package:analyzer/src/generated/ast.dart'; | 10 import 'package:analyzer/src/generated/ast.dart'; |
| 11 import 'package:analyzer/src/generated/element.dart' as engine; | 11 import 'package:analyzer/src/generated/element.dart' as engine; |
| 12 import 'package:analyzer/src/generated/engine.dart'; | 12 import 'package:analyzer/src/generated/engine.dart'; |
| 13 import 'package:analyzer/src/generated/source.dart'; | 13 import 'package:analyzer/src/generated/source.dart'; |
| 14 | 14 |
| 15 | 15 |
| 16 /** | 16 /** |
| 17 * A computer for [CompilationUnit] outline. | 17 * A computer for [CompilationUnit] outline. |
| 18 */ | 18 */ |
| 19 class DartUnitOutlineComputer { | 19 class DartUnitOutlineComputer { |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 | 375 |
| 376 | 376 |
| 377 /** | 377 /** |
| 378 * A range of characters. | 378 * A range of characters. |
| 379 */ | 379 */ |
| 380 class _SourceRegion { | 380 class _SourceRegion { |
| 381 final int length; | 381 final int length; |
| 382 final int offset; | 382 final int offset; |
| 383 _SourceRegion(this.offset, this.length); | 383 _SourceRegion(this.offset, this.length); |
| 384 } | 384 } |
| OLD | NEW |