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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer-experimental/lib/src/generated/java_engine.dart
===================================================================
--- pkg/analyzer-experimental/lib/src/generated/java_engine.dart (revision 18469)
+++ pkg/analyzer-experimental/lib/src/generated/java_engine.dart (working copy)
@@ -1,48 +1,56 @@
library java.engine;
+import "dart:io";
import "java_core.dart";
import "source.dart";
import "error.dart";
import "ast.dart";
import "element.dart";
-class AnalysisException implements Exception {
- String toString() => "AnalysisException";
-}
+//class AnalysisException implements Exception {
+// String toString() => "AnalysisException";
+//}
-class AnalysisEngine {
- static getInstance() {
- throw new UnsupportedOperationException();
- }
-}
+//class AnalysisEngine {
+// static getInstance() {
+// throw new UnsupportedOperationException();
+// }
+//}
-class AnalysisContext {
- Element getElement(ElementLocation location) {
- throw new UnsupportedOperationException();
- }
-}
+//class AnalysisContext {
+// Element getElement(ElementLocation location) {
+// throw new UnsupportedOperationException();
+// }
+//}
-class AnalysisContextImpl extends AnalysisContext {
- getSourceFactory() {
- throw new UnsupportedOperationException();
- }
- LibraryElement getLibraryElementOrNull(Source source) {
- return null;
- }
- LibraryElement getLibraryElement(Source source) {
- throw new UnsupportedOperationException();
- }
- void recordLibraryElements(Map<Source, LibraryElement> elementMap) {
- throw new UnsupportedOperationException();
- }
- getPublicNamespace(LibraryElement library) {
- throw new UnsupportedOperationException();
- }
- CompilationUnit parse(Source source, AnalysisErrorListener errorListener) {
- throw new UnsupportedOperationException();
- }
-}
+//class AnalysisContextImpl extends AnalysisContext {
+// getSourceFactory() {
+// throw new UnsupportedOperationException();
+// }
+// LibraryElement getLibraryElementOrNull(Source source) {
+// return null;
+// }
+// LibraryElement getLibraryElement(Source source) {
+// throw new UnsupportedOperationException();
+// }
+// void recordLibraryElements(Map<Source, LibraryElement> elementMap) {
+// throw new UnsupportedOperationException();
+// }
+// getPublicNamespace(LibraryElement library) {
+// throw new UnsupportedOperationException();
+// }
+// CompilationUnit parse(Source source, AnalysisErrorListener errorListener) {
+// throw new UnsupportedOperationException();
+// }
+//}
class StringUtilities {
static List<String> EMPTY_ARRAY = new List.fixedLength(0);
}
+
+File createFile(String path) => new File(path);
+
+class OSUtilities {
+ static bool isWindows() => Platform.operatingSystem == 'windows';
+ static bool isMac() => Platform.operatingSystem == 'macos';
+}

Powered by Google App Engine
This is Rietveld 408576698