|
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.StandardLispAtom
org.jatha.dynatype.StandardLispCharacter
public class StandardLispCharacter
| Field Summary | |
|---|---|
private char |
value
|
| Fields inherited from class org.jatha.dynatype.StandardLispValue |
|---|
f_lisp |
| Constructor Summary | |
|---|---|
StandardLispCharacter()
|
|
StandardLispCharacter(Jatha lisp)
|
|
StandardLispCharacter(Jatha lisp,
char theChar)
|
|
| Method Summary | |
|---|---|
boolean |
basic_constantp()
Returns Java true if the object is a constant. |
LispValue |
characterp()
Returns T if the object is a Character. |
LispValue |
constantp()
Returns T if the object is a constant. |
LispValue |
eql(LispValue val)
Returns T if the argument is EQ to the object or if the arguments and object are numbers with equal values. |
LispValue |
equal(LispValue val)
Returns T if the argument is EQL or if two strings are STRING= or if two trees have EQUAL subtrees. |
char |
getCharacterValue()
|
(package private) char |
getValue()
|
void |
internal_prin1(PrintStream os)
|
void |
internal_princ(PrintStream os)
|
void |
internal_print(PrintStream os)
|
LispValue |
string()
Converts a String, Symbol or Character to a string. |
Object |
toJava()
Returns a Java Character containing this object. |
String |
toString()
toString() returns a printed representation
of the form (as printed by (prin1)) in
a Java string. |
LispValue |
type_of()
|
LispValue |
typep(LispValue type)
|
| 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 |
| Field Detail |
|---|
private char value
| Constructor Detail |
|---|
public StandardLispCharacter()
public StandardLispCharacter(Jatha lisp,
char theChar)
public StandardLispCharacter(Jatha lisp)
| Method Detail |
|---|
public void internal_princ(PrintStream os)
internal_princ in interface LispValueinternal_princ in class StandardLispValuepublic void internal_prin1(PrintStream os)
internal_prin1 in interface LispValueinternal_prin1 in class StandardLispValuepublic void internal_print(PrintStream os)
internal_print in interface LispValueinternal_print in class StandardLispValuechar getValue()
public Object toJava()
toJava in interface LispValuetoJava 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 boolean basic_constantp()
LispValue
basic_constantp in interface LispValuebasic_constantp in class StandardLispValuepublic LispValue characterp()
LispValue
characterp in interface LispValuecharacterp in class StandardLispValuepublic LispValue constantp()
LispValue
constantp in interface LispValueconstantp in class StandardLispValuepublic LispValue eql(LispValue val)
LispValue
eql in interface LispValueeql in class StandardLispValuepublic LispValue equal(LispValue val)
LispValue
equal in interface LispValueequal in class StandardLispValuepublic LispValue string()
string in interface LispValuestring 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 StandardLispAtompublic char getCharacterValue()
getCharacterValue in interface LispCharacter
|
Jatha Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||