Examples of LibraryScope


Examples of com.google.dart.engine.internal.scope.LibraryScope

  public ScopedVisitor(LibraryElement definingLibrary, Source source, TypeProvider typeProvider,
      AnalysisErrorListener errorListener) {
    this.definingLibrary = definingLibrary;
    this.source = source;
    this.errorListener = errorListener;
    this.nameScope = new LibraryScope(definingLibrary, errorListener);
    this.typeProvider = typeProvider;
  }
View Full Code Here

Examples of com.google.dart.engine.internal.scope.LibraryScope

   * @param typeProvider the object used to access the types from the core library
   */
  public ScopedVisitor(ResolvableLibrary library, Source source, TypeProvider typeProvider) {
    this.definingLibrary = library.getLibraryElement();
    this.source = source;
    LibraryScope libraryScope = library.getLibraryScope();
    this.errorListener = libraryScope.getErrorListener();
    this.nameScope = libraryScope;
    this.typeProvider = typeProvider;
  }
View Full Code Here

Examples of com.google.dart.engine.internal.scope.LibraryScope

   *
   * @return the library scope used when resolving elements within this library's compilation units
   */
  public LibraryScope getLibraryScope() {
    if (libraryScope == null) {
      libraryScope = new LibraryScope(libraryElement, errorListener);
    }
    return libraryScope;
  }
View Full Code Here

Examples of com.google.dart.engine.internal.scope.LibraryScope

   * @param typeProvider the object used to access the types from the core library
   */
  public ScopedVisitor(Library library, Source source, TypeProvider typeProvider) {
    this.definingLibrary = library.getLibraryElement();
    this.source = source;
    LibraryScope libraryScope = library.getLibraryScope();
    this.errorListener = libraryScope.getErrorListener();
    this.nameScope = libraryScope;
    this.typeProvider = typeProvider;
  }
View Full Code Here

Examples of com.google.dart.engine.internal.scope.LibraryScope

   *
   * @return the library scope used when resolving elements within this library's compilation units
   */
  public LibraryScope getLibraryScope() {
    if (libraryScope == null) {
      libraryScope = new LibraryScope(libraryElement, errorListener);
    }
    return libraryScope;
  }
View Full Code Here

Examples of org.springframework.boot.loader.tools.LibraryScope

  @Override
  public void doWithLibraries(LibraryCallback callback) throws IOException {
    Set<String> duplicates = getDuplicates(this.artifacts);
    for (Artifact artifact : this.artifacts) {
      LibraryScope scope = SCOPES.get(artifact.getScope());
      if (scope != null && artifact.getFile() != null) {
        String name = artifact.getFile().getName();
        if (duplicates.contains(name)) {
          this.log.debug("Duplicate found: " + name);
          name = artifact.getGroupId() + "-" + name;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.