[svn:parrot] r46748 - trunk/compilers/pct/src/PAST

bacek at svn.parrot.org bacek at svn.parrot.org
Mon May 17 22:16:40 UTC 2010


Author: bacek
Date: Mon May 17 22:16:38 2010
New Revision: 46748
URL: https://trac.parrot.org/parrot/changeset/46748

Log:
Add PAST::Block.multi accessor to store multi information.

Modified:
   trunk/compilers/pct/src/PAST/Node.pir

Modified: trunk/compilers/pct/src/PAST/Node.pir
==============================================================================
--- trunk/compilers/pct/src/PAST/Node.pir	Mon May 17 21:57:41 2010	(r46747)
+++ trunk/compilers/pct/src/PAST/Node.pir	Mon May 17 22:16:38 2010	(r46748)
@@ -570,6 +570,19 @@
     .tailcall self.'attr'('namespace', value, has_value)
 .end
 
+=item multi([multi])
+
+Get/set the multi signature for this block.  The C<multi> argument
+can be either a string or an array of strings.
+
+=cut
+
+.sub 'multi' :method
+    .param pmc value           :optional
+    .param int has_value       :opt_flag
+    .tailcall self.'attr'('multi', value, has_value)
+.end
+
 
 =item hll([hll])
 


More information about the parrot-commits mailing list