| pnuts.compiler.ClassFileHandler
All known Subclasses: org.pnuts.lang.ClassFileLoader, pnuts.compiler.FileWriterHandler, pnuts.compiler.ZipWriterHandler,
ClassFileHandler | public interface ClassFileHandler (Code) | | This interface defines an abstract interface to get a result of compilation.
This interface is used by the following methods.
- Compiler.compile(Pnuts, ClassFileHandler)
- Compiler.compile(String, ClassFileHandler)
- Compiler.compile(PnutsFunction, ClassFileHandler)
|
Method Summary | |
public Object | handle(ClassFile cf) This method is called with each compiled class file when
Compiler.compile(Pnuts, ClassFileHandler) method is called. |
handle | public Object handle(ClassFile cf)(Code) | | This method is called with each compiled class file when
Compiler.compile(Pnuts, ClassFileHandler) method is called. The first
class file is supposed to be of pnuts.lang.Executable subclass. The
compiled code can be executed with Executable.run(Context) method.
|
|
|