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

Side by Side Diff: pkg/smoke/test/piece2.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/piece1.dart ('k') | pkg/smoke/test/static_in_pieces_test.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.piece2;
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 #j2: (o) => o.j2,
16 },
17 setters: {
18 #j2: (o, v) { o.j2 = v; },
19 },
20 parents: {},
21 declarations: {
22 smoke_0.A: {},
23 smoke_0.B: {
24 #a: const Declaration(#a, smoke_0.A),
25 },
26 smoke_0.K: {
27 #k: const Declaration(#k, int, annotations: const [const smoke_0.AnnotC( named: true)]),
28 #k2: const Declaration(#k2, int, annotations: const [const smoke_0.Annot C()]),
29 },
30 },
31 staticMethods: {
32 smoke_0.A: {
33 #staticInc: smoke_0.A.staticInc,
34 },
35 },
36 names: {
37 #i: r'i',
38 });
OLDNEW
« no previous file with comments | « pkg/smoke/test/piece1.dart ('k') | pkg/smoke/test/static_in_pieces_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698