|
|||||||||||
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 ATConversions
isNativeText
in class NATNil
public NATText asNativeText() throws XTypeMismatch
asNativeText
in interface ATConversions
asNativeText
in class NATNil
XTypeMismatch
public NATText meta_print() throws InterpreterException
ATObject
meta_print
in interface ATObject
meta_print
in class NATNil
InterpreterException
public ATTable meta_getStripes() throws InterpreterException
ATObject
meta_getStripes
in interface ATObject
meta_getStripes
in class AGExpression
InterpreterException
public boolean equals(java.lang.Object other)
NATNil
equals
in class NATNil
public int hashCode()
public ATTable base_explode() throws InterpreterException
base_explode
in interface ATText
InterpreterException
public ATTable base_split(ATText regexp) throws InterpreterException
base_split
in interface ATText
InterpreterException
public ATNil base_find_do_(ATText regexp, ATClosure consumer) throws InterpreterException
base_find_do_
in interface ATText
InterpreterException
public ATText base_replace_by_(ATText regexp, ATClosure transformer) throws InterpreterException
base_replace_by_
in interface ATText
InterpreterException
public ATText base_toUpperCase()
base_toUpperCase
in interface ATText
public ATText base_toLowerCase()
base_toLowerCase
in interface ATText
public ATNumber base_length()
base_length
in interface ATText
public ATText base__oppls_(ATObject other) throws InterpreterException
base__oppls_
in interface ATText
InterpreterException
public ATNumber base__opltx__opeql__opgtx_(ATText other) throws InterpreterException
base__opltx__opeql__opgtx_
in interface ATText
InterpreterException
public ATBoolean base__optil__opeql_(ATText other) throws InterpreterException
base__optil__opeql_
in interface ATText
InterpreterException
public char asChar() throws XTypeMismatch
XTypeMismatch
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |