]> git.donarmstrong.com Git - liborg-parser-perl.git/blob - lib/Org/Element/List.pm
Import original source of Org-Parser 0.23
[liborg-parser-perl.git] / lib / Org / Element / List.pm
1 package Org::Element::List;
2
3 use 5.010;
4 use locale;
5 use Moo;
6 extends 'Org::Element';
7
8 our $VERSION = '0.23'; # VERSION
9
10 has indent => (is => 'rw');
11 has type => (is => 'rw');
12 has bullet_style => (is => 'rw');
13
14 1;
15 # ABSTRACT: Represent Org list
16
17
18 =pod
19
20 =head1 NAME
21
22 Org::Element::List - Represent Org list
23
24 =head1 VERSION
25
26 version 0.23
27
28 =head1 DESCRIPTION
29
30 Must have L<Org::Element::ListItem> (or another ::List) as children.
31
32 Derived from L<Org::Element>.
33
34 =head1 ATTRIBUTES
35
36 =head2 indent
37
38 Indent (e.g. " " x 2).
39
40 =head2 type
41
42 'U' for unordered list (-, +, * for bullets), 'D' for description list, 'O' for
43 ordered list (1., 2., 3., and so on).
44
45 =head2 bullet_style
46
47 E.g. '-', '*', '+'. For ordered list, currently just use '<N>.'
48
49 =head1 METHODS
50
51 =begin Pod::Coverage
52
53
54
55
56 =end Pod::Coverage
57
58 =head1 AUTHOR
59
60 Steven Haryanto <stevenharyanto@gmail.com>
61
62 =head1 COPYRIGHT AND LICENSE
63
64 This software is copyright (c) 2012 by Steven Haryanto.
65
66 This is free software; you can redistribute it and/or modify it under
67 the same terms as the Perl 5 programming language system itself.
68
69 =cut
70
71
72 __END__
73