| 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 dart2js.tokens; | 5 library dart2js.tokens; |
| 6 | 6 |
| 7 import 'dart:collection' show HashSet; |
| 7 import 'dart:convert' show UTF8; | 8 import 'dart:convert' show UTF8; |
| 8 import 'dart:collection' show HashSet; | |
| 9 | 9 |
| 10 import '../common.dart'; | 10 import '../common.dart'; |
| 11 import '../util/util.dart' show computeHashCode; | 11 import '../util/util.dart' show computeHashCode; |
| 12 | |
| 13 import 'keyword.dart' show Keyword; | 12 import 'keyword.dart' show Keyword; |
| 14 import 'precedence.dart' show PrecedenceInfo; | 13 import 'precedence.dart' show PrecedenceInfo; |
| 15 import 'precedence_constants.dart' as Precedence show BAD_INPUT_INFO; | 14 import 'precedence_constants.dart' as Precedence show BAD_INPUT_INFO; |
| 16 import 'token_constants.dart' as Tokens show IDENTIFIER_TOKEN; | 15 import 'token_constants.dart' as Tokens show IDENTIFIER_TOKEN; |
| 17 | 16 |
| 18 /** | 17 /** |
| 19 * A token that doubles as a linked list. | 18 * A token that doubles as a linked list. |
| 20 */ | 19 */ |
| 21 abstract class Token implements Spannable { | 20 abstract class Token implements Spannable { |
| 22 /** | 21 /** |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 value == '<=' || | 421 value == '<=' || |
| 423 value == '<' || | 422 value == '<' || |
| 424 value == '&' || | 423 value == '&' || |
| 425 value == '^' || | 424 value == '^' || |
| 426 value == '|'; | 425 value == '|'; |
| 427 } | 426 } |
| 428 | 427 |
| 429 bool isTernaryOperator(String value) => value == '[]='; | 428 bool isTernaryOperator(String value) => value == '[]='; |
| 430 | 429 |
| 431 bool isMinusOperator(String value) => value == '-'; | 430 bool isMinusOperator(String value) => value == '-'; |
| OLD | NEW |