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

Side by Side Diff: pkg/analyzer/lib/src/generated/sdk_io.dart

Issue 728513002: Remove some (but not all) unused methods in analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.sdk.io; 8 library engine.sdk.io;
9 9
10 import 'package:analyzer/src/generated/java_engine.dart'; 10 import 'package:analyzer/src/generated/java_engine.dart';
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 return new SdkLibrariesReader(useDart2jsPaths).readFromFile(librariesFile, contents); 505 return new SdkLibrariesReader(useDart2jsPaths).readFromFile(librariesFile, contents);
506 } catch (exception, stackTrace) { 506 } catch (exception, stackTrace) {
507 AnalysisEngine.instance.logger.logError( 507 AnalysisEngine.instance.logger.logError(
508 "Could not initialize the library map from ${librariesFile.getAbsolute Path()}", 508 "Could not initialize the library map from ${librariesFile.getAbsolute Path()}",
509 new CaughtException(exception, stackTrace)); 509 new CaughtException(exception, stackTrace));
510 return new LibraryMap(); 510 return new LibraryMap();
511 } 511 }
512 } 512 }
513 513
514 /** 514 /**
515 * Ensure that the dart VM is executable. If it is not, make it executable and log that it was
516 * necessary for us to do so.
517 */
518 void _ensureVmIsExecutable() {
519 }
520
521 /**
522 * Return the name of the file containing the Dartium executable. 515 * Return the name of the file containing the Dartium executable.
523 * 516 *
524 * @return the name of the file containing the Dartium executable 517 * @return the name of the file containing the Dartium executable
525 */ 518 */
526 String get dartiumBinaryName { 519 String get dartiumBinaryName {
527 if (OSUtilities.isWindows()) { 520 if (OSUtilities.isWindows()) {
528 return _DARTIUM_EXECUTABLE_NAME_WIN; 521 return _DARTIUM_EXECUTABLE_NAME_WIN;
529 } else if (OSUtilities.isMac()) { 522 } else if (OSUtilities.isMac()) {
530 return _DARTIUM_EXECUTABLE_NAME_MAC; 523 return _DARTIUM_EXECUTABLE_NAME_MAC;
531 } else { 524 } else {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 Parser parser = new Parser(source, errorListener); 607 Parser parser = new Parser(source, errorListener);
615 CompilationUnit unit = parser.parseCompilationUnit(scanner.tokenize()); 608 CompilationUnit unit = parser.parseCompilationUnit(scanner.tokenize());
616 SdkLibrariesReader_LibraryBuilder libraryBuilder = new SdkLibrariesReader_Li braryBuilder(_useDart2jsPaths); 609 SdkLibrariesReader_LibraryBuilder libraryBuilder = new SdkLibrariesReader_Li braryBuilder(_useDart2jsPaths);
617 // If any syntactic errors were found then don't try to visit the AST struct ure. 610 // If any syntactic errors were found then don't try to visit the AST struct ure.
618 if (!errorListener.errorReported) { 611 if (!errorListener.errorReported) {
619 unit.accept(libraryBuilder); 612 unit.accept(libraryBuilder);
620 } 613 }
621 return libraryBuilder.librariesMap; 614 return libraryBuilder.librariesMap;
622 } 615 }
623 } 616 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698