|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.vub.at.objects.natives.NATNil
edu.vub.at.objects.natives.NATByCopy
edu.vub.at.objects.natives.grammar.NATAbstractGrammar
edu.vub.at.objects.natives.grammar.AGExpression
edu.vub.at.objects.natives.NATText
The native implementation of an AmbientTalk text string. A text string is implemented by a Java String.
| Field Summary | |
java.lang.String |
javaValue
|
| Fields inherited from class edu.vub.at.objects.natives.NATNil |
_INSTANCE_ |
| Constructor Summary | |
private |
NATText(java.lang.String javaString)
|
| Method Summary | |
char |
asChar()
|
NATText |
asNativeText()
|
static NATText |
atValue(java.lang.String javaString)
This method currently serves as a hook for text creation. |
ATNumber |
base__opltx__opeql__opgtx_(ATText other)
|
ATText |
base__oppls_(ATObject other)
|
ATBoolean |
base__optil__opeql_(ATText other)
|
ATTable |
base_explode()
Explodes a text string into a table of constinuent characters |
ATNil |
base_find_do_(ATText regexp,
ATClosure consumer)
|
ATNumber |
base_length()
|
ATText |
base_replace_by_(ATText regexp,
ATClosure transformer)
|
ATTable |
base_split(ATText regexp)
Split the string according to the given regular expression. |
ATText |
base_toLowerCase()
|
ATText |
base_toUpperCase()
|
boolean |
equals(java.lang.Object other)
By default, two AmbientTalk objects are equal if they are the same object, or one is a proxy for the same object. |
int |
hashCode()
|
boolean |
isNativeText()
|
ATTable |
meta_getStripes()
Returns the stripes of this object. |
NATText |
meta_print()
Prints out the object in a human-readable way. |
| Methods inherited from class edu.vub.at.objects.natives.grammar.AGExpression |
base_asExpression |
| Methods inherited from class edu.vub.at.objects.natives.NATByCopy |
meta_pass, meta_resolve |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.vub.at.objects.ATObject |
base__opeql__opeql_, base_init, base_new, meta_addField, meta_addMethod, meta_assignField, meta_assignVariable, meta_clone, meta_defineField, meta_doesNotUnderstand, meta_eval, meta_extend, meta_getDynamicParent, meta_getLexicalParent, meta_grabField, meta_grabMethod, meta_invoke, meta_isCloneOf, meta_isRelatedTo, meta_isStripedWith, meta_listFields, meta_listMethods, meta_lookup, meta_newInstance, meta_pass, meta_quote, meta_receive, meta_resolve, meta_respondsTo, meta_select, meta_send, meta_share |
| Field Detail |
public final java.lang.String javaValue
| Constructor Detail |
private NATText(java.lang.String javaString)
| Method Detail |
public static final NATText atValue(java.lang.String javaString)
public boolean isNativeText()
isNativeText in interface ATConversionsisNativeText in class NATNil
public NATText asNativeText()
throws XTypeMismatch
asNativeText in interface ATConversionsasNativeText in class NATNilXTypeMismatch
public NATText meta_print()
throws InterpreterException
ATObject
meta_print in interface ATObjectmeta_print in class NATNilInterpreterException
public ATTable meta_getStripes()
throws InterpreterException
ATObject
meta_getStripes in interface ATObjectmeta_getStripes in class AGExpressionInterpreterExceptionpublic boolean equals(java.lang.Object other)
NATNil
equals in class NATNilpublic int hashCode()
public ATTable base_explode()
throws InterpreterException
base_explode in interface ATTextInterpreterException
public ATTable base_split(ATText regexp)
throws InterpreterException
base_split in interface ATTextInterpreterException
public ATNil base_find_do_(ATText regexp,
ATClosure consumer)
throws InterpreterException
base_find_do_ in interface ATTextInterpreterException
public ATText base_replace_by_(ATText regexp,
ATClosure transformer)
throws InterpreterException
base_replace_by_ in interface ATTextInterpreterExceptionpublic ATText base_toUpperCase()
base_toUpperCase in interface ATTextpublic ATText base_toLowerCase()
base_toLowerCase in interface ATTextpublic ATNumber base_length()
base_length in interface ATText
public ATText base__oppls_(ATObject other)
throws InterpreterException
base__oppls_ in interface ATTextInterpreterException
public ATNumber base__opltx__opeql__opgtx_(ATText other)
throws InterpreterException
base__opltx__opeql__opgtx_ in interface ATTextInterpreterException
public ATBoolean base__optil__opeql_(ATText other)
throws InterpreterException
base__optil__opeql_ in interface ATTextInterpreterException
public char asChar()
throws XTypeMismatch
XTypeMismatch
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||