Modifier and Type | Field and Description |
---|---|
protected java.util.Map |
loadedLibraries |
BACKQUOTE, BEGIN, bundles, caseSensitive, 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
Constructor and Description |
---|
LibraryManager(AppContext ctx) |
Modifier and Type | Method and Description |
---|---|
void |
addLibrary(Library l) |
void |
addLibrary(java.lang.String name,
java.net.URL l) |
Expression |
getExpression(Symbol name) |
boolean |
loadLibrary(java.lang.String name) |
LibraryBinding |
lookupBinding(Expression e)
Returns the reference to a binding in the active libraries, or null
if the provided expression isn't an entry point in any library.
|
Expression |
resolveBinding(LibraryBinding lb)
Returns an expression from an external library
|
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
public LibraryManager(AppContext ctx)
public Expression getExpression(Symbol name) throws java.io.IOException
java.io.IOException
public LibraryBinding lookupBinding(Expression e) throws java.io.IOException
java.io.IOException
public void addLibrary(Library l)
public void addLibrary(java.lang.String name, java.net.URL l)
public boolean loadLibrary(java.lang.String name)
public Expression resolveBinding(LibraryBinding lb) throws java.io.IOException
java.io.IOException