| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 polymer_expressions.expression; | 5 library polymer_expressions.expression; |
| 6 | 6 |
| 7 import 'visitor.dart'; | 7 import 'visitor.dart'; |
| 8 | 8 |
| 9 // Helper functions for building expression trees programmatically | 9 // Helper functions for building expression trees programmatically |
| 10 | 10 |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 } | 359 } |
| 360 | 360 |
| 361 static int hash2(int a, int b) => finish(combine(combine(0, a), b)); | 361 static int hash2(int a, int b) => finish(combine(combine(0, a), b)); |
| 362 | 362 |
| 363 static int hash3(int a, int b, int c) => | 363 static int hash3(int a, int b, int c) => |
| 364 finish(combine(combine(combine(0, a), b), c)); | 364 finish(combine(combine(combine(0, a), b), c)); |
| 365 | 365 |
| 366 static int hash4(int a, int b, int c, int d) => | 366 static int hash4(int a, int b, int c, int d) => |
| 367 finish(combine(combine(combine(combine(0, a), b), c), d)); | 367 finish(combine(combine(combine(combine(0, a), b), c), d)); |
| 368 } | 368 } |
| OLD | NEW |