at:tutorial:reflection
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
at:tutorial:reflection [2007/08/08 14:00] – * stijnm | at:tutorial:reflection [2008/06/23 15:08] – * tvcutsem | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | < | ||
- | |||
====== Reflective Programming ====== | ====== Reflective Programming ====== | ||
Line 54: | Line 52: | ||
>def runTest(obj) { | >def runTest(obj) { | ||
| | ||
- | | + | |
>>< | >>< | ||
> | > | ||
Line 108: | Line 106: | ||
The **Object Passing Protocol** consists of two methods '' | The **Object Passing Protocol** consists of two methods '' | ||
- | The **Slot Access and Modification Protocol** consists of operations which allow trapping both access and modification to slots. These operations are further refined based on whether they transitively search the dynamic or lexical parent chain. For instance, | + | The **Slot Access and Modification Protocol** consists of operations which allow trapping both dynamic |
The **Structural Access Protocol** consists of operations used list all available slots, get access to a first-class slot representation and to add new slots to an existing object. The '' | The **Structural Access Protocol** consists of operations used list all available slots, get access to a first-class slot representation and to add new slots to an existing object. The '' |
at/tutorial/reflection.txt · Last modified: 2010/11/16 16:32 by tvcutsem