| 1 | package Document::AST::Tree; | ||
| 2 | 1 | ▶ | use base 'Document::AST'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | 0 | ▶ | sub init { |
|
Subroutine
init: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 5 | 0 | my $self = shift; | |
| 6 | 0 | $self->{output} = []; | |
| 7 | } | ||
| 8 | |||
| 9 | 0 | ▶ | sub insert { |
|
Subroutine
insert: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 10 | 0 | push @{$_[0]{output}[-1][-1]}, @{$_[1]->{output}}; | |
| 11 | } | ||
| 12 | |||
| 13 | 0 | ▶ | sub begin_node { |
|
Subroutine
begin_node: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 14 | 0 | push @{$_[0]->{output}}, [$_[1], []]; | |
| 15 | } | ||
| 16 | |||
| 17 | 0 | ▶ | sub text_node { |
|
Subroutine
text_node: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 18 | 0 | push @{$_[0]->{output}}, $_[1]; | |
| 19 | } | ||
| 20 | |||
| 21 | 0 | ▶ | sub end_node { |
|
Subroutine
end_node: not called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 22 | } | ||
| 23 | |||
| 24 | 1 | 1; | |