| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 the static_in_pieces_test | 5 /// Part of the static_in_pieces_test |
| 6 library smoke.test.piece2; | 6 library smoke.test.piece2; |
| 7 | 7 |
| 8 import 'package:smoke/smoke.dart' show Declaration, PROPERTY, METHOD; | 8 import 'package:smoke/smoke.dart' show Declaration, PROPERTY, METHOD; |
| 9 import 'package:smoke/static.dart' show useGeneratedCode, StaticConfiguration; | 9 import 'package:smoke/static.dart' show useGeneratedCode, StaticConfiguration; |
| 10 import 'common.dart' as smoke_0; | 10 import 'common.dart' as smoke_0; |
| 11 | 11 |
| 12 final configuration = new StaticConfiguration( | 12 final configuration = new StaticConfiguration( |
| 13 checkedMode: false, | 13 checkedMode: false, getters: {#j2: (o) => o.j2,}, setters: { |
| 14 getters: { | 14 #j2: (o, v) { |
| 15 #j2: (o) => o.j2, | 15 o.j2 = v; |
| 16 }, | 16 }, |
| 17 setters: { | 17 }, |
| 18 #j2: (o, v) { o.j2 = v; }, | |
| 19 }, | |
| 20 parents: {}, | 18 parents: {}, |
| 21 declarations: { | 19 declarations: { |
| 22 smoke_0.A: {}, | 20 smoke_0.A: {}, |
| 23 smoke_0.B: { | 21 smoke_0.B: {#a: const Declaration(#a, smoke_0.A),}, |
| 24 #a: const Declaration(#a, smoke_0.A), | 22 smoke_0.K: { |
| 25 }, | 23 #k: const Declaration(#k, int, |
| 26 smoke_0.K: { | 24 annotations: const [const smoke_0.AnnotC(named: true)]), |
| 27 #k: const Declaration(#k, int, annotations: const [const smoke_0.AnnotC(
named: true)]), | 25 #k2: const Declaration(#k2, int, |
| 28 #k2: const Declaration(#k2, int, annotations: const [const smoke_0.Annot
C()]), | 26 annotations: const [const smoke_0.AnnotC()]), |
| 29 }, | 27 }, |
| 30 }, | 28 }, |
| 31 staticMethods: { | 29 staticMethods: {smoke_0.A: {#staticInc: smoke_0.A.staticInc,},}, |
| 32 smoke_0.A: { | 30 names: {#i: r'i',}); |
| 33 #staticInc: smoke_0.A.staticInc, | |
| 34 }, | |
| 35 }, | |
| 36 names: { | |
| 37 #i: r'i', | |
| 38 }); | |
| OLD | NEW |