sisc.env
Class DynamicEnvironment
java.lang.Object
sisc.util.Util
sisc.env.DynamicEnvironment
- All Implemented Interfaces:
- java.lang.Cloneable, Version
public class DynamicEnvironment
- extends Util
- implements java.lang.Cloneable
Fields inherited from class sisc.util.Util |
BACKQUOTE, BEGIN, bundles, EMPTYLIST, EMPTYVEC, EOF, ERRORK, EVAL, EXPSC, EXPTOP, FALSE, FCONT, FIVE, JEXCEPTION, LAMBDA, LOCATION, maxFloatPrecision, MESSAGE, minFloatPrecision, NAME, OTHER, PARENT, permitInterrupts, QUOTE, QUOTESYM, REPORT, SETBANG, SISC, SISC_SPECIFIC, SISCB, SOURCE_COLUMN, SOURCE_FILE, SOURCE_LINE, SYMENV, THIS, TOPLEVEL, TRUE, UNQUOTE, UNQUOTE_SPLICING, VOID, ZV |
Methods inherited from class sisc.util.Util |
annotated, annotatedAppEval, append, argCheck, argsToSymbols, assq, bininport, bininstream, binoutport, binoutstream, box, character, charinport, charinreader, charoutport, charoutwriter, charsetFromString, chr, cont, currentClassLoader, env, error, error, error, error, error, error, error, expr, getDefaultCharacterSet, immutablePair, immutableVector, inport, javaExceptionToString, javaWrap, justify, length, liMessage, liMessage, liMessage, liMessage, liMessage, liMessage, liMessage, list, list, list, list, list, makeURL, mapcar, memq, nlib, num, outport, pair, pairToExpressions, pairToExpVect, pairToValues, proc, read, registerBundle, reverse, reverseInPlace, simpleErrorToString, sourceAnnotations, str, string, sym, symbol, symval, truePair, truth, truth, typeError, typeError, updateName, url, url, url, valArrayToList, valArrayToList, valArrayToVec, vec, warn, warn, warn |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ctx
public final AppContext ctx
in
public Value in
out
public Value out
sourceAnnotations
public Pair sourceAnnotations
characterSet
public Charset characterSet
caseSensitive
public boolean caseSensitive
printShared
public boolean printShared
vectorLengthPrefixing
public boolean vectorLengthPrefixing
emitDebuggingSymbols
public boolean emitDebuggingSymbols
permissiveParsing
public boolean permissiveParsing
hedgedInlining
public boolean hedgedInlining
internalDebugging
public boolean internalDebugging
synopsisLength
public int synopsisLength
maxStackTraceDepth
public int maxStackTraceDepth
wind
public Value wind
parser
public Parser parser
parameters
public java.util.Map parameters
DynamicEnvironment
public DynamicEnvironment(AppContext ctx)
DynamicEnvironment
public DynamicEnvironment(AppContext ctx,
java.io.InputStream in,
java.io.OutputStream out)
getCurrentInPort
public Value getCurrentInPort()
getCurrentInReader
public java.io.Reader getCurrentInReader()
getCurrentOutPort
public Value getCurrentOutPort()
getCurrentOutWriter
public java.io.Writer getCurrentOutWriter()
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
copy
public DynamicEnvironment copy()
bind
public void bind()
- Binds this DynamicEnvironment to the current thread.
DynamicEnvironments must not be used across different
threads. This method enforces this. It also initialises the
DynamicEnvironments's class loader, which, if the security
permissions allow it, will have the current thread's context
class loader as a parent.
getClassLoader
public java.lang.ClassLoader getClassLoader()
getClassPath
public java.net.URL[] getClassPath()
extendClassPath
public void extendClassPath(java.net.URL url)
getInputPort
public Value getInputPort()
setInputPort
public void setInputPort(Value v)
getOutputPort
public Value getOutputPort()
setOutputPort
public void setOutputPort(Value v)
getSourceAnnotations
public Value getSourceAnnotations()
setSourceAnnotations
public void setSourceAnnotations(Value v)
getCharacterSet
public Charset getCharacterSet()
setCharacterSet
public void setCharacterSet(Value v)
getCaseSensitive
public Value getCaseSensitive()
setCaseSensitive
public void setCaseSensitive(Value v)
getPrintShared
public Value getPrintShared()
setPrintShared
public void setPrintShared(Value v)
getVectorLengthPrefixing
public Value getVectorLengthPrefixing()
setVectorLengthPrefixing
public void setVectorLengthPrefixing(Value v)
getEmitDebuggingSymbols
public Value getEmitDebuggingSymbols()
setEmitDebuggingSymbols
public void setEmitDebuggingSymbols(Value v)
getPermissiveParsing
public Value getPermissiveParsing()
setPermissiveParsing
public void setPermissiveParsing(Value v)
getHedgedInlining
public Value getHedgedInlining()
setHedgedInlining
public void setHedgedInlining(Value v)
getInternalDebugging
public Value getInternalDebugging()
setInternalDebugging
public void setInternalDebugging(Value v)
getSynopsisLength
public Value getSynopsisLength()
setSynopsisLength
public void setSynopsisLength(Value v)
getEmitAnnotations
public Value getEmitAnnotations()
setEmitAnnotations
public void setEmitAnnotations(Value v)
getStrictR5RSCompliance
public Value getStrictR5RSCompliance()
setStrictR5RSCompliance
public void setStrictR5RSCompliance(Value v)
getMaxStackTraceDepthAsInt
public int getMaxStackTraceDepthAsInt()
getMaxStackTraceDepth
public Value getMaxStackTraceDepth()
setMaxStackTraceDepth
public void setMaxStackTraceDepth(Value v)