pnuts.trans
Class CompileContext

java.lang.Object
  |
  +--pnuts.lang.Context
        |
        +--pnuts.trans.CompileContext

public class CompileContext
extends Context

This class is used with pnuts.trans.Translator class to translate Pnuts scripts to a Java class.

See Also:
Translator, Context

Fields inherited from class pnuts.lang.Context
beginLine, defaultErrorStream, defaultOutputStream, defaultTerminalStream, importEnv, loadingResource
 
Constructor Summary
CompileContext()
           
 
Method Summary
 java.lang.Object clone()
          Make a clone of the context
 void writeTo(java.io.Writer out)
           
 
Methods inherited from class pnuts.lang.Context
_getId, defined, get, getCurrentPackage, getErrorStream, getId, getName, getOutputStream, getTerminalStream, set, setErrorStream, setErrorStream, setName, setOutputStream, setOutputStream, setTerminalStream, setTerminalStream
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompileContext

public CompileContext()
Method Detail

writeTo

public void writeTo(java.io.Writer out)
             throws java.io.IOException

clone

public java.lang.Object clone()
Description copied from class: Context
Make a clone of the context
Overrides:
clone in class Context