| OLD | NEW |
| 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 part of dart.fletch._system; | 5 part of dart.dartino._system; |
| 6 | 6 |
| 7 class FletchNoSuchMethodError implements NoSuchMethodError { | 7 class DartinoNoSuchMethodError implements NoSuchMethodError { |
| 8 final Object _receiver; | 8 final Object _receiver; |
| 9 final int _receiverClass; | 9 final int _receiverClass; |
| 10 final int _receiverSelector; | 10 final int _receiverSelector; |
| 11 | 11 |
| 12 const FletchNoSuchMethodError(this._receiver, | 12 const DartinoNoSuchMethodError(this._receiver, |
| 13 this._receiverClass, | 13 this._receiverClass, |
| 14 this._receiverSelector); | 14 this._receiverSelector); |
| 15 | 15 |
| 16 String toString() => 'FletchNoSuchMethodError(selector: $_receiverSelector)'; | 16 String toString() => 'DartinoNoSuchMethodError(selector: $_receiverSelector)'; |
| 17 | 17 |
| 18 // TODO(kustermann): This needs to be implemented. | 18 // TODO(kustermann): This needs to be implemented. |
| 19 StackTrace get stackTrace => null; | 19 StackTrace get stackTrace => null; |
| 20 } | 20 } |
| 21 | 21 |
| 22 class FletchInvocation implements Invocation { | 22 class DartinoInvocation implements Invocation { |
| 23 final Object _receiver; | 23 final Object _receiver; |
| 24 final int _receiverClass; | 24 final int _receiverClass; |
| 25 final int _receiverSelector; | 25 final int _receiverSelector; |
| 26 | 26 |
| 27 const FletchInvocation(this._receiver, | 27 const DartinoInvocation(this._receiver, |
| 28 this._receiverClass, | 28 this._receiverClass, |
| 29 this._receiverSelector); | 29 this._receiverSelector); |
| 30 | 30 |
| 31 FletchNoSuchMethodError get asNoSuchMethodError { | 31 DartinoNoSuchMethodError get asNoSuchMethodError { |
| 32 return new FletchNoSuchMethodError( | 32 return new DartinoNoSuchMethodError( |
| 33 _receiver, _receiverClass, _receiverSelector); | 33 _receiver, _receiverClass, _receiverSelector); |
| 34 } | 34 } |
| 35 | 35 |
| 36 Symbol get memberName => throw new UnimplementedError(); | 36 Symbol get memberName => throw new UnimplementedError(); |
| 37 | 37 |
| 38 List get positionalArguments => throw new UnimplementedError(); | 38 List get positionalArguments => throw new UnimplementedError(); |
| 39 | 39 |
| 40 Map<Symbol, dynamic> get namedArguments => throw new UnimplementedError(); | 40 Map<Symbol, dynamic> get namedArguments => throw new UnimplementedError(); |
| 41 | 41 |
| 42 bool get isMethod => throw new UnimplementedError(); | 42 bool get isMethod => throw new UnimplementedError(); |
| 43 | 43 |
| 44 bool get isGetter => throw new UnimplementedError(); | 44 bool get isGetter => throw new UnimplementedError(); |
| 45 | 45 |
| 46 bool get isSetter => throw new UnimplementedError(); | 46 bool get isSetter => throw new UnimplementedError(); |
| 47 | 47 |
| 48 bool get isAccessor => throw new UnimplementedError(); | 48 bool get isAccessor => throw new UnimplementedError(); |
| 49 } | 49 } |
| OLD | NEW |