Modifier and Type | Field and Description |
---|---|
protected BlockDeserializer |
lib |
protected java.lang.String |
name |
protected java.util.Map |
names |
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 |
---|
Library(java.lang.String name,
BlockDeserializer lib,
java.util.Map names) |
Modifier and Type | Method and Description |
---|---|
int |
getEntryPoint(Symbol name) |
Expression |
getExpression(int oid) |
Expression |
getExpression(Symbol name) |
Expression |
getLocalExpression(Symbol name) |
java.lang.String |
getName() |
static Library |
load(AppContext ctx,
SeekableDataInputStream di) |
static Library |
load(AppContext ctx,
java.net.URL u) |
int |
reverseLookup(Expression e)
Given an expression, return the entry point id of the expression if any, -1 otherwise.
|
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
protected java.lang.String name
protected BlockDeserializer lib
protected java.util.Map names
public Library(java.lang.String name, BlockDeserializer lib, java.util.Map names)
public static Library load(AppContext ctx, java.net.URL u) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public static Library load(AppContext ctx, SeekableDataInputStream di) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public int getEntryPoint(Symbol name)
public Expression getLocalExpression(Symbol name) throws java.io.IOException
java.io.IOException
public Expression getExpression(Symbol name) throws java.io.IOException
java.io.IOException
public Expression getExpression(int oid) throws java.io.IOException
java.io.IOException
public java.lang.String getName()
public int reverseLookup(Expression e)