Mercurial > pub > Impl
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Lib/IMPL/Class/DirectPropertyInfo.pm Thu Jan 31 17:37:44 2013 +0400 @@ -0,0 +1,15 @@ +package IMPL::Class::DirectPropertyInfo; +use strict; + +use IMPL::Const qw(:prop); +use IMPL::declare { + base => [ + 'IMPL::Class::PropertyInfo' => '@_' + ], + props => [ + fieldName => PROP_RW, + directAccess => PROP_RW + ] +}; + +1; \ No newline at end of file