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/generated/engine.dart'; | 18 import 'package:analyzer/src/generated/engine.dart'; |
19 import 'package:analyzer/src/generated/error.dart'; | 19 import 'package:analyzer/src/generated/error.dart'; |
20 import 'package:analyzer/src/generated/java_core.dart'; | 20 import 'package:analyzer/src/generated/java_core.dart'; |
21 import 'package:analyzer/src/generated/java_engine_io.dart'; | |
22 import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode; | 21 import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode; |
23 import 'package:analyzer/src/generated/resolver.dart'; | 22 import 'package:analyzer/src/generated/resolver.dart'; |
24 import 'package:analyzer/src/generated/source_io.dart'; | 23 import 'package:analyzer/src/generated/source_io.dart'; |
25 import 'package:analyzer/src/generated/testing/ast_factory.dart'; | 24 import 'package:analyzer/src/generated/testing/ast_factory.dart'; |
26 import 'package:analyzer/src/generated/testing/element_factory.dart'; | 25 import 'package:analyzer/src/generated/testing/element_factory.dart'; |
27 import 'package:analyzer/src/generated/testing/test_type_provider.dart'; | 26 import 'package:analyzer/src/generated/testing/test_type_provider.dart'; |
28 import 'package:analyzer/src/generated/utilities_dart.dart'; | 27 import 'package:analyzer/src/generated/utilities_dart.dart'; |
29 import 'package:analyzer/src/source/source_resource.dart'; | 28 import 'package:analyzer/src/source/source_resource.dart'; |
30 import 'package:unittest/unittest.dart'; | 29 import 'package:unittest/unittest.dart'; |
31 | 30 |
(...skipping 3604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3636 */ | 3635 */ |
3637 class _StaleElement extends ElementImpl { | 3636 class _StaleElement extends ElementImpl { |
3638 _StaleElement() : super("_StaleElement", -1); | 3637 _StaleElement() : super("_StaleElement", -1); |
3639 | 3638 |
3640 @override | 3639 @override |
3641 get kind => throw "_StaleElement's kind shouldn't be accessed"; | 3640 get kind => throw "_StaleElement's kind shouldn't be accessed"; |
3642 | 3641 |
3643 @override | 3642 @override |
3644 accept(_) => throw "_StaleElement shouldn't be visited"; | 3643 accept(_) => throw "_StaleElement shouldn't be visited"; |
3645 } | 3644 } |
OLD | NEW |