Mercurial > pub > Impl
annotate lib/IMPL/Class/FieldInfo.pm @ 427:09e0086a82a7 ref20150831 tip
Merge
author | cin |
---|---|
date | Tue, 15 May 2018 00:51:33 +0300 |
parents | 60c2892a577c |
children |
rev | line source |
---|---|
423 | 1 package IMPL::Class::FieldInfo; |
2 use strict; | |
3 | |
4 use IMPL::declare { | |
5 base => [ | |
6 'IMPL::Class::MemberInfo' => '@_' | |
7 ] | |
8 }; | |
9 | |
10 use fields qw( fieldType backingFieldName generated); | |
11 | |
12 sub CTOR { | |
13 my ( $this, %args ) = @_; | |
14 | |
15 $this->{$_} = $args{$_} | |
16 foreach grep exists $args{$_} qw( fieldType backingFieldName generated); | |
17 } | |
18 | |
19 1; |