Home
last modified time | relevance | path

Searched refs:lookupKey (Results 1 – 10 of 10) sorted by relevance

/external/turbine/java/com/google/turbine/binder/lookup/
DImportScope.java39 LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve); in lookup() argument
45 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) { in append()
46 LookupResult result = next.lookup(lookupKey, resolve); in append()
50 return ImportScope.this.lookup(lookupKey, resolve); in append()
63 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) {
64 return scope.lookup(lookupKey);
74 public LookupResult lookup(LookupKey lookupKey) {
75 return ImportScope.this.lookup(lookupKey, resolve);
DSimpleTopLevelIndex.java135 public LookupResult lookup(LookupKey lookupKey) {
138 curr = curr.lookup(lookupKey.first().value());
143 return new LookupResult(curr.sym, lookupKey);
145 if (!lookupKey.hasNext()) {
148 lookupKey = lookupKey.rest();
180 public LookupResult lookup(LookupKey lookupKey) { in lookup() argument
181 Node result = node.lookup(lookupKey.first().value()); in lookup()
183 return new LookupResult(result.sym, lookupKey); in lookup()
DWildImportIndex.java80 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) { in onDemandImport()
81 return packageIndex.lookup(lookupKey); in onDemandImport()
95 public LookupResult lookup(LookupKey lookupKey, ResolveFunction unused) { in onDemandImport()
96 return resolveMember(member, importResolver, importResolver, lookupKey); in onDemandImport()
114 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) {
119 return resolveMember(member, resolve, importResolver, lookupKey);
128 LookupKey lookupKey) {
129 ClassSymbol member = resolve.resolveOne(base, lookupKey.first());
136 return new LookupResult(member, lookupKey);
DImportIndex.java116 public LookupResult lookup(LookupKey lookupKey, ResolveFunction unused) { in namedImport()
117 return new LookupResult(resolved, lookupKey); in namedImport()
150 public LookupResult lookup(LookupKey lookupKey, ResolveFunction resolve) {
160 return new LookupResult(sym, lookupKey);
DCompoundTopLevelIndex.java47 public LookupResult lookup(LookupKey lookupKey) {
50 LookupResult result = index.scope().lookup(lookupKey);
DScope.java28 LookupResult lookup(LookupKey lookupKey); in lookup() argument
/external/turbine/javatests/com/google/turbine/binder/lookup/
DTopLevelIndexTest.java46 LookupResult result = index.scope().lookup(lookupKey(ImmutableList.of("java", "util", "Map"))); in simple()
54 index.scope().lookup(lookupKey(ImmutableList.of("java", "util", "Map", "Entry"))); in nested()
61 assertThat(index.scope().lookup(lookupKey(ImmutableList.of("java", "NoSuch", "Entry")))) in empty()
71 assertThat(scope.lookup(lookupKey(ImmutableList.of("Map"))).sym()) in packageScope()
73 assertThat(scope.lookup(lookupKey(ImmutableList.of("List"))).sym()) in packageScope()
75 assertThat(scope.lookup(lookupKey(ImmutableList.of("NoSuch")))).isNull(); in packageScope()
86 LookupResult result = index.scope().lookup(lookupKey(ImmutableList.of("java", "Foo"))); in overrideClass()
96 assertThat(index.scope().lookup(lookupKey(ImmutableList.of("java", "Foo")))).isNull(); in overrideClass()
100 .lookup(lookupKey(ImmutableList.of("Bar"))); in overrideClass()
108 LookupKey key = lookupKey(ImmutableList.of("java", "util", "List")); in emptyLookup()
[all …]
/external/turbine/java/com/google/turbine/binder/
DJimageClassBinder.java195 public LookupResult lookup(LookupKey lookupKey) {
199 ImmutableList<Ident> names = lookupKey.simpleNames();
233 public LookupResult lookup(LookupKey lookupKey) {
234 ClassSymbol sym = packageClassesBySimpleName.get(packageName, lookupKey.first().value());
235 return sym != null ? new LookupResult(sym, lookupKey) : null;
DTypeBinder.java95 public LookupResult lookup(LookupKey lookupKey) { in lookup() argument
96 Symbol sym = tps.get(lookupKey.first().value()); in lookup()
97 return sym != null ? new LookupResult(sym, lookupKey) : null; in lookup()
/external/cldr/tools/java/org/unicode/cldr/util/
DSimpleFactory.java336 … SimpleFactoryLookupKey lookupKey = new SimpleFactoryLookupKey(sourceDirPathName, matchString); in make() local
340 SimpleFactoryCacheKey key2 = factoryLookupMap.getIfPresent(lookupKey); in make()
350 factoryLookupMap.put(lookupKey, key); in make()