|
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.StandardLispAtom org.jatha.dynatype.StandardLispSymbol org.jatha.dynatype.StandardLispConstant org.jatha.dynatype.StandardLispKeyword
public class StandardLispKeyword
A keyword is a constant (symbol) which evaluates to itself.
Field Summary |
---|
Fields inherited from class org.jatha.dynatype.StandardLispSymbol |
---|
f_documentation, f_function, f_isExternalInPackage, f_isSpecial, f_mixedCase, f_name, f_package, f_plist, f_specialCount, f_value |
Fields inherited from class org.jatha.dynatype.StandardLispValue |
---|
f_lisp |
Constructor Summary | |
---|---|
StandardLispKeyword()
|
|
StandardLispKeyword(Jatha lisp,
LispString symbolNameString)
|
|
StandardLispKeyword(Jatha lisp,
String symbolName)
|
Method Summary | |
---|---|
boolean |
basic_constantp()
Returns Java true if the object is a constant. |
boolean |
basic_keywordp()
Returns Java true if the object is a keyword. |
LispValue |
keywordp()
Returns T if the object is a keyword. |
LispValue |
setf_symbol_value(LispValue newValue)
Sets the value of a symbol. |
Object |
toJava()
Returns a String containing the printed equivalent of this keyword. |
String |
toString()
Returns this symbol as a string, including the package. |
String |
toStringSimple()
Strips or-bars from a LispSymbol name. |
Methods inherited from class org.jatha.dynatype.StandardLispSymbol |
---|
adjustSpecialCount, apply, apropos_print, basic_symbolp, boundp, documentation, equals, externalP, fboundp, funcall, get_specialCount, internal_getName, internal_prin1, internal_princ, internal_print, pop, push, set_special, setExternal, setf_documentation, setf_symbol_function, setf_symbol_plist, setPackage, setq, specialP, string, symbol_function, symbol_name, symbol_package, symbol_plist, symbol_value, symbolp, type_of, typep |
Methods inherited from class org.jatha.dynatype.StandardLispAtom |
---|
atom, basic_atom |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jatha.dynatype.LispSymbol |
---|
externalP, setExternal |
Constructor Detail |
---|
public StandardLispKeyword()
public StandardLispKeyword(Jatha lisp, String symbolName)
public StandardLispKeyword(Jatha lisp, LispString symbolNameString)
Method Detail |
---|
public boolean basic_constantp()
LispValue
basic_constantp
in interface LispValue
basic_constantp
in class StandardLispConstant
public boolean basic_keywordp()
LispValue
basic_keywordp
in interface LispValue
basic_keywordp
in class StandardLispValue
public Object toJava()
toJava
in interface LispValue
toJava
in class StandardLispSymbol
public String toString()
StandardLispSymbol
toString
in interface LispValue
toString
in class StandardLispSymbol
public String toStringSimple()
StandardLispSymbol
toStringSimple
in interface LispValue
toStringSimple
in class StandardLispSymbol
public LispValue keywordp()
LispValue
keywordp
in interface LispValue
keywordp
in class StandardLispValue
public LispValue setf_symbol_value(LispValue newValue)
LispValue
setf_symbol_value
in interface LispValue
setf_symbol_value
in class StandardLispConstant
|
Jatha Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |