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

Side by Side Diff: sdk/lib/_internal/lib/js_mirrors.dart

Issue 152593002: Version 1.2.0-dev.3.1 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 years, 10 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
« no previous file with comments | « sdk/lib/_internal/lib/isolate_helper.dart ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 dart._js_mirrors; 5 library dart._js_mirrors;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'dart:collection' show 9 import 'dart:collection' show
10 UnmodifiableListView; 10 UnmodifiableListView;
(...skipping 1988 matching lines...) Expand 10 before | Expand all | Expand 10 after
1999 return reflect( 1999 return reflect(
2000 Function.apply(reflectee, positionalArguments, namedArguments)); 2000 Function.apply(reflectee, positionalArguments, namedArguments));
2001 } 2001 }
2002 2002
2003 String toString() => "ClosureMirror on '${Error.safeToString(reflectee)}'"; 2003 String toString() => "ClosureMirror on '${Error.safeToString(reflectee)}'";
2004 2004
2005 // TODO(ahe): Implement this method. 2005 // TODO(ahe): Implement this method.
2006 String get source => throw new UnimplementedError(); 2006 String get source => throw new UnimplementedError();
2007 2007
2008 // TODO(ahe): Implement this method. 2008 // TODO(ahe): Implement this method.
2009 InstanceMirror findInContext(Symbol name) { 2009 InstanceMirror findInContext(Symbol name, {ifAbsent: null}) {
2010 throw new UnsupportedError("ClosureMirror.findInContext not yet supported"); 2010 throw new UnsupportedError("ClosureMirror.findInContext not yet supported");
2011 } 2011 }
2012 2012
2013 // TODO(ahe): Implement this method. 2013 // TODO(ahe): Implement this method.
2014 Function operator [](Symbol name) => throw new UnimplementedError(); 2014 Function operator [](Symbol name) => throw new UnimplementedError();
2015 } 2015 }
2016 2016
2017 class JsMethodMirror extends JsDeclarationMirror implements MethodMirror { 2017 class JsMethodMirror extends JsDeclarationMirror implements MethodMirror {
2018 final _jsFunction; 2018 final _jsFunction;
2019 final int _parameterCount; 2019 final int _parameterCount;
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
2666 void operator []=(K key, V value) => _throw(); 2666 void operator []=(K key, V value) => _throw();
2667 2667
2668 V putIfAbsent(K key, V ifAbsent()) { _throw(); } 2668 V putIfAbsent(K key, V ifAbsent()) { _throw(); }
2669 2669
2670 void addAll(Map<K, V> other) => _throw(); 2670 void addAll(Map<K, V> other) => _throw();
2671 2671
2672 V remove(K key) { _throw(); } 2672 V remove(K key) { _throw(); }
2673 2673
2674 void clear() => _throw(); 2674 void clear() => _throw();
2675 } 2675 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/lib/isolate_helper.dart ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698