| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 /** | 200 /** |
| 201 * A state that has no outgoing transitions. | 201 * A state that has no outgoing transitions. |
| 202 */ | 202 */ |
| 203 class LeafKeywordState extends KeywordState { | 203 class LeafKeywordState extends KeywordState { |
| 204 LeafKeywordState(String syntax) : super(Keyword.keywords[syntax]); | 204 LeafKeywordState(String syntax) : super(Keyword.keywords[syntax]); |
| 205 | 205 |
| 206 KeywordState next(int c) => null; | 206 KeywordState next(int c) => null; |
| 207 | 207 |
| 208 String toString() => keyword.syntax; | 208 String toString() => keyword.syntax; |
| 209 } | 209 } |
| OLD | NEW |