OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 part of mocks; | 5 part of mocks; |
6 | 6 |
7 class FunctionRefMock implements M.FunctionRef { | 7 class FunctionRefMock implements M.FunctionRef { |
8 final String id; | 8 final String id; |
9 final String name; | 9 final String name; |
10 final M.ObjectRef dartOwner; | 10 final M.ObjectRef dartOwner; |
(...skipping 11 matching lines...) Expand all Loading... |
22 final M.ObjectRef dartOwner; | 22 final M.ObjectRef dartOwner; |
23 final bool isStatic; | 23 final bool isStatic; |
24 final bool isConst; | 24 final bool isConst; |
25 final M.FunctionKind kind; | 25 final M.FunctionKind kind; |
26 final M.SourceLocation location; | 26 final M.SourceLocation location; |
27 final M.CodeRef code; | 27 final M.CodeRef code; |
28 const FunctionMock({this.id, this.name, this.dartOwner, | 28 const FunctionMock({this.id, this.name, this.dartOwner, |
29 this.isStatic : false, this.isConst : false, this.kind, this.location, | 29 this.isStatic : false, this.isConst : false, this.kind, this.location, |
30 this.code}); | 30 this.code}); |
31 } | 31 } |
OLD | NEW |