| 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 library fasta.scanner.token; | 5 library fasta.scanner.token; |
| 6 | 6 |
| 7 import 'dart:collection' show | |
| 8 HashSet; | |
| 9 | |
| 10 import 'dart:convert' show | |
| 11 UTF8; | |
| 12 | |
| 13 import 'keyword.dart' show | 7 import 'keyword.dart' show |
| 14 Keyword; | 8 Keyword; |
| 15 | 9 |
| 16 import 'precedence.dart' show | 10 import 'precedence.dart' show |
| 17 BAD_INPUT_INFO, | 11 BAD_INPUT_INFO, |
| 18 EOF_INFO, | 12 EOF_INFO, |
| 19 PrecedenceInfo; | 13 PrecedenceInfo; |
| 20 | 14 |
| 21 import 'token_constants.dart' show | 15 import 'token_constants.dart' show |
| 22 IDENTIFIER_TOKEN; | 16 IDENTIFIER_TOKEN; |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 identical(value, "<=") || | 356 identical(value, "<=") || |
| 363 identical(value, "<") || | 357 identical(value, "<") || |
| 364 identical(value, "&") || | 358 identical(value, "&") || |
| 365 identical(value, "^") || | 359 identical(value, "^") || |
| 366 identical(value, "|"); | 360 identical(value, "|"); |
| 367 } | 361 } |
| 368 | 362 |
| 369 bool isTernaryOperator(String value) => identical(value, "[]="); | 363 bool isTernaryOperator(String value) => identical(value, "[]="); |
| 370 | 364 |
| 371 bool isMinusOperator(String value) => identical(value, "-"); | 365 bool isMinusOperator(String value) => identical(value, "-"); |
| OLD | NEW |