| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 part of scanner; | 5 part of scanner; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * A keyword in the Dart programming language. | 8 * A keyword in the Dart programming language. |
| 9 */ | 9 */ |
| 10 class Keyword { | 10 class Keyword { |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 /** | 196 /** |
| 197 * A state that has no outgoing transitions. | 197 * A state that has no outgoing transitions. |
| 198 */ | 198 */ |
| 199 class LeafKeywordState extends KeywordState { | 199 class LeafKeywordState extends KeywordState { |
| 200 LeafKeywordState(String syntax) : super(Keyword.keywords[syntax]); | 200 LeafKeywordState(String syntax) : super(Keyword.keywords[syntax]); |
| 201 | 201 |
| 202 KeywordState next(int c) => null; | 202 KeywordState next(int c) => null; |
| 203 | 203 |
| 204 String toString() => keyword.syntax; | 204 String toString() => keyword.syntax; |
| 205 } | 205 } |
| OLD | NEW |