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

Side by Side Diff: frog/tests/leg/src/mock_compiler.dart

Issue 9873021: Move frog/leg to lib/compiler/implementation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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 | « frog/tests/leg/src/compiler_helper.dart ('k') | frog/tests/leg/src/parser_helper.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #library('mock_compiler'); 5 #library('mock_compiler');
6 6
7 #import("../../../../lib/uri/uri.dart"); 7 #import("../../../../lib/uri/uri.dart");
8 8
9 #import("../../../leg/elements/elements.dart"); 9 #import("../../../../lib/compiler/implementation/elements/elements.dart");
10 #import("../../../leg/io/io.dart", prefix: 'io'); 10 #import("../../../../lib/compiler/implementation/io/io.dart", prefix: 'io');
11 #import("../../../leg/leg.dart"); 11 #import("../../../../lib/compiler/implementation/leg.dart");
12 #import("../../../leg/tree/tree.dart"); 12 #import("../../../../lib/compiler/implementation/tree/tree.dart");
13 #import("../../../leg/util/util.dart"); 13 #import("../../../../lib/compiler/implementation/util/util.dart");
14 #import("parser_helper.dart"); 14 #import("parser_helper.dart");
15 15
16 class WarningMessage { 16 class WarningMessage {
17 Node node; 17 Node node;
18 Message message; 18 Message message;
19 WarningMessage(this.node, this.message); 19 WarningMessage(this.node, this.message);
20 20
21 toString() => message.toString(); 21 toString() => message.toString();
22 } 22 }
23 23
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 importLibrary(library, compiler.coreLibrary, compiler); 185 importLibrary(library, compiler.coreLibrary, compiler);
186 return library; 186 return library;
187 } 187 }
188 188
189 class StringScript extends Script { 189 class StringScript extends Script {
190 final String code; 190 final String code;
191 StringScript(this.code) : super(null, null); 191 StringScript(this.code) : super(null, null);
192 String get text() => code; 192 String get text() => code;
193 String get name() => "mock script"; 193 String get name() => "mock script";
194 } 194 }
OLDNEW
« no previous file with comments | « frog/tests/leg/src/compiler_helper.dart ('k') | frog/tests/leg/src/parser_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698