Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Side by Side Diff: pkg/smoke/test/piece1.dart

Issue 362043006: Add support in smoke for generating static configurations in pieces. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/smoke/test/codegen/recorder_test.dart ('k') | pkg/smoke/test/piece2.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 /// Part of the static_in_pieces_test
6 library smoke.test.piece1;
7
8 import 'package:smoke/smoke.dart' show Declaration, PROPERTY, METHOD;
9 import 'package:smoke/static.dart' show useGeneratedCode, StaticConfiguration;
10 import 'common.dart' as smoke_0;
11
12 final configuration = new StaticConfiguration(
13 checkedMode: false,
14 getters: {
15 #j: (o) => o.j,
16 #j2: (o) => o.j2,
17 },
18 setters: {},
19 parents: {
20 smoke_0.H: smoke_0.G,
21 },
22 declarations: {
23 smoke_0.H: {
24 #f: const Declaration(#f, int, annotations: const [smoke_0.a1]),
25 #g: const Declaration(#g, int, annotations: const [smoke_0.a1]),
26 #h: const Declaration(#h, int, annotations: const [smoke_0.a2]),
27 #i: const Declaration(#i, int, annotations: const [smoke_0.a3]),
28 },
29 },
30 staticMethods: {
31 smoke_0.A: {
32 #staticInc: smoke_0.A.staticInc,
33 },
34 },
35 names: {});
OLDNEW
« no previous file with comments | « pkg/smoke/test/codegen/recorder_test.dart ('k') | pkg/smoke/test/piece2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698