Package com.google.dart.engine.internal.sdk

Examples of com.google.dart.engine.internal.sdk.SdkLibrariesReader


   */
  protected LibraryMap initialLibraryMap(boolean useDart2jsPaths) {
    File librariesFile = new File(new File(getLibraryDirectory(), INTERNAL_DIR), LIBRARIES_FILE);
    try {
      String contents = FileUtilities.getContents(librariesFile);
      return new SdkLibrariesReader(useDart2jsPaths).readFromFile(librariesFile, contents);
    } catch (Exception exception) {
      AnalysisEngine.getInstance().getLogger().logError(
          "Could not initialize the library map from " + librariesFile.getAbsolutePath(),
          exception);
      return new LibraryMap();
View Full Code Here

TOP

Related Classes of com.google.dart.engine.internal.sdk.SdkLibrariesReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.