| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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.src.plugin.command_line_plugin; | 5 library analyzer.src.plugin.command_line_plugin; |
| 6 | 6 |
| 7 import 'package:analyzer/plugin/command_line.dart'; | 7 import 'package:analyzer/plugin/command_line.dart'; |
| 8 import 'package:plugin/plugin.dart'; | 8 import 'package:plugin/plugin.dart'; |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 * valid result processor. | 93 * valid result processor. |
| 94 */ | 94 */ |
| 95 void _validateResultProcessorExtension(Object extension) { | 95 void _validateResultProcessorExtension(Object extension) { |
| 96 if (extension is! ArgResultsProcessor) { | 96 if (extension is! ArgResultsProcessor) { |
| 97 String id = resultProcessorExtensionPoint.uniqueIdentifier; | 97 String id = resultProcessorExtensionPoint.uniqueIdentifier; |
| 98 throw new ExtensionError( | 98 throw new ExtensionError( |
| 99 'Extensions to $id must be an ArgResultsProcessor'); | 99 'Extensions to $id must be an ArgResultsProcessor'); |
| 100 } | 100 } |
| 101 } | 101 } |
| 102 } | 102 } |
| OLD | NEW |