|
|||||||||||
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.grammar.AGSelection
Field Summary | |
private ATExpression |
rcvExp_
|
private ATSymbol |
selector_
|
Fields inherited from class edu.vub.at.objects.natives.NATNil |
_INSTANCE_ |
Constructor Summary | |
AGSelection(ATExpression rcv,
ATSymbol sel)
|
Method Summary | |
ATExpression |
base_getReceiverExpression()
|
ATSymbol |
base_getSelector()
|
ATObject |
meta_eval(ATContext ctx)
To evaluate a selection, evaluate the receiver expression to an object and select the slot with the given name from that object. |
NATText |
meta_print()
Prints out the object in a human-readable way. |
ATObject |
meta_quote(ATContext ctx)
Quoting a selection results in a new quoted selection. |
Methods inherited from class edu.vub.at.objects.natives.grammar.AGExpression |
base_asExpression, meta_getStripes |
Methods inherited from class edu.vub.at.objects.natives.NATByCopy |
meta_pass, meta_resolve |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, 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_extend, meta_getDynamicParent, meta_getLexicalParent, meta_getStripes, meta_grabField, meta_grabMethod, meta_invoke, meta_isCloneOf, meta_isRelatedTo, meta_isStripedWith, meta_listFields, meta_listMethods, meta_lookup, meta_newInstance, meta_pass, meta_receive, meta_resolve, meta_respondsTo, meta_select, meta_send, meta_share |
Field Detail |
private final ATExpression rcvExp_
private final ATSymbol selector_
Constructor Detail |
public AGSelection(ATExpression rcv, ATSymbol sel)
Method Detail |
public ATExpression base_getReceiverExpression()
base_getReceiverExpression
in interface ATSelection
public ATSymbol base_getSelector()
base_getSelector
in interface ATSelection
public ATObject meta_eval(ATContext ctx) throws InterpreterException
meta_eval
in interface ATObject
meta_eval
in class NATNil
InterpreterException
public ATObject meta_quote(ATContext ctx) throws InterpreterException
meta_quote
in interface ATObject
meta_quote
in class NATNil
InterpreterException
public NATText meta_print() throws InterpreterException
ATObject
meta_print
in interface ATObject
meta_print
in class NATNil
InterpreterException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |