Mercurial > pub > Impl
view Lib/IMPL/DOM/Property.pm @ 348:f116cd9fe7d9
working on TTView: pre-alpha version
author | cin |
---|---|
date | Thu, 03 Oct 2013 19:48:57 +0400 |
parents | 4ddb27ff4a0b |
children | 648dfaf642e0 |
line wrap: on
line source
package IMPL::DOM::Property; use strict; use warnings; require IMPL::Exception; use parent qw(Exporter); our @EXPORT_OK = qw(_dom); sub _dom($) { my ($prop_info) = @_; $prop_info->{domProperty} = 1; return $prop_info; } 1; __END__ =pod =head1 SYNOPSIS package TypedNode; use parent qw(IMPL::DOM::Node); use IMPL::DOM::Property qw(_dom); BEGIN { public _dom property Age => prop_all; public _dom property Address => prop_all; public property ServiceData => prop_all; } =head1 DESCRIPTION Позволяет объявлять свойства, которые будут видны в списке свойств. =cut