|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--pnuts.lang.Context | +--pnuts.compiler.CompileContext
This class is used with pnuts.compiler.Compiler class to compile Pnuts scripts.
Compiler
,
Context
Fields inherited from class pnuts.lang.Context |
autoloadTable, beginLine, defaultErrorStream, defaultOutputStream, defaultTerminalStream, depth, endLine, environment, importedFunctions, importEnv, loadingResource, provideTable, unitTable, usedPackage |
Constructor Summary | |
CompileContext()
|
Method Summary | |
java.lang.Object |
clone()
Make a clone of the context |
ClassFile |
getClassFile()
Get the primary class file |
java.util.Enumeration |
getClassFiles()
Enumerate related class files. |
void |
write(java.io.DataOutputStream out)
|
Methods inherited from class pnuts.lang.Context |
autoload, autoload, clone, close, defined, get, getClassLoader, getCurrentPackage, getErrorStream, getId, getName, getOutputStream, getPnutsImpl, getScriptSource, getTerminalStream, keys, onError, onExit, open, registerQuantityFactory, set, setClassLoader, setCurrentPackage, setErrorStream, setErrorStream, setName, setOutputStream, setOutputStream, setPnutsImpl, setTerminalStream, setTerminalStream, setValue, undefinedHook, updateLine, updateLine, usedPackages, usePackage |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CompileContext()
Method Detail |
public ClassFile getClassFile()
public java.util.Enumeration getClassFiles()
public void write(java.io.DataOutputStream out) throws java.io.IOException
public java.lang.Object clone()
Context
clone
in class Context
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |