line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Org::ElementRole::Block; |
2
|
|
|
|
|
|
|
|
3
|
23
|
|
|
23
|
|
12382
|
use 5.010; |
|
23
|
|
|
|
|
85
|
|
4
|
23
|
|
|
23
|
|
206
|
use Moo::Role; |
|
23
|
|
|
|
|
100
|
|
|
23
|
|
|
|
|
130
|
|
5
|
|
|
|
|
|
|
|
6
|
0
|
|
|
0
|
1
|
|
sub is_block { 1 } |
7
|
|
|
|
|
|
|
|
8
|
0
|
|
|
0
|
1
|
|
sub is_inline { 0 } |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY |
11
|
|
|
|
|
|
|
our $DATE = '2023-08-05'; # DATE |
12
|
|
|
|
|
|
|
our $DIST = 'Org-Parser'; # DIST |
13
|
|
|
|
|
|
|
our $VERSION = '0.560'; # VERSION |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
# ABSTRACT: Role for block elements |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
__END__ |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=pod |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=encoding UTF-8 |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Org::ElementRole::Block - Role for block elements |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 VERSION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
This document describes version 0.560 of Org::ElementRole::Block (from Perl distribution Org-Parser), released on 2023-08-05. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 DESCRIPTION |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 REQUIRES |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 METHODS |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head2 is_block => bool (1) |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head2 is_inline => bool (0) |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 HOMEPAGE |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Please visit the project's homepage at L<https://metacpan.org/release/Org-Parser>. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 SOURCE |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Source repository is at L<https://github.com/perlancar/perl-Org-Parser>. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 AUTHOR |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
perlancar <perlancar@cpan.org> |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 CONTRIBUTING |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
To contribute, you can send patches by email/via RT, or send pull requests on |
58
|
|
|
|
|
|
|
GitHub. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
Most of the time, you don't need to build the distribution yourself. You can |
61
|
|
|
|
|
|
|
simply modify the code, then test via: |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
% prove -l |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
If you want to build the distribution (e.g. to try to install it locally on your |
66
|
|
|
|
|
|
|
system), you can install L<Dist::Zilla>, |
67
|
|
|
|
|
|
|
L<Dist::Zilla::PluginBundle::Author::PERLANCAR>, |
68
|
|
|
|
|
|
|
L<Pod::Weaver::PluginBundle::Author::PERLANCAR>, and sometimes one or two other |
69
|
|
|
|
|
|
|
Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps required beyond |
70
|
|
|
|
|
|
|
that are considered a bug and can be reported to me. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
This software is copyright (c) 2023, 2022, 2021, 2020, 2019, 2017, 2016, 2015, 2014, 2013, 2012, 2011 by perlancar <perlancar@cpan.org>. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
77
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head1 BUGS |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Org-Parser> |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
When submitting a bug or request, please include a test-file or a |
84
|
|
|
|
|
|
|
patch to an existing test-file that illustrates the bug or desired |
85
|
|
|
|
|
|
|
feature. |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=cut |