[svn:parrot] r46739 - branches/pct_multi_support/compilers/pct/src/PAST

bacek at svn.parrot.org bacek at svn.parrot.org
Mon May 17 14:07:36 UTC 2010


Author: bacek
Date: Mon May 17 14:07:36 2010
New Revision: 46739
URL: https://trac.parrot.org/parrot/changeset/46739

Log:
Add PAST::Var.multitype

Modified:
   branches/pct_multi_support/compilers/pct/src/PAST/Node.pir

Modified: branches/pct_multi_support/compilers/pct/src/PAST/Node.pir
==============================================================================
--- branches/pct_multi_support/compilers/pct/src/PAST/Node.pir	Mon May 17 13:58:39 2010	(r46738)
+++ branches/pct_multi_support/compilers/pct/src/PAST/Node.pir	Mon May 17 14:07:36 2010	(r46739)
@@ -286,6 +286,18 @@
     .tailcall self.'attr'('vivibase', value, has_value)
 .end
 
+=item multitype([type])
+
+Get/set MMD type of Var when used as parameter of Block.
+
+=cut
+
+.sub 'multitype' :method
+    .param pmc value           :optional
+    .param int has_value       :opt_flag
+    .tailcall self.'attr'('multitype', value, has_value)
+.end
+
 
 =back
 


More information about the parrot-commits mailing list