OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 | 5 |
6 library library12; | 6 #library("library12.dart"); |
7 | 7 |
8 import "library11.dart"; | 8 #import("library11.dart"); |
9 class Library12 { | 9 class Library12 { |
10 Library12(this.fld); | 10 Library12(this.fld); |
11 Library12.other(fld, multiplier) { | 11 Library12.other(fld, multiplier) { |
12 this.fld = fld*multiplier; | 12 this.fld = fld*multiplier; |
13 } | 13 } |
14 func() { | 14 func() { |
15 return 2; | 15 return 2; |
16 } | 16 } |
17 var fld; | 17 var fld; |
18 static static_func() { | 18 static static_func() { |
(...skipping 15 matching lines...) Expand all Loading... |
34 } | 34 } |
35 | 35 |
36 interface Library12Interface { | 36 interface Library12Interface { |
37 Library12 addObjects(Library12 value1, Library12 value2); | 37 Library12 addObjects(Library12 value1, Library12 value2); |
38 } | 38 } |
39 | 39 |
40 const int top_level12 = 10; | 40 const int top_level12 = 10; |
41 top_level_func12() { | 41 top_level_func12() { |
42 return 20; | 42 return 20; |
43 } | 43 } |
OLD | NEW |