[svn:parrot] r37759 - branches/pge1/compilers/pge/PGE
pmichaud at svn.parrot.org
pmichaud at svn.parrot.org
Fri Mar 27 19:28:56 UTC 2009
Author: pmichaud
Date: Fri Mar 27 19:28:55 2009
New Revision: 37759
URL: https://trac.parrot.org/parrot/changeset/37759
Log:
[pge]: Small rename of 'result_object' to 'ast' (per S05).
Modified:
branches/pge1/compilers/pge/PGE/Match.pir
Modified: branches/pge1/compilers/pge/PGE/Match.pir
==============================================================================
--- branches/pge1/compilers/pge/PGE/Match.pir Fri Mar 27 19:15:23 2009 (r37758)
+++ branches/pge1/compilers/pge/PGE/Match.pir Fri Mar 27 19:28:55 2009 (r37759)
@@ -243,17 +243,22 @@
=cut
.sub 'item' :method
- .tailcall self.'result_object'()
+ .tailcall self.'ast'()
.end
+.sub 'result_object' :method
+ .param pmc obj :slurpy
+ .tailcall self.'ast'(obj :flat)
+.end
-=item C<result_object([pmc obj])>
+
+=item C<ast([pmc obj])>
Returns or sets the "result object" for the match object.
=cut
-.sub 'result_object' :method
+.sub 'ast' :method
.param pmc obj :optional
.param int has_obj :opt_flag
if has_obj == 0 goto get_obj
More information about the parrot-commits
mailing list