Author: fperrad
Date: Wed May 23 04:30:51 2007
New Revision: 18633
Modified:
trunk/compilers/past-pm/PAST/Node.pir
trunk/compilers/past-pm/POST/Node.pir
Log:
[PAST-pm]
- add POD skeletons
Modified: trunk/compilers/past-pm/PAST/Node.pir
==============================================================================
--- trunk/compilers/past-pm/PAST/Node.pir (original)
+++ trunk/compilers/past-pm/PAST/Node.pir Wed May 23 04:30:51 2007
@@ -505,8 +505,8 @@
called, the second child is the invocant, and
the remaining children are arguments to the method call.
-try - (preliminary) Execute the code given by the first
- child, and if any exceptions occur then handle them
+try - (preliminary) Execute the code given by the first
+ child, and if any exceptions occur then handle them
using the code given by the second child.
If a node doesn't have a value set for C<pasttype>, then it
@@ -604,6 +604,10 @@
=back
+=head2 PAST::Stmts
+
+C<PAST::Stmts> is a container of C<PAST::Node> without any specific methods.
+
=head2 PAST::Block
C<PAST::Block> nodes represent lexical scopes within an abstract
@@ -654,8 +658,8 @@
=item compiler([name])
-Indicate that the children nodes of this block are to be
-compiled using compiler C<name> instead of the standard
+Indicate that the children nodes of this block are to be
+compiled using compiler C<name> instead of the standard
PAST compiler.
=cut
Modified: trunk/compilers/past-pm/POST/Node.pir
==============================================================================
--- trunk/compilers/past-pm/POST/Node.pir (original)
+++ trunk/compilers/past-pm/POST/Node.pir Wed May 23 04:30:51 2007
@@ -7,8 +7,6 @@
This file implements the various opcode syntax tree nodes
for compiling programs in Parrot.
-=head1 METHODS
-
=cut
.namespace [ 'POST' ]
@@ -45,6 +43,15 @@
.end
+=head1 POST Node types
+
+=head2 POST::Node
+
+C<POST::Node> is the base class for all POST nodes. It's derived from class
+C<PAST::Node> (see F<compilers/past-pm/PAST/Node.pir>).
+
+=cut
+
.namespace [ 'POST::Node' ]
.sub 'result' :method
@@ -106,6 +113,11 @@
.return (code)
.end
+
+=head2 POST::Ops
+
+=cut
+
.namespace [ 'POST::Ops' ]
.sub 'pir' :method
@@ -113,6 +125,10 @@
.end
+=head2 POST::Op
+
+=cut
+
.namespace [ 'POST::Op' ]
.sub 'pirop' :method
@@ -178,6 +194,10 @@
.end
+=head2 POST::Label
+
+=cut
+
.namespace [ 'POST::Label' ]
.sub 'result' :method
@@ -207,6 +227,10 @@
.end
+=head2 POST::Sub
+
+=cut
+
.namespace [ 'POST::Sub' ]
.sub 'pir' :method
@@ -353,6 +377,14 @@
.end
+=head1 AUTHOR
+
+Patrick Michaud <[EMAIL PROTECTED]> is the author and maintainer.
+Please send patches and suggestions to the Parrot porters or
+Perl 6 compilers mailing lists.
+
+=cut
+
# Local Variables:
# mode: pir