| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 library fletchc.verbs.quit_verb; | 5 library fletchc.verbs.quit_verb; |
| 6 | 6 |
| 7 import 'infrastructure.dart'; | 7 import 'infrastructure.dart'; |
| 8 | 8 |
| 9 import 'documentation.dart' show | 9 import 'documentation.dart' show |
| 10 quitDocumentation; | 10 quitDocumentation; |
| 11 | 11 |
| 12 const Action quitAction = const Action(quit, quitDocumentation); | 12 const Action quitAction = const Action(quit, quitDocumentation); |
| 13 | 13 |
| 14 Future<int> quit(AnalyzedSentence sentence, VerbContext context) async { | 14 Future<int> quit(AnalyzedSentence sentence, VerbContext context) async { |
| 15 throwFatalError(DiagnosticKind.quitTakesNoArguments); | 15 throwFatalError(DiagnosticKind.quitTakesNoArguments); |
| 16 return 1; | 16 return 1; |
| 17 } | 17 } |
| OLD | NEW |