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 analyzer.test.generated.resolver_test; | 5 library analyzer.test.generated.resolver_test; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 | 8 |
9 import 'package:analyzer/dart/ast/ast.dart'; | 9 import 'package:analyzer/dart/ast/ast.dart'; |
10 import 'package:analyzer/dart/ast/token.dart'; | 10 import 'package:analyzer/dart/ast/token.dart'; |
11 import 'package:analyzer/dart/ast/visitor.dart'; | 11 import 'package:analyzer/dart/ast/visitor.dart'; |
12 import 'package:analyzer/dart/element/element.dart'; | 12 import 'package:analyzer/dart/element/element.dart'; |
13 import 'package:analyzer/dart/element/type.dart'; | 13 import 'package:analyzer/dart/element/type.dart'; |
14 import 'package:analyzer/file_system/memory_file_system.dart'; | 14 import 'package:analyzer/file_system/memory_file_system.dart'; |
15 import 'package:analyzer/src/context/context.dart'; | 15 import 'package:analyzer/src/context/context.dart'; |
16 import 'package:analyzer/src/dart/element/element.dart'; | 16 import 'package:analyzer/src/dart/element/element.dart'; |
17 import 'package:analyzer/src/dart/element/type.dart'; | 17 import 'package:analyzer/src/dart/element/type.dart'; |
| 18 import 'package:analyzer/src/error/codes.dart'; |
18 import 'package:analyzer/src/generated/engine.dart'; | 19 import 'package:analyzer/src/generated/engine.dart'; |
19 import 'package:analyzer/src/generated/error.dart'; | |
20 import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode; | 20 import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode; |
21 import 'package:analyzer/src/generated/resolver.dart'; | 21 import 'package:analyzer/src/generated/resolver.dart'; |
22 import 'package:analyzer/src/generated/source_io.dart'; | 22 import 'package:analyzer/src/generated/source_io.dart'; |
23 import 'package:analyzer/src/generated/testing/ast_factory.dart'; | 23 import 'package:analyzer/src/generated/testing/ast_factory.dart'; |
24 import 'package:analyzer/src/generated/testing/element_factory.dart'; | 24 import 'package:analyzer/src/generated/testing/element_factory.dart'; |
25 import 'package:analyzer/src/generated/testing/test_type_provider.dart'; | 25 import 'package:analyzer/src/generated/testing/test_type_provider.dart'; |
26 import 'package:analyzer/src/generated/utilities_dart.dart'; | 26 import 'package:analyzer/src/generated/utilities_dart.dart'; |
27 import 'package:analyzer/src/source/source_resource.dart'; | 27 import 'package:analyzer/src/source/source_resource.dart'; |
28 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 28 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
29 import 'package:unittest/unittest.dart'; | 29 import 'package:unittest/unittest.dart'; |
(...skipping 3283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3313 */ | 3313 */ |
3314 class _StaleElement extends ElementImpl { | 3314 class _StaleElement extends ElementImpl { |
3315 _StaleElement() : super("_StaleElement", -1); | 3315 _StaleElement() : super("_StaleElement", -1); |
3316 | 3316 |
3317 @override | 3317 @override |
3318 get kind => throw "_StaleElement's kind shouldn't be accessed"; | 3318 get kind => throw "_StaleElement's kind shouldn't be accessed"; |
3319 | 3319 |
3320 @override | 3320 @override |
3321 accept(_) => throw "_StaleElement shouldn't be visited"; | 3321 accept(_) => throw "_StaleElement shouldn't be visited"; |
3322 } | 3322 } |
OLD | NEW |