|
Jatha Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LispPackage
An implementation of ANSI Common LISP packages, including defpackage, export, import, etc.
Jatha
Method Summary | |
---|---|
LispValue |
addSymbol(LispString name,
LispValue symbol)
Returns the symbol after it is added to the package. |
LispValue |
export(LispValue symbols)
Declares the symbol or symbols as exported symbols. |
LispValue |
getExternalSymbol(LispString str)
Returns the external symbol with the given name |
LispString |
getName()
Returns the name of this package as a LispString. |
LispValue |
getNicknames()
Returns a list of the nicknames of this package. |
LispValue |
getSymbol(LispString str)
Returns the symbol with the given name. |
SymbolTable |
getSymbolTable()
Returns the symbol table for this package. |
LispValue |
getUses()
Returns a list of package names that this package uses. |
void |
setNicknames(LispValue nicknames)
|
void |
setUses(LispValue uses)
Sets the uses for this package. |
Method Detail |
---|
LispString getName()
LispValue getNicknames()
LispValue getExternalSymbol(LispString str)
str
- a LispString corresponding to the symbol.SymbolTable getSymbolTable()
LispValue getSymbol(LispString str)
str
- LispValue export(LispValue symbols)
LispValue addSymbol(LispString name, LispValue symbol)
name
- symbol
- LispValue getUses()
void setUses(LispValue uses)
uses
- the uses of this packagevoid setNicknames(LispValue nicknames)
|
Jatha Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |