Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: pkg/compiler/lib/src/tokens/keyword.dart

Issue 2221893003: pkg/compiler: fix imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/compiler/lib/src/string_validator.dart ('k') | pkg/compiler/lib/src/tokens/token.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 library dart2js.tokens.keywords; 5 library dart2js.tokens.keywords;
6 6
7 import '../util/characters.dart' as Characters show $a; 7 import '../util/characters.dart' as Characters show $a;
8
9 import 'precedence.dart' show PrecedenceInfo; 8 import 'precedence.dart' show PrecedenceInfo;
10 import 'precedence_constants.dart' as Precedence 9 import 'precedence_constants.dart' as Precedence
11 show AS_INFO, IS_INFO, KEYWORD_INFO; 10 show AS_INFO, IS_INFO, KEYWORD_INFO;
12 11
13 /** 12 /**
14 * A keyword in the Dart programming language. 13 * A keyword in the Dart programming language.
15 */ 14 */
16 class Keyword { 15 class Keyword {
17 static const List<Keyword> values = const <Keyword>[ 16 static const List<Keyword> values = const <Keyword>[
18 const Keyword("assert"), 17 const Keyword("assert"),
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 /** 205 /**
207 * A state that has no outgoing transitions. 206 * A state that has no outgoing transitions.
208 */ 207 */
209 class LeafKeywordState extends KeywordState { 208 class LeafKeywordState extends KeywordState {
210 LeafKeywordState(String syntax) : super(Keyword.keywords[syntax]); 209 LeafKeywordState(String syntax) : super(Keyword.keywords[syntax]);
211 210
212 KeywordState next(int c) => null; 211 KeywordState next(int c) => null;
213 212
214 String toString() => keyword.syntax; 213 String toString() => keyword.syntax;
215 } 214 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/string_validator.dart ('k') | pkg/compiler/lib/src/tokens/token.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698