Chromium Code Reviews| Index: pkg/smoke/test/piece2.dart |
| diff --git a/pkg/smoke/test/piece2.dart b/pkg/smoke/test/piece2.dart |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a474fca51ba4a7977644da38ba7686abea246fa6 |
| --- /dev/null |
| +++ b/pkg/smoke/test/piece2.dart |
| @@ -0,0 +1,38 @@ |
| +// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| +// for details. All rights reserved. Use of this source code is governed by a |
| +// BSD-style license that can be found in the LICENSE file. |
| + |
| +/// Part of the static_in_pieces_test |
| +library smoke.test.piece2; |
| + |
| +import 'package:smoke/smoke.dart' show Declaration, PROPERTY, METHOD; |
| +import 'package:smoke/static.dart' show useGeneratedCode, StaticConfiguration; |
| +import 'common.dart' as smoke_0; |
| + |
| +final configuration = new StaticConfiguration( |
| + checkedMode: false, |
| + getters: { |
| + #j2: (o) => o.j2, |
| + }, |
| + setters: { |
| + #j2: (o, v) { o.j2 = v; }, |
| + }, |
| + parents: {}, |
| + declarations: { |
| + smoke_0.A: {}, |
| + smoke_0.B: { |
| + #a: const Declaration(#a, smoke_0.A), |
| + }, |
| + smoke_0.K: { |
| + #k: const Declaration(#k, int, annotations: const [const smoke_0.AnnotC(named: true)]), |
|
Siggi Cherem (dart-lang)
2014/07/01 19:44:12
FYI - I'm just coping this line and the code in th
|
| + #k2: const Declaration(#k2, int, annotations: const [const smoke_0.AnnotC()]), |
| + }, |
| + }, |
| + staticMethods: { |
| + smoke_0.A: { |
| + #staticInc: smoke_0.A.staticInc, |
| + }, |
| + }, |
| + names: { |
| + #i: r'i', |
| + }); |