| 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 dart2js.tokens.precedence; | 5 library dart2js.tokens.precedence; |
| 6 | 6 |
| 7 import '../util/util.dart' show | 7 import '../util/util.dart' show computeHashCode; |
| 8 computeHashCode; | |
| 9 | 8 |
| 10 class PrecedenceInfo { | 9 class PrecedenceInfo { |
| 11 final String value; | 10 final String value; |
| 12 final int precedence; | 11 final int precedence; |
| 13 final int kind; | 12 final int kind; |
| 14 | 13 |
| 15 const PrecedenceInfo(this.value, this.precedence, this.kind); | 14 const PrecedenceInfo(this.value, this.precedence, this.kind); |
| 16 | 15 |
| 17 toString() => 'PrecedenceInfo($value, $precedence, $kind)'; | 16 toString() => 'PrecedenceInfo($value, $precedence, $kind)'; |
| 18 | 17 |
| 19 int get hashCode => computeHashCode(value, precedence, kind); | 18 int get hashCode => computeHashCode(value, precedence, kind); |
| 20 } | 19 } |
| OLD | NEW |