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

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

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

Powered by Google App Engine
This is Rietveld 408576698