Mercurial > pub > Impl
comparison Lib/IMPL/Class/DirectPropertyInfo.pm @ 276:8a5da17d7ef9
*IMPL::Class refactoring property definition mechanism (incomplete).
| author | sergey | 
|---|---|
| date | Thu, 31 Jan 2013 17:37:44 +0400 | 
| parents | |
| children | 4ddb27ff4a0b | 
   comparison
  equal
  deleted
  inserted
  replaced
| 275:6253872024a4 | 276:8a5da17d7ef9 | 
|---|---|
| 1 package IMPL::Class::DirectPropertyInfo; | |
| 2 use strict; | |
| 3 | |
| 4 use IMPL::Const qw(:prop); | |
| 5 use IMPL::declare { | |
| 6 base => [ | |
| 7 'IMPL::Class::PropertyInfo' => '@_' | |
| 8 ], | |
| 9 props => [ | |
| 10 fieldName => PROP_RW, | |
| 11 directAccess => PROP_RW | |
| 12 ] | |
| 13 }; | |
| 14 | |
| 15 1; | 
