Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(755)

Side by Side Diff: pkg/polymer_expressions/lib/eval.dart

Issue 26967004: add @MirrorsUsed to observe/polymer/polymer_exprs pkgs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix typo in comment Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
10 @MirrorsUsed(metaTargets: const [Reflectable, ObservableProperty],
11 override: 'polymer_expressions.eval')
Siggi Cherem (dart-lang) 2013/10/15 21:52:18 ditto
Jennifer Messerly 2013/10/15 22:03:29 ditto :)
9 import 'dart:mirrors'; 12 import 'dart:mirrors';
10 13
11 import 'package:observe/observe.dart'; 14 import 'package:observe/observe.dart';
12 15
13 import 'async.dart'; 16 import 'async.dart';
14 import 'expression.dart'; 17 import 'expression.dart';
15 import 'filter.dart'; 18 import 'filter.dart';
16 import 'visitor.dart'; 19 import 'visitor.dart';
17 import 'src/mirrors.dart'; 20 import 'src/mirrors.dart';
18 21
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 * This does not work for calls that need to pass more than one argument. 644 * This does not work for calls that need to pass more than one argument.
642 */ 645 */
643 call(arg0) => mirror.invoke(symbol, [arg0], null).reflectee; 646 call(arg0) => mirror.invoke(symbol, [arg0], null).reflectee;
644 } 647 }
645 648
646 class EvalException implements Exception { 649 class EvalException implements Exception {
647 final String message; 650 final String message;
648 EvalException(this.message); 651 EvalException(this.message);
649 String toString() => "EvalException: $message"; 652 String toString() => "EvalException: $message";
650 } 653 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698