develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r33420 - trunk/docs/pct

From:
kjs
Date:
December 1, 2008 05:47
Subject:
[svn:parrot] r33420 - trunk/docs/pct
Message ID:
20081201134712.D4C0ECB9AF@x12.develooper.com
Author: kjs
Date: Mon Dec  1 05:47:10 2008
New Revision: 33420

Modified:
   trunk/docs/pct/past_building_blocks.pod

Log:
[docs] update requirement for :node attribute in PAST.

Modified: trunk/docs/pct/past_building_blocks.pod
==============================================================================
--- trunk/docs/pct/past_building_blocks.pod	(original)
+++ trunk/docs/pct/past_building_blocks.pod	Mon Dec  1 05:47:10 2008
@@ -22,7 +22,9 @@
 the source code generated this node.  The C<node> attribute can be set using
 another node or a Match object.
 
-All nodes must have this attribute set.
+The C<:node> attribute is needed for annotating a source line. If a source line
+is represented by several nodes, i.e. a subtree of the whole AST, then only the
+root of that subtree needs to have the C<:node> attribute.
 
 =head2 Methods
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About