Package com.google.dart.engine.source

Examples of com.google.dart.engine.source.ExplicitPackageUriResolver


      final DartUriResolver dartUriResolver = new DartUriResolver(dirBasedSdk);
      final DartFileAndPackageUriResolver fileAndPackageUriResolver = new DartFileAndPackageUriResolver(myProject, dartUrlResolver);

      final SourceFactory sourceFactory = useExplicitPackageUriResolver
                                          ? new SourceFactory(dartUriResolver, fileAndPackageUriResolver,
                                                              new ExplicitPackageUriResolver(dirBasedSdk, new File(contentRoot.getPath())))
                                          : new SourceFactory(dartUriResolver, fileAndPackageUriResolver);

      analysisContext = AnalysisEngine.getInstance().createAnalysisContext();
      analysisContext.setSourceFactory(sourceFactory);
View Full Code Here

TOP

Related Classes of com.google.dart.engine.source.ExplicitPackageUriResolver

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.