|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DefField
The public interface to a field definition AG element.
Example: def x := 5
where x
is a literal symbol
Method Summary | |
---|---|
Symbol |
name()
The name of the field must be a literal symbol Example: `{ def 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()
`{ def x := 5 }.statements[1].name == `x
Expression valueExpression()
`{ def x := 5 }.statements[1].valueExpression == `5
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |