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

Side by Side Diff: lib/compiler/implementation/script.dart

Issue 10081004: Remove frog dependencies from lib/compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 class Script { 5 class Script {
6 final /* frog.SourceFile */ file; 6 final file;
ahe 2012/04/13 11:50:55 I'd like to get a type on this. Could you add a to
kasperl 2012/04/13 11:59:53 I'll add a TODO here. We cannot use SourceFile rig
7 final Uri uri; 7 final Uri uri;
8 Script(this.uri, this.file); 8 Script(this.uri, this.file);
9 9
10 String get text() => (file === null) ? null : file.text; 10 String get text() => (file === null) ? null : file.text;
11 String get name() => (file === null) ? null : file.filename; 11 String get name() => (file === null) ? null : file.filename;
12 } 12 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698