|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpolyglot.types.CompoundResolver
An CompoundResolver resolves names using more than one
context.
| Constructor Summary | |
CompoundResolver(TopLevelResolver head,
TopLevelResolver tail)
Create a compound resolver. |
|
| Method Summary | |
Named |
find(java.lang.String name)
Find a type object by name. |
boolean |
packageExists(java.lang.String name)
Check if a package exists. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CompoundResolver(TopLevelResolver head,
TopLevelResolver tail)
head - The first resolver to search.tail - The second resolver to search.| Method Detail |
public java.lang.String toString()
public boolean packageExists(java.lang.String name)
packageExists in interface TopLevelResolver
public Named find(java.lang.String name)
throws SemanticException
find in interface ResolverSemanticException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||