|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AssignVariable
The public interface to a variable assignment AG element.
Example: x := 5
The left-hand side must be a literal symbol available in the lexical scope.
Method Summary | |
---|---|
Symbol |
name()
The name of the variable must be a literal symbol Example: `{ x := 5}.statements[1].name == `x |
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 |
---|
Symbol name()
`{ x := 5}.statements[1].name == `x
Expression valueExpression()
`{ x := 5}.statements[1].valueExpression == `5
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |