| Index: lib/src/files.dart | 
| diff --git a/lib/src/files.dart b/lib/src/files.dart | 
| index 6763c2fe43dad4afa2dba55566b2173a2cedd34b..ee722079ce4741efb46810de6c0025110f78e6fc 100644 | 
| --- a/lib/src/files.dart | 
| +++ b/lib/src/files.dart | 
| @@ -10,13 +10,23 @@ import 'info.dart'; | 
|  | 
| /** An input file to process by the template compiler. */ | 
| class SourceFile { | 
| +  static const int HTML = 1; | 
| +  static const int DART = 2; | 
| +  static const int STYLESHEET = 3; | 
| + | 
| final Path path; | 
| +  final int type; | 
|  | 
| -  final bool isDart; | 
| Document document; | 
| + | 
| +  /** Dart code or contents of a linked style sheet. */ | 
| String code; | 
|  | 
| -  SourceFile(this.path, {this.isDart: false}); | 
| +  SourceFile(this.path, {this.type: HTML}); | 
| + | 
| +  bool get isDart => type == DART; | 
| +  bool get isHtml => type == HTML; | 
| +  bool get isStyleSheet => type == STYLESHEET; | 
|  | 
| String toString() => "<#SourceFile $path>"; | 
| } | 
|  |