| 1 | package Org::Element::List; | ||||||||||
| 2 | |||||||||||
| 3 | 7 | ▶ | use 5.010; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 7 | ▶ | use locale; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 7 | ▶ | use Moo; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 7 | extends 'Org::Element'; | |||||||||
| 7 | |||||||||||
| 8 | 7 | our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY | |||||||||
| 9 | 7 | our $DATE = '2026-07-21'; # DATE | |||||||||
| 10 | 7 | our $DIST = 'Org-Parser'; # DIST | |||||||||
| 11 | 7 | our $VERSION = '0.563'; # VERSION | |||||||||
| 12 | |||||||||||
| 13 | 7 | has indent => (is => 'rw'); | |||||||||
| 14 | 7 | has type => (is => 'rw'); | |||||||||
| 15 | 7 | has bullet_style => (is => 'rw'); | |||||||||
| 16 | |||||||||||
| 17 | 0 | ▶ | sub items { | ||||||||
|
Subroutine
items: not called CC=3 SCAR=24.8
Pod
documented
| |||||||||||
| 18 | 0 | my $self = shift; | |||||||||
| 19 | 0 | my @items; | |||||||||
| 20 | 0 | for (@{ $self->children }) { | |||||||||
| 21 | 0 | ▶ | push @items, $_ if $_->isa('Org::Element::ListItem'); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 22 | } | ||||||||||
| 23 | 0 | \@items; | |||||||||
| 24 | } | ||||||||||
| 25 | |||||||||||
| 26 | 7 | 1; | |||||||||
| 27 | # ABSTRACT: Represent Org list | ||||||||||
| 28 | |||||||||||
| 29 | __END__ | ||||||||||