Skip to content

Commit

Permalink
Make documentation less inaccurate.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkeenan committed Mar 27, 2011
1 parent 69f3ae1 commit 3264def
Showing 1 changed file with 25 additions and 28 deletions.
53 changes: 25 additions & 28 deletions lib/Parrot/Pmc2c/PMC/RO.pm
@@ -1,40 +1,13 @@
# Copyright (C) 2004-2011, Parrot Foundation.


=head1 NAME
Parrot::Pmc2c - PMC to C Code Generation
=head1 SYNOPSIS
use Parrot::Pmc2c;
=head1 DESCRIPTION
C<Parrot::Pmc2c> is used by F<tools/build/pmc2c.pl> to generate C code from PMC files.
=head2 Functions
=over
=cut

package Parrot::Pmc2c::PMC::RO;
use strict;
use warnings;
use base qw( Parrot::Pmc2c::PMC );

use Parrot::Pmc2c::Emitter ();
use Parrot::Pmc2c::Method ();
use Parrot::Pmc2c::UtilFunctions qw( return_statement );
use Text::Balanced 'extract_bracketed';

=item C<make_RO($type)>
Create a RO version of the PMC
=cut

sub new {
my ( $class, $parent ) = @_;
my $classname = ref($parent) || $class;
Expand Down Expand Up @@ -106,9 +79,33 @@ EOC
return $self;
}


1;

=head1 NAME
Parrot::Pmc2c::PMC::RO - Create RO version of PMC
=head1 SYNOPSIS
use Parrot::Pmc2c::PMC::RO;
=head1 DESCRIPTION
C<Parrot::Pmc2c::PMC::RO> is currently used in F<lib/Parrot/Pmc2c/PMC.pm> and
F<lib/Parrot/Pmc2c/PMC/default.pm>.
=head2 Functions
=over 4
=item C<new()>
Constructor.
=back
=cut

# Local Variables:
# mode: cperl
# cperl-indent-level: 4
Expand Down

0 comments on commit 3264def

Please sign in to comment.