resolve resources to parse
throw CompilerException if called unregistered class