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

Side by Side Diff: pkg/analyzer-experimental/lib/src/generated/java_engine.dart

Issue 12253009: Fresh drop of analyzer-experimental. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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 library java.engine; 1 library java.engine;
2 2
3 import "dart:io";
3 import "java_core.dart"; 4 import "java_core.dart";
4 import "source.dart"; 5 import "source.dart";
5 import "error.dart"; 6 import "error.dart";
6 import "ast.dart"; 7 import "ast.dart";
7 import "element.dart"; 8 import "element.dart";
8 9
9 class AnalysisException implements Exception { 10 //class AnalysisException implements Exception {
10 String toString() => "AnalysisException"; 11 // String toString() => "AnalysisException";
11 } 12 //}
12 13
13 class AnalysisEngine { 14 //class AnalysisEngine {
14 static getInstance() { 15 // static getInstance() {
15 throw new UnsupportedOperationException(); 16 // throw new UnsupportedOperationException();
16 } 17 // }
17 } 18 //}
18 19
19 class AnalysisContext { 20 //class AnalysisContext {
20 Element getElement(ElementLocation location) { 21 // Element getElement(ElementLocation location) {
21 throw new UnsupportedOperationException(); 22 // throw new UnsupportedOperationException();
22 } 23 // }
23 } 24 //}
24 25
25 class AnalysisContextImpl extends AnalysisContext { 26 //class AnalysisContextImpl extends AnalysisContext {
26 getSourceFactory() { 27 // getSourceFactory() {
27 throw new UnsupportedOperationException(); 28 // throw new UnsupportedOperationException();
28 } 29 // }
29 LibraryElement getLibraryElementOrNull(Source source) { 30 // LibraryElement getLibraryElementOrNull(Source source) {
30 return null; 31 // return null;
31 } 32 // }
32 LibraryElement getLibraryElement(Source source) { 33 // LibraryElement getLibraryElement(Source source) {
33 throw new UnsupportedOperationException(); 34 // throw new UnsupportedOperationException();
34 } 35 // }
35 void recordLibraryElements(Map<Source, LibraryElement> elementMap) { 36 // void recordLibraryElements(Map<Source, LibraryElement> elementMap) {
36 throw new UnsupportedOperationException(); 37 // throw new UnsupportedOperationException();
37 } 38 // }
38 getPublicNamespace(LibraryElement library) { 39 // getPublicNamespace(LibraryElement library) {
39 throw new UnsupportedOperationException(); 40 // throw new UnsupportedOperationException();
40 } 41 // }
41 CompilationUnit parse(Source source, AnalysisErrorListener errorListener) { 42 // CompilationUnit parse(Source source, AnalysisErrorListener errorListener) {
42 throw new UnsupportedOperationException(); 43 // throw new UnsupportedOperationException();
43 } 44 // }
44 } 45 //}
45 46
46 class StringUtilities { 47 class StringUtilities {
47 static List<String> EMPTY_ARRAY = new List.fixedLength(0); 48 static List<String> EMPTY_ARRAY = new List.fixedLength(0);
48 } 49 }
50
51 File createFile(String path) => new File(path);
52
53 class OSUtilities {
54 static bool isWindows() => Platform.operatingSystem == 'windows';
55 static bool isMac() => Platform.operatingSystem == 'macos';
56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698