| 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 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use vars qw($VERSION @ISA); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | 0 | ▶ | use SGML::SPGrove; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 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__ | ||