|
Jatha Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jatha.dynatype.StandardLispValue org.jatha.dynatype.StandardLispConsOrNil org.jatha.dynatype.StandardLispNIL
public class StandardLispNIL
Field Summary | |
---|---|
private LispValue |
function
|
private LispString |
name
|
private LispValue |
pack
|
private LispValue |
plist
|
private LispValue |
value
|
Fields inherited from class org.jatha.dynatype.StandardLispValue |
---|
f_lisp |
Constructor Summary | |
---|---|
StandardLispNIL()
|
|
StandardLispNIL(Jatha lisp,
LispString symbolNameString)
|
|
StandardLispNIL(Jatha lisp,
String symbolName)
|
Method Summary | |
---|---|
LispValue |
append(LispValue otherList)
Append two lists together. |
void |
apropos_print(PrintStream out)
|
LispValue |
assoc(LispValue index)
Look up a value in an association list. |
LispValue |
atom()
Returns T if the object is an atom. |
boolean |
basic_atom()
Returns Java true if the object is an atom. |
boolean |
basic_consp()
Returns Java true if the object is a CONS cell. |
boolean |
basic_constantp()
Returns Java true if the object is a constant. |
int |
basic_length()
Returns the Java length of a list or string. |
boolean |
basic_null()
Returns Java true if the object is NIL. |
boolean |
basic_symbolp()
Returns Java true if the object is a symbol. |
LispValue |
boundp()
Returns T if the symbol has been assigned a value. |
LispValue |
butlast()
Returns all but the last of the elements of a list. |
LispValue |
car()
Returns the first element of a list. |
LispValue |
cdr()
Returns all but the first element of a list. |
LispValue |
constantp()
Returns T if the object is a constant. |
LispValue |
copy_list()
Returns a copy of the top level of a list. |
LispValue |
eighth()
Returns the 8th element of a list. |
LispValue |
elt(LispValue index)
Returns the nth element of a list. |
LispValue |
fifth()
Returns the fifth element of a list, or NIL if the list is shorter than 5 elements. |
LispValue |
first()
Returns the first element of a list. |
LispValue |
fourth()
Returns the 4th element of a list, or NIL if the list is shorter than 4 elements. |
void |
internal_prin1_as_cdr(PrintStream os)
|
void |
internal_prin1(PrintStream os)
|
void |
internal_princ_as_cdr(PrintStream os)
|
void |
internal_princ(PrintStream os)
|
void |
internal_print_as_cdr(PrintStream os)
|
void |
internal_print(PrintStream os)
|
LispValue |
last()
Returns the last cons cell in a list. |
LispValue |
length()
Returns the length of a list or string. |
LispValue |
lisp_null()
Returns T if the object is NIL. |
LispValue |
member(LispValue elt)
Returns the tail of the list starting at the given element. |
LispValue |
ninth()
Returns the ninth element of a list, or NIL if the list is shorter than nine elements. |
LispValue |
nreverse(LispValue index)
|
LispValue |
rassoc(LispValue index)
Like ASSOC except it matches the CDR of the cell instead of the CAR. |
LispValue |
remove(LispValue elt)
Returns a copy of a list without all copies of the given element. |
LispValue |
rest()
Synonym for CDR. |
LispValue |
reverse(LispValue elt)
|
LispValue |
rplaca(LispValue newCar)
Replaces the CAR of a CONS cell. |
LispValue |
rplacd(LispValue newCdr)
Replaces the CDR of a CONS cell. |
LispValue |
second()
Returns the second element of a list or NIL if the list is shorter than two elements. |
LispValue |
setf_symbol_function(LispValue newFunction)
Sets the function of a symbol. |
LispValue |
setf_symbol_value(LispValue newValue)
Sets the value of a symbol. |
void |
setPackage(LispPackage newPackage)
|
LispValue |
seventh()
Returns the seventh element of a list or NIL if the list is shorter than seven elements. |
LispValue |
sixth()
Returns the sixth element of a list or NIL if the list is shorter than six elements. |
LispValue |
subst(LispValue oldValue,
LispValue newValue)
Replaces all oldValues in a tree with newValue. |
LispValue |
symbol_name()
Returns a string containing the name of a symbol. |
LispValue |
symbol_package()
Returns the package of a symbol. |
LispValue |
symbol_plist()
Returns the property list of a symbol. |
LispValue |
symbol_value()
Returns the value of a symbol. |
LispValue |
symbolp()
Returns T if the object is a symbol. |
LispValue |
tenth()
Returns the tenth element of a list or NIL if the list is less than ten elements long. |
LispValue |
third()
Returns the third element of a list or NIL if the list is less than three elements long. |
String |
toString()
toString() returns a printed representation
of the form (as printed by (prin1) ) in
a Java string. |
String |
toStringAsCdr()
|
LispValue |
type_of()
|
LispValue |
typep(LispValue type)
|
Methods inherited from class org.jatha.dynatype.StandardLispConsOrNil |
---|
basic_listp, iterator, listp, nconc, nreverse, pop, position, reverse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private LispString name
private LispValue value
private LispValue plist
private LispValue function
private LispValue pack
Constructor Detail |
---|
public StandardLispNIL()
public StandardLispNIL(Jatha lisp, String symbolName)
public StandardLispNIL(Jatha lisp, LispString symbolNameString)
Method Detail |
---|
public void internal_princ(PrintStream os)
internal_princ
in interface LispValue
internal_princ
in class StandardLispValue
public void internal_princ_as_cdr(PrintStream os)
internal_princ_as_cdr
in interface LispValue
internal_princ_as_cdr
in class StandardLispValue
public void internal_prin1(PrintStream os)
internal_prin1
in interface LispValue
internal_prin1
in class StandardLispValue
public void internal_prin1_as_cdr(PrintStream os)
internal_prin1_as_cdr
in interface LispValue
internal_prin1_as_cdr
in class StandardLispValue
public void internal_print(PrintStream os)
internal_print
in interface LispValue
internal_print
in class StandardLispValue
public void internal_print_as_cdr(PrintStream os)
internal_print_as_cdr
in interface LispValue
internal_print_as_cdr
in class StandardLispValue
public void apropos_print(PrintStream out)
public LispValue constantp()
LispValue
constantp
in interface LispValue
constantp
in class StandardLispValue
public String toString()
StandardLispValue
toString()
returns a printed representation
of the form (as printed by (prin1)
) in
a Java string.
toString
in interface LispValue
toString
in class StandardLispValue
public String toStringAsCdr()
toStringAsCdr
in interface LispValue
toStringAsCdr
in class StandardLispValue
public boolean basic_atom()
LispValue
basic_atom
in interface LispValue
basic_atom
in class StandardLispValue
public boolean basic_consp()
LispValue
basic_consp
in interface LispValue
basic_consp
in class StandardLispConsOrNil
public boolean basic_constantp()
LispValue
basic_constantp
in interface LispValue
basic_constantp
in class StandardLispValue
public int basic_length()
LispValue
basic_length
in interface LispValue
basic_length
in class StandardLispValue
public boolean basic_symbolp()
LispValue
basic_symbolp
in interface LispValue
basic_symbolp
in class StandardLispValue
public boolean basic_null()
LispValue
basic_null
in interface LispValue
basic_null
in class StandardLispValue
public void setPackage(LispPackage newPackage)
setPackage
in interface LispValue
setPackage
in class StandardLispValue
public LispValue append(LispValue otherList)
LispValue
append
in interface LispValue
append
in class StandardLispValue
public LispValue assoc(LispValue index)
LispValue
assoc
in interface LispValue
assoc
in class StandardLispValue
public LispValue atom()
LispValue
atom
in interface LispValue
atom
in class StandardLispValue
public LispValue boundp()
LispValue
boundp
in interface LispValue
boundp
in class StandardLispValue
public LispValue butlast()
LispValue
butlast
in interface LispValue
butlast
in class StandardLispConsOrNil
public LispValue car()
LispValue
car
in interface LispValue
car
in class StandardLispValue
public LispValue cdr()
LispValue
cdr
in interface LispValue
cdr
in class StandardLispValue
public LispValue copy_list()
LispValue
copy_list
in interface LispValue
copy_list
in class StandardLispValue
public LispValue elt(LispValue index)
LispValue
elt
in interface LispValue
elt
in class StandardLispConsOrNil
public LispValue first()
LispValue
first
in interface LispValue
first
in class StandardLispValue
public LispValue second()
LispValue
second
in interface LispValue
second
in class StandardLispValue
public LispValue third()
LispValue
third
in interface LispValue
third
in class StandardLispValue
public LispValue fourth()
LispValue
fourth
in interface LispValue
fourth
in class StandardLispValue
public LispValue fifth()
LispValue
fifth
in interface LispValue
fifth
in class StandardLispValue
public LispValue sixth()
LispValue
sixth
in interface LispValue
sixth
in class StandardLispValue
public LispValue seventh()
LispValue
seventh
in interface LispValue
seventh
in class StandardLispValue
public LispValue eighth()
LispValue
eighth
in interface LispValue
eighth
in class StandardLispValue
public LispValue ninth()
LispValue
ninth
in interface LispValue
ninth
in class StandardLispValue
public LispValue tenth()
LispValue
tenth
in interface LispValue
tenth
in class StandardLispValue
public LispValue last()
LispValue
last
in interface LispValue
last
in class StandardLispValue
public LispValue length()
LispValue
length
in interface LispValue
length
in class StandardLispConsOrNil
public LispValue member(LispValue elt)
LispValue
member
in interface LispValue
member
in class StandardLispValue
public LispValue nreverse(LispValue index)
public LispValue lisp_null()
LispValue
lisp_null
in interface LispValue
lisp_null
in class StandardLispValue
public LispValue rassoc(LispValue index)
LispValue
rassoc
in interface LispValue
rassoc
in class StandardLispValue
public LispValue remove(LispValue elt)
LispValue
remove
in interface LispValue
remove
in class StandardLispValue
public LispValue rest()
StandardLispValue
rest
in interface LispValue
rest
in class StandardLispValue
public LispValue reverse(LispValue elt)
public LispValue rplaca(LispValue newCar)
LispValue
rplaca
in interface LispValue
rplaca
in class StandardLispValue
public LispValue rplacd(LispValue newCdr)
LispValue
rplacd
in interface LispValue
rplacd
in class StandardLispValue
public LispValue setf_symbol_function(LispValue newFunction)
LispValue
setf_symbol_function
in interface LispValue
setf_symbol_function
in class StandardLispValue
public LispValue setf_symbol_value(LispValue newValue)
LispValue
setf_symbol_value
in interface LispValue
setf_symbol_value
in class StandardLispValue
public LispValue symbol_name()
LispValue
symbol_name
in interface LispValue
symbol_name
in class StandardLispValue
public LispValue symbol_package()
LispValue
symbol_package
in interface LispValue
symbol_package
in class StandardLispValue
public LispValue symbol_plist()
LispValue
symbol_plist
in interface LispValue
symbol_plist
in class StandardLispValue
public LispValue symbol_value()
LispValue
symbol_value
in interface LispValue
symbol_value
in class StandardLispValue
public LispValue symbolp()
LispValue
symbolp
in interface LispValue
symbolp
in class StandardLispValue
public LispValue subst(LispValue oldValue, LispValue newValue)
LispValue
subst
in interface LispValue
subst
in class StandardLispValue
public LispValue type_of()
type_of
in interface LispValue
type_of
in class StandardLispValue
public LispValue typep(LispValue type)
typep
in interface LispValue
typep
in class StandardLispValue
|
Jatha Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |