Package com.google.turbine.binder.lookup
Class CompoundScope
- java.lang.Object
-
- com.google.turbine.binder.lookup.CompoundScope
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CompoundScopeappend(Scope scope)Adds a scope to the chain.static CompoundScopebase(Scope scope)A chainable compound scope with a single entry.@Nullable LookupResultlookup(LookupKey key)Performs qualified name lookup on the givenLookupKey, and returns either aLookupResultor elsenullindicating that the name could not be resolved.
-
-
-
Method Detail
-
lookup
public @Nullable LookupResult lookup(LookupKey key)
Description copied from interface:ScopePerforms qualified name lookup on the givenLookupKey, and returns either aLookupResultor elsenullindicating that the name could not be resolved.
-
append
public CompoundScope append(Scope scope)
Adds a scope to the chain.
-
base
public static CompoundScope base(Scope scope)
A chainable compound scope with a single entry.
-
-