Home
last modified time | relevance | path

Searched refs:ImportScope (Results 1 – 9 of 9) sorted by relevance

/external/turbine/java/com/google/turbine/binder/lookup/
DWildImportIndex.java34 public class WildImportIndex implements ImportScope {
37 private final ImmutableList<Supplier<ImportScope>> packages;
39 public WildImportIndex(ImmutableList<Supplier<ImportScope>> packages) { in WildImportIndex()
48 ImmutableList.Builder<Supplier<ImportScope>> packageScopes = ImmutableList.builder(); in create()
53 new Supplier<ImportScope>() { in create()
55 public ImportScope get() { in create()
69 private static ImportScope onDemandImport( in onDemandImport()
78 return new ImportScope() { in onDemandImport()
93 return new ImportScope() { in onDemandImport()
106 private static ImportScope staticOnDemandImport(
[all …]
DImportIndex.java44 public class ImportIndex implements ImportScope {
50 private final Map<String, Supplier<ImportScope>> thunks;
52 public ImportIndex(TurbineLogWithSource log, ImmutableMap<String, Supplier<ImportScope>> thunks) { in ImportIndex()
62 Map<String, Supplier<ImportScope>> thunks = new HashMap<>(); in create()
70 new Supplier<ImportScope>() { in create()
72 public ImportScope get() { in create()
87 new Supplier<ImportScope>() { in create()
89 public ImportScope get() { in create()
98 private static ImportScope namedImport( in namedImport()
114 return new ImportScope() { in namedImport()
[all …]
DImportScope.java27 public interface ImportScope { interface
42 default ImportScope append(ImportScope next) { in append()
43 return new ImportScope() { in append()
50 return ImportScope.this.lookup(lookupKey, resolve); in append()
60 static ImportScope fromScope(Scope scope) {
61 return new ImportScope() {
75 return ImportScope.this.lookup(lookupKey, resolve);
DCanonicalSymbolResolver.java23 public interface CanonicalSymbolResolver extends ImportScope.ResolveFunction {
/external/turbine/java/com/google/turbine/binder/bound/
DPackageSourceBoundModule.java19 import com.google.turbine.binder.lookup.ImportScope;
28 private final ImportScope scope;
33 ModDecl module, ImportScope scope, MemberImportIndex memberImports, SourceFile source) { in PackageSourceBoundModule()
44 public ImportScope scope() { in scope()
DPackageSourceBoundClass.java20 import com.google.turbine.binder.lookup.ImportScope;
30 private final ImportScope scope;
36 ImportScope scope, in PackageSourceBoundClass()
69 public ImportScope scope() { in scope()
DSourceHeaderBoundClass.java21 import com.google.turbine.binder.lookup.ImportScope;
84 public ImportScope scope() { in scope()
/external/turbine/java/com/google/turbine/binder/
DBinder.java45 import com.google.turbine.binder.lookup.ImportScope;
190 ImportScope importScope = in bindPackages()
192 ImportScope wildImportScope = WildImportIndex.create(importResolver, tli, unit.imports()); in bindPackages()
195 ImportScope scope = in bindPackages()
196 ImportScope.fromScope(topLevel) in bindPackages()
198 .append(ImportScope.fromScope(packageScope)) in bindPackages()
DResolve.java27 import com.google.turbine.binder.lookup.ImportScope.ResolveFunction;