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.eval; | 5 library polymer_expressions.eval; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:collection'; | 8 import 'dart:collection'; |
9 | 9 |
10 import 'package:observe/observe.dart'; | 10 import 'package:observe/observe.dart'; |
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 accept(Visitor v) => v.visitInvoke(this); | 814 accept(Visitor v) => v.visitInvoke(this); |
815 } | 815 } |
816 | 816 |
817 _toBool(v) => (v == null) ? false : v; | 817 _toBool(v) => (v == null) ? false : v; |
818 | 818 |
819 class EvalException implements Exception { | 819 class EvalException implements Exception { |
820 final String message; | 820 final String message; |
821 EvalException(this.message); | 821 EvalException(this.message); |
822 String toString() => "EvalException: $message"; | 822 String toString() => "EvalException: $message"; |
823 } | 823 } |
OLD | NEW |