| 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 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 const int EQ_EQ_TOKEN = EQ_EQ_EQ_TOKEN + 1; | 57 const int EQ_EQ_TOKEN = EQ_EQ_EQ_TOKEN + 1; |
| 58 const int LT_LT_EQ_TOKEN = EQ_EQ_TOKEN + 1; | 58 const int LT_LT_EQ_TOKEN = EQ_EQ_TOKEN + 1; |
| 59 const int LT_LT_TOKEN = LT_LT_EQ_TOKEN + 1; | 59 const int LT_LT_TOKEN = LT_LT_EQ_TOKEN + 1; |
| 60 const int GT_EQ_TOKEN = LT_LT_TOKEN + 1; | 60 const int GT_EQ_TOKEN = LT_LT_TOKEN + 1; |
| 61 const int GT_GT_EQ_TOKEN = GT_EQ_TOKEN + 1; | 61 const int GT_GT_EQ_TOKEN = GT_EQ_TOKEN + 1; |
| 62 const int INDEX_EQ_TOKEN = GT_GT_EQ_TOKEN + 1; | 62 const int INDEX_EQ_TOKEN = GT_GT_EQ_TOKEN + 1; |
| 63 const int INDEX_TOKEN = INDEX_EQ_TOKEN + 1; | 63 const int INDEX_TOKEN = INDEX_EQ_TOKEN + 1; |
| 64 const int BANG_EQ_EQ_TOKEN = INDEX_TOKEN + 1; | 64 const int BANG_EQ_EQ_TOKEN = INDEX_TOKEN + 1; |
| 65 const int BANG_EQ_TOKEN = BANG_EQ_EQ_TOKEN + 1; | 65 const int BANG_EQ_TOKEN = BANG_EQ_EQ_TOKEN + 1; |
| 66 const int AMPERSAND_AMPERSAND_TOKEN = BANG_EQ_TOKEN + 1; | 66 const int AMPERSAND_AMPERSAND_TOKEN = BANG_EQ_TOKEN + 1; |
| 67 const int AMPERSAND_EQ_TOKEN = AMPERSAND_AMPERSAND_TOKEN + 1; | 67 const int AMPERSAND_AMPERSAND_EQ_TOKEN = AMPERSAND_AMPERSAND_TOKEN + 1; |
| 68 const int AMPERSAND_EQ_TOKEN = AMPERSAND_AMPERSAND_EQ_TOKEN + 1; |
| 68 const int BAR_BAR_TOKEN = AMPERSAND_EQ_TOKEN + 1; | 69 const int BAR_BAR_TOKEN = AMPERSAND_EQ_TOKEN + 1; |
| 69 const int BAR_EQ_TOKEN = BAR_BAR_TOKEN + 1; | 70 const int BAR_BAR_EQ_TOKEN = BAR_BAR_TOKEN + 1; |
| 71 const int BAR_EQ_TOKEN = BAR_BAR_EQ_TOKEN + 1; |
| 70 const int STAR_EQ_TOKEN = BAR_EQ_TOKEN + 1; | 72 const int STAR_EQ_TOKEN = BAR_EQ_TOKEN + 1; |
| 71 const int PLUS_PLUS_TOKEN = STAR_EQ_TOKEN + 1; | 73 const int PLUS_PLUS_TOKEN = STAR_EQ_TOKEN + 1; |
| 72 const int PLUS_EQ_TOKEN = PLUS_PLUS_TOKEN + 1; | 74 const int PLUS_EQ_TOKEN = PLUS_PLUS_TOKEN + 1; |
| 73 const int MINUS_MINUS_TOKEN = PLUS_EQ_TOKEN + 1; | 75 const int MINUS_MINUS_TOKEN = PLUS_EQ_TOKEN + 1; |
| 74 const int MINUS_EQ_TOKEN = MINUS_MINUS_TOKEN + 1; | 76 const int MINUS_EQ_TOKEN = MINUS_MINUS_TOKEN + 1; |
| 75 const int TILDE_SLASH_EQ_TOKEN = MINUS_EQ_TOKEN + 1; | 77 const int TILDE_SLASH_EQ_TOKEN = MINUS_EQ_TOKEN + 1; |
| 76 const int TILDE_SLASH_TOKEN = TILDE_SLASH_EQ_TOKEN + 1; | 78 const int TILDE_SLASH_TOKEN = TILDE_SLASH_EQ_TOKEN + 1; |
| 77 const int PERCENT_EQ_TOKEN = TILDE_SLASH_TOKEN + 1; | 79 const int PERCENT_EQ_TOKEN = TILDE_SLASH_TOKEN + 1; |
| 78 const int GT_GT_TOKEN = PERCENT_EQ_TOKEN + 1; | 80 const int GT_GT_TOKEN = PERCENT_EQ_TOKEN + 1; |
| 79 const int CARET_EQ_TOKEN = GT_GT_TOKEN + 1; | 81 const int CARET_EQ_TOKEN = GT_GT_TOKEN + 1; |
| 80 const int COMMENT_TOKEN = CARET_EQ_TOKEN + 1; | 82 const int COMMENT_TOKEN = CARET_EQ_TOKEN + 1; |
| 81 const int STRING_INTERPOLATION_IDENTIFIER_TOKEN = COMMENT_TOKEN + 1; | 83 const int STRING_INTERPOLATION_IDENTIFIER_TOKEN = COMMENT_TOKEN + 1; |
| 82 const int QUESTION_PERIOD_TOKEN = STRING_INTERPOLATION_IDENTIFIER_TOKEN + 1; | 84 const int QUESTION_PERIOD_TOKEN = STRING_INTERPOLATION_IDENTIFIER_TOKEN + 1; |
| 83 const int QUESTION_QUESTION_TOKEN = QUESTION_PERIOD_TOKEN + 1; | 85 const int QUESTION_QUESTION_TOKEN = QUESTION_PERIOD_TOKEN + 1; |
| 84 const int QUESTION_QUESTION_EQ_TOKEN = QUESTION_QUESTION_TOKEN + 1; | 86 const int QUESTION_QUESTION_EQ_TOKEN = QUESTION_QUESTION_TOKEN + 1; |
| 85 const int GENERIC_METHOD_TYPE_ASSIGN_TOKEN = QUESTION_QUESTION_EQ_TOKEN + 1; | 87 const int GENERIC_METHOD_TYPE_ASSIGN_TOKEN = QUESTION_QUESTION_EQ_TOKEN + 1; |
| 86 const int GENERIC_METHOD_TYPE_LIST_TOKEN = GENERIC_METHOD_TYPE_ASSIGN_TOKEN + 1; | 88 const int GENERIC_METHOD_TYPE_LIST_TOKEN = GENERIC_METHOD_TYPE_ASSIGN_TOKEN + 1; |
| OLD | NEW |