File Coverage

blib/lib/Pod/GroveBuilder.pm
Criterion Covered Total %
statement 7 9 77.7
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 12 83.3


line stmt bran cond sub pod time code
1             #
2             # Copyright (C) 1997 Ken MacLeod
3             # See the file COPYING for distribution terms.
4             #
5             # $Id: GroveBuilder.pm,v 1.1.1.1 1998/01/02 21:31:15 ken Exp $
6             #
7              
8             package Pod::GroveBuilder;
9              
10 1     1   959 use strict;
  1         3  
  1         39  
11 1     1   6 use vars qw($VERSION @ISA);
  1         2  
  1         65  
12              
13 1     1   3396 use SGML::SPGrove;
  0            
  0            
14              
15             @ISA = qw(Pod::Parser);
16             $VERSION = '0.01';
17              
18             sub new {
19             my $type = shift;
20             my $sysid = shift;
21              
22             my $parser = $type->SUPER::new();
23              
24             if (ref $sysid) {
25             $parser->parse_from_filehandle ($sysid);
26             } else {
27             $parser->parse_from_file ($sysid);
28             }
29              
30             return $parser->{_grove};
31             }
32              
33             sub command {
34             my ($parser, $command, $paragraph, $attributes) = @_;
35              
36             }
37              
38             sub verbatim {
39             my ($parser, $paragraph) = @_;
40             }
41              
42             sub textblock {
43             my ($parser, $paragraph) = @_;
44             }
45              
46             sub interior_sequence {
47             my ($parser, $sequence, $seq_argument, $attributes) = @_;
48             }
49              
50             1;
51             __END__