| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 fasta.scanner.token_constants; | 5 library fasta.scanner.token_constants; |
| 6 | 6 |
| 7 import 'characters.dart'; | 7 import 'characters.dart'; |
| 8 | 8 |
| 9 const int EOF_TOKEN = 0; | 9 const int EOF_TOKEN = 0; |
| 10 | 10 |
| 11 const int KEYWORD_TOKEN = $k; | 11 const int KEYWORD_TOKEN = $k; |
| 12 const int IDENTIFIER_TOKEN = $a; | 12 const int IDENTIFIER_TOKEN = $a; |
| 13 const int SCRIPT_TOKEN = $b; |
| 13 const int BAD_INPUT_TOKEN = $X; | 14 const int BAD_INPUT_TOKEN = $X; |
| 14 const int DOUBLE_TOKEN = $d; | 15 const int DOUBLE_TOKEN = $d; |
| 15 const int INT_TOKEN = $i; | 16 const int INT_TOKEN = $i; |
| 16 const int HEXADECIMAL_TOKEN = $x; | 17 const int HEXADECIMAL_TOKEN = $x; |
| 17 const int STRING_TOKEN = $SQ; | 18 const int STRING_TOKEN = $SQ; |
| 18 | 19 |
| 19 const int AMPERSAND_TOKEN = $AMPERSAND; | 20 const int AMPERSAND_TOKEN = $AMPERSAND; |
| 20 const int BACKPING_TOKEN = $BACKPING; | 21 const int BACKPING_TOKEN = $BACKPING; |
| 21 const int BACKSLASH_TOKEN = $BACKSLASH; | 22 const int BACKSLASH_TOKEN = $BACKSLASH; |
| 22 const int BANG_TOKEN = $BANG; | 23 const int BANG_TOKEN = $BANG; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 const int TILDE_SLASH_EQ_TOKEN = MINUS_EQ_TOKEN + 1; | 74 const int TILDE_SLASH_EQ_TOKEN = MINUS_EQ_TOKEN + 1; |
| 74 const int TILDE_SLASH_TOKEN = TILDE_SLASH_EQ_TOKEN + 1; | 75 const int TILDE_SLASH_TOKEN = TILDE_SLASH_EQ_TOKEN + 1; |
| 75 const int PERCENT_EQ_TOKEN = TILDE_SLASH_TOKEN + 1; | 76 const int PERCENT_EQ_TOKEN = TILDE_SLASH_TOKEN + 1; |
| 76 const int GT_GT_TOKEN = PERCENT_EQ_TOKEN + 1; | 77 const int GT_GT_TOKEN = PERCENT_EQ_TOKEN + 1; |
| 77 const int CARET_EQ_TOKEN = GT_GT_TOKEN + 1; | 78 const int CARET_EQ_TOKEN = GT_GT_TOKEN + 1; |
| 78 const int COMMENT_TOKEN = CARET_EQ_TOKEN + 1; | 79 const int COMMENT_TOKEN = CARET_EQ_TOKEN + 1; |
| 79 const int STRING_INTERPOLATION_IDENTIFIER_TOKEN = COMMENT_TOKEN + 1; | 80 const int STRING_INTERPOLATION_IDENTIFIER_TOKEN = COMMENT_TOKEN + 1; |
| 80 const int QUESTION_PERIOD_TOKEN = STRING_INTERPOLATION_IDENTIFIER_TOKEN + 1; | 81 const int QUESTION_PERIOD_TOKEN = STRING_INTERPOLATION_IDENTIFIER_TOKEN + 1; |
| 81 const int QUESTION_QUESTION_TOKEN = QUESTION_PERIOD_TOKEN + 1; | 82 const int QUESTION_QUESTION_TOKEN = QUESTION_PERIOD_TOKEN + 1; |
| 82 const int QUESTION_QUESTION_EQ_TOKEN = QUESTION_QUESTION_TOKEN + 1; | 83 const int QUESTION_QUESTION_EQ_TOKEN = QUESTION_QUESTION_TOKEN + 1; |
| OLD | NEW |