polyglot.types
Class EmptyResolver

java.lang.Object
  extended by polyglot.types.EmptyResolver
All Implemented Interfaces:
Resolver

public class EmptyResolver
extends java.lang.Object
implements Resolver

An EmptyResolver is a resolver that always fails.


Field Summary
protected  java.lang.String kind
           
 
Constructor Summary
EmptyResolver()
           
EmptyResolver(java.lang.String kind)
           
 
Method Summary
 Named find(java.lang.String name)
          Find a type object by name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kind

protected java.lang.String kind
Constructor Detail

EmptyResolver

public EmptyResolver()

EmptyResolver

public EmptyResolver(java.lang.String kind)
Method Detail

find

public Named find(java.lang.String name)
           throws SemanticException
Find a type object by name.

Specified by:
find in interface Resolver
Throws:
SemanticException