|
Jatha Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 LispValueinternal_princ in class StandardLispValuepublic void internal_princ_as_cdr(PrintStream os)
internal_princ_as_cdr in interface LispValueinternal_princ_as_cdr in class StandardLispValuepublic void internal_prin1(PrintStream os)
internal_prin1 in interface LispValueinternal_prin1 in class StandardLispValuepublic void internal_prin1_as_cdr(PrintStream os)
internal_prin1_as_cdr in interface LispValueinternal_prin1_as_cdr in class StandardLispValuepublic void internal_print(PrintStream os)
internal_print in interface LispValueinternal_print in class StandardLispValuepublic void internal_print_as_cdr(PrintStream os)
internal_print_as_cdr in interface LispValueinternal_print_as_cdr in class StandardLispValuepublic void apropos_print(PrintStream out)
public LispValue constantp()
LispValue
constantp in interface LispValueconstantp in class StandardLispValuepublic String toString()
StandardLispValuetoString() returns a printed representation
of the form (as printed by (prin1)) in
a Java string.
toString in interface LispValuetoString in class StandardLispValuepublic String toStringAsCdr()
toStringAsCdr in interface LispValuetoStringAsCdr in class StandardLispValuepublic boolean basic_atom()
LispValue
basic_atom in interface LispValuebasic_atom in class StandardLispValuepublic boolean basic_consp()
LispValue
basic_consp in interface LispValuebasic_consp in class StandardLispConsOrNilpublic boolean basic_constantp()
LispValue
basic_constantp in interface LispValuebasic_constantp in class StandardLispValuepublic int basic_length()
LispValue
basic_length in interface LispValuebasic_length in class StandardLispValuepublic boolean basic_symbolp()
LispValue
basic_symbolp in interface LispValuebasic_symbolp in class StandardLispValuepublic boolean basic_null()
LispValue
basic_null in interface LispValuebasic_null in class StandardLispValuepublic void setPackage(LispPackage newPackage)
setPackage in interface LispValuesetPackage in class StandardLispValuepublic LispValue append(LispValue otherList)
LispValue
append in interface LispValueappend in class StandardLispValuepublic LispValue assoc(LispValue index)
LispValue
assoc in interface LispValueassoc in class StandardLispValuepublic LispValue atom()
LispValue
atom in interface LispValueatom in class StandardLispValuepublic LispValue boundp()
LispValue
boundp in interface LispValueboundp in class StandardLispValuepublic LispValue butlast()
LispValue
butlast in interface LispValuebutlast in class StandardLispConsOrNilpublic LispValue car()
LispValue
car in interface LispValuecar in class StandardLispValuepublic LispValue cdr()
LispValue
cdr in interface LispValuecdr in class StandardLispValuepublic LispValue copy_list()
LispValue
copy_list in interface LispValuecopy_list in class StandardLispValuepublic LispValue elt(LispValue index)
LispValue
elt in interface LispValueelt in class StandardLispConsOrNilpublic LispValue first()
LispValue
first in interface LispValuefirst in class StandardLispValuepublic LispValue second()
LispValue
second in interface LispValuesecond in class StandardLispValuepublic LispValue third()
LispValue
third in interface LispValuethird in class StandardLispValuepublic LispValue fourth()
LispValue
fourth in interface LispValuefourth in class StandardLispValuepublic LispValue fifth()
LispValue
fifth in interface LispValuefifth in class StandardLispValuepublic LispValue sixth()
LispValue
sixth in interface LispValuesixth in class StandardLispValuepublic LispValue seventh()
LispValue
seventh in interface LispValueseventh in class StandardLispValuepublic LispValue eighth()
LispValue
eighth in interface LispValueeighth in class StandardLispValuepublic LispValue ninth()
LispValue
ninth in interface LispValueninth in class StandardLispValuepublic LispValue tenth()
LispValue
tenth in interface LispValuetenth in class StandardLispValuepublic LispValue last()
LispValue
last in interface LispValuelast in class StandardLispValuepublic LispValue length()
LispValue
length in interface LispValuelength in class StandardLispConsOrNilpublic LispValue member(LispValue elt)
LispValue
member in interface LispValuemember in class StandardLispValuepublic LispValue nreverse(LispValue index)
public LispValue lisp_null()
LispValue
lisp_null in interface LispValuelisp_null in class StandardLispValuepublic LispValue rassoc(LispValue index)
LispValue
rassoc in interface LispValuerassoc in class StandardLispValuepublic LispValue remove(LispValue elt)
LispValue
remove in interface LispValueremove in class StandardLispValuepublic LispValue rest()
StandardLispValue
rest in interface LispValuerest in class StandardLispValuepublic LispValue reverse(LispValue elt)
public LispValue rplaca(LispValue newCar)
LispValue
rplaca in interface LispValuerplaca in class StandardLispValuepublic LispValue rplacd(LispValue newCdr)
LispValue
rplacd in interface LispValuerplacd in class StandardLispValuepublic LispValue setf_symbol_function(LispValue newFunction)
LispValue
setf_symbol_function in interface LispValuesetf_symbol_function in class StandardLispValuepublic LispValue setf_symbol_value(LispValue newValue)
LispValue
setf_symbol_value in interface LispValuesetf_symbol_value in class StandardLispValuepublic LispValue symbol_name()
LispValue
symbol_name in interface LispValuesymbol_name in class StandardLispValuepublic LispValue symbol_package()
LispValue
symbol_package in interface LispValuesymbol_package in class StandardLispValuepublic LispValue symbol_plist()
LispValue
symbol_plist in interface LispValuesymbol_plist in class StandardLispValuepublic LispValue symbol_value()
LispValue
symbol_value in interface LispValuesymbol_value in class StandardLispValuepublic LispValue symbolp()
LispValue
symbolp in interface LispValuesymbolp in class StandardLispValue
public LispValue subst(LispValue oldValue,
LispValue newValue)
LispValue
subst in interface LispValuesubst in class StandardLispValuepublic LispValue type_of()
type_of in interface LispValuetype_of in class StandardLispValuepublic LispValue typep(LispValue type)
typep in interface LispValuetypep in class StandardLispValue
|
Jatha Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||