OLD | NEW |
1 library java.engine; | 1 library java.engine; |
2 | 2 |
3 import "dart:io"; | 3 import "dart:io"; |
4 import "java_core.dart"; | 4 import "java_core.dart"; |
5 import "source.dart"; | 5 import "source.dart"; |
6 import "error.dart"; | 6 import "error.dart"; |
7 import "ast.dart"; | 7 import "ast.dart"; |
8 import "element.dart"; | 8 import "element.dart"; |
9 | 9 |
10 //class AnalysisException implements Exception { | 10 //class AnalysisException implements Exception { |
(...skipping 27 matching lines...) Expand all Loading... |
38 // } | 38 // } |
39 // getPublicNamespace(LibraryElement library) { | 39 // getPublicNamespace(LibraryElement library) { |
40 // throw new UnsupportedOperationException(); | 40 // throw new UnsupportedOperationException(); |
41 // } | 41 // } |
42 // CompilationUnit parse(Source source, AnalysisErrorListener errorListener) { | 42 // CompilationUnit parse(Source source, AnalysisErrorListener errorListener) { |
43 // throw new UnsupportedOperationException(); | 43 // throw new UnsupportedOperationException(); |
44 // } | 44 // } |
45 //} | 45 //} |
46 | 46 |
47 class StringUtilities { | 47 class StringUtilities { |
48 static List<String> EMPTY_ARRAY = new List.fixedLength(0); | 48 static List<String> EMPTY_ARRAY = new List(0); |
49 } | 49 } |
50 | 50 |
51 File createFile(String path) => new File(path); | 51 File createFile(String path) => new File(path); |
52 | 52 |
53 class OSUtilities { | 53 class OSUtilities { |
54 static bool isWindows() => Platform.operatingSystem == 'windows'; | 54 static bool isWindows() => Platform.operatingSystem == 'windows'; |
55 static bool isMac() => Platform.operatingSystem == 'macos'; | 55 static bool isMac() => Platform.operatingSystem == 'macos'; |
56 } | 56 } |
OLD | NEW |