at:tutorial:reflection
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| at:tutorial:reflection [2010/11/16 15:59] – fixed tvcutsem | at:tutorial:reflection [2010/11/16 16:32] (current) – tvcutsem | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| The reflective model of AmbientTalk is based on [[http:// | The reflective model of AmbientTalk is based on [[http:// | ||
| + | |||
| ===== Mirrors ===== | ===== Mirrors ===== | ||
| Line 45: | Line 46: | ||
| > def x : | > def x : | ||
| >> < | >> < | ||
| - | > x() | ||
| - | >> 2 | ||
| // and we can also invoke methods reflectively: | // and we can also invoke methods reflectively: | ||
| > mirrorOnP.invoke(p, | > mirrorOnP.invoke(p, | ||
at/tutorial/reflection.txt · Last modified: by tvcutsem
