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

Side by Side Diff: dart/lib/compiler/implementation/scanner/token.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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 | Annotate | Revision Log
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 part of scanner;
6
7 const int EOF_TOKEN = 0; 5 const int EOF_TOKEN = 0;
8 6
9 const int KEYWORD_TOKEN = $k; 7 const int KEYWORD_TOKEN = $k;
10 const int IDENTIFIER_TOKEN = $a; 8 const int IDENTIFIER_TOKEN = $a;
11 const int BAD_INPUT_TOKEN = $X; 9 const int BAD_INPUT_TOKEN = $X;
12 const int DOUBLE_TOKEN = $d; 10 const int DOUBLE_TOKEN = $d;
13 const int INT_TOKEN = $i; 11 const int INT_TOKEN = $i;
14 const int HEXADECIMAL_TOKEN = $x; 12 const int HEXADECIMAL_TOKEN = $x;
15 const int STRING_TOKEN = $SQ; 13 const int STRING_TOKEN = $SQ;
16 14
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 493
496 const PrecedenceInfo HEXADECIMAL_INFO = 494 const PrecedenceInfo HEXADECIMAL_INFO =
497 const PrecedenceInfo(const SourceString('hexadecimal'), 0, HEXADECIMAL_TOKEN); 495 const PrecedenceInfo(const SourceString('hexadecimal'), 0, HEXADECIMAL_TOKEN);
498 496
499 const PrecedenceInfo COMMENT_INFO = 497 const PrecedenceInfo COMMENT_INFO =
500 const PrecedenceInfo(const SourceString('comment'), 0, COMMENT_TOKEN); 498 const PrecedenceInfo(const SourceString('comment'), 0, COMMENT_TOKEN);
501 499
502 // For reporting lexical errors. 500 // For reporting lexical errors.
503 const PrecedenceInfo ERROR_INFO = 501 const PrecedenceInfo ERROR_INFO =
504 const PrecedenceInfo(const SourceString('?'), 0, UNKNOWN_TOKEN); 502 const PrecedenceInfo(const SourceString('?'), 0, UNKNOWN_TOKEN);
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/scanner/string_scanner.dart ('k') | dart/lib/compiler/implementation/script.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698