|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AssignField
The public interface to a field assignment AG element.
Example: o.x := 5
where x
is a literal symbol
Method Summary | |
---|---|
Symbol |
fieldName()
The field name must be a literal symbol Example: `{ o.x := 5}.statements[1].fieldName == `x |
Expression |
receiverExpression()
The receiver expression may be any valid AmbientTalk expression. |
Expression |
valueExpression()
The value expression may be any valid AmbientTalk expression. |
Methods inherited from interface edu.vub.at.objects.AbstractGrammar |
---|
freeVariables |
Methods inherited from interface edu.vub.at.objects.Object |
---|
super |
Method Detail |
---|
Expression receiverExpression()
`{ o.x := 5}.statements[1].receiverExpression == `o
Symbol fieldName()
`{ o.x := 5}.statements[1].fieldName == `x
Expression valueExpression()
`{ o.x := 5}.statements[1].valueExpression == `5
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |