|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AssignTable
The public interface to a table assignment AG element.
Example: tab[idx] := 5
where tab
has to evaluate to a table and idx
has to
evaluate to a number.
Method Summary | |
---|---|
Expression |
indexExpression()
The index may be any AmbientTalk expression that evaluates to a native number. |
Expression |
tableExpression()
The table may be any AmbientTalk expression that evaluates to a native table. |
Expression |
valueExpression()
The value expression may be any valid AmbientTalk expression Example: `{ tab[idx] := 5}.statements[1].valueExpression == `5 |
Methods inherited from interface edu.vub.at.objects.AbstractGrammar |
---|
freeVariables |
Methods inherited from interface edu.vub.at.objects.Object |
---|
super |
Method Detail |
---|
Expression tableExpression()
`{ tab[idx] := 5}.statements[1].tableExpression == `tab
Expression indexExpression()
`{ tab[idx] := 5}.statements[1].indexExpression == `idx
Expression valueExpression()
`{ tab[idx] := 5}.statements[1].valueExpression == `5
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |