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 test.services.completion.contributor.dart.optype; | 5 library test.services.completion.contributor.dart.optype; |
6 | 6 |
7 import 'package:analysis_server/src/services/completion/completion_target.dart'; | 7 import 'package:analysis_server/src/services/completion/completion_target.dart'; |
8 import 'package:analysis_server/src/services/completion/optype.dart'; | 8 import 'package:analysis_server/src/services/completion/optype.dart'; |
9 import 'package:analyzer/src/generated/ast.dart'; | 9 import 'package:analyzer/src/generated/ast.dart'; |
10 import 'package:analyzer/src/generated/engine.dart'; | 10 import 'package:analyzer/src/generated/engine.dart'; |
(...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1279 class _TestSource implements Source { | 1279 class _TestSource implements Source { |
1280 String fullName; | 1280 String fullName; |
1281 _TestSource(this.fullName); | 1281 _TestSource(this.fullName); |
1282 | 1282 |
1283 @override | 1283 @override |
1284 bool get isInSystemLibrary => false; | 1284 bool get isInSystemLibrary => false; |
1285 | 1285 |
1286 @override | 1286 @override |
1287 String get shortName => fullName; | 1287 String get shortName => fullName; |
1288 | 1288 |
| 1289 @override |
| 1290 Source get source => this; |
| 1291 |
1289 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 1292 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
1290 } | 1293 } |
OLD | NEW |