|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DefExternalField
The public interface to an external field definition AG element.
Example: def rcv.nam := val
Method Summary | |
---|---|
Symbol |
name()
The name of the field must be a literal symbol Example: `{ def o.x := 5 }.statements[1].name == `x |
Symbol |
receiver()
The receiver must be a literal symbol. |
Expression |
valueExpression()
The value may be any AmbientTalk expression. |
Methods inherited from interface edu.vub.at.objects.AbstractGrammar |
---|
freeVariables |
Methods inherited from interface edu.vub.at.objects.Object |
---|
super |
Method Detail |
---|
Symbol receiver()
`{ def o.x := 5 }.statements[1].receiver == `o
Symbol name()
`{ def o.x := 5 }.statements[1].name == `x
Expression valueExpression()
`{ def o.x := 5 }.statements[1].valueExpression == `5
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |