X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FLaTeX-TikZ.git;a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FSet%2FSequence.pm;h=ca7143f8e3f1bce3a26cf5664409a7489660d080;hp=0bf9222d28e1e0f38a30b45959aeb0ee219e6b68;hb=e6c6fbca8df4f8df7bbce2eb98dd260ed51d9141;hpb=fcf49f47b7655e0bc3ed8c3da7f1004cbb70c7a5 diff --git a/lib/LaTeX/TikZ/Set/Sequence.pm b/lib/LaTeX/TikZ/Set/Sequence.pm index 0bf9222..ca7143f 100644 --- a/lib/LaTeX/TikZ/Set/Sequence.pm +++ b/lib/LaTeX/TikZ/Set/Sequence.pm @@ -26,6 +26,12 @@ use Any::Moose; use Any::Moose 'Util::TypeConstraints' => [ qw/subtype as where find_type_constraint/ ]; +=head1 RELATIONSHIPS + +This class consumes the L and L roles, and as such implements the L and L methods. + +=cut + with qw( LaTeX::TikZ::Set LaTeX::TikZ::Set::Mutable @@ -38,6 +44,14 @@ subtype 'LaTeX::TikZ::Set::Sequence::Elements' or $_->isa('LaTeX::TikZ::Set::Sequence') }; +=head1 ATTRIBUTES + +=head2 C + +The L or L objects that from the sequence. + +=cut + has '_kids' => ( is => 'ro', isa => 'Maybe[ArrayRef[LaTeX::TikZ::Set::Sequence::Elements]]', @@ -47,6 +61,12 @@ has '_kids' => ( sub kids { @{$_[0]->_kids} } +=head1 METHODS + +=head2 C + +=cut + my $ltsse_tc = find_type_constraint('LaTeX::TikZ::Set::Sequence::Elements'); sub add { @@ -59,6 +79,10 @@ sub add { $set; } +=head2 C + +=cut + sub draw { my $set = shift;